name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
RandomBotStrategy::chooseRandomNeighbour(std::mersenne_twister_engine<unsigned long, 32ul, 624ul, 397ul, 31ul, 2567483615ul, 11ul, 4294967295ul, 7ul, 2636928640ul, 15ul, 4022730752ul, 18ul, 1812433253ul>)
int RandomBotStrategy::chooseRandomNeighbour(std::mt19937 gen) { int numberOfNeighbours = this->from->getAdjCountries()->size(); std::uniform_int_distribution<> dis(0, numberOfNeighbours - 1); return dis(gen); }
pushq %rax movq 0x28(%rdi), %rax movq 0x28(%rax), %rax movq 0x8(%rax), %rcx subq (%rax), %rcx shrq $0x3, %rcx decl %ecx movq %rsp, %rdi andl $0x0, (%rdi) movl %ecx, 0x4(%rdi) leaq 0x10(%rsp), %rsi callq 0xec7e popq %rcx retq nop
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
CheaterBotStrategy::cheaterFortify()
int CheaterBotStrategy::cheaterFortify() { std::cout << "We have a cheater! They are fortifying all their countries with enemy neighbours" << std::endl; for (auto* country : *this->player->getOwnedCountries()) { bool canFortify = false; for (auto* neighbour : *country->getAdjCountries()) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq 0x2516a(%rip), %r14 # 0x3dfa0 leaq 0x1596f(%rip), %rsi # 0x2e7ac movq %r14, %rdi callq 0x64a0 movq %rax, %rdi callq 0x6260 movq %rbx, (%rsp) movq 0x20(%rbx), %rax movq (%rax), %rax movq (%rax), %rbp movq 0x8(...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
CheaterBotStrategy::exchangeCountryOwnership(Player*, Map::Country*)
bool CheaterBotStrategy::exchangeCountryOwnership(Player* defendingPlayer, Map::Country* toExchange) { int toExchangeIndex = -1; for (int i = 0; i < defendingPlayer->getOwnedCountries()->size(); i++) { if (defendingPlayer->getOwnedCountries()->at(i)->getCountryId() == toExchange->getCountryId()) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 pushq $-0x1 popq %rbp xorl %r12d, %r12d movq (%rbx), %rdi movq 0x8(%rdi), %rax subq (%rdi), %rax sarq $0x3, %rax cmpq %r12, %rax jbe 0x18fd2 movq %r12, %rsi callq 0x9d6c movq (%rax), %rax movq (%rax), %rax movl (%rax)...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
PlayerStrategy::~PlayerStrategy()
PlayerStrategy::~PlayerStrategy() { delete from; delete to; delete armiesToPlace; delete exchangingCardType; delete numWeakest; delete strategyName; // makes sure the player is not deleted when switching strategies player = nullptr; delete player; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x248a0(%rip), %rax # 0x3d8d0 movq %rax, (%rdi) movq 0x28(%rdi), %r14 testq %r14, %r14 je 0x19044 movq %r14, %rdi callq 0xd8ec pushq $0x30 popq %rsi movq %r14, %rdi callq 0x64c0 movq 0x30(%rbx), %r14 testq %r14, %r14 je 0x19060 movq %r14, %rdi callq 0xd8ec pushq...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
AliHttpRequest::ParseUrl()
int AliHttpRequest::ParseUrl() { http_parser_url parser_url; if(http_parser_parse_url_(url_.c_str(), url_.size(), false, &parser_url) != 0) { return -1; } if(parser_url.field_set & (1 << UF_PATH)) { int len = parser_url.field_data[UF_PATH].len; path_.resize(len); strncpy((char*)path_.c_...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq 0x90(%rdi), %rdi movq 0x98(%rbx), %rsi leaq 0x8(%rsp), %rcx xorl %edx, %edx callq 0x28410 testl %eax, %eax je 0x3cfd1 pushq $-0x1 popq %rbp jmp 0x3d19b movzwl 0x8(%rsp), %eax testb $0x8, %al je 0x3d00f movzwl 0x1a(%rsp), %r14d leaq 0x130(...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/http/ali_http_request.cc
AliTcpConnection::Connect()
int AliTcpConnection::Connect() { fd_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); sockaddr_in addr = {}; if(resolve_dns(host_.c_str(), port_, (sockaddr*)&addr) != 0) {\ goto err_failed; } return ::connect(fd_, (sockaddr*)&addr, sizeof(sockaddr_in)); err_failed: return -1; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdi, %rbx pushq $0x2 popq %rdi pushq $0x1 popq %rsi pushq $0x6 popq %rdx callq 0x27570 movl %eax, 0x8(%rbx) xorps %xmm0, %xmm0 movaps %xmm0, 0x10(%rsp) movq 0x10(%rbx), %r15 movl 0x30(%rbx), %ecx leaq 0x20(%rsp), %r12 movaps %xmm0, 0x10(%r12) movaps %xm...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/http/ali_tcp_connection.cc
AliTlsConnection::Connect()
int AliTlsConnection::Connect() { char sz_port[16] = {}; const char *pers = "ssl_client_aliyun"; int ret; int flags; snprintf(sz_port, sizeof(sz_port), "%d", this->port_); mbedtls_net_init( &server_fd_ ); mbedtls_ssl_init( &ssl_ ); mbedtls_ssl_config_init( &conf_ ); mbedtls_x509_crt_init(...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rdi movaps %xmm0, (%rdi) movl 0x30(%rbx), %ecx leaq 0x4dbbb(%rip), %rdx # 0x8bd3f pushq $0x10 popq %rsi xorl %eax, %eax callq 0x2a0b0 leaq 0x34(%rbx), %rdi movq %rdi, (%rsp) callq ...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/http/ali_tls_connection.cc
mbedtls_ctr_drbg_reseed
int mbedtls_ctr_drbg_reseed( mbedtls_ctr_drbg_context *ctx, const unsigned char *additional, size_t len ) { unsigned char seed[MBEDTLS_CTR_DRBG_MAX_SEED_INPUT]; size_t seedlen = 0; if( ctx->entropy_len + len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT ) return( MBEDTLS_ERR_CTR_DRBG_INPUT...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x180, %rsp # imm = 0x180 movq 0x18(%rdi), %r12 leaq (%r12,%rdx), %rax cmpq $0x180, %rax # imm = 0x180 jbe 0x3e851 pushq $-0x38 jmp 0x3e885 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rsp, %r13 movl $0x180, %edx # im...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ctr_drbg.c
mbedtls_ctr_drbg_self_test
int mbedtls_ctr_drbg_self_test( int verbose ) { mbedtls_ctr_drbg_context ctx; unsigned char buf[16]; mbedtls_ctr_drbg_init( &ctx ); /* * Based on a NIST CTR_DRBG test vector (PR = True) */ if( verbose != 0 ) mbedtls_printf( " CTR_DRBG (PR = TRUE) : " ); test_offset = 0; ...
pushq %rbp pushq %r14 pushq %rbx subq $0x170, %rsp # imm = 0x170 movl %edi, %ebx leaq 0x18(%rsp), %rdi movl $0x158, %edx # imm = 0x158 xorl %esi, %esi callq 0x27fe0 testl %ebx, %ebx je 0x3ee37 leaq 0x41726(%rip), %rdi # 0x80556 xorl %eax, %eax callq 0x27130 andq $0x0, 0x70799(%rip) # 0xaf5...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ctr_drbg.c
mbedtls_entropy_add_source
int mbedtls_entropy_add_source( mbedtls_entropy_context *ctx, mbedtls_entropy_f_source_ptr f_source, void *p_source, size_t threshold, int strong ) { int index, ret = 0; #if defined(MBEDTLS_THREADING_C) if( ( ret = mbedtls_mutex_lock( &ctx->mutex ) ) != 0 ) ...
movslq 0xd8(%rdi), %rax cmpq $0x13, %rax jle 0x3f0a7 pushq $-0x3e popq %rax retq imulq $0x28, %rax, %r9 movq %rsi, 0xe0(%rdi,%r9) movq %rdx, 0xe8(%rdi,%r9) movq %rcx, 0xf8(%rdi,%r9) movl %r8d, 0x100(%rdi,%r9) incl %eax movl %eax, 0xd8(%rdi) xorl %eax, %eax retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/entropy.c
mbedtls_platform_entropy_poll
int mbedtls_platform_entropy_poll( void *data, unsigned char *output, size_t len, size_t *olen ) { FILE *file; size_t read_len; ((void) data); #if defined(HAVE_GETRANDOM) if( has_getrandom == -1 ) has_getrandom = ( check_version_3_17_plus() == 0 ); if( has_getran...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x190, %rsp # imm = 0x190 movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movl 0x6ff4a(%rip), %eax # 0xaf580 cmpl $-0x1, %eax jne 0x3f6b2 leaq 0xa(%rsp), %r12 movq %r12, %rdi callq 0x271f0 movb 0x82(%r12), %cl leal -0x33(%rcx), %edx xorl %eax, ...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/entropy_poll.c
mbedtls_md_info_from_string
const mbedtls_md_info_t *mbedtls_md_info_from_string( const char *md_name ) { if( NULL == md_name ) return( NULL ); /* Get the appropriate digest information */ #if defined(MBEDTLS_MD2_C) if( !strcmp( "MD2", md_name ) ) return mbedtls_md_info_from_type( MBEDTLS_MD_MD2 ); #endif #if defined(...
pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x3f834 movq %rdi, %rbx leaq 0x49bc9(%rip), %rdi # 0x89354 movq %rbx, %rsi callq 0x29a50 testl %eax, %eax je 0x3f839 leaq 0x40f0e(%rip), %rdi # 0x806b0 movq %rbx, %rsi callq 0x29a50 testl %eax, %eax je 0x3f842 leaq 0x49cc3(%rip), %rdi # 0x8947c movq %rbx,...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/md.c
mbedtls_md_hmac
int mbedtls_md_hmac( const mbedtls_md_info_t *md_info, const unsigned char *key, size_t keylen, const unsigned char *input, size_t ilen, unsigned char *output ) { mbedtls_md_context_t ctx; int ret; if( md_info == NULL ) return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); m...
testq %rdi, %rdi je 0x3fd84 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %rbx movq %r8, %r14 movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %rsi xorps %xmm0, %xmm0 movq %rsp, %rdi movaps %xmm0, (%rdi) andq $0x0, 0x10(%rdi) pushq $0x1 popq %rdx callq 0x28c10 te...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/md.c
mbedtls_net_accept
int mbedtls_net_accept( mbedtls_net_context *bind_ctx, mbedtls_net_context *client_ctx, void *client_ip, size_t buf_size, size_t *ip_len ) { int ret; int type; struct sockaddr_storage client_addr; #if defined(__socklen_t_defined) || defined(_SOCKLEN_T) || \...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movq %r8, %r15 movq %rcx, %r14 movq %rdx, %rbx movq %rsi, %r13 movq %rdi, %r12 movl $0x80, 0x8(%rsp) leaq 0x14(%rsp), %r8 movl $0x4, (%r8) movl (%rdi), %edi pushq $0x1 popq %rsi pushq $0x3 popq %rdx leaq 0xc(%rs...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/net.c
mbedtls_net_set_nonblock
int mbedtls_net_set_nonblock( mbedtls_net_context *ctx ) { #if ( defined(_WIN32) || defined(_WIN32_WCE) ) && !defined(EFIX64) && \ !defined(EFI32) u_long n = 1; return( ioctlsocket( ctx->fd, FIONBIO, &n ) ); #else return( fcntl( ctx->fd, F_SETFL, fcntl( ctx->fd, F_GETFL ) | O_NONBLOCK ) ); #endif }
pushq %rbx movl (%rdi), %ebx pushq $0x3 popq %rsi movl %ebx, %edi xorl %eax, %eax callq 0x28030 orl $0x800, %eax # imm = 0x800 pushq $0x4 popq %rsi movl %ebx, %edi movl %eax, %edx xorl %eax, %eax popq %rbx jmp 0x28030
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/net.c
mbedtls_ripemd160
void mbedtls_ripemd160( const unsigned char *input, size_t ilen, unsigned char output[20] ) { mbedtls_ripemd160_context ctx; mbedtls_ripemd160_init( &ctx ); mbedtls_ripemd160_starts( &ctx ); mbedtls_ripemd160_update( &ctx, input, ilen ); mbedtls_ripemd160_finish( &ctx, output ); ...
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %rsi xorps %xmm0, %xmm0 movq %rsp, %r14 movaps %xmm0, 0x10(%r14) movaps %xmm0, (%r14) movups %xmm0, 0x4c(%r14) movaps %xmm0, 0x40(%r14) movaps %xmm0, 0x30(%r14) movaps %xmm0, 0x20(%r14) movaps 0x3e98e(%rip), %xmm0 # 0x806d0 movups %xmm...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ripemd160.c
mbedtls_ripemd160_self_test
int mbedtls_ripemd160_self_test( int verbose ) { int i; unsigned char output[20]; memset( output, 0, sizeof output ); for( i = 0; i < TESTS; i++ ) { if( verbose != 0 ) mbedtls_printf( " RIPEMD-160 test #%d: ", i + 1 ); mbedtls_ripemd160( (const unsigned char *) ripemd...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %edi, %ebp xorps %xmm0, %xmm0 movq %rsp, %r14 movaps %xmm0, (%r14) andl $0x0, 0x10(%r14) pushq $0x1 popq %r15 leaq 0x3ea54(%rip), %r12 # 0x807f0 xorl %r13d, %r13d cmpq $0x40, %r13 je 0x41e0b testl %ebp, %ebp je 0x41dba leaq 0x3e...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ripemd160.c
mbedtls_sha1_update
void mbedtls_sha1_update( mbedtls_sha1_context *ctx, const unsigned char *input, size_t ilen ) { size_t fill; uint32_t left; if( ilen == 0 ) return; left = ctx->total[0] & 0x3F; fill = 64 - left; ctx->total[0] += (uint32_t) ilen; ctx->total[0] &= 0xFFFFFFFF; if( ctx->total[0]...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax testq %rdx, %rdx je 0x43074 movq %rsi, %rbx movq %rdi, %r14 movl (%rdi), %ecx movl %ecx, %eax andl $0x3f, %eax movl %edx, %esi addl %ecx, %esi movl %esi, (%rdi) jae 0x42fe9 incl 0x4(%r14) xorl %ebp, %ebp testl %eax, %eax je 0x43005 pushq $0x40...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/sha1.c
mbedtls_sha512_update
void mbedtls_sha512_update( mbedtls_sha512_context *ctx, const unsigned char *input, size_t ilen ) { size_t fill; unsigned int left; if( ilen == 0 ) return; left = (unsigned int) (ctx->total[0] & 0x7F); fill = 128 - left; ctx->total[0] += (uint64_t) ilen; if( ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax testq %rdx, %rdx je 0x448bf movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax movl %eax, %ecx andl $0x7f, %ecx movq %rax, %rsi addq %rdx, %rsi movq %rsi, (%rdi) jae 0x4482e incq 0x8(%r14) xorl %ebp, %ebp testl %ecx, %ecx je 0x4484c movl $0x80,...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/sha512.c
mbedtls_sha512
void mbedtls_sha512( const unsigned char *input, size_t ilen, unsigned char output[64], int is384 ) { mbedtls_sha512_context ctx; mbedtls_sha512_init( &ctx ); mbedtls_sha512_starts( &ctx, is384 ); mbedtls_sha512_update( &ctx, input, ilen ); mbedtls_sha512_finish( &ctx, output ); mb...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xe0, %rsp movl %ecx, %ebp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 leaq 0x8(%rsp), %rdi movl $0xd8, %edx xorl %esi, %esi callq 0x27fe0 testl %ebp, %ebp je 0x44bd2 movaps 0x3c1d5(%rip), %xmm0 # 0x80d90 movaps 0x3c1de(%rip), %xmm1 # 0x80da0 movaps...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/sha512.c
mbedtls_ssl_psk_derive_premaster
int mbedtls_ssl_psk_derive_premaster( mbedtls_ssl_context *ssl, mbedtls_key_exchange_type_t key_ex ) { unsigned char *p = ssl->handshake->premaster; unsigned char *end = p + sizeof( ssl->handshake->premaster ); const unsigned char *psk = ssl->conf->psk; size_t psk_len = ssl->conf->psk_len; /* If th...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq (%rdi), %rax movq 0x60(%rdi), %r13 movq 0x378(%r13), %r14 testq %r14, %r14 jne 0x4680a leaq 0x120(%rax), %rcx movq 0x118(%rax), %r14 jmp 0x46811 leaq 0x380(%r13), %rcx addl $-0x5, %esi cmpl $0x3, %esi ja 0x4692f movq (%rcx...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_flush_output
int mbedtls_ssl_flush_output( mbedtls_ssl_context *ssl ) { int ret; unsigned char *buf, i; MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> flush output" ) ); if( ssl->f_send == NULL ) { MBEDTLS_SSL_DEBUG_MSG( 1, ( "Bad usage of mbedtls_ssl_set_bio() " "or mbedtls_ssl_set_bio()"...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x3a230(%rip), %rdx # 0x8145c leaq 0x3a5c8(%rip), %r8 # 0x817fb pushq $0x2 popq %rsi movl $0x96a, %ecx # imm = 0x96A xorl %eax, %eax callq 0x2a880 cmpq $0x0, 0x20(%rbx) je 0x47324 movq 0x160(%rbx), %rax...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_send_flight_completed
void mbedtls_ssl_send_flight_completed( mbedtls_ssl_context *ssl ) { ssl_reset_retransmit_timeout( ssl ); ssl_set_timer( ssl, ssl->handshake->retransmit_timeout ); if( ssl->in_msgtype == MBEDTLS_SSL_MSG_HANDSHAKE && ssl->in_msg[0] == MBEDTLS_SSL_HS_FINISHED ) { ssl->handshake->retransmi...
pushq %rbx movq %rdi, %rbx movq (%rdi), %rax movq 0x60(%rdi), %rcx movl 0x144(%rax), %r9d movl %r9d, 0x3d0(%rcx) leaq 0x39270(%rip), %rdx # 0x8145c leaq 0x3a3d7(%rip), %r8 # 0x825ca pushq $0x3 popq %rsi movl $0x88, %ecx xorl %eax, %eax callq 0x2a880 movq 0x60(%rbx), %rax movl 0x3d0(%rax), %esi movq %rbx, %rdi ...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_ssl_own_cert
static inline mbedtls_x509_crt *mbedtls_ssl_own_cert( mbedtls_ssl_context *ssl ) { mbedtls_ssl_key_cert *key_cert; if( ssl->handshake != NULL && ssl->handshake->key_cert != NULL ) key_cert = ssl->handshake->key_cert; else key_cert = ssl->conf->key_cert; return( key_cert == NULL ? NULL ...
movq 0x60(%rdi), %rax testq %rax, %rax je 0x4a541 movq 0x388(%rax), %rax testq %rax, %rax jne 0x4a550 movq (%rdi), %rax movq 0xc0(%rax), %rax testq %rax, %rax je 0x4a554 movq (%rax), %rax retq xorl %eax, %eax retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/include/mbedtls/ssl_internal.h
mbedtls_ssl_md_alg_from_hash
mbedtls_md_type_t mbedtls_ssl_md_alg_from_hash( unsigned char hash ) { switch( hash ) { #if defined(MBEDTLS_MD5_C) case MBEDTLS_SSL_HASH_MD5: return( MBEDTLS_MD_MD5 ); #endif #if defined(MBEDTLS_SHA1_C) case MBEDTLS_SSL_HASH_SHA1: return( MBEDTLS_MD_SHA1 ); #endif #if def...
decb %dil movzbl %dil, %ecx leal 0x3(%rcx), %edx xorl %eax, %eax cmpb $0x6, %cl cmovbl %edx, %eax retq
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_tls.c
mbedtls_timing_self_test
int mbedtls_timing_self_test( int verbose ) { unsigned long cycles, ratio; unsigned long millisecs, secs; int hardfail; struct mbedtls_timing_hr_time hires; uint32_t a, b; mbedtls_timing_delay_context ctx; if( verbose != 0 ) mbedtls_printf( " TIMING tests note: will take some time!...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movl %edi, %r12d testl %edi, %edi je 0x4d7f4 leaq 0x358da(%rip), %rdi # 0x830bb callq 0x29ec0 leaq 0x3584d(%rip), %rdi # 0x8303a xorl %eax, %eax callq 0x27130 pushq $0x1 popq %rbx leaq 0x58(%rsp), %r14 pushq $0x1 popq %rbp movq 0...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/timing.c
x509_get_uid
static int x509_get_uid( unsigned char **p, const unsigned char *end, mbedtls_x509_buf *uid, int n ) { int ret; if( *p == end ) return( 0 ); uid->tag = **p; if( ( ret = mbedtls_asn1_get_tag( p, end, &uid->len, MBEDTLS_ASN1_CONTEXT_...
pushq %rbp pushq %r14 pushq %rbx movq (%rdi), %rax xorl %ebp, %ebp cmpq %rsi, %rax je 0x4ff7a movq %rdx, %rbx movq %rdi, %r14 movzbl (%rax), %eax movl %eax, (%rdx) addq $0x8, %rdx orl $0xa0, %ecx callq 0x287c0 cmpl $-0x62, %eax je 0x4ff7a movl %eax, %ebp testl %eax, %eax jne 0x4ff7a movq (%r14), %rax movq %rax, 0x10(%r...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/x509_crt.c
Json::Reader::decodeNumber(Json::Reader::Token&)
bool Reader::decodeNumber( Token &token ) { bool isDouble = false; for ( Location inspect = token.start_; inspect != token.end_; ++inspect ) { isDouble = isDouble || in( *inspect, '.', 'e', 'E', '+' ) || ( *inspect == '-' && inspect != token.start_ ); } if...
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rsi movq 0x10(%r14), %rcx xorl %eax, %eax movabsq $0x400000004000009, %rdx # imm = 0x400000004000009 xorl %r8d, %r8d leaq (%rsi,%rax), %r9 cmpq %rcx, %r9 je 0x50ce1 movb $0x1, %dil testb $0x1, %r8b jne 0x50cc6 movzbl (%r9), %r8d add...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/jsoncpp/src/lib_json/json_reader.cpp
mbedtls_mpi_lset
int mbedtls_mpi_lset( mbedtls_mpi *X, mbedtls_mpi_sint z ) { int ret; MBEDTLS_MPI_CHK( mbedtls_mpi_grow( X, 1 ) ); memset( X->p, 0, X->n * ciL ); X->p[0] = ( z < 0 ) ? -z : z; X->s = ( z < 0 ) ? -1 : 1; cleanup: return( ret ); }
pushq %rbp pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 pushq $0x1 popq %rsi callq 0x276a0 movl %eax, %ebp testl %eax, %eax jne 0x5ce55 movq 0x8(%r14), %rdx movq 0x10(%r14), %rdi shlq $0x3, %rdx xorl %esi, %esi callq 0x27fe0 movq %rbx, %rax negq %rax cmovsq %rbx, %rax movq 0x10(%r14), %rcx movq %rax, (%rcx) sa...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/bignum.c
mbedtls_mpi_bitlen
size_t mbedtls_mpi_bitlen( const mbedtls_mpi *X ) { size_t i, j; if( X->n == 0 ) return( 0 ); for( i = X->n - 1; i > 0; i-- ) if( X->p[i] != 0 ) break; for( j = biL; j > 0; j-- ) if( ( ( X->p[i] >> ( j - 1 ) ) & 1 ) != 0 ) break; return( ( i * biL ...
movq 0x8(%rdi), %rax testq %rax, %rax je 0x5cf83 movq %rax, %rsi shlq $0x6, %rsi decq %rax movq %rsi, %rdx movq %rax, %rcx subq $0x1, %rax jb 0x5cf60 movq 0x10(%rdi), %r8 leaq -0x40(%rdx), %rsi cmpq $0x0, (%r8,%rcx,8) je 0x5cf45 pushq $0x3f popq %rsi movq %rdx, %rax cmpq $-0x1, %rsi je 0x5cf82 movq 0x10(%rdi), %rdx mov...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/bignum.c
mbedtls_mpi_write_file
int mbedtls_mpi_write_file( const char *p, const mbedtls_mpi *X, int radix, FILE *fout ) { int ret; size_t n, slen, plen; /* * Buffer should have space for (short) label and decimal formatted MPI, * newline characters and '\0' */ char s[ MBEDTLS_MPI_RW_BUFFER_SIZE ]; memset( s, 0, si...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x9d0, %rsp # imm = 0x9D0 movq %rcx, %rbx movl %edx, %ebp movq %rsi, %r15 movq %rdi, %r14 leaq 0x10(%rsp), %r12 movl $0x9b4, %edx # imm = 0x9B4 movq %r12, %rdi xorl %esi, %esi callq 0x27fe0 leaq 0x8(%rsp), %r8 movl $0x9b2, %ecx ...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/bignum.c
mbedtls_mpi_add_mpi
int mbedtls_mpi_add_mpi( mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B ) { int ret, s = A->s; if( A->s * B->s < 0 ) { if( mbedtls_mpi_cmp_abs( A, B ) >= 0 ) { MBEDTLS_MPI_CHK( mbedtls_mpi_sub_abs( X, A, B ) ); X->s = s; } else { ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movl (%rsi), %ebp movl (%rdx), %eax imull %ebp, %eax testl %eax, %eax js 0x5dbe4 movq %rbx, %rdi movq %r15, %rsi movq %r14, %rdx callq 0x270b0 jmp 0x5dc01 movq %r15, %rdi movq %r14, %rsi callq 0x2a180 movq %rbx, %rdi ...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/bignum.c
mbedtls_mpi_div_mpi
int mbedtls_mpi_div_mpi( mbedtls_mpi *Q, mbedtls_mpi *R, const mbedtls_mpi *A, const mbedtls_mpi *B ) { int ret; size_t i, n, t, k; mbedtls_mpi X, Y, Z, T1, T2; if( mbedtls_mpi_cmp_int( B, 0 ) == 0 ) return( MBEDTLS_ERR_MPI_DIVISION_BY_ZERO ); mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y )...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rcx, %r12 movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq %rcx, %rdi xorl %esi, %esi callq 0x28720 testl %eax, %eax je 0x5e398 pushq $0x1 popq %r13 movl %r13d, 0x50(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x58(%rsp) movl %r13d,...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/bignum.c
mpi_check_small_factors
static int mpi_check_small_factors( const mbedtls_mpi *X ) { int ret = 0; size_t i; mbedtls_mpi_uint r; if( ( X->p[0] & 1 ) == 0 ) return( MBEDTLS_ERR_MPI_NOT_ACCEPTABLE ); for( i = 0; small_prime[i] > 0; i++ ) { if( mbedtls_mpi_cmp_int( X, small_prime[i] ) <= 0 ) r...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq 0x10(%rdi), %rax pushq $-0xe popq %rbx testb $0x1, (%rax) je 0x5f6f7 movq %rdi, %r14 xorl %r13d, %r13d leaq 0x26a53(%rip), %rbp # 0x86100 movq %rsp, %r15 cmpq $0x29c, %r13 # imm = 0x29C je 0x5f6ec movl (%r13,%rbp), %r12d mo...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/bignum.c
mbedtls_cipher_list
const int *mbedtls_cipher_list( void ) { const mbedtls_cipher_definition_t *def; int *type; if( ! supported_init ) { def = mbedtls_cipher_definitions; type = mbedtls_cipher_supported; while( def->type != 0 ) *type++ = (*def++).type; *type = 0; supp...
cmpb $0x0, 0x51801(%rip) # 0xb1848 jne 0x60074 xorl %eax, %eax movq 0x4cf0e(%rip), %rdx # 0xacf60 movq 0x4cf6f(%rip), %rcx # 0xacfc8 movl (%rdx,%rax,4), %esi testl %esi, %esi je 0x60069 movl %esi, (%rcx,%rax) addq $0x4, %rax jmp 0x60059 andl $0x0, (%rcx,%rax) movb $0x1, 0x517d4(%rip) # 0xb1848 movq 0x4c...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/cipher.c
mbedtls_des_self_test
int mbedtls_des_self_test( int verbose ) { int i, j, u, v, ret = 0; mbedtls_des_context ctx; mbedtls_des3_context ctx3; unsigned char buf[8]; #if defined(MBEDTLS_CIPHER_MODE_CBC) unsigned char prv[8]; unsigned char iv[8]; #endif mbedtls_des_init( &ctx ); mbedtls_des3_init( &ctx3 ); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x238, %rsp # imm = 0x238 movl %edi, 0xc(%rsp) xorps %xmm0, %xmm0 leaq 0x30(%rsp), %rbx movaps %xmm0, (%rbx) movaps %xmm0, 0x10(%rbx) movaps %xmm0, 0x20(%rbx) movaps %xmm0, 0x30(%rbx) movaps %xmm0, 0x40(%rbx) movaps %xmm0, 0x50(%rbx) mov...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/des.c
mbedtls_dhm_make_params
int mbedtls_dhm_make_params( mbedtls_dhm_context *ctx, int x_size, unsigned char *output, size_t *olen, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) { int ret, count = 0; size_t n1, n2, n3; unsigned char *p; if( mbedtls_mpi_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r9, (%rsp) movq %r8, %rbp movq %rcx, %rbx movq %rdx, 0x10(%rsp) movl %esi, %r14d movq %rdi, %r15 leaq 0x8(%rdi), %r12 xorl %r13d, %r13d movq %r12, %rdi xorl %esi, %esi callq 0x28720 testl %eax, %eax je 0x62d38 movq %rbx, 0x20(%rsp)...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/dhm.c
mbedtls_ecp_muladd
int mbedtls_ecp_muladd( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, const mbedtls_mpi *m, const mbedtls_ecp_point *P, const mbedtls_mpi *n, const mbedtls_ecp_point *Q ) { int ret; mbedtls_ecp_point mP; if( ecp_get_type( grp ) != ECP_TYPE_SHORT_WEIERSTRASS ) return( MBEDT...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movl $0xffffb180, %ebp # imm = 0xFFFFB180 cmpq $0x0, 0x60(%rdi) je 0x653ce movq %rdi, %r14 cmpq $0x0, 0x78(%rdi) je 0x653ce movq %r9, %r15 movq %r8, %r12 movq %rcx, %r13 movq %rdx, %rbx movq %rsi, 0x8(%rsp) leaq 0x10(%rsp), %rbp mo...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ecp.c
mbedtls_pk_load_file
int mbedtls_pk_load_file( const char *path, unsigned char **buf, size_t *n ) { FILE *f; long size; if( ( f = fopen( path, "rb" ) ) == NULL ) return( MBEDTLS_ERR_PK_FILE_IO_ERROR ); fseek( f, 0, SEEK_END ); if( ( size = ftell( f ) ) == -1 ) { fclose( f ); return( MBEDTLS...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r15 leaq 0x1520f(%rip), %rsi # 0x80553 callq 0x29330 movl $0xffffc200, %ebx # imm = 0xFFFFC200 testq %rax, %rax je 0x6b404 movq %rax, %r12 pushq $0x2 popq %rdx movq %rax, %rdi xorl %esi, %esi callq 0x29170...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/pkparse.c
mbedtls_rsa_rsassa_pss_verify_ext
int mbedtls_rsa_rsassa_pss_verify_ext( mbedtls_rsa_context *ctx, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, mbedtls_md_type_t md_alg, unsi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x498, %rsp # imm = 0x498 movl %r9d, %ebp movl %r8d, %r15d movq %rdi, %r14 cmpl $0x1, %ecx jne 0x6e01c movl $0xffffbf80, %eax # imm = 0xFFFFBF80 cmpl $0x1, 0x148(%r14) jne 0x6e200 movq 0x8(%r14), %rbx leaq -0x401(%rbx), %rax cmpq $...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/rsa.c
myrand
static int myrand( void *rng_state, unsigned char *output, size_t len ) { #if !defined(__OpenBSD__) size_t i; if( rng_state != NULL ) rng_state = NULL; for( i = 0; i < len; ++i ) output[i] = rand(); #else if( rng_state != NULL ) rng_state = NULL; arc4random_buf( output, l...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 xorl %r15d, %r15d cmpq %r15, %rbx je 0x6e9df callq 0x275f0 movb %al, (%r14,%r15) incq %r15 jmp 0x6e9cc xorl %eax, %eax popq %rbx popq %r14 popq %r15 retq nop
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/rsa.c
mbedtls_ssl_ciphersuite_from_string
const mbedtls_ssl_ciphersuite_t *mbedtls_ssl_ciphersuite_from_string( const char *ciphersuite_name ) { const mbedtls_ssl_ciphersuite_t *cur = ciphersuite_definitions; if( NULL == ciphersuite_name ) return( NULL ); while( cur->id != 0 ) { ...
pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x6eaa1 movq %rdi, %r14 leaq 0x3c79a(%rip), %rbx # 0xab220 cmpl $0x0, (%rbx) je 0x6eaa1 movq 0x8(%rbx), %rdi movq %r14, %rsi callq 0x29a50 testl %eax, %eax je 0x6eaa3 addq $0x30, %rbx jmp 0x6ea86 xorl %ebx, %ebx movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_ciphersuites.c
mbedtls_ssl_handshake_server_step
int mbedtls_ssl_handshake_server_step( mbedtls_ssl_context *ssl ) { int ret = 0; if( ssl->state == MBEDTLS_SSL_HANDSHAKE_OVER || ssl->handshake == NULL ) return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA ); MBEDTLS_SSL_DEBUG_MSG( 2, ( "server state: %d", ssl->state ) ); if( ( ret = mbedtls_ssl_flush_out...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1d8, %rsp # imm = 0x1D8 movl 0x8(%rdi), %r9d movl $0xffff8f00, %r13d # imm = 0xFFFF8F00 cmpl $0x10, %r9d je 0x72772 movq %rdi, %rbx cmpq $0x0, 0x60(%rdi) je 0x72772 leaq 0x19fee(%rip), %rdx # 0x8c738 leaq 0x1a081(%rip), %r8 ...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/ssl_srv.c
mbedtls_x509_get_rsassa_pss_params
int mbedtls_x509_get_rsassa_pss_params( const mbedtls_x509_buf *params, mbedtls_md_type_t *md_alg, mbedtls_md_type_t *mgf_md, int *salt_len ) { int ret; unsigned char *p; const unsigned char *end, *end2; size_t len; mbedtls_x509_buf alg...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp pushq $0x4 popq %rax movl %eax, (%rsi) movl %eax, (%rdx) movl $0x14, (%rcx) movl $0xffffdc9e, %ebp # imm = 0xFFFFDC9E cmpl $0x30, (%rdi) jne 0x76b52 movq 0x10(%rdi), %rbx movq %rbx, (%rsp) movq 0x8(%rdi), %rax testq %rax, %rax je 0...
/aliyun-beta[P]aliyun-openapi-cpp-sdk/aliyun_api_core/third_party/mbedtls-2.1.2/library/x509.c
bsp_nprocs
bsp_pid_t bsp_nprocs() { if (!s_spmd) { int init, fini; MPI_Initialized( & init ); MPI_Finalized( &fini ); if ( fini ) bsp_abort("bsp_nprocs: internal error\n"); if (!init ) { MPI_Init(NULL, NULL); atexit( bsp_check_exit ); ...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp cmpq $0x0, 0x2a0c8(%rip) # 0x40338 jne 0x162d5 leaq -0x8(%rbp), %rdi callq 0x15180 leaq -0xc(%rbp), %rdi callq 0x152b0 cmpl $0x0, -0xc(%rbp) je 0x16298 leaq 0x1b33c(%rip), %rdi # 0x315cd movb $0x0, %al callq 0x157f0 cmpl $0x0, -0x8(%rbp) jne 0x162b6 xorl %eax, %eax mo...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
lest::count& lest::for_test<lest::count>(std::vector<lest::test, std::allocator<lest::test>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, lest::count&, int)
Action & for_test( tests specification, texts in, Action & perform, int n = 1 ) { for ( int i = 0; indefinite( n ) || i < n; ++i ) { for ( tests::iterator pos = specification.begin(); pos != specification.end() ; ++pos ) { test & testing = *pos; if ( select( testing.name...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdx, 0x10(%rsp) cmpl $-0x1, %ecx setne %al movl %ecx, 0x8(%rsp) testl %ecx, %ecx setle %cl testb %cl, %al jne 0x4845 movq %rsi, %r14 movq %rdi, %r15 xorl %edx, %edx leaq 0x18(%rsp), %r12 leaq 0x60(%rsp), %r13 movl %edx, 0xc(%rsp) m...
/martinmoene[P]atomic-lite/test/lest/lest_cpp03.hpp
DFSTraverse
void DFSTraverse(LGraph G) { int i; int visited[MAX]; // 顶点访问标记 // 初始化所有顶点都没有被访问 for (i = 0; i < G.vexnum; i++) visited[i] = 0; printf("DFS: "); for (i = 0; i < G.vexnum; i++) { if (!visited[i]) DFS(G, i, visited); } printf("\n"); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x7e8, %rsp # imm = 0x7E8 movslq 0x810(%rsp), %r12 testq %r12, %r12 jle 0x14a5 leaq (,%r12,4), %rdx leaq 0x650(%rsp), %rdi xorl %esi, %esi callq 0x1070 leaq 0xba9(%rip), %rdi # 0x2055 xorl %eax, %eax callq 0x1060 testl %r12d, %r12d jle 0x14f7 leaq 0x810...
/snake-lvyonghao[P]Data_struct_code/data_struct_source/Graph/ListGraph.c
main
int main (int /*argc*/, char** /*argv*/) { Variable x; Variable y; x.setValue(3); y.setValue(2); assertOrExit((ifThenElse(x > y, x, y)).evaluate() == 3, "(" + std::to_string(x.evaluate()) + " > " + std::to_string(y.evaluate()) + ") ? " + std::to_string(x.evaluate()) + " : " +...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x218, %rsp # imm = 0x218 xorl %r14d, %r14d leaq 0x30(%rsp), %rbx movq %r14, (%rbx) leaq 0x88c1(%rip), %r15 # 0x10c20 addq $0x10, %r15 leaq 0x78(%rsp), %rsi movq %r15, -0x8(%rsi) movq %r14, (%rsi) leaq 0x80(%rsp), %rdi leaq 0x10(%rs...
/lgpasquale[P]kandinsky/src/test/expressions/evaluation/IfThenElseEvaluationTest.cpp
Kandinsky::Expression Kandinsky::ifThenElse<Kandinsky::Expression, Kandinsky::Variable, Kandinsky::Variable, (void*)0>(Kandinsky::Expression const&, Kandinsky::Variable const&, Kandinsky::Variable const&)
Expression ifThenElse(const Arg1T& arg1, const Arg2T& arg2, const Arg3T& arg3) { BaseExpressionPtr arg1Ptr = BaseExpression::makePtr(arg1); BaseExpressionPtr arg2Ptr = BaseExpression::makePtr(arg2); BaseExpressionPtr arg3Ptr = BaseExpression::makePtr(arg3); if (bool(std::dynamic_...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x68, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rdi, %rbx movq %rsp, %rdi callq 0xab26 leaq 0x20(%rsp), %rdi movq %r15, %rsi callq 0xaaf8 leaq 0x10(%rsp), %rdi movq %r14, %rsi callq 0xaaf8 movq (%rsp), %rdi testq %rdi, %rdi je 0x91a6 leaq 0x7981(%rip), %rsi # 0x10...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/IfThenElseExpression.hpp
Kandinsky::Expression Kandinsky::operator><Kandinsky::Variable, int, (void*)0>(Kandinsky::Variable const&, int const&)
Expression operator>(const Arg1T& arg1, const Arg2T& arg2) { BaseExpressionPtr arg1Ptr = BaseExpression::makePtr(arg1); BaseExpressionPtr arg2Ptr = BaseExpression::makePtr(arg2); if (bool(std::dynamic_pointer_cast<Constant>(arg1Ptr)) && bool(std::dynamic_pointer_cast<Constant...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdx, %r12 movq %rdi, %r13 leaq 0x10(%rsp), %rdi callq 0xaaf8 movl $0x40, %edi callq 0x80f0 movq %rax, %r15 movq %rax, %rbx movabsq $0x100000001, %rax # imm = 0x100000001 movq %rax, 0x8(%r15) leaq 0x6f99(%rip), %rax # 0x10...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/comparison/GreaterExpression.hpp
Kandinsky::VariableExpression::generateName[abi:cxx11]()
static std::string generateName() { static int count(0); return "x_{" + std::to_string(count++) + "}"; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movl 0x7398(%rip), %r13d # 0x11124 leal 0x1(%r13), %eax movl %eax, 0x738e(%rip) # 0x11124 movl %r13d, %ebp negl %ebp cmovsl %r13d, %ebp movl $0x1, %r14d cmpl $0xa, %ebp jb 0x9df3 movl $0x4, %r14d movl $0xd1b71759...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/VariableExpression.hpp
Kandinsky::TernaryExpression::fillVariableSet(std::set<Kandinsky::Variable, Kandinsky::VariableLessThanComparator, std::allocator<Kandinsky::Variable>>&, std::shared_ptr<Kandinsky::BaseExpression> const&) const
virtual void fillVariableSet(std::set<Variable, VariableLessThanComparator>& variableSet, const BaseExpressionPtr& /*thisSharedPtr*/) const { m_arg1->fillVariableSet(variableSet, m_arg1); m_arg2->fillVariableSet(variableSet, m_arg2); m_arg3->fillVariableSet(variableSet, m_arg...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 leaq 0x8(%rdi), %rdx movq 0x8(%rdi), %rdi movq (%rdi), %rax callq *0x20(%rax) leaq 0x18(%r14), %rdx movq 0x18(%r14), %rdi movq (%rdi), %rax movq %rbx, %rsi callq *0x20(%rax) movq 0x28(%r14), %rdi addq $0x28, %r14 movq (%rdi), %rax movq 0x20(%rax), %rax mo...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/TernaryExpression.hpp
Kandinsky::TernaryExpression::isConstant() const
virtual bool isConstant() const { return m_arg1->isConstant() && m_arg2->isConstant() && m_arg3->isConstant(); }
pushq %rbx movq %rdi, %rbx movq 0x8(%rdi), %rdi movq (%rdi), %rax callq *0x30(%rax) testb %al, %al je 0xa705 movq 0x18(%rbx), %rdi movq (%rdi), %rax callq *0x30(%rax) testb %al, %al je 0xa705 movq 0x28(%rbx), %rdi movq (%rdi), %rax popq %rbx jmpq *0x30(%rax) xorl %eax, %eax popq %rbx retq nop
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/TernaryExpression.hpp
void __gnu_cxx::new_allocator<Kandinsky::IfThenElseExpression>::construct<Kandinsky::IfThenElseExpression, Kandinsky::IfThenElseExpression const&>(Kandinsky::IfThenElseExpression*, Kandinsky::IfThenElseExpression const&)
TernaryExpression(const BaseExpressionPtr& arg1, const BaseExpressionPtr& arg2, const BaseExpressionPtr& arg3) : m_arg1(arg1), m_arg2(arg2), m_arg3(arg3) {}
leaq 0x6169(%rip), %rax # 0x109e8 movq %rax, (%rsi) movq 0x8(%rdx), %rax movq %rax, 0x8(%rsi) movq 0x10(%rdx), %rax movq %rax, 0x10(%rsi) testq %rax, %rax je 0xa8ac movq 0x6732(%rip), %rcx # 0x10fd0 cmpb $0x0, (%rcx) je 0xa8a8 incl 0x8(%rax) jmp 0xa8ac lock incl 0x8(%rax) movq 0x18(%rdx), %rax movq %rax, 0x18...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/TernaryExpression.hpp
std::shared_ptr<Kandinsky::BaseExpression> Kandinsky::BaseExpression::makePtr<Kandinsky::Variable>(Kandinsky::Variable const&)
std::shared_ptr<BaseExpression> BaseExpression::makePtr<Variable>(const Variable& arg) { return arg.getVariableExpressionPtr(); }
movq %rdi, %rax movq 0x8(%rsi), %rcx movq 0x10(%rsi), %rdx testq %rdx, %rdx je 0xab1d movq 0x64c1(%rip), %rsi # 0x10fd0 cmpb $0x0, (%rsi) je 0xab19 incl 0x8(%rdx) jmp 0xab1d lock incl 0x8(%rdx) movq %rcx, (%rax) movq %rdx, 0x8(%rax) retq nop
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/BaseExpression.cpp
Kandinsky::BaseExpression::sizeOfAllNodes(std::shared_ptr<Kandinsky::BaseExpression> const&) const
size_t BaseExpression::sizeOfAllNodes( const std::shared_ptr<BaseExpression>& thisSharedPtr) const { return sizeOfInternalNodes() + numberOfConstants() * sizeof(Constant) + variables(thisSharedPtr).size() * sizeof(VariableExpression); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x30, %rsp movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax callq *0x38(%rax) movq %rax, %r15 movq (%r14), %rax movq %r14, %rdi callq *0x48(%rax) leaq (%rax,%rax,2), %r13 shlq $0x4, %r13 movq (%r14), %rax movq %rsp, %r12 movq %r12, %rdi movq %r14, %rsi movq ...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/BaseExpression.cpp
Kandinsky::Constant::derivative(std::shared_ptr<Kandinsky::VariableExpression> const&) const
BaseExpressionPtr Constant::derivative(const VariableExpressionPtr& /*variable*/) const { return makePtr(Constant(0)); }
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx leaq 0x5edf(%rip), %r14 # 0x10b30 leaq 0x28(%rsp), %rcx movq %r14, (%rcx) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rcx) movups %xmm0, 0x18(%rcx) leaq -0x31f(%rip), %rax # 0xa94c movq %rax, 0x10(%rcx) leaq -0xcd4(%rip), %rax # 0x9fa2 movq %rax, 0x28(%rcx...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/Constant.cpp
Kandinsky::VariableExpression::derivative(std::shared_ptr<Kandinsky::VariableExpression> const&) const
BaseExpressionPtr VariableExpression::derivative(const VariableExpressionPtr& variable) const { return makePtr(Constant(variable.get() == this)); }
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx cmpq %rsi, (%rdx) je 0xad60 xorps %xmm0, %xmm0 jmp 0xad68 movsd 0x22b0(%rip), %xmm0 # 0xd018 leaq 0x5db1(%rip), %r14 # 0x10b20 addq $0x10, %r14 leaq 0x28(%rsp), %rcx movq %r14, (%rcx) movsd %xmm0, 0x8(%rcx) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rcx) movup...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/VariableExpression.cpp
Kandinsky::VariableExpression::toString[abi:cxx11](bool) const
virtual std::string toString(bool evaluate = false) const { return evaluate ? m_formatter(m_value) : m_name; }
pushq %rbx subq $0x10, %rsp movq %rsi, %rax movq %rdi, %rbx testl %edx, %edx je 0xaf4c movsd 0x8(%rax), %xmm0 movsd %xmm0, 0x8(%rsp) cmpq $0x0, 0x48(%rax) je 0xaf6f leaq 0x38(%rax), %rsi leaq 0x8(%rsp), %rdx movq %rbx, %rdi callq *0x50(%rax) jmp 0xaf66 leaq 0x10(%rbx), %rcx movq %rcx, (%rbx) movq 0x10(%rax), %rsi movq ...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/VariableExpression.hpp
Kandinsky::GreaterExpression::toString[abi:cxx11](bool) const
virtual std::string toString(bool evaluate = false) const { return "(" + m_arg1->toString(evaluate) + " > " + m_arg2->toString(evaluate) + ")"; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xa0, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rsi movq (%rsi), %rax leaq 0x80(%rsp), %r15 movq %r15, %rdi callq *0x28(%rax) leaq 0x1101(%rip), %rcx # 0xd020 movl $0x1, %r8d movq %r15, %rdi xorl %esi, %esi xorl %edx, %edx cal...
/lgpasquale[P]kandinsky/src/Kandinsky/expressions/comparison/GreaterExpression.hpp
doit()
void doit() { char line[4096]; fgets(line, sizeof(line), stdin); // Read header int lineno = 2; AggregateVulnerability av; while (fgets(line, sizeof(line), stdin) != 0) { if (sscanf(line, "%d,%d", &av.aggregatevulnerability_id, &av.vulnerability_id) != 2) { fprintf(stderr, "FATAL: Inva...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1018, %rsp # imm = 0x1018 movq 0x2d80(%rip), %rax # 0x3fd0 movq (%rax), %rdx leaq 0x10(%rsp), %r14 movq %r14, %rdi movl $0x1000, %esi # imm = 0x1000 callq 0x10c0 pushq $0x2 popq %rbx leaq 0x8(%rsp), %r13 movq 0x2d44(%rip)...
/OasisLMF[P]ktools/src/aggregatevulnerabilitytobin/aggregatevulnerabilitytobin.cpp
testing::internal::XmlUnitTestResultPrinter::PrintXmlUnitTest(std::ostream*, testing::UnitTest const&)
void XmlUnitTestResultPrinter::PrintXmlUnitTest(std::ostream* stream, const UnitTest& unit_test) { const std::string kTestsuites = "testsuites"; *stream << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; *stream << "<" << kTestsuites; OutputXmlAttribute(stream, ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x68, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x1bba8(%rip), %rsi # 0x2fcaa leaq -0x80(%rbp), %rdi leaq -0x40(%rbp), %rdx callq 0x210f6 leaq 0x1bb9f(%rip), %rsi # 0x2fcb5 movq %rbx, %rdi callq 0x8580 leaq 0x1bb7e(%rip), %rsi # 0x2fca3 movq ...
/metacall[P]core/build_O2/source/tests/src/google-test-depends/googletest/src/gtest.cc
testing::internal::XmlUnitTestResultPrinter::ListTestsMatchingFilter(std::vector<testing::TestSuite*, std::allocator<testing::TestSuite*>> const&)
void XmlUnitTestResultPrinter::ListTestsMatchingFilter( const std::vector<TestSuite*>& test_suites) { FILE* xmlout = OpenFileForWriting(output_file_); std::stringstream stream; PrintXmlTestsList(&stream, test_suites); fprintf(xmlout, "%s", StringStreamToString(&stream).c_str()); fclose(xmlout); }
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 movq %rsi, %r14 addq $0x8, %rdi callq 0x13ffa movq %rax, %rbx leaq -0x1b8(%rbp), %rdi callq 0x83c0 leaq -0x1a8(%rbp), %rdi movq %r14, %rsi callq 0x145a0 leaq -0x30(%rbp), %rdi leaq -0x1b8(%rbp), %rsi callq 0xe3d9 leaq -0x30(%rbp...
/metacall[P]core/build_O2/source/tests/src/google-test-depends/googletest/src/gtest.cc
ncnn::cast_float32_to_float16(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&)
void cast_float32_to_float16(const Mat& src, Mat& dst, const Option& opt) { Layer* cast = create_layer(LayerType::Cast); ParamDict pd; pd.set(0, 1); pd.set(1, 2); cast->load_param(pd); cast->create_pipeline(opt); cast->forward(src, dst, opt); cast->destroy_pipeline(opt); delete...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 pushq $0x40 popq %rdi callq 0x7559b movq %rax, %rbx movq %rsp, %r13 movq %r13, %rdi callq 0x6e824 pushq $0x1 popq %rdx movq %r13, %rdi xorl %esi, %esi callq 0x6ec16 movq %rsp, %rdi pushq $0x1 popq %rs...
/csukuangfj[P]ncnn/src/mat.cpp
ncnn::quantize_to_int8(ncnn::Mat const&, ncnn::Mat&, ncnn::Mat const&, ncnn::Option const&)
void quantize_to_int8(const Mat& src, Mat& dst, const Mat& scale_data, const Option& opt) { Layer* quantize = create_layer(LayerType::Quantize); ParamDict pd; pd.set(0, scale_data.w); quantize->load_param(pd); Mat weights[1]; weights[0] = scale_data; quantize->load_model(ModelBinFromMatA...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rcx, %rbx movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %r12 pushq $0x39 popq %rdi callq 0x7559b movq %rax, %r14 leaq 0x58(%rsp), %rbp movq %rbp, %rdi callq 0x6e824 movl 0x2c(%r13), %edx movq %rbp, %rdi xorl %esi, %esi callq 0x6ec16 m...
/csukuangfj[P]ncnn/src/mat.cpp
ncnn::requantize_from_int32_to_int8(ncnn::Mat const&, ncnn::Mat&, ncnn::Mat const&, ncnn::Mat const&, ncnn::Mat const&, int, ncnn::Mat const&, ncnn::Option const&)
void requantize_from_int32_to_int8(const Mat& src, Mat& dst, const Mat& scale_in_data, const Mat& scale_out_data, const Mat& bias_data, int activation_type, const Mat& activation_params, const Option& opt) { Layer* requantize = create_layer(LayerType::Requantize); ParamDict pd; pd.set(0, scale_in_data.w); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movl %r9d, %r13d movq %r8, %r12 movq %rcx, %rbp movq %rdx, %r14 movq %rsi, 0x18(%rsp) movq %rdi, 0x10(%rsp) pushq $0x3f popq %rdi callq 0x7559b movq %rax, %rbx movq %rsp, %r15 movq %r15, %rdi callq 0x6e824 movl ...
/csukuangfj[P]ncnn/src/mat.cpp
ncnn::yuv420sp2rgb_nv12(unsigned char const*, int, int, unsigned char*)
void yuv420sp2rgb_nv12(const unsigned char* yuv420sp, int w, int h, unsigned char* rgb) { const unsigned char* yptr = yuv420sp; const unsigned char* uvptr = yuv420sp + w * h; #if __ARM_NEON uint8x8_t _v128 = vdup_n_u8(128); int8x8_t _v90 = vdup_n_s8(90); int8x8_t _v46 = vdup_n_s8(46); int8x8_t ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movl %edx, -0x24(%rsp) movl %edx, %eax imull %esi, %eax cltq addq %rdi, %rax movl %esi, -0x28(%rsp) movslq %esi, %rsi leal (%rsi,%rsi,2), %edx movslq %edx, %r8 leal (%rsi,%rsi), %edx movslq %edx, %rdx movq %rdx, -0x18(%rsp) imull $0x6, %esi, %edx movslq ...
/csukuangfj[P]ncnn/src/mat_pixel.cpp
ncnn::Mat::from_pixels(unsigned char const*, int, int, int, ncnn::Allocator*)
Mat Mat::from_pixels(const unsigned char* pixels, int type, int w, int h, Allocator* allocator) { int type_from = type & PIXEL_FORMAT_MASK; if (type_from == PIXEL_RGB || type_from == PIXEL_BGR) { return Mat::from_pixels(pixels, type, w, h, w * 3, allocator); } else if (type_from == PIXEL_GR...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movzwl %dx, %eax leal -0x1(%rax), %edi cmpl $0x1, %edi ja 0x63315 leal (%rcx,%rcx,2), %eax jmp 0x63339 cmpl $0x3, %eax jne 0x63326 movq %r9, (%rsp) movq %rbx, %rdi movl %ecx, %r9d jmp 0x63343 movl %edx, %eax andl $0xfffe, %eax # imm = 0xFFFE cmpl $0x4, %eax jne...
/csukuangfj[P]ncnn/src/mat_pixel.cpp
ncnn::Mat::from_pixels_resize(unsigned char const*, int, int, int, int, int, ncnn::Allocator*)
Mat Mat::from_pixels_resize(const unsigned char* pixels, int type, int w, int h, int target_width, int target_height, Allocator* allocator) { int type_from = type & PIXEL_FORMAT_MASK; if (type_from == PIXEL_RGB || type_from == PIXEL_BGR) { return Mat::from_pixels_resize(pixels, type, w, h, w * 3, t...
pushq %r14 pushq %rbx pushq %rax movl %r9d, %eax movq %rdi, %rbx movq 0x28(%rsp), %r11 movl 0x20(%rsp), %r10d movzwl %dx, %edi leal -0x1(%rdi), %r9d cmpl $0x1, %r9d ja 0x64343 leal (%rcx,%rcx,2), %r9d jmp 0x64369 cmpl $0x3, %edi jne 0x64354 subq $0x8, %rsp movq %rbx, %rdi movl %ecx, %r9d jmp 0x64370 movl %edx, %edi and...
/csukuangfj[P]ncnn/src/mat_pixel.cpp
ncnn::BatchNorm::load_model(ncnn::ModelBin const&)
int BatchNorm::load_model(const ModelBin& mb) { slope_data = mb.load(channels, 1); if (slope_data.empty()) return -100; mean_data = mb.load(channels, 1); if (mean_data.empty()) return -100; var_data = mb.load(channels, 1); if (var_data.empty()) return -100; bias_da...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rsi, %r12 movq %rdi, %rbx movl 0xd0(%rdi), %edx movq (%rsi), %rax leaq 0x8(%rsp), %r15 pushq $0x1 popq %rcx movq %r15, %rdi callq *0x10(%rax) leaq 0xd8(%rbx), %r13 movq 0x8(%r15), %rax cmpq %r15, %r13 je 0x8885a testq %rax, %rax je 0x887ca lo...
/csukuangfj[P]ncnn/src/layer/batchnorm.cpp
virtual thunk to ncnn::Bias_x86_avx512::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int Bias_x86_avx512::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { int w = bottom_top_blob.w; int h = bottom_top_blob.h; int d = bottom_top_blob.d; int channels = bottom_top_blob.c; int size = w * h * d; const float* bias_ptr = bias_data; #pragma omp parallel for num_thre...
pushq %rax movq (%rdi), %rax addq -0x58(%rax), %rdi callq 0x8a12c xorl %eax, %eax popq %rcx retq nop
/csukuangfj[P]ncnn/build_O2/src/layer/x86/bias_x86_avx512.cpp
virtual thunk to ncnn::BNLL_x86_fma::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int BNLL_x86_fma::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { int w = bottom_top_blob.w; int h = bottom_top_blob.h; int d = bottom_top_blob.d; int channels = bottom_top_blob.c; int elempack = bottom_top_blob.elempack; int size = w * h * d * elempack; #pragma omp paralle...
pushq %rax callq 0x8afa8 xorl %eax, %eax popq %rcx retq nop
/csukuangfj[P]ncnn/build_O2/src/layer/x86/bnll_x86_fma.cpp
ncnn::test_prefer_winograd23(int, int, int, int)
static bool test_prefer_winograd23(int num_input, int num_output, int w, int h) { int minwh = std::min(w, h); if (num_input >= 512) { if (num_output >= 512) return (minwh >= 3 && minwh <= 14); if (num_output >= 256) return (minwh >= 3 && minwh <= 14); if (num_output >= 128) return (...
cmpl %edx, %ecx cmovll %ecx, %edx cmpl $0x200, %edi # imm = 0x200 jl 0xb8df4 cmpl $0x200, %esi # imm = 0x200 jge 0xb8e30 cmpl $0x100, %esi # imm = 0x100 jge 0xb8e30 cmpl $0x80, %esi jge 0xb8e30 cmpl $0x40, %esi jge 0xb8e6b jmp 0xb8eae cmpl $0x100, %edi # imm = 0x100 jl 0xb8e2...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/convolution_x86_avx512.cpp
ncnn::convolution_im2col_sgemm_transform_kernel_pack8to4_int8_sse(ncnn::Mat const&, ncnn::Mat&, int, int, int, int)
static void convolution_im2col_sgemm_transform_kernel_pack8to4_int8_sse(const Mat& _kernel, Mat& kernel_tm, int inch, int outch, int kernel_w, int kernel_h) { const int maxk = kernel_w * kernel_h; // interleave // src = maxk-inch-outch // dst = 8a-4b-maxk-inch/8a-outch/4b Mat kernel = _kernel.resha...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movl %r8d, %ebx movl %ecx, %ebp movl %edx, %r15d movq %rsi, %r14 movq %rdi, %rsi imull %r9d, %ebx xorl %r12d, %r12d movq %rsp, %rdi movl %ebx, %edx movl %r15d, %ecx movl %ebp, %r8d xorl %r9d, %r9d callq 0x60180 movl %ebx, %esi shll $0x5,...
/csukuangfj[P]ncnn/src/layer/x86/convolution_sgemm_pack8to4_int8.h
ncnn::conv3x3s1_winograd43_transform_kernel_pack8to4_int8_sse_avx2(ncnn::Mat const&, ncnn::Mat&, int, int, ncnn::Option const&)
void conv3x3s1_winograd43_transform_kernel_pack8to4_int8_sse_avx2(const Mat& kernel, Mat& kernel_tm, int inch, int outch, const Option& opt) { conv3x3s1_winograd43_transform_kernel_pack8to4_int8_sse(kernel, kernel_tm, inch, outch, opt); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movl %ecx, %ebx movl %edx, %r14d movq %rsi, %r15 movq %rdi, 0x38(%rsp) leaq 0x60(%rsp), %rdi andq $0x0, 0x40(%rdi) vpxor %xmm0, %xmm0, %xmm0 vmovdqa %xmm0, (%rdi) vmovdqu %xmm0, 0xc(%rdi) vmovdqa %xmm0, 0x20(%rdi) vmovdqu %xmm0, 0x2c(%rd...
/csukuangfj[P]ncnn/src/layer/x86/convolution_x86_avx2.cpp
ncnn::im2col_sgemm_pack1to4_int8_sse_xop(ncnn::Mat const&, ncnn::Mat&, ncnn::Mat const&, ncnn::Option const&)
void im2col_sgemm_pack1to4_int8_sse_xop(const Mat& bottom_im2col, Mat& top_blob, const Mat& kernel, const Option& opt) { im2col_sgemm_pack1to4_int8_sse(bottom_im2col, top_blob, kernel, opt); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, %r15 movl 0x2c(%rdi), %r10d movl 0x30(%rdi), %eax movq %rax, 0x10(%rsp) movslq 0x38(%rdi), %rbx movq %rsi, 0x80(%rsp) movl 0x38(%rsi), %eax movq %rax, 0x78(%rsp) andq $0x0, 0x70(%rsp) movq %rdx, %r12 vpxor %xmm0, %xmm0, %xmm0 ...
/csukuangfj[P]ncnn/src/layer/x86/convolution_x86_xop.cpp
ncnn::Crop::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const
int Crop::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const { int w = bottom_blob.w; int h = bottom_blob.h; int d = bottom_blob.d; int channels = bottom_blob.c; int dims = bottom_blob.dims; size_t elemsize = bottom_blob.elemsize; int _woffset, _hoffset, _doffset, _coff...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 movl 0x2c(%rsi), %r11d movl 0x30(%rsi), %r13d movl 0x34(%rsi), %r12d movl 0x38(%rsi), %ebp movl 0x28(%rsi), %r15d movq 0x10(%rsi), %r14 orl $-0x1, 0x1c(%rsp) orl $-0x1, 0x74(%rsp) movq %rdx, %rbx orl $-0x1, 0xc8...
/csukuangfj[P]ncnn/src/layer/crop.cpp
ncnn::crop_pack8_avx(ncnn::Mat const&, ncnn::Mat&, int, int)
static void crop_pack8_avx(const Mat& src, Mat& dst, int top, int left) { int w = dst.w; int h = dst.h; int right = src.w - dst.w - left; const float* ptr = src.row(top) + left * 8; float* outptr = dst; for (int y = 0; y < h; y++) { for (int x = 0; x < w; x++) { ...
movl 0x2c(%rsi), %eax movl 0x30(%rsi), %r8d movslq 0x2c(%rdi), %r9 movslq %edx, %rdx imulq %r9, %rdx subl %eax, %r9d imulq 0x10(%rdi), %rdx addq (%rdi), %rdx shll $0x3, %ecx movslq %ecx, %rcx leaq (%rdx,%rcx,4), %rcx movq (%rsi), %rdx shll $0x3, %r9d movslq %r9d, %rsi xorl %edi, %edi testl %eax, %eax cmovlel %edi, %eax...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/crop_x86_avx512.cpp
ncnn::Crop_x86_fma::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const
int Crop_x86_fma::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const { int w = bottom_blob.w; int h = bottom_blob.h; int d = bottom_blob.d; int channels = bottom_blob.c; int dims = bottom_blob.dims; size_t elemsize = bottom_blob.elemsize; int elempack = bottom_blob.elemp...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x138, %rsp # imm = 0x138 movq %rcx, 0x60(%rsp) movq %rdx, %rbx movq %rsi, %r13 movq %rdi, 0x130(%rsp) movl 0x2c(%rsi), %r15d movslq %r15d, %rax movl 0x30(%rsi), %r14d movslq %r14d, %rcx movl 0x34(%rsi), %edx movl %edx, 0xe4(%rsp) movslq...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/crop_x86_fma.cpp
ncnn::Deconvolution::load_model(ncnn::ModelBin const&)
int Deconvolution::load_model(const ModelBin& mb) { weight_data = mb.load(weight_data_size, 0); if (weight_data.empty()) return -100; if (bias_term) { bias_data = mb.load(num_output, 1); if (bias_data.empty()) return -100; } return 0; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rsi, %r15 movq %rdi, %rbx movl 0x110(%rdi), %edx movq (%rsi), %rax leaq 0x8(%rsp), %r14 movq %r14, %rdi xorl %ecx, %ecx callq *0x10(%rax) leaq 0x160(%rbx), %r12 movq 0x8(%r14), %rax cmpq %r14, %r12 je 0x1505da testq %rax, %rax je 0x15054a loc...
/csukuangfj[P]ncnn/src/layer/deconvolution.cpp
ncnn::Deconvolution_x86_fma::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const
int Deconvolution_x86_fma::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const { // deconvolv with NxN kernel // value = value + bias int w = bottom_blob.w; int h = bottom_blob.h; size_t elemsize = bottom_blob.elemsize; int elempack = bottom_blob.elempack; // NCNN_L...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq %rdx, 0x150(%rsp) movq %rdi, %r15 movl 0x2c(%rsi), %r13d movl 0x30(%rsi), %r14d movq 0x10(%rsi), %rax movq %rsi, 0x18(%rsp) movslq 0x18(%rsi), %rdx movq %rdx, 0x128(%rsp) movq (%rdi), %rsi movq -0x18(%rsi),...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolution_x86_fma.cpp
ncnn::Deconvolution_x86_avx::destroy_pipeline(ncnn::Option const&)
int Deconvolution_x86_avx::destroy_pipeline(const Option& opt) { if (activation) { activation->destroy_pipeline(opt); delete activation; activation = 0; } if (gemm) { gemm->destroy_pipeline(opt); delete gemm; gemm = 0; } return 0; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rdi), %rdi testq %rdi, %rdi je 0x162b1c movq (%rdi), %rax movq %r14, %rsi callq *0x28(%rax) movq 0x8(%rbx), %rdi testq %rdi, %rdi je 0x162b17 movq (%rdi), %rax callq *0x8(%rax) andq $0x0, 0x8(%rbx) movq 0x10(%rbx), %rdi testq %rdi, %rdi je 0x162...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolution_x86_avx.cpp
ncnn::Dropout_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int Dropout_x86::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { if (scale == 1.f) { return 0; } #if __SSE2__ int dims = bottom_top_blob.dims; int elempack = bottom_top_blob.elempack; #if __AVX__ #if __AVX512F__ if (elempack == 16) { Mat tmp; conver...
movq (%rdi), %rax movq -0x18(%rax), %rax movss 0xd0(%rdi,%rax), %xmm0 movss 0x284730(%rip), %xmm1 # 0x3ec014 ucomiss %xmm0, %xmm1 jne 0x1678ec xorl %eax, %eax retq cmpl $0x4, 0x18(%rsi) jne 0x167932 movl 0x28(%rsi), %edx movl 0x2c(%rsi), %ecx movl 0x30(%rsi), %eax shufps $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]...
/csukuangfj[P]ncnn/src/layer/x86/dropout_x86.cpp
virtual thunk to ncnn::Dropout_x86_fma::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int Dropout_x86_fma::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { if (scale == 1.f) { return 0; } #if __SSE2__ int dims = bottom_top_blob.dims; int elempack = bottom_top_blob.elempack; #if __AVX__ #if __AVX512F__ if (elempack == 16) { Mat tmp; co...
movq (%rdi), %rax addq -0x58(%rax), %rdi jmp 0x167d54
/csukuangfj[P]ncnn/build_O2/src/layer/x86/dropout_x86_fma.cpp
ncnn::Eltwise::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const
int Eltwise::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const { const Mat& bottom_blob = bottom_blobs[0]; int w = bottom_blob.w; int h = bottom_blob.h; int d = bottom_blob.d; int channels = bottom_blob.c; int size = w * h * d; Mat& top_blob...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %r12 movq (%rsi), %r15 movl 0x30(%r15), %r13d movl 0x38(%r15), %ebp imull 0x2c(%r15), %r13d imull 0x34(%r15), %r13d movq (%rdx), %rbx movq 0x8(%rcx), %rdx movq %rbx, %rdi movq %r15, %rsi callq 0x60bf8 movq (%rbx), %r...
/csukuangfj[P]ncnn/src/layer/eltwise.cpp
ncnn::Eltwise_x86::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const
int Eltwise_x86::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const { const Mat& bottom_blob = bottom_blobs[0]; int w = bottom_blob.w; int h = bottom_blob.h; int d = bottom_blob.d; int channels = bottom_blob.c; int elempack = bottom_blob.elempack;...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, 0x18(%rsp) movq %rsi, 0x10(%rsp) movq (%rsi), %rsi movl 0x30(%rsi), %ebp movl 0x38(%rsi), %eax movq %rax, 0x20(%rsp) imull 0x2c(%rsi), %ebp imull 0x34(%rsi), %ebp imull 0x18(%rsi), %ebp movq (%rdx), %r14 movq 0x8(%rcx), %rdx m...
/csukuangfj[P]ncnn/src/layer/x86/eltwise_x86.cpp
ncnn::InnerProduct_x86_avx512::create_pipeline(ncnn::Option const&)
int InnerProduct_x86_avx512::create_pipeline(const Option& opt) { // if (opt.use_packing_layout) { flatten = ncnn::create_layer(ncnn::LayerType::Flatten); ncnn::ParamDict pd; flatten->load_param(pd); flatten->create_pipeline(opt); } #if NCNN_INT8 if (opt.use_int8_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x138, %rsp # imm = 0x138 movq %rsi, %rbx movq %rdi, %r14 pushq $0xe popq %rdi callq 0x7559b movq %rax, 0x8(%r14) leaq 0x78(%rsp), %r15 movq %r15, %rdi callq 0x6e824 movq 0x8(%r14), %rdi movq (%rdi), %rax movq %r15, %rsi callq *0x10(%rax...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/innerproduct_x86_avx512.cpp
ncnn::InnerProduct_x86_avx::create_pipeline(ncnn::Option const&)
int InnerProduct_x86_avx::create_pipeline(const Option& opt) { // if (opt.use_packing_layout) { flatten = ncnn::create_layer(ncnn::LayerType::Flatten); ncnn::ParamDict pd; flatten->load_param(pd); flatten->create_pipeline(opt); } #if NCNN_INT8 if (opt.use_int8_inf...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rsi, %rbx movq %rdi, %r14 pushq $0xe popq %rdi callq 0x7559b movq %rax, 0x8(%r14) leaq 0x20(%rsp), %r15 movq %r15, %rdi callq 0x6e824 movq 0x8(%r14), %rdi movq (%rdi), %rax movq %r15, %rsi callq *0x10(%rax) movq 0x8(%r14), %rdi mov...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/innerproduct_x86_avx.cpp
ncnn::InnerProduct_x86_avx::forward_fp16s(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const
int InnerProduct_x86_avx::forward_fp16s(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const { const int num_input = weight_data_size / num_output; if (bottom_blob.dims == 2 && bottom_blob.w == num_input) { // gemm int h = bottom_blob.h; size_t elemsize = bottom_blob.elem...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %rcx, %r14 movq %rdx, %rbx movq %rsi, %r12 movq %rdi, %r15 movl 0x28(%rsi), %ecx cmpl $0x2, %ecx jne 0x1c6488 movq (%r15), %rax movq -0x18(%rax), %rax movl 0xd0(%r15,%rax), %esi movl 0xd8(%r15,%rax), %eax cltd idivl %esi movl 0x2c(%...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/innerproduct_x86_avx.cpp
ncnn::PReLU::load_model(ncnn::ModelBin const&)
int PReLU::load_model(const ModelBin& mb) { slope_data = mb.load(num_slope, 1); if (slope_data.empty()) return -100; return 0; }
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rdi, %rbx movl 0xd0(%rdi), %edx movq (%rsi), %rax leaq 0x8(%rsp), %r14 pushq $0x1 popq %rcx movq %r14, %rdi callq *0x10(%rax) leaq 0xd8(%rbx), %r15 movq 0x8(%r14), %rax cmpq %r14, %r15 je 0x1e4dc3 testq %rax, %rax je 0x1e4d33 lock incl (%rax) movq 0xe0(%rbx), %rax...
/csukuangfj[P]ncnn/src/layer/prelu.cpp
ncnn::PReLU_x86_avx512::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int PReLU_x86_avx512::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { int dims = bottom_top_blob.dims; int w = bottom_top_blob.w; int h = bottom_top_blob.h; int channels = bottom_top_blob.c; int elempack = bottom_top_blob.elempack; if (dims == 1) { const int size = ...
pushq %r14 pushq %rbx movl 0x18(%rsi), %ecx movl 0x28(%rsi), %r8d movl 0x2c(%rsi), %eax movl 0x30(%rsi), %edx cmpl $0x3, %r8d je 0x1e55aa cmpl $0x2, %r8d je 0x1e543d cmpl $0x1, %r8d jne 0x1e5925 imull %eax, %ecx movq (%rdi), %r9 movq -0x18(%r9), %rax cmpl $0x2, 0xd0(%rdi,%rax) movq (%rsi), %r8 movq 0xd8(%rdi,%rax), %r1...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/prelu_x86_avx512.cpp
ncnn::ReLU::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int ReLU::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { int w = bottom_top_blob.w; int h = bottom_top_blob.h; int d = bottom_top_blob.d; int channels = bottom_top_blob.c; int size = w * h * d; if (slope == 0.f) { #pragma omp parallel for num_threads(opt.num_thread...
movl 0x30(%rsi), %eax imull 0x2c(%rsi), %eax imull 0x34(%rsi), %eax movl 0x38(%rsi), %r8d movq 0x10(%rsi), %rcx imulq 0x40(%rsi), %rcx xorl %edx, %edx testl %eax, %eax cmovlel %edx, %eax movq (%rsi), %rsi testl %r8d, %r8d cmovgl %r8d, %edx xorps %xmm0, %xmm0 ucomiss 0xd0(%rdi), %xmm0 jne 0x1f9f93 xorl %edi, %edi cmpq %...
/csukuangfj[P]ncnn/src/layer/relu.cpp
virtual thunk to ncnn::ReLU_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int ReLU_x86::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { int elembits = bottom_top_blob.elembits(); if (elembits == 8) return forward_inplace_int8(bottom_top_blob, opt); int w = bottom_top_blob.w; int h = bottom_top_blob.h; int d = bottom_top_blob.d; int channels ...
pushq %rax movq (%rdi), %rax addq -0x58(%rax), %rdi callq 0x1fa02c xorl %eax, %eax popq %rcx retq nop
/csukuangfj[P]ncnn/src/layer/x86/relu_x86.cpp
ncnn::ReLU_x86_avx512::forward_inplace_int8(ncnn::Mat&, ncnn::Option const&) const
int ReLU_x86_avx512::forward_inplace_int8(Mat& bottom_top_blob, const Option& opt) const { int w = bottom_top_blob.w; int h = bottom_top_blob.h; int d = bottom_top_blob.d; int channels = bottom_top_blob.c; int size = w * h * d; int elempack = bottom_top_blob.elempack; #if __SSE2__ if (elemp...
movl 0x30(%rsi), %eax imull 0x2c(%rsi), %eax imull 0x34(%rsi), %eax cmpl $0x8, 0x18(%rsi) movl 0x38(%rsi), %ecx movq (%rdi), %rdx movq -0x18(%rdx), %rdx vmovss 0xd0(%rdi,%rdx), %xmm0 vxorps %xmm1, %xmm1, %xmm1 jne 0x1fa601 vucomiss %xmm1, %xmm0 jne 0x1fa646 xorl %edx, %edx testl %eax, %eax cmovlel %edx, %eax testl %ecx...
/csukuangfj[P]ncnn/build_O2/src/layer/x86/relu_x86_avx512.cpp
virtual thunk to ncnn::Scale_x86_avx::forward_inplace(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const
int Scale_x86_avx::forward_inplace(std::vector<Mat>& bottom_top_blobs, const Option& opt) const { Mat& bottom_top_blob = bottom_top_blobs[0]; const Mat& scale_blob = bottom_top_blobs[1]; const int w = bottom_top_blob.w; const int h = bottom_top_blob.h; const int d = bottom_top_blob.d; const int...
pushq %rax movq (%rdi), %rax addq -0x50(%rax), %rdi callq 0x203c24 xorl %eax, %eax popq %rcx retq nopl (%rax)
/csukuangfj[P]ncnn/build_O2/src/layer/x86/scale_x86_avx.cpp
virtual thunk to ncnn::Sigmoid_x86_avx::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int Sigmoid_x86_avx::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { int w = bottom_top_blob.w; int h = bottom_top_blob.h; int d = bottom_top_blob.d; int channels = bottom_top_blob.c; int elempack = bottom_top_blob.elempack; int size = w * h * d * elempack; #pragma omp para...
pushq %rax callq 0x204bd8 xorl %eax, %eax popq %rcx retq
/csukuangfj[P]ncnn/build_O2/src/layer/x86/sigmoid_x86_avx.cpp
ncnn::Softmax::forward_inplace(ncnn::Mat&, ncnn::Option const&) const
int Softmax::forward_inplace(Mat& bottom_top_blob, const Option& opt) const { // value = expf( value - global max value ) // sum all value // value = value / sum int dims = bottom_top_blob.dims; size_t elemsize = bottom_top_blob.elemsize; int positive_axis = axis < 0 ? dims + axis : axis; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %rdx, 0x20(%rsp) movl 0x28(%rsi), %eax movq %rsi, 0x8(%rsp) movq 0x10(%rsi), %r13 movl 0xd0(%rdi), %ebx movl %ebx, %ecx sarl $0x1f, %ecx andl %eax, %ecx movl %ecx, 0x28(%rsp) movl %eax, 0x38(%rsp) cmpl $0x1...
/csukuangfj[P]ncnn/src/layer/softmax.cpp
ncnn::Split::Split()
Split::Split() { one_blob_only = false; support_inplace = false; support_vulkan = true; support_packing = true; support_fp16_storage = cpu_support_arm_asimdhp() || cpu_support_riscv_zfh(); support_bf16_storage = true; support_image_storage = true; }
pushq %rbp pushq %r14 pushq %rbx movq %rdi, %rbx callq 0x75160 leaq 0x25d859(%rip), %rax # 0x483528 movq %rax, (%rbx) movl $0x1010000, 0x8(%rbx) # imm = 0x1010000 callq 0x7052d movb $0x1, %bpl movb $0x1, %cl testl %eax, %eax jne 0x225cf1 callq 0x70659 testl %eax, %eax setne %cl movb %cl, 0xd(%rbx) movb %bpl, 0xc(%...
/csukuangfj[P]ncnn/src/layer/split.cpp
ncnn::Split::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const
int Split::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& /*opt*/) const { const Mat& bottom_blob = bottom_blobs[0]; for (size_t i = 0; i < top_blobs.size(); i++) { top_blobs[i] = bottom_blob; } return 0; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq (%rsi), %r14 xorl %r15d, %r15d pushq $0x48 popq %rcx xorps %xmm1, %xmm1 xorl %r13d, %r13d movq (%rbx), %rbp movq 0x8(%rbx), %rax subq %rbp, %rax cqto idivq %rcx cmpq %rax, %r13 jae 0x225e01 leaq (%r15,%rbp), %r12 cmpq %r14...
/csukuangfj[P]ncnn/src/layer/split.cpp
ncnn::LSTM_x86::create_pipeline(ncnn::Option const&)
int LSTM_x86::create_pipeline(const Option& opt) { // pack IFOG int num_directions = direction == 2 ? 2 : 1; int size = weight_data_size / num_directions / hidden_size / 4; #if __AVX__ weight_xc_data_packed.create(size, hidden_size / 2 + hidden_size % 2, num_directions, 32u, 8); bias_c_data_packed....
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %rsi, 0x18(%rsp) movq %rdi, %rbx movq (%rdi), %rax movq -0x18(%rax), %rcx movl 0xd4(%rdi,%rcx), %eax xorl %r14d, %r14d cmpl $0x2, 0xd8(%rdi,%rcx) sete %r14b incl %r14d cltd idivl %r14d movl 0xdc(%rdi,%rcx), %ecx cltd idivl %ecx push...
/csukuangfj[P]ncnn/src/layer/x86/lstm_x86.cpp