index
int64
0
66.5k
func_name
stringlengths
2
5.36k
func_dep
stringlengths
16
2.19k
func
stringlengths
8
55.3k
test
stringlengths
0
7.07k
opt
stringclasses
4 values
language
stringclasses
2 values
asm
stringlengths
0
45.4k
ida_asm
stringlengths
0
44.7k
ida_pseudo
stringlengths
0
44.3k
ghidra_asm
stringlengths
0
49.1k
ghidra_pseudo
stringlengths
0
64.7k
11,600
my_caseup_str_utf8mb4
eloqsql/strings/ctype-utf8.c
static size_t my_caseup_str_utf8mb4(CHARSET_INFO *cs, char *src) { my_wc_t wc; int srcres, dstres; char *dst= src, *dst0= src; MY_UNICASE_INFO *uni_plane= cs->caseinfo; DBUG_ASSERT(cs->caseup_multiply == 1); while (*src && (srcres= my_mb_wc_utf8mb4_no_range(cs, &wc, (uchar *) src)) > 0) { my...
O3
c
my_caseup_str_utf8mb4: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx cmpb $0x0, (%rsi) movq %rsi, %r14 je 0xcc11f movq 0x78(%rdi), %r15 movq %rbx, %r12 movq %rbx, %r14 leaq -0x30(%rbp), %rdi movq %r12, %rsi callq 0xcf463 testl %eax, %eax je 0xcc11f movl %ea...
my_caseup_str_utf8mb4: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx push rax mov rbx, rsi cmp byte ptr [rsi], 0 mov r14, rsi jz short loc_CC11F mov r15, [rdi+78h] mov r12, rbx mov r14, rbx loc_CC0C1: lea rdi, [rbp+var_30] mov rsi, r12 c...
long long my_caseup_str_utf8mb4(long long a1, _BYTE *a2) { long long v2; // rax _BYTE *v3; // r14 _QWORD *v4; // r15 _BYTE *v5; // r12 unsigned int v6; // eax unsigned int v7; // r13d long long v8; // rdi long long v9; // rax unsigned int v10; // eax bool v11; // zf _QWORD v13[6]; // [rsp+0h] [rb...
my_caseup_str_utf8mb4: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV RBX,RSI CMP byte ptr [RSI],0x0 MOV R14,RSI JZ 0x001cc11f MOV R15,qword ptr [RDI + 0x78] MOV R12,RBX MOV R14,RBX LAB_001cc0c1: LEA RDI,[RBP + -0x30] MOV RSI,R12 CALL 0x001cf463 TEST EAX,EAX JZ 0x001cc11f MOV R13D,EAX MO...
long my_caseup_str_utf8mb4(long param_1,char *param_2) { char *pcVar1; ulong *puVar2; long lVar3; uint uVar4; uint uVar5; ulong in_RAX; char *pcVar6; char *pcVar7; ulong local_38; pcVar7 = param_2; if (*param_2 != '\0') { puVar2 = *(ulong **)(param_1 + 0x78); pcVar6 = param_2; loc...
11,601
minja::DictExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const
monkey531[P]llama/common/minja.hpp
Value do_evaluate(const std::shared_ptr<Context> & context) const override { auto result = Value::object(); for (const auto& [key, value] : elements) { if (!key) throw std::runtime_error("Dict key is null"); if (!value) throw std::runtime_error("Dict value is null"); ...
O1
cpp
minja::DictExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r13 xorl %ebx, %ebx leaq 0xa8(%rsp), %r12 movq %rbx, (%r12) movl $0x30, %edi callq 0x196d0 movabsq $0x100000001, %rcx...
_ZNK5minja8DictExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 0B8h mov r14, rdx mov r15, rsi mov r13, rdi xor ebx, ebx lea r12, [rsp+0E8h+var_40] mov [r12], rbx mov edi, 30h ; '0'; unsigned __int64 call ...
minja::Value * minja::DictExpr::do_evaluate(minja::Value *a1, long long a2) { long long v2; // rax void (****v3)(void); // rbx void (****v4)(void); // r15 long long v5; // rdi signed __int32 v6; // eax long long v7; // rdi signed __int32 v8; // eax std::runtime_error *exception; // r15 _BYTE v12[8]; /...
do_evaluate: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0xb8 MOV R14,RDX MOV R15,RSI MOV R13,RDI XOR EBX,EBX LEA R12,[RSP + 0xa8] MOV qword ptr [R12],RBX MOV EDI,0x30 CALL 0x001196d0 MOV RCX,0x100000001 MOV qword ptr [RAX + 0x8],RCX LEA RCX,[0x1e3458] ADD RCX,0x10 MOV qword ptr [RAX],RCX LEA RCX,[RAX...
/* minja::DictExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */ DictExpr * __thiscall minja::DictExpr::do_evaluate(DictExpr *this,shared_ptr *param_1) { int *piVar1; long *plVar2; int iVar3; runtime_error *this_00; long *plVar4; Expression local_e0 [8]; long *local_d8; _Sp_counted_ba...
11,602
my_strnxfrm_8bit_bin
eloqsql/strings/ctype-bin.c
static size_t my_strnxfrm_8bit_bin(CHARSET_INFO *cs, uchar * dst, size_t dstlen, uint nweights, const uchar *src, size_t srclen, uint flags) { set_if_smaller(srclen, dstlen); set_if_smaller(srclen, nweights); if (srclen && dst != src) memcpy(dst, src, srclen); retur...
O3
c
my_strnxfrm_8bit_bin: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %r13 movl %ecx, %ebx movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %r15 movl 0x10(%rbp), %r9d cmpq %rdx, %r13 cmovaeq %rdx, %r13 movl %ecx, %eax cmpq %rax, %r13 cmovaeq %rax, %r13 testq %r13, %r13 s...
my_strnxfrm_8bit_bin: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx push rax mov r13, r9 mov ebx, ecx mov r14, rdx mov r12, rsi mov r15, rdi mov r9d, [rbp+arg_0] cmp r13, rdx cmovnb r13, rdx mov eax, ecx cmp r13, rax cmovnb r13, rax tes...
long long my_strnxfrm_8bit_bin( int a1, long long a2, unsigned long long a3, unsigned int a4, long long a5, unsigned long long a6, int a7) { int v9; // r14d int v10; // r9d v9 = a3; v10 = a7; if ( a6 >= a3 ) a6 = a3; if ( a6 >= a4 ) a6 = a4; ...
my_strnxfrm_8bit_bin: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV R13,R9 MOV EBX,ECX MOV R14,RDX MOV R12,RSI MOV R15,RDI MOV R9D,dword ptr [RBP + 0x10] CMP R13,RDX CMOVNC R13,RDX MOV EAX,ECX CMP R13,RAX CMOVNC R13,RAX TEST R13,R13 SETZ AL CMP RSI,R8 SETZ CL OR CL,AL JNZ 0x001b34f2 MOV...
void my_strnxfrm_8bit_bin (int8 param_1,void *param_2,ulong param_3,uint param_4,void *param_5, ulong param_6,int4 param_7) { int8 in_RAX; uint uVar1; uVar1 = (uint)((ulong)in_RAX >> 0x20); if (param_3 <= param_6) { param_6 = param_3; } if (param_4 <= param_6) { pa...
11,603
my_tosort_utf16
eloqsql/strings/ctype-ucs2.c
static inline void my_tosort_utf16(MY_UNICASE_INFO *uni_plane, my_wc_t *wc) { if (*wc <= uni_plane->maxchar) { MY_UNICASE_CHARACTER *page; if ((page= uni_plane->page[*wc >> 8])) *wc= page[*wc & 0xFF].sort; } else { *wc= MY_CS_REPLACEMENT_CHARACTER; } }
O0
c
my_tosort_utf16: pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rax movq -0x8(%rbp), %rcx cmpq (%rcx), %rax ja 0x5c734 movq -0x8(%rbp), %rax movq 0x8(%rax), %rax movq -0x10(%rbp), %rcx movq (%rcx), %rcx shrq $0x8, %rcx movq (%rax,%rcx,8), %rax movq %rax, -0x...
my_tosort_utf16: push rbp mov rbp, rsp mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov rax, [rbp+var_10] mov rax, [rax] mov rcx, [rbp+var_8] cmp rax, [rcx] ja short loc_5C734 mov rax, [rbp+var_8] mov rax, [rax+8] mov rcx, [rbp+var_10] mov rcx, [rcx] shr rcx, 8 mov ...
_QWORD * my_tosort_utf16(_QWORD *a1, _QWORD *a2) { _QWORD *result; // rax _QWORD *v3; // [rsp+0h] [rbp-18h] if ( *a2 > *a1 ) { result = a2; *a2 = 65533LL; } else { result = *(_QWORD **)(a1[1] + 8LL * (*a2 >> 8)); v3 = result; if ( result ) { result = a2; *a2 = *((unsig...
my_tosort_utf16: PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX] MOV RCX,qword ptr [RBP + -0x8] CMP RAX,qword ptr [RCX] JA 0x0015c734 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x8] MOV RCX,qword ptr [RBP + -0x10] M...
void my_tosort_utf16(ulong *param_1,ulong *param_2) { long lVar1; if (*param_1 < *param_2) { *param_2 = 0xfffd; } else { lVar1 = *(long *)(param_1[1] + (*param_2 >> 8) * 8); if (lVar1 != 0) { *param_2 = (ulong)*(uint *)(lVar1 + (*param_2 & 0xff) * 0xc + 8); } } return; }
11,604
array_append_string_unique
eloqsql/mysys/mf_arr_appstr.c
my_bool array_append_string_unique(const char *str, const char **array, size_t size) { const char **p; /* end points at the terminating NULL element */ const char **end= array + size - 1; DBUG_ASSERT(*end == NULL); for (p= array; *p; ++p) { if (strcmp(*p, str) == 0) ...
O3
c
array_append_string_unique: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 leaq (%rsi,%rdx,8), %r15 addq $-0x8, %r15 movq (%rsi), %rdi testq %rdi, %rdi je 0xb138a movq %r14, %rsi callq 0x2a690 testl %eax, %eax je 0xb138a movq 0x8(%rbx), %rdi addq $0x8, %rbx jmp 0x...
array_append_string_unique: push rbp mov rbp, rsp push r15 push r14 push rbx push rax mov rbx, rsi mov r14, rdi lea r15, [rsi+rdx*8] add r15, 0FFFFFFFFFFFFFFF8h mov rdi, [rsi] loc_B136F: test rdi, rdi jz short loc_B138A mov rsi, r14 call _strcmp test eax, eax jz ...
char array_append_string_unique(long long a1, _QWORD *a2, long long a3) { _QWORD *v3; // rbx unsigned long long v5; // r15 long long v6; // rdi char result; // al long long v8; // rax v3 = a2; v5 = (unsigned long long)&a2[a3 - 1]; v6 = *a2; while ( v6 && (unsigned int)strcmp(v6, a1) ) { v6 = v...
array_append_string_unique: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH RBX PUSH RAX MOV RBX,RSI MOV R14,RDI LEA R15,[RSI + RDX*0x8] ADD R15,-0x8 MOV RDI,qword ptr [RSI] LAB_001b136f: TEST RDI,RDI JZ 0x001b138a MOV RSI,R14 CALL 0x0012a690 TEST EAX,EAX JZ 0x001b138a MOV RDI,qword ptr [RBX + 0x8] ADD RBX,0x8 JMP 0x001b13...
int8 array_append_string_unique(char *param_1,long *param_2,long param_3) { long *plVar1; int iVar2; int8 uVar3; long lVar4; char *__s1; long *plVar5; plVar5 = param_2 + param_3 + -1; __s1 = (char *)*param_2; while (__s1 != (char *)0x0) { iVar2 = strcmp(__s1,param_1); if (iVar2 == 0) brea...
11,605
uf_space_endspace
eloqsql/storage/maria/ma_packrec.c
static void uf_space_endspace(MARIA_COLUMNDEF *rec, MARIA_BIT_BUFF *bit_buff, uchar *to, uchar *end) { uint spaces; if (get_bit(bit_buff)) bfill(to, (end-to), ' '); else { if ((spaces=get_bits(bit_buff,rec->space_length_bits))+to > end) { bit_buff->error=1; ...
O0
c
uf_space_endspace: pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rax cmpl $0x0, 0x4(%rax) je 0x4eab7 movq -0x10(%rbp), %rax movl (%rax), %eax movq -0x10(%rbp), %rdx movl 0x4(%rdx), %ecx addl $-0x1, %ecx movl %ecx...
uf_space_endspace: push rbp mov rbp, rsp sub rsp, 30h mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov [rbp+var_20], rcx mov rax, [rbp+var_10] cmp dword ptr [rax+4], 0 jz short loc_4EAB7 mov rax, [rbp+var_10] mov eax, [rax] mov rdx, [rbp+var_10] mo...
long long uf_space_endspace(long long a1, int *a2, _BYTE *a3, _BYTE *a4) { int v4; // eax int v5; // ecx long long result; // rax unsigned int v7; // eax int v8; // ecx unsigned int bits; // [rsp+8h] [rbp-28h] if ( a2[1] ) { v4 = *a2; v5 = a2[1] - 1; a2[1] = v5; if ( ((1 << v5) & v4) =...
uf_space_endspace: PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV qword ptr [RBP + -0x20],RCX MOV RAX,qword ptr [RBP + -0x10] CMP dword ptr [RAX + 0x4],0x0 JZ 0x0014eab7 MOV RAX,qword ptr [RBP + -0x10] MOV EAX,dword ptr [RAX] MOV RDX,...
void uf_space_endspace(long param_1,uint *param_2,void *param_3,ulong param_4) { uint uVar1; uint local_30; if (param_2[1] == 0) { fill_buffer(param_2); param_2[1] = 0x1f; uVar1 = *param_2 & 0x80000000; } else { uVar1 = param_2[1]; param_2[1] = uVar1 - 1; uVar1 = *param_2 & 1 << (...
11,606
LefDefParser::lefiViaRule::propNumber(int) const
Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiViaRule.cpp
double lefiViaRule::propNumber(int i) const { char msg[160]; if (i < 0 || i >= numProps_) { sprintf(msg, "ERROR (LEFPARS-1431): The index number %d given for the VIARULE PROPERTY is invalid.\nValid index is from 0 to %d", i, numProps_); lefiError(0, 1431, msg); return 0; } return...
O0
cpp
LefDefParser::lefiViaRule::propNumber(int) const: subq $0xc8, %rsp movq %rdi, 0xb8(%rsp) movl %esi, 0xb4(%rsp) movq 0xb8(%rsp), %rax movq %rax, 0x8(%rsp) cmpl $0x0, 0xb4(%rsp) jl 0x30b71 movq 0x8(%rsp), %rcx movl 0xb4(%rsp), %eax cmpl 0x1d8(%rcx), %eax jl 0x30bb5 movq 0x8(%rsp), %rax leaq 0x10(%rsp), %rdi movl 0xb4(%rs...
_ZNK12LefDefParser11lefiViaRule10propNumberEi: sub rsp, 0C8h mov [rsp+0C8h+var_10], rdi mov [rsp+0C8h+var_14], esi mov rax, [rsp+0C8h+var_10] mov [rsp+0C8h+var_C0], rax cmp [rsp+0C8h+var_14], 0 jl short loc_30B71 mov rcx, [rsp+0C8h+var_C0] mov eax, [rsp+0C8h+var_14] cmp eax, [rc...
double LefDefParser::lefiViaRule::propNumber(LefDefParser::lefiViaRule *this, int a2) { const char *v2; // rcx int v4[41]; // [rsp+10h] [rbp-B8h] BYREF int v5; // [rsp+B4h] [rbp-14h] LefDefParser::lefiViaRule *v6; // [rsp+B8h] [rbp-10h] v6 = this; v5 = a2; if ( a2 >= 0 && v5 < *((_DWORD *)this + 118) ) ...
propNumber: SUB RSP,0xc8 MOV qword ptr [RSP + 0xb8],RDI MOV dword ptr [RSP + 0xb4],ESI MOV RAX,qword ptr [RSP + 0xb8] MOV qword ptr [RSP + 0x8],RAX CMP dword ptr [RSP + 0xb4],0x0 JL 0x00130b71 MOV RCX,qword ptr [RSP + 0x8] MOV EAX,dword ptr [RSP + 0xb4] CMP EAX,dword ptr [RCX + 0x1d8] JL 0x00130bb5 LAB_00130b71: MOV RA...
/* LefDefParser::lefiViaRule::propNumber(int) const */ int8 __thiscall LefDefParser::lefiViaRule::propNumber(lefiViaRule *this,int param_1) { char local_b8 [164]; int local_14; lefiViaRule *local_10; int8 local_8; if ((param_1 < 0) || (*(int *)(this + 0x1d8) <= param_1)) { local_14 = param_1; lo...
11,607
rak_string_init_copy
fabiosvm[P]rak/src/string.c
void rak_string_init_copy(RakString *str1, RakString *str2, RakError *err) { int len = rak_string_len(str2); rak_string_init_with_capacity(str1, len, err); if (!rak_is_ok(err)) return; memcpy(rak_string_chars(str1), rak_string_chars(str2), len); str1->slice.len = len; }
O3
c
rak_string_init_copy: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %rbx movl 0xc(%rsi), %ebp movslq %ebp, %r14 movl $0x0, (%rdi) movl $0x8, %eax movl %eax, %r13d leal (,%r13,2), %eax cmpl %ebp, %r13d jl 0x7d71 movslq %r13d, %rdi movq %r12, %rsi ...
rak_string_init_copy: push rbp push r15 push r14 push r13 push r12 push rbx push rax mov r12, rdx mov r15, rsi mov rbx, rdi mov ebp, [rsi+0Ch] movsxd r14, ebp mov dword ptr [rdi], 0 mov eax, 8 loc_7D71: mov r13d, eax lea eax, ds:0[r13*2] cmp r13d, ebp jl sh...
long long rak_string_init_copy(long long a1, long long a2, _BYTE *a3) { int v4; // ebp int v5; // eax int v6; // r13d long long result; // rax v4 = *(_DWORD *)(a2 + 12); *(_DWORD *)a1 = 0; v5 = 8; do { v6 = v5; v5 *= 2; } while ( v6 < v4 ); result = rak_memory_alloc(v6, a3); if ( *a3...
rak_string_init_copy: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV R12,RDX MOV R15,RSI MOV RBX,RDI MOV EBP,dword ptr [RSI + 0xc] MOVSXD R14,EBP MOV dword ptr [RDI],0x0 MOV EAX,0x8 LAB_00107d71: MOV R13D,EAX LEA EAX,[R13*0x2] CMP R13D,EBP JL 0x00107d71 MOVSXD RDI,R13D MOV RSI,R12 CALL 0x001074a4 CM...
void rak_string_init_copy(int4 *param_1,long param_2,char *param_3) { int iVar1; int iVar2; int iVar3; void *__dest; iVar1 = *(int *)(param_2 + 0xc); *param_1 = 0; iVar2 = 8; do { iVar3 = iVar2; iVar2 = iVar3 * 2; } while (iVar3 < iVar1); __dest = (void *)rak_memory_alloc((long)iVar3,pa...
11,608
multadd
eloqsql/strings/dtoa.c
static Bigint *multadd(Bigint *b, int m, int a, Stack_alloc *alloc) { int i, wds; ULong *x; ULLong carry, y; Bigint *b1; wds= b->wds; x= b->p.x; i= 0; carry= a; do { y= *x * (ULLong)m + carry; carry= y >> 32; *x++= (ULong)(y & FFFFFFFF); } while (++i < wds); if (carry) { if ...
O3
c
multadd: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %r14 movq %rdi, %rbx movslq 0x14(%rdi), %r12 movq (%rdi), %rax movslq %edx, %r13 movslq %esi, %rcx cmpl $0x2, %r12d movl $0x1, %edx cmovgel %r12d, %edx xorl %esi, %esi movl (%rax,%rsi,4), %edi imulq %rcx, %r...
multadd: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx push rax mov r14, rcx mov rbx, rdi movsxd r12, dword ptr [rdi+14h] mov rax, [rdi] movsxd r13, edx movsxd rcx, esi cmp r12d, 2 mov edx, 1 cmovge edx, r12d xor esi, esi loc_D5416: mov edi, ...
unsigned long long multadd(unsigned long long a1, int a2, int a3, unsigned long long *a4) { unsigned long long v5; // rbx long long v6; // r12 long long v7; // rax unsigned long long v8; // r13 long long v9; // rcx int v10; // edx long long v11; // rsi unsigned long long v12; // rdi long long v13; //...
multadd: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV R14,RCX MOV RBX,RDI MOVSXD R12,dword ptr [RDI + 0x14] MOV RAX,qword ptr [RDI] MOVSXD R13,EDX MOVSXD RCX,ESI CMP R12D,0x2 MOV EDX,0x1 CMOVGE EDX,R12D XOR ESI,ESI LAB_001d5416: MOV EDI,dword ptr [RAX + RSI*0x4] IMUL RDI,RCX ADD RDI,R1...
long * multadd(long *param_1,int param_2,int param_3,int8 param_4) { int iVar1; long lVar2; long *plVar3; int iVar4; long lVar5; ulong uVar6; ulong uVar7; iVar1 = *(int *)((long)param_1 + 0x14); lVar2 = *param_1; uVar7 = (ulong)param_3; iVar4 = 1; if (1 < iVar1) { iVar4 = iVar1; } l...
11,609
ft_make_key
eloqsql/storage/myisam/ft_update.c
uint _ft_make_key(MI_INFO *info, uint keynr, uchar *keybuf, FT_WORD *wptr, my_off_t filepos) { uchar buf[HA_FT_MAXBYTELEN+16]; float weight=(float) ((filepos==HA_OFFSET_ERROR) ? 0 : wptr->weight); DBUG_ENTER("_ft_make_key"); mi_float4store(buf,weight); int2store(buf+HA_FT_WLEN,wptr->len); memcpy(buf+HA...
O0
c
ft_make_key: pushq %rbp movq %rsp, %rbp subq $0x170, %rsp # imm = 0x170 movq %fs:0x28, %rax movq %rax, -0x8(%rbp) movq %rdi, -0x128(%rbp) movl %esi, -0x12c(%rbp) movq %rdx, -0x138(%rbp) movq %rcx, -0x140(%rbp) movq %r8, -0x148(%rbp) cmpq $-0x1, -0x148(%rbp) jne 0xa2c01 xorps %xmm0, %xmm0 movsd %xmm0, -0x160(...
_ft_make_key: push rbp mov rbp, rsp sub rsp, 170h mov rax, fs:28h mov [rbp+var_8], rax mov [rbp+var_128], rdi mov [rbp+var_12C], esi mov [rbp+var_138], rdx mov [rbp+var_140], rcx mov [rbp+var_148], r8 cmp [rbp+var_148], 0FFFFFFFFFFFFFFFFh jnz short loc_A2C01 xorps xmm0, ...
long long ft_make_key(long long a1, unsigned int a2, long long a3, long long a4, long long a5) { float v5; // xmm0_4 double v7; // [rsp+10h] [rbp-160h] _BYTE v10[4]; // [rsp+50h] [rbp-120h] BYREF __int16 v11; // [rsp+54h] [rbp-11Ch] _BYTE v12[282]; // [rsp+56h] [rbp-11Ah] BYREF *(_QWORD *)&v12[274] = __re...
_ft_make_key: PUSH RBP MOV RBP,RSP SUB RSP,0x170 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX MOV qword ptr [RBP + -0x128],RDI MOV dword ptr [RBP + -0x12c],ESI MOV qword ptr [RBP + -0x138],RDX MOV qword ptr [RBP + -0x140],RCX MOV qword ptr [RBP + -0x148],R8 CMP qword ptr [RBP + -0x148],-0x1 JNZ 0x001a2c01...
int4 _ft_make_key(int8 param_1,int4 param_2,int8 param_3,int8 *param_4, long param_5) { int4 uVar1; long in_FS_OFFSET; float fVar2; double local_168; int1 local_154; int1 uStack_153; int1 uStack_152; int1 uStack_151; int1 local_128; int1 local_127; int1 local_126; int1 local_125; ...
11,610
nglog::LogDestination::SetLogFilenameExtension(char const*)
ng-log[P]ng-log/src/logging.cc
inline void LogDestination::SetLogFilenameExtension(const char* ext) { // Prevent any subtle race conditions by wrapping a mutex lock around // all this stuff. std::lock_guard<std::mutex> l{log_mutex}; for (int severity = 0; severity < NUM_SEVERITIES; ++severity) { log_destination(static_cast<LogSeverity>(s...
O1
cpp
nglog::LogDestination::SetLogFilenameExtension(char const*): pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x2eac7(%rip), %rdi # 0x40d48 callq 0x7840 testl %eax, %eax jne 0x12387 leaq 0x1f9fb(%rip), %r14 # 0x31c90 xorl %r15d, %r15d cmpq $0x0, (%r14) jne 0x122d...
_ZN5nglog14LogDestination23SetLogFilenameExtensionEPKc: push rbp push r15 push r14 push r13 push r12 push rbx push rax mov rbx, rdi lea rdi, _ZN5nglogL9log_mutexE; nglog::log_mutex call _pthread_mutex_lock test eax, eax jnz loc_12387 lea r14, _ZN5nglog14LogDestination17log_des...
long long nglog::LogDestination::SetLogFilenameExtension(nglog::LogDestination *this, const char *a2) { nglog::LogDestination *v2; // rax int v4; // eax long long *v5; // r14 long long i; // r15 long long v7; // r13 long long v8; // r12 long long v9; // r13 int v10; // eax long long v11; // rbp lon...
SetLogFilenameExtension: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV RBX,RDI LEA RDI,[0x140d48] CALL 0x00107840 TEST EAX,EAX JNZ 0x00112387 LEA R14,[0x131c90] XOR R15D,R15D LAB_00112298: CMP qword ptr [R14],0x0 JNZ 0x001122d3 LAB_0011229e: MOV EDI,0xd0 CALL 0x00109020 LAB_001122a8: MOV R13,RAX MO...
/* nglog::LogDestination::SetLogFilenameExtension(char const*) */ void nglog::LogDestination::SetLogFilenameExtension(char *param_1) { long lVar1; FILE *__stream; char *pcVar2; int iVar3; int8 in_RAX; LogDestination *pLVar4; __uniq_ptr_impl<nglog::LogDestination,std::default_delete<nglog::LogDestinatio...
11,611
nglog::LogDestination::SetLogFilenameExtension(char const*)
ng-log[P]ng-log/src/logging.cc
inline void LogDestination::SetLogFilenameExtension(const char* ext) { // Prevent any subtle race conditions by wrapping a mutex lock around // all this stuff. std::lock_guard<std::mutex> l{log_mutex}; for (int severity = 0; severity < NUM_SEVERITIES; ++severity) { log_destination(static_cast<LogSeverity>(s...
O3
cpp
nglog::LogDestination::SetLogFilenameExtension(char const*): pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x2ee19(%rip), %rdi # 0x40d48 callq 0x7840 testl %eax, %eax jne 0x12037 leaq 0x1fd4d(%rip), %r14 # 0x31c90 xorl %r15d, %r15d movq (%r14), %r12 testq %r12...
_ZN5nglog14LogDestination23SetLogFilenameExtensionEPKc: push rbp push r15 push r14 push r13 push r12 push rbx push rax mov rbx, rdi lea rdi, _ZN5nglogL9log_mutexE; nglog::log_mutex call _pthread_mutex_lock test eax, eax jnz loc_12037 lea r14, _ZN5nglog14LogDestination17log_des...
long long nglog::LogDestination::SetLogFilenameExtension(nglog::LogDestination *this, const char *a2) { nglog::LogDestination *v2; // rax int v4; // eax long long *v5; // r14 long long i; // r15 long long v7; // r12 long long v8; // r13 long long v9; // r13 int v10; // eax long long v11; // rbp lon...
SetLogFilenameExtension: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV RBX,RDI LEA RDI,[0x140d48] CALL 0x00107840 TEST EAX,EAX JNZ 0x00112037 LEA R14,[0x131c90] XOR R15D,R15D LAB_00111f46: MOV R12,qword ptr [R14] TEST R12,R12 JNZ 0x00111f86 LAB_00111f4e: MOV EDI,0xd0 CALL 0x00108eb0 LAB_00111f58: M...
/* nglog::LogDestination::SetLogFilenameExtension(char const*) */ void nglog::LogDestination::SetLogFilenameExtension(char *param_1) { FILE *__stream; char *pcVar1; int iVar2; int8 in_RAX; LogDestination *pLVar3; long lVar4; __uniq_ptr_impl<nglog::LogDestination,std::default_delete<nglog::LogDestinatio...
11,612
js_string_normalize
bluesky950520[P]quickjs/quickjs.c
static JSValue js_string_normalize(JSContext *ctx, JSValue this_val, int argc, JSValue *argv) { const char *form, *p; size_t form_len; int is_compat, buf_len, out_len; UnicodeNormalizationEnum n_type; JSValue val; uint32_t *buf, *out_buf; val = JS_ToString...
O1
c
js_string_normalize: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %r8, %r12 movl %ecx, %r13d movq %rdi, %rbx callq 0x425ff movq %rax, %r15 movq %rdx, %r14 cmpl $0x6, %r14d jne 0x7d03e movabsq $-0x100000000, %rax # imm = 0xFFFFFFFF00000000 movq %r15, %r12 andq %rax, %r12 jm...
js_string_normalize: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 48h mov r12, r8 mov r13d, ecx mov rbx, rdi call JS_ToStringCheckObject mov r15, rax mov r14, rdx cmp r14d, 6 jnz short loc_7D03E mov rax, 0FFFFFFFF00000000h mov r12, r15 and ...
unsigned long long js_string_normalize( _DWORD *a1, long long a2, long long a3, long long a4, long long a5, long long a6, __m128 a7, __m128 a8, __m128 a9, __m128 a10, __m128 a11, __m128 a12, __m128 a13, __m1...
js_string_normalize: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x48 MOV R12,R8 MOV R13D,ECX MOV RBX,RDI CALL 0x001425ff MOV R15,RAX MOV R14,RDX CMP R14D,0x6 JNZ 0x0017d03e MOV RAX,-0x100000000 MOV R12,R15 AND R12,RAX JMP 0x0017d265 LAB_0017d03e: MOV qword ptr [RSP + 0x38],R12 MOV RDI,RBX MOV RSI,R15...
int1 [16] js_string_normalize(long param_1,int8 param_2,int8 param_3,int param_4, int8 *param_5) { int iVar1; int8 uVar2; long lVar3; uint uVar4; int iVar5; char *pcVar6; char *pcVar7; ulong uVar8; int iVar9; bool bVar10; int1 auVar11 [16]; int1 auVar12 [16]; long local_7...
11,613
plutovg_canvas_restore
dmazzella[P]pylunasvg/lunasvg/plutovg/source/plutovg-canvas.c
void plutovg_canvas_restore(plutovg_canvas_t* canvas) { if(canvas->state->next == NULL) return; plutovg_state_t* old_state = canvas->state; canvas->state = old_state->next; plutovg_state_reset(old_state); old_state->next = canvas->freed_state; canvas->freed_state = old_state; }
O1
c
plutovg_canvas_restore: pushq %r14 pushq %rbx pushq %rax movq 0x18(%rdi), %r14 movq 0x98(%r14), %rax testq %rax, %rax je 0x2386c movq %rdi, %rbx movq %rax, 0x18(%rdi) movq (%r14), %rdi callq 0x2a181 movq 0x8(%r14), %rdi callq 0x24eb6 xorps %xmm0, %xmm0 movups %xmm0, 0xc(%r14) movups %xmm0, (%r14) movsd 0x2118b(%rip), %...
plutovg_canvas_restore: push r14 push rbx push rax mov r14, [rdi+18h] mov rax, [r14+98h] test rax, rax jz loc_2386C mov rbx, rdi mov [rdi+18h], rax mov rdi, [r14] call plutovg_paint_destroy mov rdi, [r14+8] call plutovg_font_face_destroy xorps xmm0, xmm0 movups xmmword ...
long long plutovg_canvas_restore(long long a1) { long long v1; // r14 long long result; // rax v1 = *(_QWORD *)(a1 + 24); result = *(_QWORD *)(v1 + 152); if ( result ) { *(_QWORD *)(a1 + 24) = result; plutovg_paint_destroy(*(_QWORD *)v1); plutovg_font_face_destroy(*(_QWORD *)(v1 + 8)); *(_...
plutovg_canvas_restore: PUSH R14 PUSH RBX PUSH RAX MOV R14,qword ptr [RDI + 0x18] MOV RAX,qword ptr [R14 + 0x98] TEST RAX,RAX JZ 0x0012386c MOV RBX,RDI MOV qword ptr [RDI + 0x18],RAX MOV RDI,qword ptr [R14] CALL 0x0012a181 MOV RDI,qword ptr [R14 + 0x8] CALL 0x00124eb6 XORPS XMM0,XMM0 MOVUPS xmmword ptr [R14 + 0xc],XMM0...
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ void plutovg_canvas_restore(long param_1) { int8 *puVar1; int8 uVar2; int4 uVar3; int4 uVar4; int4 uVar5; puVar1 = *(int8 **)(param_1 + 0x18); if (puVar1[0x13] != 0) { *(int8 *)(param_1 + 0x18) = puVar1[0x13]; ...
11,614
plutovg_canvas_restore
dmazzella[P]pylunasvg/lunasvg/plutovg/source/plutovg-canvas.c
void plutovg_canvas_restore(plutovg_canvas_t* canvas) { if(canvas->state->next == NULL) return; plutovg_state_t* old_state = canvas->state; canvas->state = old_state->next; plutovg_state_reset(old_state); old_state->next = canvas->freed_state; canvas->freed_state = old_state; }
O2
c
plutovg_canvas_restore: pushq %r14 pushq %rbx pushq %rax movq 0x18(%rdi), %r14 movq 0x98(%r14), %rax testq %rax, %rax je 0x1fe33 movq %rdi, %rbx movq %rax, 0x18(%rdi) movq (%r14), %rdi callq 0x25458 movq 0x8(%r14), %rdi callq 0x21290 xorps %xmm0, %xmm0 movups %xmm0, 0xc(%r14) movups %xmm0, (%r14) movsd 0x1bc67(%rip), %...
plutovg_canvas_restore: push r14 push rbx push rax mov r14, [rdi+18h] mov rax, [r14+98h] test rax, rax jz loc_1FE33 mov rbx, rdi mov [rdi+18h], rax mov rdi, [r14] call plutovg_paint_destroy mov rdi, [r14+8] call plutovg_font_face_destroy xorps xmm0, xmm0 movups xmmword ...
long long plutovg_canvas_restore(long long a1) { long long v1; // r14 long long result; // rax v1 = *(_QWORD *)(a1 + 24); result = *(_QWORD *)(v1 + 152); if ( result ) { *(_QWORD *)(a1 + 24) = result; plutovg_paint_destroy(*(_QWORD *)v1); plutovg_font_face_destroy(*(_QWORD *)(v1 + 8)); *(_...
plutovg_canvas_restore: PUSH R14 PUSH RBX PUSH RAX MOV R14,qword ptr [RDI + 0x18] MOV RAX,qword ptr [R14 + 0x98] TEST RAX,RAX JZ 0x0011fe33 MOV RBX,RDI MOV qword ptr [RDI + 0x18],RAX MOV RDI,qword ptr [R14] CALL 0x00125458 MOV RDI,qword ptr [R14 + 0x8] CALL 0x00121290 XORPS XMM0,XMM0 MOVUPS xmmword ptr [R14 + 0xc],XMM0...
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ void plutovg_canvas_restore(long param_1) { int8 *puVar1; int8 uVar2; puVar1 = *(int8 **)(param_1 + 0x18); if (puVar1[0x13] != 0) { *(int8 *)(param_1 + 0x18) = puVar1[0x13]; plutovg_paint_destroy(*puVar1); plu...
11,615
ggml_tallocr_new
ngxson[P]ggml-easy/ggml/src/ggml-alloc.c
struct ggml_tallocr ggml_tallocr_new(ggml_backend_buffer_t buffer) { void * base = ggml_backend_buffer_get_base(buffer); size_t align = ggml_backend_buffer_get_alignment(buffer); assert(align && !(align & (align - 1))); // power of 2 struct ggml_tallocr talloc = (struct ggml_tallocr) { /*.buff...
O1
c
ggml_tallocr_new: pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x174f0 movq %rax, %r15 movq %r14, %rdi callq 0x17730 movq %rax, %rcx movq %r14, (%rbx) movq %r15, 0x8(%rbx) movq %rax, 0x10(%rbx) movq %r15, %rax xorl %edx, %edx divq %rcx movq %rcx, %rax subq %rdx, %rax xorl %edx,...
ggml_tallocr_new: push r15 push r14 push rbx mov r14, rsi mov rbx, rdi mov rdi, rsi call _ggml_backend_buffer_get_base mov r15, rax mov rdi, r14 call _ggml_backend_buffer_get_alignment mov rcx, rax mov [rbx], r14 mov [rbx+8], r15 mov [rbx+10h], rax mov rax, r15 xor...
_QWORD * ggml_tallocr_new(_QWORD *a1, long long a2) { unsigned long long base; // r15 unsigned long long alignment; // rax base = ggml_backend_buffer_get_base(a2); alignment = ggml_backend_buffer_get_alignment(a2); *a1 = a2; a1[1] = base; a1[2] = alignment; a1[3] = (alignment - base % alignment) % alig...
ggml_tallocr_new: PUSH R15 PUSH R14 PUSH RBX MOV R14,RSI MOV RBX,RDI MOV RDI,RSI CALL 0x001174f0 MOV R15,RAX MOV RDI,R14 CALL 0x00117730 MOV RCX,RAX MOV qword ptr [RBX],R14 MOV qword ptr [RBX + 0x8],R15 MOV qword ptr [RBX + 0x10],RAX MOV RAX,R15 XOR EDX,EDX DIV RCX MOV RAX,RCX SUB RAX,RDX XOR EDX,EDX DIV RCX MOV qword ...
int8 * ggml_tallocr_new(int8 *param_1,int8 param_2) { ulong uVar1; ulong uVar2; uVar1 = ggml_backend_buffer_get_base(param_2); uVar2 = ggml_backend_buffer_get_alignment(param_2); *param_1 = param_2; param_1[1] = uVar1; param_1[2] = uVar2; param_1[3] = (uVar2 - uVar1 % uVar2) % uVar2; return param...
11,616
ggml_tallocr_new
ngxson[P]ggml-easy/ggml/src/ggml-alloc.c
struct ggml_tallocr ggml_tallocr_new(ggml_backend_buffer_t buffer) { void * base = ggml_backend_buffer_get_base(buffer); size_t align = ggml_backend_buffer_get_alignment(buffer); assert(align && !(align & (align - 1))); // power of 2 struct ggml_tallocr talloc = (struct ggml_tallocr) { /*.buff...
O2
c
ggml_tallocr_new: pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x1dce0 movq %rax, %r15 movq %r14, %rdi callq 0x1e040 movq %rax, %rcx movq %r14, (%rbx) movq %r15, 0x8(%rbx) movq %rax, 0x10(%rbx) movq %r15, %rax xorl %edx, %edx divq %rcx movq %rcx, %rax subq %rdx, %rax xorl %edx,...
ggml_tallocr_new: push r15 push r14 push rbx mov r14, rsi mov rbx, rdi mov rdi, rsi call _ggml_backend_buffer_get_base mov r15, rax mov rdi, r14 call _ggml_backend_buffer_get_alignment mov rcx, rax mov [rbx], r14 mov [rbx+8], r15 mov [rbx+10h], rax mov rax, r15 xor...
_QWORD * ggml_tallocr_new(_QWORD *a1, long long a2) { unsigned long long base; // r15 unsigned long long alignment; // rax base = ggml_backend_buffer_get_base(a2); alignment = ggml_backend_buffer_get_alignment(a2); *a1 = a2; a1[1] = base; a1[2] = alignment; a1[3] = (alignment - base % alignment) % alig...
ggml_tallocr_new: PUSH R15 PUSH R14 PUSH RBX MOV R14,RSI MOV RBX,RDI MOV RDI,RSI CALL 0x0011dce0 MOV R15,RAX MOV RDI,R14 CALL 0x0011e040 MOV RCX,RAX MOV qword ptr [RBX],R14 MOV qword ptr [RBX + 0x8],R15 MOV qword ptr [RBX + 0x10],RAX MOV RAX,R15 XOR EDX,EDX DIV RCX MOV RAX,RCX SUB RAX,RDX XOR EDX,EDX DIV RCX MOV qword ...
int8 * ggml_tallocr_new(int8 *param_1,int8 param_2) { ulong uVar1; ulong uVar2; uVar1 = ggml_backend_buffer_get_base(param_2); uVar2 = ggml_backend_buffer_get_alignment(param_2); *param_1 = param_2; param_1[1] = uVar1; param_1[2] = uVar2; param_1[3] = (uVar2 - uVar1 % uVar2) % uVar2; return param...
11,617
llama_model_load_from_splits
monkey531[P]llama/src/llama.cpp
struct llama_model * llama_model_load_from_splits( const char ** paths, size_t n_paths, struct llama_model_params params) { std::vector<std::string> splits; if (n_paths == 0) { LLAMA_LOG_ERROR("%s: list of splits is empty\n", __func__); return nullptr; } for (size...
O2
cpp
llama_model_load_from_splits: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp xorps %xmm0, %xmm0 movaps %xmm0, 0x50(%rsp) andq $0x0, 0x60(%rsp) testq %rsi, %rsi je 0xabd7c movq %rsi, %rbx movq %rdi, %r14 xorl %ebp, %ebp leaq 0x68(%rsp), %r15 leaq 0x4f(%rsp), %r12 leaq 0x50(%rsp), %r13...
llama_model_load_from_splits: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 88h xorps xmm0, xmm0 movaps [rsp+0B8h+var_68], xmm0 and [rsp+0B8h+var_58], 0 test rsi, rsi jz short loc_ABD7C mov rbx, rsi mov r14, rdi xor ebp, ebp lea r15, [rsp+0B8h+var_50...
long long llama_model_load_from_splits( long long a1, long long a2, long long a3, long long a4, long long a5, long long a6, _QWORD *a7, long long a8, int a9, long long a10, long long ( *a11)(), int *a12, long long a...
llama_model_load_from_splits: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x88 XORPS XMM0,XMM0 MOVAPS xmmword ptr [RSP + 0x50],XMM0 AND qword ptr [RSP + 0x60],0x0 TEST RSI,RSI JZ 0x001abd7c MOV RBX,RSI MOV R14,RDI XOR EBP,EBP LEA R15,[RSP + 0x68] LEA R12,[RSP + 0x4f] LEA R13,[RSP + 0x50] LAB_001abd14:...
int8 llama_model_load_from_splits(long param_1,long param_2) { int8 uVar1; long lVar2; allocator local_69; int8 local_68; int8 uStack_60; int8 local_58; string local_50 [32]; local_68 = 0; uStack_60 = 0; local_58 = 0; if (param_2 == 0) { uVar1 = 0; llama_log_internal(4,"%s: list of sp...
11,618
rlGetLocationUniform
csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/rlgl.h
int rlGetLocationUniform(unsigned int shaderId, const char *uniformName) { int location = -1; #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) location = glGetUniformLocation(shaderId, uniformName); //if (location == -1) TRACELOG(RL_LOG_WARNING, "SHADER: [ID %i] Failed to find shader...
O0
c
rlGetLocationUniform: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF movq 0x161a43(%rip), %rax # 0x218f60 movl -0x4(%rbp), %edi movq -0x10(%rbp), %rsi callq *%rax movl %eax, -0x14(%rbp) movl -0x14(%rbp), %eax addq $0x20, %rsp ...
rlGetLocationUniform: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_4], edi mov [rbp+var_10], rsi mov [rbp+var_14], 0FFFFFFFFh mov rax, cs:glad_glGetUniformLocation mov edi, [rbp+var_4] mov rsi, [rbp+var_10] call rax ; glad_glGetUniformLocation mov [rbp+var_14], eax mov e...
long long rlGetLocationUniform(unsigned int a1, long long a2) { return (unsigned int)glad_glGetUniformLocation(a1, a2); }
rlGetLocationUniform: PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV dword ptr [RBP + -0x4],EDI MOV qword ptr [RBP + -0x10],RSI MOV dword ptr [RBP + -0x14],0xffffffff MOV RAX,qword ptr [0x00318f60] MOV EDI,dword ptr [RBP + -0x4] MOV RSI,qword ptr [RBP + -0x10] CALL RAX MOV dword ptr [RBP + -0x14],EAX MOV EAX,dword ptr [RBP + -0...
int4 rlGetLocationUniform(int4 param_1,int8 param_2) { int4 uVar1; uVar1 = (*glad_glGetUniformLocation)(param_1,param_2); return uVar1; }
11,619
rlGetLocationUniform
csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/rlgl.h
int rlGetLocationUniform(unsigned int shaderId, const char *uniformName) { int location = -1; #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) location = glGetUniformLocation(shaderId, uniformName); //if (location == -1) TRACELOG(RL_LOG_WARNING, "SHADER: [ID %i] Failed to find shader...
O2
c
rlGetLocationUniform: movq 0xd071c(%rip), %rax # 0x125ec0 jmpq *%rax
rlGetLocationUniform: mov rax, cs:glad_glGetUniformLocation jmp rax
long long rlGetLocationUniform(long long a1, long long a2) { return glad_glGetUniformLocation(a1, a2); }
rlGetLocationUniform: MOV RAX,qword ptr [0x00225ec0] JMP RAX
void rlGetLocationUniform(void) { /* WARNING: Could not recover jumptable at 0x001557a4. Too many branches */ /* WARNING: Treating indirect jump as call */ (*glad_glGetUniformLocation)(); return; }
11,620
rlGetLocationUniform
csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/rlgl.h
int rlGetLocationUniform(unsigned int shaderId, const char *uniformName) { int location = -1; #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) location = glGetUniformLocation(shaderId, uniformName); //if (location == -1) TRACELOG(RL_LOG_WARNING, "SHADER: [ID %i] Failed to find shader...
O3
c
rlGetLocationUniform: movq 0xc581e(%rip), %rax # 0x139ea0 movq %rdx, %rsi jmpq *%rax
GetShaderLocation: mov rax, cs:glad_glGetUniformLocation mov rsi, rdx jmp rax
long long GetShaderLocation(long long a1, long long a2, long long a3) { return glad_glGetUniformLocation(a1, a3); }
GetShaderLocation: MOV RAX,qword ptr [0x00239ea0] MOV RSI,RDX JMP RAX
void GetShaderLocation(int8 param_1,int8 param_2,int8 param_3) { /* WARNING: Could not recover jumptable at 0x00174685. Too many branches */ /* WARNING: Treating indirect jump as call */ (*glad_glGetUniformLocation)(param_1,param_3); return; }
11,621
my_hash_first
eloqsql/mysys/hash.c
uchar* my_hash_first(const HASH *hash, const uchar *key, size_t length, HASH_SEARCH_STATE *current_record) { uchar *res; DBUG_ASSERT(my_hash_inited(hash)); res= my_hash_first_from_hash_value(hash, hash->hash_function(hash->charset, key, ...
O3
c
my_hash_first: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rcx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x58(%rdi), %rax movq 0x68(%rdi), %rdi movq %rdx, %r12 testq %rdx, %rdx jne 0x294a8 movq 0x8(%r15), %rdx xorl %r12d, %r12d movq %r14, %rsi callq *%rax movq %r15, %rdi movl %eax, %es...
my_hash_first: push rbp mov rbp, rsp push r15 push r14 push r12 push rbx mov rbx, rcx mov r14, rsi mov r15, rdi mov rax, [rdi+58h] mov rdi, [rdi+68h] mov r12, rdx test rdx, rdx jnz short loc_294A8 mov rdx, [r15+8] xor r12d, r12d loc_294A8: mov rsi, r14 call ...
long long my_hash_first(_QWORD *a1, long long a2, long long a3, long long a4) { long long ( *v6)(long long, long long, long long); // rax long long v7; // rdi long long v8; // r12 unsigned int v9; // eax v6 = (long long ( *)(long long, long long, long long))a1[11]; v7 = a1[13]; v8 = a3; if ( !a3 ) {...
my_hash_first: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R12 PUSH RBX MOV RBX,RCX MOV R14,RSI MOV R15,RDI MOV RAX,qword ptr [RDI + 0x58] MOV RDI,qword ptr [RDI + 0x68] MOV R12,RDX TEST RDX,RDX JNZ 0x001294a8 MOV RDX,qword ptr [R15 + 0x8] XOR R12D,R12D LAB_001294a8: MOV RSI,R14 CALL RAX MOV RDI,R15 MOV ESI,EAX MOV RDX...
void my_hash_first(long param_1,int8 param_2,long param_3,int8 param_4) { int4 uVar1; long lVar2; lVar2 = param_3; if (param_3 == 0) { param_3 = *(long *)(param_1 + 8); lVar2 = 0; } uVar1 = (**(code **)(param_1 + 0x58))(*(int8 *)(param_1 + 0x68),param_2,param_3); my_hash_first_from_hash_value...
11,622
nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, ...
monkey531[P]llama/common/json.hpp
iterator erase(iterator first, iterator last) { if (first == last) { return first; } const auto elements_affected = std::distance(first, last); const auto offset = std::distance(Container::begin(), first); // This is the start situation. We need to delet...
O0
cpp
nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, ...
_ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE5eraseEN9__gnu_cxx17__normal_iteratorIPSI_S9_ISI_SJ_EEESP_: sub rsp, 98h mov [rsp+98h+var_10], rsi mov [rsp+...
long long nlohmann::json_abi_v3_11_3::ordered_map<std::string,nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,std::less<void>,std::allocator<s...
erase: SUB RSP,0x98 MOV qword ptr [RSP + 0x88],RSI MOV qword ptr [RSP + 0x80],RDX MOV qword ptr [RSP + 0x78],RDI MOV RAX,qword ptr [RSP + 0x78] MOV qword ptr [RSP + 0x8],RAX LEA RDI,[RSP + 0x88] LEA RSI,[RSP + 0x80] CALL 0x001bc400 TEST AL,0x1 JNZ 0x001bcb31 JMP 0x001bcb46 LAB_001bcb31: MOV RAX,qword ptr [RSP + 0x88] M...
/* nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::string, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all...
11,623
nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, ...
monkey531[P]llama/common/json.hpp
iterator erase(iterator first, iterator last) { if (first == last) { return first; } const auto elements_affected = std::distance(first, last); const auto offset = std::distance(Container::begin(), first); // This is the start situation. We need to delet...
O2
cpp
nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, ...
_ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE5eraseEN9__gnu_cxx17__normal_iteratorIPSI_S9_ISI_SJ_EEESP_: push rbp push r15 push r14 push r13 push r12 ...
char * nlohmann::json_abi_v3_11_3::ordered_map<std::string,nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,std::less<void>,std::allocator<std::...
erase: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV RBX,RSI CMP RSI,RDX JZ 0x00144693 MOV R14,RDI SUB RDX,RBX PUSH 0x30 POP RCX MOV RAX,RDX CQO IDIV RCX MOV R15,RAX MOV RAX,qword ptr [RDI] MOV qword ptr [RSP],RAX IMUL R13,R15,0x30 ADD R13,RBX MOV R12,R13 NEG R12 MOV RBP,RBX LAB_00144646: CMP R13,q...
/* nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::string, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all...
11,624
my_xml_error_pos
eloqsql/strings/xml.c
size_t my_xml_error_pos(MY_XML_PARSER *p) { const char *beg=p->beg; const char *s; for ( s=p->beg ; s<p->cur; s++) { if (s[0] == '\n') beg=s; } return (size_t) (p->cur-beg); }
O0
c
my_xml_error_pos: pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq 0x128(%rax), %rax movq %rax, -0x10(%rbp) movq -0x8(%rbp), %rax movq 0x128(%rax), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movq -0x8(%rbp), %rcx cmpq 0x130(%rcx), %rax jae 0x8419b movq -0x18(%rbp), %rax movsbl (%rax),...
my_xml_error_pos: push rbp mov rbp, rsp mov [rbp+var_8], rdi mov rax, [rbp+var_8] mov rax, [rax+128h] mov [rbp+var_10], rax mov rax, [rbp+var_8] mov rax, [rax+128h] mov [rbp+var_18], rax loc_84166: mov rax, [rbp+var_18] mov rcx, [rbp+var_8] cmp rax, [rcx+130h] jnb shor...
long long my_xml_error_pos(long long a1) { _BYTE *i; // [rsp+0h] [rbp-18h] _BYTE *v3; // [rsp+8h] [rbp-10h] v3 = *(_BYTE **)(a1 + 296); for ( i = v3; (unsigned long long)i < *(_QWORD *)(a1 + 304); ++i ) { if ( *i == 10 ) v3 = i; } return *(_QWORD *)(a1 + 304) - (_QWORD)v3; }
my_xml_error_pos: PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x128] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x128] MOV qword ptr [RBP + -0x18],RAX LAB_00184166: MOV RAX,qword ptr [RBP + -0x18] MOV RCX,qword ...
long my_xml_error_pos(long param_1) { char *local_20; char *local_18; local_18 = *(char **)(param_1 + 0x128); for (local_20 = *(char **)(param_1 + 0x128); local_20 < *(char **)(param_1 + 0x130); local_20 = local_20 + 1) { if (*local_20 == '\n') { local_18 = local_20; } } return *(lo...
11,625
gguf_get_val_f64
monkey531[P]llama/ggml/src/gguf.cpp
double gguf_get_val_f64(const struct gguf_context * ctx, int64_t key_id) { GGML_ASSERT(key_id >= 0 && key_id < gguf_get_n_kv(ctx)); GGML_ASSERT(ctx->kv[key_id].get_ne() == 1); return ctx->kv[key_id].get_val<double>(); }
O3
cpp
gguf_get_val_f64: pushq %r14 pushq %rbx pushq %rax testq %rsi, %rsi js 0x3d593 movq %rdi, %rbx movq 0x8(%rdi), %rdi movq 0x10(%rbx), %rax subq %rdi, %rax sarq $0x3, %rax movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3 imulq %rax, %rcx cmpq %rsi, %rcx jle 0x3d593 imulq $0x58, %rsi, %r14 addq %r14, %rdi call...
gguf_get_val_f64: push r14 push rbx push rax test rsi, rsi js short loc_3D593 mov rbx, rdi mov rdi, [rdi+8] mov rax, [rbx+10h] sub rax, rdi sar rax, 3 mov rcx, 2E8BA2E8BA2E8BA3h imul rcx, rax cmp rcx, rsi jle short loc_3D593 imul r14, rsi, 58h ; 'X' add rdi, r1...
double gguf_get_val_f64(long long a1, long long a2, long long a3, long long a4, int a5, int a6) { long long v7; // rdi const char *v9; // rcx int v10; // esi if ( a2 < 0 || (v7 = *(_QWORD *)(a1 + 8), 0x2E8BA2E8BA2E8BA3LL * ((*(_QWORD *)(a1 + 16) - v7) >> 3) <= a2) ) { v9 = "key_id >= 0 && key_id < gguf_...
gguf_get_val_f64: PUSH R14 PUSH RBX PUSH RAX TEST RSI,RSI JS 0x0013d593 MOV RBX,RDI MOV RDI,qword ptr [RDI + 0x8] MOV RAX,qword ptr [RBX + 0x10] SUB RAX,RDI SAR RAX,0x3 MOV RCX,0x2e8ba2e8ba2e8ba3 IMUL RCX,RAX CMP RCX,RSI JLE 0x0013d593 IMUL R14,RSI,0x58 ADD RDI,R14 CALL 0x00116620 CMP RAX,0x1 JNZ 0x0013d5af ADD R14,qwo...
double gguf_get_val_f64(long param_1,long param_2) { double *pdVar1; long lVar2; char *pcVar3; int8 uVar4; if ((param_2 < 0) || (lVar2 = (*(long *)(param_1 + 0x10) - *(long *)(param_1 + 8) >> 3) * 0x2e8ba2e8ba2e8ba3, lVar2 - param_2 == 0 || lVar2 < param_2)) { pcVar3 = "key_id >= 0 && key_i...
11,626
CacheHierarchy::~CacheHierarchy()
DanielDanyang[P]CSC3050-2025-Spring-Project-4/src/MainMulCache.cpp
~CacheHierarchy() { delete l1cache; delete l2cache; delete l3cache; delete memory; }
O0
cpp
CacheHierarchy::~CacheHierarchy(): subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x8(%rax), %rax movq %rax, 0x28(%rsp) cmpq $0x0, %rax je 0x2d3d movq 0x28(%rsp), %rdi movq (%rdi), %rax callq *0x18(%rax) movq 0x20(%rsp), %rax movq 0x10(%rax), %rax movq %rax, 0x18(%rsp) cmpq $0x0...
_ZN14CacheHierarchyD2Ev: sub rsp, 38h mov [rsp+38h+var_8], rdi mov rax, [rsp+38h+var_8] mov [rsp+38h+var_18], rax mov rax, [rax+8] mov [rsp+38h+var_10], rax cmp rax, 0 jz short loc_2D3D mov rdi, [rsp+38h+var_10] mov rax, [rdi] call qword ptr [rax+18h] loc_2D3D: mov rax, [...
void CacheHierarchy::~CacheHierarchy(CacheHierarchy *this) { MemoryManager *v1; // [rsp+8h] [rbp-30h] long long v2; // [rsp+10h] [rbp-28h] long long v3; // [rsp+18h] [rbp-20h] long long v4; // [rsp+28h] [rbp-10h] v4 = *((_QWORD *)this + 1); if ( v4 ) (*(void ( **)(long long))(*(_QWORD *)v4 + 24LL))(v4...
~CacheHierarchy: SUB RSP,0x38 MOV qword ptr [RSP + 0x30],RDI MOV RAX,qword ptr [RSP + 0x30] MOV qword ptr [RSP + 0x20],RAX MOV RAX,qword ptr [RAX + 0x8] MOV qword ptr [RSP + 0x28],RAX CMP RAX,0x0 JZ 0x00102d3d MOV RDI,qword ptr [RSP + 0x28] MOV RAX,qword ptr [RDI] CALL qword ptr [RAX + 0x18] LAB_00102d3d: MOV RAX,qword...
/* CacheHierarchy::~CacheHierarchy() */ void __thiscall CacheHierarchy::~CacheHierarchy(CacheHierarchy *this) { MemoryManager *this_00; if (*(long **)(this + 8) != (long *)0x0) { (**(code **)(**(long **)(this + 8) + 0x18))(); } if (*(long **)(this + 0x10) != (long *)0x0) { (**(code **)(**(long **)...
11,627
my_like_range_simple
eloqsql/strings/ctype-simple.c
my_bool my_like_range_simple(CHARSET_INFO *cs, const char *ptr, size_t ptr_length, pbool escape, pbool w_one, pbool w_many, size_t res_length, char *min_str,char *max_str, size_t *min_length, size_t *max_length) { const char *end= ptr + ptr_length; char *min_org=min_str; ch...
O0
c
my_like_range_simple: pushq %rbp movq %rsp, %rbp movl %r8d, -0x60(%rbp) movl %ecx, %eax movl -0x60(%rbp), %ecx movl %eax, -0x5c(%rbp) movq %rdx, %rax movl -0x5c(%rbp), %edx movq %rax, -0x58(%rbp) movq %rsi, %rax movq -0x58(%rbp), %rsi movq %rax, -0x50(%rbp) movq %rdi, %r8 movq -0x50(%rbp), %rdi movb %r9b, %al movq 0x30...
my_like_range_simple: push rbp mov rbp, rsp mov [rbp+var_60], r8d mov eax, ecx mov ecx, [rbp+var_60] mov [rbp+var_5C], eax mov rax, rdx mov edx, [rbp+var_5C] mov [rbp+var_58], rax mov rax, rsi mov rsi, [rbp+var_58] mov [rbp+var_50], rax mov r8, rdi mov rdi, [rbp+va...
char my_like_range_simple( long long a1, _BYTE *a2, long long a3, char a4, char a5, char a6, unsigned long long a7, _BYTE *a8, _BYTE *a9, unsigned long long *a10, _QWORD *a11) { char v11; // cl _BYTE *v12; // rax _BYTE *v13; ...
my_like_range_simple: PUSH RBP MOV RBP,RSP MOV dword ptr [RBP + -0x60],R8D MOV EAX,ECX MOV ECX,dword ptr [RBP + -0x60] MOV dword ptr [RBP + -0x5c],EAX MOV RAX,RDX MOV EDX,dword ptr [RBP + -0x5c] MOV qword ptr [RBP + -0x58],RAX MOV RAX,RSI MOV RSI,qword ptr [RBP + -0x58] MOV qword ptr [RBP + -0x50],RAX MOV R8,RDI MOV RD...
int8 my_like_range_simple (long param_1,char *param_2,long param_3,char param_4,char param_5,char param_6, ulong param_7,char *param_8,char *param_9,ulong *param_10,ulong *param_11) { char cVar1; char *pcVar2; char *pcVar3; ulong uVar4; bool bVar5; ulong local_78; ulong local_50; c...
11,628
add_compiled_collation
eloqsql/mysys/charset.c
void add_compiled_collation(struct charset_info_st *cs) { DBUG_ASSERT(cs->number < array_elements(all_charsets)); all_charsets[cs->number]= cs; cs->state|= MY_CS_AVAILABLE; if ((my_hash_insert(&charset_name_hash, (uchar*) cs))) { #ifndef DBUG_OFF CHARSET_INFO *org= (CHARSET_INFO*) my_hash_search(&charset_...
O0
c
add_compiled_collation: pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) jmp 0x2a33e movq -0x8(%rbp), %rdx movq -0x8(%rbp), %rax movl (%rax), %eax movl %eax, %ecx leaq 0x35a0cf(%rip), %rax # 0x384420 movq %rdx, (%rax,%rcx,8) movq -0x8(%rbp), %rax movl 0xc(%rax), %ecx orl $0x200, %ecx # im...
add_compiled_collation: push rbp mov rbp, rsp sub rsp, 10h mov [rbp+var_8], rdi jmp short $+2 loc_2A33E: mov rdx, [rbp+var_8] mov rax, [rbp+var_8] mov eax, [rax] mov ecx, eax lea rax, all_charsets mov [rax+rcx*8], rdx mov rax, [rbp+var_8] mov ecx, [rax+0Ch] or ecx...
char add_compiled_collation(unsigned int *a1) { all_charsets[*a1] = a1; a1[3] |= 0x200u; return my_hash_insert((long long)&charset_name_hash, (long long)a1); }
add_compiled_collation: PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI JMP 0x0012a33e LAB_0012a33e: MOV RDX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX] MOV ECX,EAX LEA RAX,[0x484420] MOV qword ptr [RAX + RCX*0x8],RDX MOV RAX,qword ptr [RBP + -0x8] MOV ECX,dword ptr [R...
void add_compiled_collation(uint *param_1) { (&all_charsets)[*param_1] = param_1; param_1[3] = param_1[3] | 0x200; my_hash_insert(charset_name_hash,param_1); return; }
11,629
build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&, common_grammar_options const&)
monkey531[P]llama/common/json-schema-to-grammar.cpp
std::string build_grammar(const std::function<void(const common_grammar_builder &)> & cb, const common_grammar_options & options) { SchemaConverter converter([&](const std::string &) { return json(); }, options.dotall, options.compact_spaces); common_grammar_builder builder { /* .add_rule = */ [&](const...
O2
cpp
build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&, common_grammar_options const&): pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x158, %rsp # imm = 0x158 movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movq %rsp, %rsi movaps %xmm0, (%rsi) leaq 0x1d2(%rip), %rax ...
_Z13build_grammarB5cxx11RKSt8functionIFvRK22common_grammar_builderEERK22common_grammar_options: push r15 push r14 push r12 push rbx sub rsp, 158h mov r14, rsi mov rbx, rdi xorps xmm0, xmm0 mov rsi, rsp movaps xmmword ptr [rsi], xmm0 lea rax, _ZNSt17_Function_handlerIFN8nlohmann16json_...
long long build_grammar[abi:cxx11](long long a1, long long a2, unsigned __int8 *a3, long long a4, int a5, int a6) { int v6; // edx int v7; // ecx int v8; // r8d int v9; // r9d _QWORD v11[4]; // [rsp+0h] [rbp-178h] BYREF _BYTE *v12; // [rsp+20h] [rbp-158h] long long v13; // [rsp+28h] [rbp-150h] long lon...
build_grammar[abi:cxx11]: PUSH R15 PUSH R14 PUSH R12 PUSH RBX SUB RSP,0x158 MOV R14,RSI MOV RBX,RDI XORPS XMM0,XMM0 MOV RSI,RSP MOVAPS xmmword ptr [RSI],XMM0 LEA RAX,[0x18bd2e] MOV qword ptr [RSI + 0x18],RAX LEA RAX,[0x18bd3e] MOV qword ptr [RSI + 0x10],RAX MOVZX EAX,byte ptr [RDX] MOVZX ECX,byte ptr [RDX + 0x1] LAB_00...
/* build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&, common_grammar_options const&) */ function * build_grammar_abi_cxx11_(function *param_1,common_grammar_options *param_2) { long in_RDX; SchemaConverter *local_178; int8 uStack_170; code *local_168; code *local_160; ...
11,630
build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&, common_grammar_options const&)
monkey531[P]llama/common/json-schema-to-grammar.cpp
std::string build_grammar(const std::function<void(const common_grammar_builder &)> & cb, const common_grammar_options & options) { SchemaConverter converter([&](const std::string &) { return json(); }, options.dotall, options.compact_spaces); common_grammar_builder builder { /* .add_rule = */ [&](const...
O3
cpp
build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&, common_grammar_options const&): pushq %r15 pushq %r14 pushq %rbx subq $0x160, %rsp # imm = 0x160 movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movq %rsp, %rsi movaps %xmm0, (%rsi) leaq 0x2f4(%rip), %rax # 0xbbc96 ...
_Z13build_grammarB5cxx11RKSt8functionIFvRK22common_grammar_builderEERK22common_grammar_options: push r15 push r14 push rbx sub rsp, 160h mov r14, rsi mov rbx, rdi xorps xmm0, xmm0 mov rsi, rsp; int movaps xmmword ptr [rsi], xmm0 lea rax, _ZNSt17_Function_handlerIFN8nlohmann16json_abi_v3_...
long long build_grammar[abi:cxx11](long long a1, long long a2, unsigned __int8 *a3, long long a4, int a5, int a6) { int v6; // edx int v7; // ecx int v8; // r8d int v9; // r9d int *v11; // [rsp+0h] [rbp-178h] BYREF long long v12; // [rsp+8h] [rbp-170h] long long ( *v13)(); // [rsp+10h] [rbp-168h] void ...
build_grammar[abi:cxx11]: PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x160 MOV R14,RSI MOV RBX,RDI XORPS XMM0,XMM0 MOV RSI,RSP MOVAPS xmmword ptr [RSI],XMM0 LEA RAX,[0x1bbc96] MOV qword ptr [RSI + 0x18],RAX LEA RAX,[0x1bbcc2] MOV qword ptr [RSI + 0x10],RAX MOVZX EAX,byte ptr [RDX] MOVZX ECX,byte ptr [RDX + 0x1] LAB_001bb9b8: L...
/* build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&, common_grammar_options const&) */ function * build_grammar_abi_cxx11_(function *param_1,common_grammar_options *param_2) { long in_RDX; SchemaConverter *local_178; int8 uStack_170; code *local_168; code *local_160; ...
11,631
my_uni_utf16le
eloqsql/strings/ctype-ucs2.c
static int my_uni_utf16le(CHARSET_INFO *cs __attribute__((unused)), my_wc_t wc, uchar *s, uchar *e) { uint32 first, second, total; if (wc < MY_UTF16_SURROGATE_HIGH_FIRST || (wc > MY_UTF16_SURROGATE_LOW_LAST && wc <= 0xFFFF)) { if (s + 2 > e) return MY_CS_TOOSMALL2; int2st...
O3
c
my_uni_utf16le: pushq %rbp movq %rsp, %rbp cmpq $0xd800, %rsi # imm = 0xD800 setae %al movq %rsi, %rdi andq $-0x2000, %rdi # imm = 0xE000 cmpq $0xe000, %rdi # imm = 0xE000 setne %dil testb %dil, %al jne 0x426a7 leaq 0x2(%rdx), %rdi movl $0xffffff9a, %eax # imm = 0xFFFFFF9A cmpq %rcx, ...
my_uni_utf16le: push rbp mov rbp, rsp cmp rsi, 0D800h setnb al mov rdi, rsi and rdi, 0FFFFFFFFFFFFE000h cmp rdi, 0E000h setnz dil test al, dil jnz short loc_426A7 lea rdi, [rdx+2] mov eax, 0FFFFFF9Ah cmp rdi, rcx ja short loc_426EC mov [rdx], si mov eax, 2 jmp ...
long long my_uni_utf16le(long long a1, unsigned long long a2, _DWORD *a3, unsigned long long a4) { long long result; // rax if ( (a2 & 0xFFFFFFFFFFFFE000LL) != 57344 && a2 >= 0xD800 ) { result = 0LL; if ( a2 - 1114112 >= 0xFFFFFFFFFFEFFFFFLL ) { result = 4294967192LL; if ( (unsigned long...
my_uni_utf16le: PUSH RBP MOV RBP,RSP CMP RSI,0xd800 SETNC AL MOV RDI,RSI AND RDI,-0x2000 CMP RDI,0xe000 SETNZ DIL TEST AL,DIL JNZ 0x001426a7 LEA RDI,[RDX + 0x2] MOV EAX,0xffffff9a CMP RDI,RCX JA 0x001426ec MOV word ptr [RDX],SI MOV EAX,0x2 JMP 0x001426ec LAB_001426a7: LEA RDI,[RSI + -0x110000] XOR EAX,EAX CMP RDI,-0x10...
int8 my_uni_utf16le(int8 param_1,ulong param_2,int *param_3,int *param_4) { int8 uVar1; if (param_2 < 0xd800 || (param_2 & 0xffffffffffffe000) == 0xe000) { uVar1 = 0xffffff9a; if ((int *)((long)param_3 + 2U) <= param_4) { *(short *)param_3 = (short)param_2; uVar1 = 2; } } else { ...
11,632
mj_mulJacTVec_island
aimrt_mujoco_sim/_deps/mujoco-src/src/engine/engine_core_constraint.c
void mj_mulJacTVec_island(const mjModel* m, const mjData* d, mjtNum* res, const mjtNum* vec, int island, int flg_resunc, int flg_vecunc) { // no island, call regular function if (island < 0) { mj_mulJacTVec(m, d, res, vec); return; } // sizes int vecnnz = d->island_efcnum[is...
O0
c
mj_mulJacTVec_island: subq $0x88, %rsp movl 0x90(%rsp), %eax movq %rdi, 0x80(%rsp) movq %rsi, 0x78(%rsp) movq %rdx, 0x70(%rsp) movq %rcx, 0x68(%rsp) movl %r8d, 0x64(%rsp) movl %r9d, 0x60(%rsp) cmpl $0x0, 0x64(%rsp) jge 0x6fb87 movq 0x80(%rsp), %rdi movq 0x78(%rsp), %rsi movq 0x70(%rsp), %rdx movq 0x68(%rsp), %rcx callq...
mj_mulJacTVec_island: sub rsp, 88h mov eax, [rsp+88h+arg_0] mov [rsp+88h+var_8], rdi mov [rsp+88h+var_10], rsi mov [rsp+88h+var_18], rdx mov [rsp+88h+var_20], rcx mov [rsp+88h+var_24], r8d mov [rsp+88h+var_28], r9d cmp [rsp+88h+var_24], 0 jge short loc_6FB87 mov rdi, [rsp+88h...
long long mj_mulJacTVec_island( long long a1, long long a2, long long a3, long long a4, int a5, int a6, __m128 _XMM0, unsigned int a8) { long long result; // rax unsigned int v13; // [rsp+Ch] [rbp-7Ch] unsigned int v14; // [rsp+10h] [rbp-78h] unsi...
mj_mulJacTVec_island: SUB RSP,0x88 MOV EAX,dword ptr [RSP + 0x90] MOV qword ptr [RSP + 0x80],RDI MOV qword ptr [RSP + 0x78],RSI MOV qword ptr [RSP + 0x70],RDX MOV qword ptr [RSP + 0x68],RCX MOV dword ptr [RSP + 0x64],R8D MOV dword ptr [RSP + 0x60],R9D CMP dword ptr [RSP + 0x64],0x0 JGE 0x0016fb87 MOV RDI,qword ptr [RSP...
void mj_mulJacTVec_island (int8 param_1,long param_2,long param_3,int8 param_4,int param_5, int param_6,int4 param_7) { int4 uVar1; int iVar2; int iVar3; int iVar4; long lVar5; long lVar6; long lVar7; int8 uVar8; int4 local_7c; int4 local_78; int4 local_6c; int4 l...
11,633
Apc_target::dequeue_request(Apc_target::Call_request*)
eloqsql/include/../sql/my_apc.cc
void Apc_target::dequeue_request(Call_request *qe) { mysql_mutex_assert_owner(LOCK_thd_kill_ptr); if (apc_calls == qe) { if ((apc_calls= apc_calls->next) == qe) { apc_calls= NULL; } } qe->prev->next= qe->next; qe->next->prev= qe->prev; }
O0
cpp
Apc_target::dequeue_request(Apc_target::Call_request*): pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) jmp 0x24806 movq -0x18(%rbp), %rax movq 0x10(%rax), %rax cmpq -0x10(%rbp), %rax jne 0x24838 movq -0x18(%rbp), %rcx movq 0x10(%rcx), %rax movq 0x48(...
_ZN10Apc_target15dequeue_requestEPNS_12Call_requestE: push rbp mov rbp, rsp mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov rax, [rbp+var_8] mov [rbp+var_18], rax jmp short $+2 loc_24806: mov rax, [rbp+var_18] mov rax, [rax+10h] cmp rax, [rbp+var_10] jnz short loc_24838 mov ...
long long Apc_target::dequeue_request(long long a1, long long a2) { long long v2; // rax long long result; // rax if ( *(_QWORD *)(a1 + 16) == a2 ) { v2 = *(_QWORD *)(*(_QWORD *)(a1 + 16) + 72LL); *(_QWORD *)(a1 + 16) = v2; if ( v2 == a2 ) *(_QWORD *)(a1 + 16) = 0LL; } *(_QWORD *)(*(_QWO...
dequeue_request: PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RBP + -0x18],RAX JMP 0x00124806 LAB_00124806: MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x10] CMP RAX,qword ptr [RBP + -0x10] JNZ 0x00124838 MOV RCX,qword ptr...
/* Apc_target::dequeue_request(Apc_target::Call_request*) */ void __thiscall Apc_target::dequeue_request(Apc_target *this,Call_request *param_1) { Call_request *pCVar1; if ((*(Call_request **)(this + 0x10) == param_1) && (pCVar1 = *(Call_request **)(*(long *)(this + 0x10) + 0x48), *(Call_request **)...
11,634
OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping()
NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/refinement.cpp
void Refinement::populateChildToParentMapping() { ChildTag initialChildTags[2][4]; for (int i = 0; i < 2; ++i) { for (int j = 0; j < 4; ++j) { ChildTag & tag = initialChildTags[i][j]; tag._incomplete = (unsigned char)i; tag._parentType = 0; tag._in...
O0
cpp
OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping(): pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x38(%rbp) leaq -0x10(%rbp), %rax movq %rax, %rcx addq $0x8, %rcx movq %rcx, -0x30(%rbp) movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rdi movq %...
_ZN10OpenSubdiv6v3_6_03Vtr8internal10Refinement28populateChildToParentMappingEv: push rbp mov rbp, rsp sub rsp, 40h mov [rbp+var_8], rdi mov rax, [rbp+var_8] mov [rbp+var_38], rax lea rax, [rbp+var_10] mov rcx, rax add rcx, 8 mov [rbp+var_30], rcx mov [rbp+var_28], rax loc_FE6...
long long OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping( OpenSubdiv::v3_6_0::Vtr::internal::Refinement *this) { OpenSubdiv::v3_6_0::Vtr::internal::Refinement::ChildTag *v2; // [rsp+18h] [rbp-28h] _BYTE *v3; // [rsp+20h] [rbp-20h] int j; // [rsp+28h] [rbp-18h] int i; // [rs...
populateChildToParentMapping: PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RBP + -0x38],RAX LEA RAX,[RBP + -0x10] MOV RCX,RAX ADD RCX,0x8 MOV qword ptr [RBP + -0x30],RCX MOV qword ptr [RBP + -0x28],RAX LAB_001fe6b7: MOV RDI,qword ptr [RBP + -0x28] MOV qw...
/* OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping() */ void __thiscall OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping(Refinement *this) { ChildTag *pCVar1; ChildTag *local_30; int local_20; int local_1c; ChildTag local_18 [8]; Refinement *local_10...
11,635
OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping()
NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/refinement.cpp
void Refinement::populateChildToParentMapping() { ChildTag initialChildTags[2][4]; for (int i = 0; i < 2; ++i) { for (int j = 0; j < 4; ++j) { ChildTag & tag = initialChildTags[i][j]; tag._incomplete = (unsigned char)i; tag._parentType = 0; tag._in...
O1
cpp
OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping(): pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq %rsp, %rax xorl %ecx, %ecx movl %ecx, %edx xorl %esi, %esi movb (%rax,%rsi), %dil andb $-0x20, %dil addb %dl, %dil movb %dil, (%rax,%rsi) incq %rsi addb $0x8, %dl cmpq $0x4, %rsi jne 0x48...
_ZN10OpenSubdiv6v3_6_03Vtr8internal10Refinement28populateChildToParentMappingEv: push r14 push rbx push rax mov rbx, rdi mov rax, rsp xor ecx, ecx loc_48A1C: mov edx, ecx xor esi, esi loc_48A20: mov dil, [rax+rsi] and dil, 0E0h add dil, dl mov [rax+rsi], dil inc rsi add ...
long long OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping( OpenSubdiv::v3_6_0::Vtr::internal::Refinement *this) { long long v1; // rax _QWORD *v2; // rax long long v3; // rcx char v4; // dl long long i; // rsi long long v6; // rdx _QWORD v9[3]; // [rsp-8h] [rbp-18h] BY...
populateChildToParentMapping: PUSH R14 PUSH RBX PUSH RAX MOV RBX,RDI MOV RAX,RSP XOR ECX,ECX LAB_00148a1c: MOV EDX,ECX XOR ESI,ESI LAB_00148a20: MOV DIL,byte ptr [RAX + RSI*0x1] AND DIL,0xe0 ADD DIL,DL MOV byte ptr [RAX + RSI*0x1],DIL INC RSI ADD DL,0x8 CMP RSI,0x4 JNZ 0x00148a20 LEA RDX,[RCX + 0x1] ADD RAX,0x4 TEST RC...
/* OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping() */ void __thiscall OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping(Refinement *this) { ChildTag *pCVar1; ulong uVar2; ulong uVar3; long lVar4; bool bVar5; ChildTag local_18 [8]; pCVar1 = loca...
11,636
OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping()
NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/refinement.cpp
void Refinement::populateChildToParentMapping() { ChildTag initialChildTags[2][4]; for (int i = 0; i < 2; ++i) { for (int j = 0; j < 4; ++j) { ChildTag & tag = initialChildTags[i][j]; tag._incomplete = (unsigned char)i; tag._parentType = 0; tag._in...
O2
cpp
OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping(): pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq %rsp, %rax xorl %ecx, %ecx cmpq $0x2, %rcx je 0x60b1e movl %ecx, %edx xorl %esi, %esi cmpq $0x4, %rsi je 0x60b15 movb (%rax,%rsi), %dil andb $-0x20, %dil addb %dl, %dil movb %dil, (%rax,%...
_ZN10OpenSubdiv6v3_6_03Vtr8internal10Refinement28populateChildToParentMappingEv: push r14 push rbx push rax mov rbx, rdi mov rax, rsp xor ecx, ecx loc_60AEE: cmp rcx, 2 jz short loc_60B1E mov edx, ecx xor esi, esi loc_60AF8: cmp rsi, 4 jz short loc_60B15 mov dil, [rax+...
long long OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping( OpenSubdiv::v3_6_0::Vtr::internal::Refinement *this) { long long v1; // rax _QWORD *v2; // rax long long i; // rcx char v4; // dl long long j; // rsi _QWORD v7[3]; // [rsp-8h] [rbp-18h] BYREF v7[0] = v1; v2 ...
populateChildToParentMapping: PUSH R14 PUSH RBX PUSH RAX MOV RBX,RDI MOV RAX,RSP XOR ECX,ECX LAB_00160aee: CMP RCX,0x2 JZ 0x00160b1e MOV EDX,ECX XOR ESI,ESI LAB_00160af8: CMP RSI,0x4 JZ 0x00160b15 MOV DIL,byte ptr [RAX + RSI*0x1] AND DIL,0xe0 ADD DIL,DL MOV byte ptr [RAX + RSI*0x1],DIL INC RSI ADD DL,0x8 JMP 0x00160af8...
/* OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping() */ void __thiscall OpenSubdiv::v3_6_0::Vtr::internal::Refinement::populateChildToParentMapping(Refinement *this) { ChildTag *pCVar1; ulong uVar2; ulong uVar3; long lVar4; ChildTag local_18 [8]; pCVar1 = local_18; for (u...
11,637
uf_prespace_selected
eloqsql/storage/maria/ma_packrec.c
static void uf_prespace_selected(MARIA_COLUMNDEF *rec, MARIA_BIT_BUFF *bit_buff, uchar *to, uchar *end) { uint spaces; if (get_bit(bit_buff)) { if ((spaces=get_bits(bit_buff,rec->space_length_bits))+to > end) { bit_buff->error=1; return; } bfill(to...
O0
c
uf_prespace_selected: pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rax cmpl $0x0, 0x4(%rax) je 0x4afea movq -0x10(%rbp), %rax movl (%rax), %eax movq -0x10(%rbp), %rdx movl 0x4(%rdx), %ecx addl $-0x1, %ecx movl %...
uf_prespace_selected: push rbp mov rbp, rsp sub rsp, 30h mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov [rbp+var_20], rcx mov rax, [rbp+var_10] cmp dword ptr [rax+4], 0 jz short loc_4AFEA mov rax, [rbp+var_10] mov eax, [rax] mov rdx, [rbp+var_10]...
long long uf_prespace_selected(long long a1, int *a2, _BYTE *a3, _BYTE *a4) { int v4; // eax int v5; // ecx unsigned int v6; // eax int v7; // ecx long long result; // rax unsigned int bits; // [rsp+8h] [rbp-28h] if ( a2[1] ) { v4 = *a2; v5 = a2[1] - 1; a2[1] = v5; if ( ((1 << v5) & v4...
uf_prespace_selected: PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV qword ptr [RBP + -0x20],RCX MOV RAX,qword ptr [RBP + -0x10] CMP dword ptr [RAX + 0x4],0x0 JZ 0x0014afea MOV RAX,qword ptr [RBP + -0x10] MOV EAX,dword ptr [RAX] MOV R...
void uf_prespace_selected(long param_1,uint *param_2,void *param_3,ulong param_4) { uint uVar1; uint local_30; if (param_2[1] == 0) { fill_buffer(param_2); param_2[1] = 0x1f; uVar1 = *param_2 & 0x80000000; } else { uVar1 = param_2[1]; param_2[1] = uVar1 - 1; uVar1 = *param_2 & 1 <...
11,638
common_chat_format_name[abi:cxx11](common_chat_format)
monkey531[P]llama/common/chat.cpp
std::string common_chat_format_name(common_chat_format format) { switch (format) { case COMMON_CHAT_FORMAT_CONTENT_ONLY: return "Content-only"; case COMMON_CHAT_FORMAT_GENERIC: return "Generic"; case COMMON_CHAT_FORMAT_MISTRAL_NEMO: return "Mistral Nemo"; case COMMON_CHAT_FORMAT_LLAM...
O2
cpp
common_chat_format_name[abi:cxx11](common_chat_format): pushq %r14 pushq %rbx subq $0x18, %rsp cmpl $0xa, %esi ja 0x71137 movq %rdi, %rbx movl %esi, %eax leaq 0x23668(%rip), %rcx # 0x946e8 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax leaq 0x246a0(%rip), %rsi # 0x95730 leaq 0x17(%rsp), %rdx jmp 0x71124 ...
_Z23common_chat_format_nameB5cxx1118common_chat_format: push r14 push rbx sub rsp, 18h cmp esi, 0Ah; switch 11 cases ja def_71087; jumptable 0000000000071087 default case mov rbx, rdi mov eax, esi lea rcx, jpt_71087 movsxd rax, ds:(jpt_71087 - 946E8h)[rcx+rax*4] add rax, rcx jmp ...
_QWORD * common_chat_format_name[abi:cxx11](_QWORD *a1, int a2) { const char *v2; // rsi std::runtime_error *exception; // rbx switch ( a2 ) { case 0: v2 = "Content-only"; break; case 1: v2 = "Generic"; break; case 2: v2 = "Mistral Nemo"; break; case 3: ...
common_chat_format_name[abi:cxx11]: PUSH R14 PUSH RBX SUB RSP,0x18 CMP ESI,0xa JA 0x00171137 MOV RBX,RDI MOV EAX,ESI LEA RCX,[0x1946e8] MOVSXD RAX,dword ptr [RCX + RAX*0x4] ADD RAX,RCX switchD: JMP RAX caseD_0: LEA RSI,[0x195730] LEA RDX,[RSP + 0x17] JMP 0x00171124 caseD_4: LEA RSI,[0x19575c] LEA RDX,[RSP + 0x13] JMP 0...
/* common_chat_format_name[abi:cxx11](common_chat_format) */ string * common_chat_format_name_abi_cxx11_(string *param_1,int4 param_2) { runtime_error *this; allocator *paVar1; char *pcVar2; allocator local_1b; allocator local_1a; allocator local_19; allocator local_18; allocator local_17; allocato...
11,639
common_chat_format_name[abi:cxx11](common_chat_format)
monkey531[P]llama/common/chat.cpp
std::string common_chat_format_name(common_chat_format format) { switch (format) { case COMMON_CHAT_FORMAT_CONTENT_ONLY: return "Content-only"; case COMMON_CHAT_FORMAT_GENERIC: return "Generic"; case COMMON_CHAT_FORMAT_MISTRAL_NEMO: return "Mistral Nemo"; case COMMON_CHAT_FORMAT_LLAM...
O3
cpp
common_chat_format_name[abi:cxx11](common_chat_format): pushq %r14 pushq %rbx pushq %rax cmpl $0xa, %esi ja 0x7fd6f movq %rdi, %rbx movl %esi, %eax leaq 0x2facf(%rip), %rcx # 0xaf718 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax leaq 0x10(%rbx), %rax movq %rax, (%rbx) leaq 0x30af0(%rip), %rsi # 0xb0750 ...
_Z23common_chat_format_nameB5cxx1118common_chat_format: push r14 push rbx push rax cmp esi, 0Ah; switch 11 cases ja def_7FC50; jumptable 000000000007FC50 default case mov rbx, rdi mov eax, esi lea rcx, jpt_7FC50 movsxd rax, ds:(jpt_7FC50 - 0AF718h)[rcx+rax*4] add rax, rcx jmp rax;...
_QWORD * common_chat_format_name[abi:cxx11](_QWORD *a1, int a2) { char *v2; // rsi char *v3; // rdx std::runtime_error *exception; // rbx switch ( a2 ) { case 0: *a1 = a1 + 2; v2 = "Content-only"; v3 = ""; break; case 1: *a1 = a1 + 2; v2 = "Generic"; v3 = "";...
common_chat_format_name[abi:cxx11]: PUSH R14 PUSH RBX PUSH RAX CMP ESI,0xa JA 0x0017fd6f MOV RBX,RDI MOV EAX,ESI LEA RCX,[0x1af718] MOVSXD RAX,dword ptr [RCX + RAX*0x4] ADD RAX,RCX switchD: JMP RAX caseD_0: LEA RAX,[RBX + 0x10] MOV qword ptr [RBX],RAX LEA RSI,[0x1b0750] LEA RDX,[0x1b075c] JMP 0x0017fd5c caseD_4: LEA RA...
/* common_chat_format_name[abi:cxx11](common_chat_format) */ long * common_chat_format_name_abi_cxx11_(long *param_1,int4 param_2) { runtime_error *this; char *pcVar1; char *pcVar2; switch(param_2) { case 0: *param_1 = (long)(param_1 + 2); pcVar2 = "Content-only"; pcVar1 = ""; break; c...
11,640
my_filename
eloqsql/mysys/my_div.c
char * my_filename(File fd) { DBUG_ENTER("my_filename"); if ((uint) fd >= (uint) my_file_limit || !my_file_info[fd].name) DBUG_RETURN((char*) "UNKNOWN"); if (fd >= 0 && my_file_info[fd].type != UNOPEN) { DBUG_RETURN(my_file_info[fd].name); } else DBUG_RETURN((char*) "UNOPENED"); /* Debug message...
O0
c
my_filename: pushq %rbp movq %rsp, %rbp movl %edi, -0xc(%rbp) movl -0xc(%rbp), %eax leaq 0x19af6f(%rip), %rcx # 0x1dd3c0 cmpl (%rcx), %eax jae 0x42470 leaq 0x19af6c(%rip), %rax # 0x1dd3c8 movq (%rax), %rax movslq -0xc(%rbp), %rcx shlq $0x4, %rcx addq %rcx, %rax cmpq $0x0, (%rax) jne 0x4247f jmp 0x42472 leaq 0x465...
my_filename: push rbp mov rbp, rsp mov [rbp+var_C], edi mov eax, [rbp+var_C] lea rcx, my_file_limit cmp eax, [rcx] jnb short loc_42470 lea rax, my_file_info mov rax, [rax] movsxd rcx, [rbp+var_C] shl rcx, 4 add rax, rcx cmp qword ptr [rax], 0 jnz short loc_4247F loc_4...
const char * my_filename(int a1) { if ( (unsigned int)a1 >= my_file_limit || !*((_QWORD *)my_file_info + 2 * a1) ) return "UNKNOWN"; if ( a1 >= 0 && *((_DWORD *)my_file_info + 4 * a1 + 2) ) return (const char *)*((_QWORD *)my_file_info + 2 * a1); return "UNOPENED"; }
my_filename: PUSH RBP MOV RBP,RSP MOV dword ptr [RBP + -0xc],EDI MOV EAX,dword ptr [RBP + -0xc] LEA RCX,[0x2dd3c0] CMP EAX,dword ptr [RCX] JNC 0x00142470 LEA RAX,[0x2dd3c8] MOV RAX,qword ptr [RAX] MOVSXD RCX,dword ptr [RBP + -0xc] SHL RCX,0x4 ADD RAX,RCX CMP qword ptr [RAX],0x0 JNZ 0x0014247f LAB_00142470: JMP 0x001424...
char * my_filename(uint param_1) { char *local_10; if ((param_1 < my_file_limit) && (*(long *)(my_file_info + (long)(int)param_1 * 0x10) != 0)) { if (((int)param_1 < 0) || (*(int *)(my_file_info + (long)(int)param_1 * 0x10 + 8) == 0)) { local_10 = "UNOPENED"; } else { local_10 = *(char ...
11,641
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c...
monkey531[P]llama/common/json.hpp
void push_back(const typename object_t::value_type& val) { // push_back only works for null objects or objects if (JSON_HEDLEY_UNLIKELY(!(is_null() || is_object()))) { JSON_THROW(type_error::create(308, detail::concat("cannot use push_back() with ", type_name()), this)); ...
O3
cpp
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c...
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backERKSt4pairIKS9_SD_E: push rbp; char push r14; int push rbx; __int64 sub rsp, 30h mov rbx, rsi mov r14, rdi movzx eax, byte pt...
long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::push_back( long long a1, long long a2) { long long v2; // rax n...
push_back: PUSH RBP PUSH R14 PUSH RBX SUB RSP,0x30 MOV RBX,RSI MOV R14,RDI MOVZX EAX,byte ptr [RDI] TEST EAX,EAX JNZ 0x001b851c MOV byte ptr [R14],0x1 MOV EDI,0x20 CALL 0x0011b890 XORPS XMM0,XMM0 MOVUPS xmmword ptr [RAX],XMM0 MOV qword ptr [RAX + 0x10],0x0 MOV qword ptr [R14 + 0x8],RAX MOV RDI,R14 MOV ESI,0x1 CALL 0x00...
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>::push_back(std::pair<std::__cxx...
11,642
LefDefParser::lefiMacro::bumpProps()
Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiMacro.cpp
void lefiMacro::bumpProps() { int lim; int news; char **newpn; char **newpv; double *newd; char *newt; int i; if (propertiesAllocated_ <= 0) lim = 2; // starts with 4 else lim = propertiesAllocated_; news = lim + lim; new...
O0
cpp
LefDefParser::lefiMacro::bumpProps(): subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x8(%rsp) cmpl $0x0, 0x128(%rax) jg 0x46526 movl $0x2, 0x3c(%rsp) jmp 0x46535 movq 0x8(%rsp), %rax movl 0x128(%rax), %eax movl %eax, 0x3c(%rsp) movl 0x3c(%rsp), %eax addl 0x3c(%rsp), %eax movl %eax, 0x38(%rsp) ...
_ZN12LefDefParser9lefiMacro9bumpPropsEv: sub rsp, 48h mov [rsp+48h+var_8], rdi mov rax, [rsp+48h+var_8] mov [rsp+48h+var_40], rax cmp dword ptr [rax+128h], 0 jg short loc_46526 mov [rsp+48h+var_C], 2 jmp short loc_46535 loc_46526: mov rax, [rsp+48h+var_40] mov eax, [rax+128h] mo...
LefDefParser::lefiMacro * LefDefParser::lefiMacro::bumpProps(LefDefParser::lefiMacro *this, void *a2) { long long v2; // rcx LefDefParser::lefiMacro *result; // rax int i; // [rsp+14h] [rbp-34h] long long v5; // [rsp+18h] [rbp-30h] long long v6; // [rsp+20h] [rbp-28h] long long v7; // [rsp+28h] [rbp-20h] ...
bumpProps: SUB RSP,0x48 MOV qword ptr [RSP + 0x40],RDI MOV RAX,qword ptr [RSP + 0x40] MOV qword ptr [RSP + 0x8],RAX CMP dword ptr [RAX + 0x128],0x0 JG 0x00146526 MOV dword ptr [RSP + 0x3c],0x2 JMP 0x00146535 LAB_00146526: MOV RAX,qword ptr [RSP + 0x8] MOV EAX,dword ptr [RAX + 0x128] MOV dword ptr [RSP + 0x3c],EAX LAB_0...
/* LefDefParser::lefiMacro::bumpProps() */ void __thiscall LefDefParser::lefiMacro::bumpProps(lefiMacro *this) { int iVar1; long lVar2; long lVar3; long lVar4; long lVar5; int local_34; int local_c; if (*(int *)(this + 0x128) < 1) { local_c = 2; } else { local_c = *(int *)(this + 0x128...
11,643
ggml_aligned_free
Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml.c
void ggml_aligned_free(void * ptr, size_t size) { GGML_UNUSED(size); #if defined(_MSC_VER) || defined(__MINGW32__) _aligned_free(ptr); #elif GGML_USE_CPU_HBM if (ptr != NULL) { hbw_free(ptr); } #elif TARGET_OS_OSX if (ptr != NULL) { vm_deallocate((vm_map_t)mach_task_self(), (vm_addre...
O2
c
ggml_aligned_free: jmp 0x1ed30
ggml_aligned_free: jmp _free
// attributes: thunk long long ggml_aligned_free(long long a1, long long a2) { return free(a1, a2); }
ggml_aligned_free: JMP 0x0011ed30
void ggml_aligned_free(void) { (*(code *)PTR_free_00173e98)(); return; }
11,644
ggml_aligned_free
Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml.c
void ggml_aligned_free(void * ptr, size_t size) { GGML_UNUSED(size); #if defined(_MSC_VER) || defined(__MINGW32__) _aligned_free(ptr); #elif GGML_USE_CPU_HBM if (ptr != NULL) { hbw_free(ptr); } #elif TARGET_OS_OSX if (ptr != NULL) { vm_deallocate((vm_map_t)mach_task_self(), (vm_addre...
O3
c
ggml_aligned_free: jmp 0x17420
ggml_aligned_free: jmp _free
// attributes: thunk long long ggml_aligned_free(long long a1) { return free(a1); }
ggml_aligned_free: JMP 0x00117420
/* WARNING: Unknown calling convention -- yet parameter storage is locked */ void ggml_aligned_free(void *__ptr) { (*(code *)PTR_free_0016ea10)(); return; }
11,645
process_str_arg
eloqsql/strings/my_vsnprintf.c
static char *process_str_arg(CHARSET_INFO *cs, char *to, const char *end, longlong length_arg, size_t width, char *par, uint print_type, my_bool nice_cut) { int well_formed_error; uint dots= 0; size_t plen, left_len= (size_t) (end - to) + 1, slen=0; my_b...
O3
c
process_str_arg: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %r8, %r15 movq %rdi, -0x58(%rbp) movq %rdx, -0x50(%rbp) movq %rdx, %r14 movq %rsi, -0x38(%rbp) subq %rsi, %r14 leaq 0x1(%r14), %rbx movq %rcx, %r13 negq %r13 movq %rcx, -0x40(%rbp) cmovsq %rcx, %r13 ...
process_str_arg: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 48h mov r15, r8 mov [rbp+var_58], rdi mov [rbp+var_50], rdx mov r14, rdx mov [rbp+var_38], rsi sub r14, rsi lea rbx, [r14+1] mov r13, rcx neg r13 mov [rbp+var_40...
long long process_str_arg( long long a1, _BYTE *a2, unsigned long long a3, long long a4, unsigned long long a5, const char *a6, char a7, char a8) { unsigned long long v9; // r14 unsigned long long v10; // rbx long long v11; // r13 const char *v12;...
process_str_arg: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x48 MOV R15,R8 MOV qword ptr [RBP + -0x58],RDI MOV qword ptr [RBP + -0x50],RDX MOV R14,RDX MOV qword ptr [RBP + -0x38],RSI SUB R14,RSI LEA RBX,[R14 + 0x1] MOV R13,RCX NEG R13 MOV qword ptr [RBP + -0x40],RCX CMOVS R13,RCX TEST R9...
int1 * process_str_arg(long param_1,int1 *param_2,int1 *param_3,ulong param_4,ulong param_5, char *param_6,uint param_7,char param_8) { char cVar1; void *pvVar2; uint uVar3; uint uVar4; size_t sVar5; int1 *puVar6; void *__s; long lVar7; char *__string; long lVar8; ulong uVar9; c...
11,646
minja::CommentTemplateToken::~CommentTemplateToken()
monkey531[P]llama/common/minja.hpp
CommentTemplateToken(const Location & location, SpaceHandling pre, SpaceHandling post, const std::string& t) : TemplateToken(Type::Comment, location, pre, post), text(t) {}
O3
cpp
minja::CommentTemplateToken::~CommentTemplateToken(): pushq %rbx movq %rdi, %rbx leaq 0xa7a31(%rip), %rax # 0x12c290 addq $0x10, %rax movq %rax, (%rdi) movq 0x30(%rdi), %rdi leaq 0x40(%rbx), %rax cmpq %rax, %rdi je 0x8487e movq (%rax), %rsi incq %rsi callq 0x1b8b0 leaq 0xa7a53(%rip), %rax # 0x12c2d8 addq $0x10,...
_ZN5minja20CommentTemplateTokenD2Ev: push rbx mov rbx, rdi lea rax, _ZTVN5minja20CommentTemplateTokenE; `vtable for'minja::CommentTemplateToken add rax, 10h mov [rdi], rax mov rdi, [rdi+30h]; void * lea rax, [rbx+40h] cmp rdi, rax jz short loc_8487E mov rsi, [rax] inc rsi; un...
void minja::CommentTemplateToken::~CommentTemplateToken(minja::CommentTemplateToken *this) { char *v2; // rdi volatile signed __int32 *v3; // rdi *(_QWORD *)this = &`vtable for'minja::CommentTemplateToken + 2; v2 = (char *)*((_QWORD *)this + 6); if ( v2 != (char *)this + 64 ) operator delete(v2, *((_QWO...
~CommentTemplateToken: PUSH RBX MOV RBX,RDI LEA RAX,[0x22c290] ADD RAX,0x10 MOV qword ptr [RDI],RAX MOV RDI,qword ptr [RDI + 0x30] LEA RAX,[RBX + 0x40] CMP RDI,RAX JZ 0x0018487e MOV RSI,qword ptr [RAX] INC RSI CALL 0x0011b8b0 LAB_0018487e: LEA RAX,[0x22c2d8] ADD RAX,0x10 MOV qword ptr [RBX],RAX MOV RDI,qword ptr [RBX +...
/* minja::CommentTemplateToken::~CommentTemplateToken() */ void __thiscall minja::CommentTemplateToken::~CommentTemplateToken(CommentTemplateToken *this) { *(int ***)this = &PTR__CommentTemplateToken_0022c2a0; if (*(CommentTemplateToken **)(this + 0x30) != this + 0x40) { operator_delete(*(CommentTemplateToke...
11,647
inline_mysql_cond_init
eloqsql/include/mysql/psi/mysql_thread.h
static inline int inline_mysql_cond_init( #ifdef HAVE_PSI_COND_INTERFACE PSI_cond_key key, #endif mysql_cond_t *that, const pthread_condattr_t *attr) { #ifdef HAVE_PSI_COND_INTERFACE that->m_psi= PSI_COND_CALL(init_cond)(key, &that->m_cond); #else that->m_psi= NULL; #endif return pthread_cond_init(&that->m_...
O0
c
inline_mysql_cond_init: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) leaq 0x1c954e(%rip), %rax # 0x2c0238 movq (%rax), %rax movq 0x60(%rax), %rax movl -0x4(%rbp), %edi movq -0x10(%rbp), %rsi callq *%rax movq %rax, %rcx movq -0x10(%rbp), %rax movq %rc...
inline_mysql_cond_init_4: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_4], edi mov [rbp+var_10], rsi mov [rbp+var_18], rdx lea rax, PSI_server mov rax, [rax] mov rax, [rax+60h] mov edi, [rbp+var_4] mov rsi, [rbp+var_10] call rax mov rcx, rax mov rax, [rbp+var_10]...
long long inline_mysql_cond_init_4(unsigned int a1, long long a2, long long a3) { *(_QWORD *)(a2 + 48) = ((long long ( *)(_QWORD, long long))PSI_server[12])(a1, a2); return pthread_cond_init(a2, a3); }
inline_mysql_cond_init: PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV dword ptr [RBP + -0x4],EDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX LEA RAX,[0x3c0238] MOV RAX,qword ptr [RAX] MOV RAX,qword ptr [RAX + 0x60] MOV EDI,dword ptr [RBP + -0x4] MOV RSI,qword ptr [RBP + -0x10] CALL RAX MOV RCX,RAX MOV RAX,q...
void inline_mysql_cond_init(int4 param_1,pthread_cond_t *param_2,pthread_condattr_t *param_3) { longlong lVar1; lVar1 = (**(code **)(PSI_server + 0x60))(param_1,param_2); param_2[1].__align = lVar1; pthread_cond_init(param_2,param_3); return; }
11,648
my_chsize
eloqsql/mysys/my_chsize.c
int my_chsize(File fd, my_off_t newlength, int filler, myf MyFlags) { my_off_t oldsize; uchar buff[IO_SIZE]; DBUG_ENTER("my_chsize"); DBUG_PRINT("my",("fd: %d length: %lu MyFlags: %lu",fd,(ulong) newlength, MyFlags)); if ((oldsize= my_seek(fd, 0L, MY_SEEK_END, MYF(MY_WME+MY_FAE))) == newlength) DB...
O3
c
my_chsize: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1018, %rsp # imm = 0x1018 movq %rcx, -0x1038(%rbp) movl %edx, %r13d movq %rsi, %r14 movl %edi, %r15d movq %fs:0x28, %rax movq %rax, -0x30(%rbp) xorl %ebx, %ebx movl $0x18, %ecx xorl %esi, %esi movl $0x2, %edx ...
my_chsize: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 1018h mov [rbp+var_1038], rcx mov r13d, edx mov r14, rsi mov r15d, edi mov rax, fs:28h mov [rbp+var_30], rax xor ebx, ebx mov ecx, 18h xor esi, esi mov edx, 2 call ...
long long my_chsize(long long a1, const char *a2, unsigned int a3, char a4) { unsigned int v5; // r15d unsigned int v6; // ebx unsigned long long v7; // rax unsigned long long v8; // r12 int v9; // ebx _DWORD *v10; // rax int v11; // ecx int v12; // r8d int v13; // r9d _BYTE v16[4096]; // [rsp+10h]...
my_chsize: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x1018 MOV qword ptr [RBP + -0x1038],RCX MOV R13D,EDX MOV R14,RSI MOV R15D,EDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x30],RAX XOR EBX,EBX MOV ECX,0x18 XOR ESI,ESI MOV EDX,0x2 CALL 0x001a076c MOV R12,R14 SUB R12,RAX JZ 0x00...
int8 my_chsize(ulong param_1,ulong param_2,int param_3,ulong param_4) { int iVar1; ulong uVar2; int *piVar3; long lVar4; int4 *puVar5; int8 uVar6; ulong uVar7; long in_FS_OFFSET; int1 local_1038 [4096]; long local_38; local_38 = *(long *)(in_FS_OFFSET + 0x28); uVar6 = 0; uVar2 = my_seek(p...
11,649
bytes_read
corpus-core[P]colibri-stateless/src/util/bytes.c
bytes_t bytes_read(char* filename) { unsigned char buffer[1024]; size_t bytesRead; buffer_t data = {0}; FILE* file = strcmp(filename, "-") ? fopen(filename, "rb") : stdin; if (file == NULL) return NULL_BYTES; while ((bytesRead = fread(buffer, 1, 1024, file)) == sizeof(buffer)) buffer_appen...
O0
c
bytes_read: pushq %rbp movq %rsp, %rbp subq $0x490, %rsp # imm = 0x490 movq %rdi, -0x18(%rbp) leaq -0x440(%rbp), %rdi xorl %esi, %esi movl $0x18, %edx callq 0x5110 movq -0x18(%rbp), %rdi leaq 0x3bc93(%rip), %rsi # 0x55000 callq 0x5250 cmpl $0x0, %eax je 0x19390 movq -0x18(%rbp), %rdi leaq 0x3acc1(%rip), ...
bytes_read: push rbp mov rbp, rsp sub rsp, 490h mov [rbp+var_18], rdi lea rdi, [rbp+var_440] xor esi, esi mov edx, 18h call _memset mov rdi, [rbp+var_18] lea rsi, aH2cOversizeDst+10h; "-" call _strcmp cmp eax, 0 jz short loc_19390 mov rdi, [rbp+var_18] lea rsi, ...
long long bytes_read(const char *a1) { long long v2; // [rsp+0h] [rbp-490h] long long v3; // [rsp+8h] [rbp-488h] long long v4; // [rsp+50h] [rbp-440h] BYREF long long v5; // [rsp+58h] [rbp-438h] long long v6; // [rsp+68h] [rbp-428h] _BYTE v7[1032]; // [rsp+70h] [rbp-420h] BYREF const char *v8; // [rsp+47...
bytes_read: PUSH RBP MOV RBP,RSP SUB RSP,0x490 MOV qword ptr [RBP + -0x18],RDI LEA RDI,[RBP + -0x440] XOR ESI,ESI MOV EDX,0x18 CALL 0x00105110 MOV RDI,qword ptr [RBP + -0x18] LEA RSI,[0x155000] CALL 0x00105250 CMP EAX,0x0 JZ 0x00119390 MOV RDI,qword ptr [RBP + -0x18] LEA RSI,[0x154043] CALL 0x00105320 MOV qword ptr [RB...
int1 [16] bytes_read(char *param_1) { int iVar1; int1 auVar2 [16]; FILE *local_498; uint uStack_48c; ulong local_448; int8 local_440; size_t local_430; int1 local_428 [1032]; char *local_20; ulong local_18; int8 local_10; local_20 = param_1; memset(&local_448,0,0x18); iVar1 = strcmp(lo...
11,650
bytes_read
corpus-core[P]colibri-stateless/src/util/bytes.c
bytes_t bytes_read(char* filename) { unsigned char buffer[1024]; size_t bytesRead; buffer_t data = {0}; FILE* file = strcmp(filename, "-") ? fopen(filename, "rb") : stdin; if (file == NULL) return NULL_BYTES; while ((bytesRead = fread(buffer, 1, 1024, file)) == sizeof(buffer)) buffer_appen...
O1
c
bytes_read: pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x428, %rsp # imm = 0x428 movq %rdi, %rbx xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq $0x0, 0x10(%rsp) leaq 0x2cf8e(%rip), %rsi # 0x3fe20 callq 0x5280 testl %eax, %eax je 0x12eaf leaq 0x2c151(%rip), %rsi # 0x3eff3 movq %rbx, %rdi callq 0x...
bytes_read: push r15 push r14 push r12 push rbx sub rsp, 428h mov rbx, rdi xorps xmm0, xmm0 movaps [rsp+448h+var_448], xmm0 mov [rsp+448h+var_438], 0 lea rsi, aH2cOversizeDst+10h; "-" call _strcmp test eax, eax jz short loc_12EAF lea rsi, aRb; "rb" mov rdi, rbx call ...
long long bytes_read(const char *a1) { long long v1; // r14 long long v2; // rax __int128 v4; // [rsp+0h] [rbp-448h] BYREF long long v5; // [rsp+10h] [rbp-438h] _BYTE v6[1064]; // [rsp+20h] [rbp-428h] BYREF v4 = 0LL; v5 = 0LL; if ( !(unsigned int)strcmp(a1, "-") ) v1 = stdin; else v1 = fopen...
bytes_read: PUSH R15 PUSH R14 PUSH R12 PUSH RBX SUB RSP,0x428 MOV RBX,RDI XORPS XMM0,XMM0 MOVAPS xmmword ptr [RSP],XMM0 MOV qword ptr [RSP + 0x10],0x0 LEA RSI,[0x13fe20] CALL 0x00105280 TEST EAX,EAX JZ 0x00112eaf LEA RSI,[0x13eff3] MOV RDI,RBX CALL 0x00105330 MOV R14,RAX JMP 0x00112eb9 LAB_00112eaf: MOV RAX,qword ptr [...
int1 [16] bytes_read(char *param_1) { int iVar1; FILE *__stream; size_t sVar2; int1 auVar3 [16]; ulong local_448; int8 uStack_440; int8 local_438; int1 local_428 [1032]; local_448 = 0; uStack_440 = 0; local_438 = 0; iVar1 = strcmp(param_1,"-"); if (iVar1 == 0) { __stream = *(FILE **)...
11,651
bytes_read
corpus-core[P]colibri-stateless/src/util/bytes.c
bytes_t bytes_read(char* filename) { unsigned char buffer[1024]; size_t bytesRead; buffer_t data = {0}; FILE* file = strcmp(filename, "-") ? fopen(filename, "rb") : stdin; if (file == NULL) return NULL_BYTES; while ((bytesRead = fread(buffer, 1, 1024, file)) == sizeof(buffer)) buffer_appen...
O3
c
bytes_read: pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x420, %rsp # imm = 0x420 movq %rdi, %rbx xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq $0x0, 0x10(%rsp) cmpb $0x2d, (%rdi) jne 0x12ba0 cmpb $0x0, 0x1(%rbx) je 0x12c63 leaq 0x2c448(%rip), %rsi # 0x3efef movq %rbx, %rdi callq 0x5330 m...
bytes_read: push rbp push r15 push r14 push r12 push rbx sub rsp, 420h mov rbx, rdi xorps xmm0, xmm0 movaps [rsp+448h+var_448], xmm0 mov [rsp+448h+var_438], 0 cmp byte ptr [rdi], 2Dh ; '-' jnz short loc_12BA0 cmp byte ptr [rbx+1], 0 jz loc_12C63 loc_12BA0: lea rsi, aRb...
long long bytes_read(long long a1) { long long v1; // r14 long long v2; // rax unsigned int v3; // r15d int v4; // ebp __int128 v6; // [rsp+0h] [rbp-448h] BYREF long long v7; // [rsp+10h] [rbp-438h] _BYTE v8[1064]; // [rsp+20h] [rbp-428h] BYREF v6 = 0LL; v7 = 0LL; if ( *(_BYTE *)a1 == 45 && !*(_BY...
bytes_read: PUSH RBP PUSH R15 PUSH R14 PUSH R12 PUSH RBX SUB RSP,0x420 MOV RBX,RDI XORPS XMM0,XMM0 MOVAPS xmmword ptr [RSP],XMM0 MOV qword ptr [RSP + 0x10],0x0 CMP byte ptr [RDI],0x2d JNZ 0x00112ba0 CMP byte ptr [RBX + 0x1],0x0 JZ 0x00112c63 LAB_00112ba0: LEA RSI,[0x13efef] MOV RDI,RBX CALL 0x00105330 MOV R14,RAX LAB_0...
int1 [16] bytes_read(char *param_1) { int iVar1; int iVar2; FILE *__stream; size_t sVar3; uint uVar4; int1 auVar5 [16]; int8 local_448; int8 uStack_440; int8 local_438; int1 local_428 [1024]; local_448 = 0; uStack_440 = 0; local_438 = 0; if ((*param_1 == '-') && (param_1[1] == '\0')) {...
11,652
mysql_local_infile_end
eloqsql/libmariadb/libmariadb/ma_loaddata.c
static void mysql_local_infile_end(void *ptr) { MYSQL_INFILE_INFO *info = (MYSQL_INFILE_INFO *)ptr; if (info) { if (info->fp) ma_close(info->fp); free(ptr); } return; }
O3
c
mysql_local_infile_end: testq %rdi, %rdi je 0x258a5 pushq %rbp movq %rsp, %rbp pushq %rbx pushq %rax movq %rdi, %rbx movq (%rdi), %rdi testq %rdi, %rdi je 0x25897 callq 0x2a9d8 movq %rbx, %rdi addq $0x8, %rsp popq %rbx popq %rbp jmp 0x13580 retq
mysql_local_infile_end: test rdi, rdi jz short locret_258A5 push rbp mov rbp, rsp push rbx push rax mov rbx, rdi mov rdi, [rdi] test rdi, rdi jz short loc_25897 call ma_close loc_25897: mov rdi, rbx add rsp, 8 pop rbx pop rbp jmp _free locret_258A5: retn
long long mysql_local_infile_end(long long *a1) { long long v2; // rdi long long result; // rax if ( a1 ) { v2 = *a1; if ( v2 ) ma_close(v2); return free(a1); } return result; }
mysql_local_infile_end: TEST RDI,RDI JZ 0x001258a5 PUSH RBP MOV RBP,RSP PUSH RBX PUSH RAX MOV RBX,RDI MOV RDI,qword ptr [RDI] TEST RDI,RDI JZ 0x00125897 CALL 0x0012a9d8 LAB_00125897: MOV RDI,RBX ADD RSP,0x8 POP RBX POP RBP JMP 0x00113580 LAB_001258a5: RET
void mysql_local_infile_end(long *param_1) { if (param_1 != (long *)0x0) { if (*param_1 != 0) { ma_close(); } free(param_1); return; } return; }
11,653
minja::simple_function(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>>> const&, std::function<...
monkey531[P]llama/common/minja.hpp
static Value simple_function(const std::string & fn_name, const std::vector<std::string> & params, const std::function<Value(const std::shared_ptr<Context> &, Value & args)> & fn) { std::map<std::string, size_t> named_positions; for (size_t i = 0, n = params.size(); i < n; i++) named_positions[params[i]] = i; re...
O3
cpp
minja::simple_function(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>>> const&, std::function<...
_ZN5minjaL15simple_functionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKSt8functionIFNS_5ValueERKSt10shared_ptrINS_7ContextEERSE_EE: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 0E8h mov [rsp+118h+var_F0], rcx mov r15, rdx mov r14, r...
long long minja::simple_function(long long a1, long long a2, _QWORD *a3, long long a4) { long long v5; // rbp long long v6; // rbp long long v7; // rbx long long v8; // r12 long long v9; // r12 long long v10; // rax long long v11; // rdx int v12; // ecx int *v13; // r8 int *v14; // rsi long long ...
simple_function: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0xe8 MOV qword ptr [RSP + 0x28],RCX MOV R15,RDX MOV R14,RSI MOV qword ptr [RSP + 0x20],RDI LEA RAX,[RSP + 0xc0] MOV dword ptr [RAX],0x0 XOR ECX,ECX MOV qword ptr [RAX + 0x8],RCX MOV qword ptr [RAX + 0x10],RAX MOV qword ptr [RAX + 0x18],RAX M...
/* minja::simple_function(std::__cxx11::string const&, std::vector<std::__cxx11::string, std::allocator<std::__cxx11::string > > const&, std::function<minja::Value (std::shared_ptr<minja::Context> const&, minja::Value&)> const&) */ void __thiscall minja::simple_function(minja *this,string *param_1,vector *param...
11,654
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c...
hkr04[P]cpp-mcp/common/json.hpp
data& operator=(data&&) noexcept = delete;
O2
cpp
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c...
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2ERKSD_: push r14 push rbx push rax xorps xmm0, xmm0 movups xmmword ptr [rdi], xmm0 movzx eax, byte ptr [rsi] mov [rdi], al dec eax; sw...
long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::basic_json( long long a1, unsigned __int8 *a2, int a3, ...
basic_json: PUSH R14 PUSH RBX PUSH RAX XORPS XMM0,XMM0 MOVUPS xmmword ptr [RDI],XMM0 MOVZX EAX,byte ptr [RSI] MOV byte ptr [RDI],AL DEC EAX CMP EAX,0x7 JA 0x0010cce5 MOV RBX,RDI LEA RCX,[0x149004] MOVSXD RAX,dword ptr [RCX + RAX*0x4] ADD RAX,RCX switchD: JMP RAX caseD_5: MOV RAX,qword ptr [RSI + 0x8] JMP 0x0010cce1 cas...
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>::basic_json(nlohmann::json_a...
11,655
CLI::App::get_subcommands(std::function<bool (CLI::App const*)> const&) const
MikePodsytnik[P]TCRtrie/build_O2/_deps/cli11-src/include/CLI/impl/App_inl.hpp
CLI11_INLINE std::vector<const App *> App::get_subcommands(const std::function<bool(const App *)> &filter) const { std::vector<const App *> subcomms(subcommands_.size()); std::transform( std::begin(subcommands_), std::end(subcommands_), std::begin(subcomms), [](const App_p &v) { return v.get(); }); ...
O2
cpp
CLI::App::get_subcommands(std::function<bool (CLI::App const*)> const&) const: pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq 0x288(%rsi), %rsi subq 0x280(%r15), %rsi sarq $0x4, %rsi leaq 0xf(%rsp), %rdx callq 0x119d0 movq 0x280(%r15), %rax movq 0x288(%r15), %rcx ...
_ZNK3CLI3App15get_subcommandsERKSt8functionIFbPKS0_EE: push r15 push r14 push rbx sub rsp, 10h mov r14, rdx mov r15, rsi mov rbx, rdi mov rsi, [rsi+288h] sub rsi, [r15+280h] sar rsi, 4 lea rdx, [rsp+28h+var_19] call _ZNSt6vectorIPKN3CLI3AppESaIS3_EEC2EmRKS4_; std::vector<CLI:...
_QWORD * CLI::App::get_subcommands(_QWORD *a1, long long a2, long long a3) { _QWORD *v4; // rax _QWORD *v5; // rcx _QWORD *v6; // rdx long long v7; // rax _BYTE v9[25]; // [rsp+Fh] [rbp-19h] BYREF std::vector<CLI::App const*>::vector(a1, (long long)(*(_QWORD *)(a2 + 648) - *(_QWORD *)(a2 + 640)) >> 4, v9);...
get_subcommands: PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x10 MOV R14,RDX MOV R15,RSI MOV RBX,RDI MOV RSI,qword ptr [RSI + 0x288] SUB RSI,qword ptr [R15 + 0x280] SAR RSI,0x4 LEA RDX,[RSP + 0xf] CALL 0x001119d0 MOV RAX,qword ptr [R15 + 0x280] MOV RCX,qword ptr [R15 + 0x288] MOV RDX,qword ptr [RBX] LAB_0010a125: CMP RAX,RCX J...
/* CLI::App::get_subcommands(std::function<bool (CLI::App const*)> const&) const */ function * CLI::App::get_subcommands(function *param_1) { int8 *puVar1; int8 *puVar2; int8 uVar3; long in_RDX; int8 *puVar4; long in_RSI; allocator local_19; std::vector<CLI::App_const*,std::allocator<CLI::App_cons...
11,656
nglog::LogMessage::LogStream::~LogStream()
ng-log[P]ng-log/src/ng-log/logging.h
class NGLOG_EXPORT LogStream : public std::ostream { NGLOG_MSVC_POP_WARNING() public: // In some cases, like when compiling glog as a static library with GCC and // linking against a Clang-built executable, this constructor will be // removed by the linker. We use this attribute to prevent the linker...
O0
c
nglog::LogMessage::LogStream::~LogStream(): pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) callq 0xcdb0 movq -0x10(%rbp), %rdi movl $0x160, %esi # imm = 0x160 callq 0xba40 addq $0x10, %rsp popq %rbp retq nopl (%rax)
_ZN5nglog10LogMessage9LogStreamD0Ev: push rbp mov rbp, rsp sub rsp, 10h mov [rbp+var_8], rdi mov rdi, [rbp+var_8]; this mov [rbp+var_10], rdi call _ZN5nglog10LogMessage9LogStreamD1Ev; nglog::LogMessage::LogStream::~LogStream() mov rdi, [rbp+var_10]; void * mov esi, 160h; unsigned __int...
void nglog::LogMessage::LogStream::~LogStream(nglog::LogMessage::LogStream *this) { nglog::LogMessage::LogStream::~LogStream(this); operator delete(this); }
~LogStream: PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV RDI,qword ptr [RBP + -0x8] MOV qword ptr [RBP + -0x10],RDI CALL 0x0010cdb0 MOV RDI,qword ptr [RBP + -0x10] MOV ESI,0x160 CALL 0x0010ba40 ADD RSP,0x10 POP RBP RET
/* nglog::LogMessage::LogStream::~LogStream() */ void __thiscall nglog::LogMessage::LogStream::~LogStream(LogStream *this) { ~LogStream(this); operator_delete(this,0x160); return; }
11,657
nglog::LogMessage::LogStream::~LogStream()
ng-log[P]ng-log/src/ng-log/logging.h
class NGLOG_EXPORT LogStream : public std::ostream { NGLOG_MSVC_POP_WARNING() public: // In some cases, like when compiling glog as a static library with GCC and // linking against a Clang-built executable, this constructor will be // removed by the linker. We use this attribute to prevent the linker...
O1
c
nglog::LogMessage::LogStream::~LogStream(): pushq %rbx leaq 0x1e464(%rip), %rax # 0x30898 leaq 0x18(%rax), %rcx movq %rcx, (%rdi) leaq 0x60(%rdi), %rbx addq $0x40, %rax movq %rax, 0x60(%rdi) movq 0x1eaea(%rip), %rax # 0x30f38 addq $0x10, %rax movq %rax, 0x8(%rdi) addq $0x40, %rdi callq 0x77b0 movq %rbx, %rdi po...
_ZN5nglog10NullStreamD1Ev: push rbx lea rax, _ZTCN5nglog10NullStreamE0_NS_10LogMessage9LogStreamE; `construction vtable for'nglog::LogMessage::LogStream-in-nglog::NullStream lea rcx, [rax+18h] mov [rdi], rcx lea rbx, [rdi+60h] add rax, 40h ; '@' mov [rdi+60h], rax mov rax, cs:_ZTVSt15basi...
void nglog::NullStream::~NullStream(nglog::NullStream *this) { *(_QWORD *)this = (char *)&`construction vtable for'nglog::LogMessage::LogStream-in-nglog::NullStream + 24; *((_QWORD *)this + 12) = (char *)&`construction vtable for'nglog::LogMessage::LogStream-in-nglog::NullStream + 64; *((_QWORD *)this + 1) = (ch...
~NullStream: PUSH RBX LEA RAX,[0x130898] LEA RCX,[RAX + 0x18] MOV qword ptr [RDI],RCX LEA RBX,[RDI + 0x60] ADD RAX,0x40 MOV qword ptr [RDI + 0x60],RAX MOV RAX,qword ptr [0x00130f38] ADD RAX,0x10 MOV qword ptr [RDI + 0x8],RAX ADD RDI,0x40 CALL 0x001077b0 MOV RDI,RBX POP RBX JMP 0x00107170
/* nglog::NullStream::~NullStream() */ void __thiscall nglog::NullStream::~NullStream(NullStream *this) { *(int8 *)this = 0x1308b0; *(int8 *)(this + 0x60) = 0x1308d8; *(int **)(this + 8) = PTR_vtable_00130f38 + 0x10; std::locale::~locale((locale *)(this + 0x40)); std::ios_base::~ios_base((ios_base *)(this ...
11,658
nglog::LogMessage::LogStream::~LogStream()
ng-log[P]ng-log/src/ng-log/logging.h
class NGLOG_EXPORT LogStream : public std::ostream { NGLOG_MSVC_POP_WARNING() public: // In some cases, like when compiling glog as a static library with GCC and // linking against a Clang-built executable, this constructor will be // removed by the linker. We use this attribute to prevent the linker...
O2
c
nglog::LogMessage::LogStream::~LogStream(): movq (%rsi), %rax movq %rax, (%rdi) movq 0x18(%rsi), %rcx movq -0x18(%rax), %rax movq %rcx, (%rdi,%rax) addq $0x8, %rdi jmp 0x8b40 nopl (%rax)
_ZN5nglog10LogMessage9LogStreamD2Ev: mov rax, [rsi] mov [rdi], rax mov rcx, [rsi+18h] mov rax, [rax-18h] mov [rdi+rax], rcx add rdi, 8 jmp __ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev; std::streambuf::~streambuf()
void nglog::LogMessage::LogStream::~LogStream(nglog::LogMessage::LogStream *this, long long *a2) { long long v2; // rax v2 = *a2; *(_QWORD *)this = *a2; *(_QWORD *)((char *)this + *(_QWORD *)(v2 - 24)) = a2[3]; std::streambuf::~streambuf((char *)this + 8); }
~LogStream: MOV RAX,qword ptr [RSI] MOV qword ptr [RDI],RAX MOV RCX,qword ptr [RSI + 0x18] MOV RAX,qword ptr [RAX + -0x18] MOV qword ptr [RDI + RAX*0x1],RCX ADD RDI,0x8 JMP 0x00108b40
/* nglog::LogMessage::LogStream::~LogStream() */ void __thiscall nglog::LogMessage::LogStream::~LogStream(LogStream *this) { long lVar1; long *in_RSI; lVar1 = *in_RSI; *(long *)this = lVar1; *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[3]; std::streambuf::~streambuf((streambuf *)(this + 8)); ...
11,659
nglog::LogMessage::LogStream::~LogStream()
ng-log[P]ng-log/src/ng-log/logging.h
class NGLOG_EXPORT LogStream : public std::ostream { NGLOG_MSVC_POP_WARNING() public: // In some cases, like when compiling glog as a static library with GCC and // linking against a Clang-built executable, this constructor will be // removed by the linker. We use this attribute to prevent the linker...
O3
c
nglog::LogMessage::LogStream::~LogStream(): pushq %rbx movq (%rdi), %rax movq -0x18(%rax), %rax leaq 0x26c79(%rip), %rcx # 0x30428 leaq 0x58(%rdi,%rax), %rbx movq %rcx, -0x58(%rbx) leaq 0x26c91(%rip), %rcx # 0x30450 movq %rcx, (%rbx) movq 0x2776f(%rip), %rcx # 0x30f38 addq $0x10, %rcx movq %rcx, -0x50(%rbx)...
_ZTv0_n24_N5nglog10LogMessage9LogStreamD1Ev: push rbx mov rax, [rdi] mov rax, [rax-18h] lea rcx, off_30428 lea rbx, [rdi+rax+58h] mov [rbx-58h], rcx lea rcx, off_30450 mov [rbx], rcx mov rcx, cs:_ZTVSt15basic_streambufIcSt11char_traitsIcEE_ptr add rcx, 10h mov [rbx-50h], rcx a...
void `virtual thunk to'nglog::LogMessage::LogStream::~LogStream(nglog::LogMessage::LogStream *this) { long long v1; // rax std::ios_base *v2; // rbx v1 = *(_QWORD *)(*(_QWORD *)this - 24LL); v2 = (nglog::LogMessage::LogStream *)((char *)this + v1 + 88); *((_QWORD *)v2 - 11) = off_30428; *(_QWORD *)v2 = of...
~LogStream: PUSH RBX MOV RAX,qword ptr [RDI] MOV RAX,qword ptr [RAX + -0x18] LEA RCX,[0x130428] LEA RBX,[RDI + RAX*0x1 + 0x58] MOV qword ptr [RBX + -0x58],RCX LEA RCX,[0x130450] MOV qword ptr [RBX],RCX MOV RCX,qword ptr [0x00130f38] ADD RCX,0x10 MOV qword ptr [RBX + -0x50],RCX ADD RDI,RAX ADD RDI,0x40 CALL 0x001077b0 M...
/* virtual thunk to nglog::LogMessage::LogStream::~LogStream() */ void __thiscall nglog::LogMessage::LogStream::~LogStream(LogStream *this) { ios_base *this_00; long lVar1; lVar1 = *(long *)(*(long *)this + -0x18); this_00 = (ios_base *)(this + lVar1 + 0x58); *(int ***)(this_00 + -0x58) = &PTR__LogStrea...
11,660
cpu_count_math_cpus(int)
monkey531[P]llama/common/common.cpp
static int cpu_count_math_cpus(int n_cpu) { int result = 0; for (int cpu = 0; cpu < n_cpu; ++cpu) { if (pin_cpu(cpu)) { return -1; } if (is_running_on_efficiency_core()) { continue; // efficiency cores harm lockstep threading } ++cpu; // hyperthrea...
O0
cpp
cpu_count_math_cpus(int): subq $0x18, %rsp movl %edi, 0x10(%rsp) movl $0x0, 0xc(%rsp) movl $0x0, 0x8(%rsp) movl 0x8(%rsp), %eax cmpl 0x10(%rsp), %eax jge 0xec76a movl 0x8(%rsp), %edi callq 0xf5f50 cmpl $0x0, %eax je 0xec73a movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF jmp 0xec772 callq 0xf5ff0 testb $0x1, %al jne 0x...
_ZL19cpu_count_math_cpusi: sub rsp, 18h mov [rsp+18h+var_8], edi mov [rsp+18h+var_C], 0 mov [rsp+18h+var_10], 0 loc_EC718: mov eax, [rsp+18h+var_10] cmp eax, [rsp+18h+var_8] jge short loc_EC76A mov edi, [rsp+18h+var_10]; int call _ZL7pin_cpui; pin_cpu(int) cmp eax, 0 jz short...
long long cpu_count_math_cpus(int a1) { int i; // [rsp+8h] [rbp-10h] unsigned int v3; // [rsp+Ch] [rbp-Ch] v3 = 0; for ( i = 0; i < a1; ++i ) { if ( (unsigned int)pin_cpu(i) ) return (unsigned int)-1; if ( (is_running_on_efficiency_core() & 1) == 0 ) { ++i; ++v3; } } re...
cpu_count_math_cpus: SUB RSP,0x18 MOV dword ptr [RSP + 0x10],EDI MOV dword ptr [RSP + 0xc],0x0 MOV dword ptr [RSP + 0x8],0x0 LAB_001ec718: MOV EAX,dword ptr [RSP + 0x8] CMP EAX,dword ptr [RSP + 0x10] JGE 0x001ec76a MOV EDI,dword ptr [RSP + 0x8] CALL 0x001f5f50 CMP EAX,0x0 JZ 0x001ec73a MOV dword ptr [RSP + 0x14],0xffff...
/* cpu_count_math_cpus(int) */ int cpu_count_math_cpus(int param_1) { int iVar1; ulong uVar2; int local_10; int local_c; local_c = 0; local_10 = 0; while( true ) { if (param_1 <= local_10) { return local_c; } iVar1 = pin_cpu(local_10); if (iVar1 != 0) break; uVar2 = is_runn...
11,661
ma_tls_get_finger_print
eloqsql/libmariadb/libmariadb/secure/openssl.c
unsigned int ma_tls_get_finger_print(MARIADB_TLS *ctls, char *fp, unsigned int len) { X509 *cert= NULL; MYSQL *mysql; unsigned int fp_len; if (!ctls || !ctls->ssl) return 0; mysql= SSL_get_app_data(ctls->ssl); if (!(cert= SSL_get_peer_certificate(ctls->ssl))) { my_set_error(mysql, CR_SSL_CONNEC...
O0
c
ma_tls_get_finger_print: pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movq $0x0, -0x28(%rbp) cmpq $0x0, -0x10(%rbp) je 0x694cd movq -0x10(%rbp), %rax cmpq $0x0, 0x10(%rax) jne 0x694d9 movl $0x0, -0x4(%rbp) jmp 0x695e6 movq -0x10(%rbp), %rax movq 0x10(%...
ma_tls_get_finger_print: push rbp mov rbp, rsp sub rsp, 40h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_1C], edx mov [rbp+var_28], 0 cmp [rbp+var_10], 0 jz short loc_694CD mov rax, [rbp+var_10] cmp qword ptr [rax+10h], 0 jnz short loc_694D9 loc_694CD: mov ...
long long ma_tls_get_finger_print(long long a1, long long a2, unsigned int a3) { long long v3; // rax unsigned int v5; // [rsp+Ch] [rbp-34h] BYREF long long v6; // [rsp+10h] [rbp-30h] long long v7; // [rsp+18h] [rbp-28h] unsigned int v8; // [rsp+24h] [rbp-1Ch] long long v9; // [rsp+28h] [rbp-18h] long lo...
ma_tls_get_finger_print: PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV dword ptr [RBP + -0x1c],EDX MOV qword ptr [RBP + -0x28],0x0 CMP qword ptr [RBP + -0x10],0x0 JZ 0x001694cd MOV RAX,qword ptr [RBP + -0x10] CMP qword ptr [RAX + 0x10],0x0 JNZ 0x001694d9 LAB_00169...
int4 ma_tls_get_finger_print(long param_1,uchar *param_2,uint param_3) { int iVar1; X509 *data; EVP_MD *type; uint local_3c; void *local_38; X509 *local_30; uint local_24; uchar *local_20; long local_18; local_30 = (X509 *)0x0; if ((param_1 != 0) && (*(long *)(param_1 + 0x10) != 0)) { loc...
11,662
nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto...
hkr04[P]cpp-mcp/common/json.hpp
token_type scan_number() // lgtm [cpp/use-of-goto] { // reset token_buffer to store the number's bytes reset(); // the type of the parsed number; initially set to unsigned; will be // changed if minus sign, decimal point or exponent is read token_type number_type = token_ty...
O2
cpp
nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto...
_ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE11scan_numberEv: push rbp push r14 push rbx sub rsp, 10...
long long nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterat...
scan_number: PUSH RBP PUSH R14 PUSH RBX SUB RSP,0x10 MOV RBX,RDI CALL 0x0013c95c MOV EAX,dword ptr [RBX + 0x14] LEA ECX,[RAX + -0x31] CMP ECX,0x9 JNC 0x0013c6e7 PUSH 0x5 LAB_0013c655: POP RBP LEA R14,[RBX + 0x50] MOVSX ESI,AL LAB_0013c65d: MOV RDI,R14 CALL 0x0010a5c0 MOV RDI,RBX CALL 0x0013c8b0 LEA ECX,[RAX + -0x30] CM...
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char...
11,663
nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto...
hkr04[P]cpp-mcp/common/json.hpp
token_type scan_number() // lgtm [cpp/use-of-goto] { // reset token_buffer to store the number's bytes reset(); // the type of the parsed number; initially set to unsigned; will be // changed if minus sign, decimal point or exponent is read token_type number_type = token_ty...
O3
cpp
nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto...
_ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE11scan_numberEv: push rbp push r14 push rbx sub rsp, 10...
long long nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterat...
scan_number: PUSH RBP PUSH R14 PUSH RBX SUB RSP,0x10 MOV RBX,RDI CALL 0x00147ffe MOV EAX,dword ptr [RBX + 0x14] MOV EBP,0x5 LEA ECX,[RAX + -0x31] CMP ECX,0x9 JNC 0x00147dd4 LAB_00147d5e: LEA R14,[RBX + 0x50] MOVSX ESI,AL LAB_00147d65: MOV RDI,R14 CALL 0x0010a560 MOV RDI,RBX CALL 0x0010b0ac LEA ECX,[RAX + -0x30] CMP ECX...
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char...
11,664
cli_report_progress
eloqsql/libmariadb/libmariadb/mariadb_lib.c
static int cli_report_progress(MYSQL *mysql, uchar *packet, uint length) { uint stage, max_stage, proc_length; double progress; uchar *start= packet; if (length < 5) return 1; /* Wrong packet */ if (!(mysql->options.extension && mysql->options.extension->report_progress)) ret...
O0
c
cli_report_progress: pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x38(%rbp) cmpl $0x5, -0x1c(%rbp) jae 0x309dd movl $0x1, -0x4(%rbp) jmp 0x30ad0 movq -0x10(%rbp), %rax cmpq $0x0, 0x480(%rax) je 0x30a00 movq -0x10(%rb...
cli_report_progress: push rbp mov rbp, rsp sub rsp, 40h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_1C], edx mov rax, [rbp+var_18] mov [rbp+var_38], rax cmp [rbp+var_1C], 5 jnb short loc_309DD mov [rbp+var_4], 1 jmp loc_30AD0 loc_309DD: mov rax, [rbp+var_1...
long long cli_report_progress(long long a1, unsigned __int16 *a2, unsigned int a3) { unsigned __int16 *v3; // rax unsigned __int16 *v4; // rax double v6; // [rsp+10h] [rbp-30h] unsigned int v7; // [rsp+18h] [rbp-28h] unsigned int v8; // [rsp+1Ch] [rbp-24h] unsigned int v9; // [rsp+20h] [rbp-20h] unsigned...
cli_report_progress: PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV dword ptr [RBP + -0x1c],EDX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x38],RAX CMP dword ptr [RBP + -0x1c],0x5 JNC 0x001309dd MOV dword ptr [RBP + -0x4],0x1 JMP 0x00130ad0 LAB_001309dd...
int4 cli_report_progress(long param_1,long param_2,uint param_3) { int1 uVar1; int1 uVar2; uint uVar3; double dVar4; long local_20; long local_18; int4 local_c; if (param_3 < 5) { local_c = 1; } else if ((*(long *)(param_1 + 0x480) == 0) || (*(long *)(*(long *)(param_1 + 0x480) + 0x80) == 0...
11,665
ma_get_length
eloqsql/libmariadb/libmariadb/mariadb_stmt.c
static long ma_get_length(MYSQL_STMT *stmt, unsigned int param_nr, unsigned long row_nr) { if (!stmt->params[param_nr].length) return 0; if (stmt->param_callback) return (long)*stmt->params[param_nr].length; if (stmt->row_size) return *(long *)((char *)stmt->params[param_nr].length + row_nr * stmt->ro...
O0
c
ma_get_length: pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rax movq 0x70(%rax), %rax movl -0x14(%rbp), %ecx imulq $0x70, %rcx, %rcx addq %rcx, %rax cmpq $0x0, (%rax) jne 0x41a14 movq $0x0, -0x8(%rbp) jmp 0x41a9e movq -0x10(%rbp), %rax cmpq $0x0, 0x3...
ma_get_length: push rbp mov rbp, rsp mov [rbp+var_10], rdi mov [rbp+var_14], esi mov [rbp+var_20], rdx mov rax, [rbp+var_10] mov rax, [rax+70h] mov ecx, [rbp+var_14] imul rcx, 70h ; 'p' add rax, rcx cmp qword ptr [rax], 0 jnz short loc_41A14 mov [rbp+var_8], 0 jmp l...
long long ma_get_length(_QWORD *a1, unsigned int a2, long long a3) { if ( !*(_QWORD *)(112LL * a2 + a1[14]) ) return 0LL; if ( a1[114] ) return **(_QWORD **)(112LL * a2 + a1[14]); if ( a1[110] ) return *(_QWORD *)(*(_QWORD *)(112LL * a2 + a1[14]) + a1[110] * a3); return *(_QWORD *)(*(_QWORD *)(112L...
ma_get_length: PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x10],RDI MOV dword ptr [RBP + -0x14],ESI MOV qword ptr [RBP + -0x20],RDX MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX + 0x70] MOV ECX,dword ptr [RBP + -0x14] IMUL RCX,RCX,0x70 ADD RAX,RCX CMP qword ptr [RAX],0x0 JNZ 0x00141a14 MOV qword ptr [RBP + -0x...
int8 ma_get_length(long param_1,uint param_2,long param_3) { int8 local_10; if (*(long *)(*(long *)(param_1 + 0x70) + (ulong)param_2 * 0x70) == 0) { local_10 = 0; } else if (*(long *)(param_1 + 0x390) == 0) { if (*(long *)(param_1 + 0x370) == 0) { local_10 = *(int8 *) (*(lon...
11,666
mthd_my_read_rows
eloqsql/libmariadb/libmariadb/mariadb_lib.c
MYSQL_DATA *mthd_my_read_rows(MYSQL *mysql,MYSQL_FIELD *mysql_fields, uint fields) { uint field; ulong pkt_len; ulong len; uchar *cp; char *to, *end_to; MYSQL_DATA *result; MYSQL_ROWS **prev_ptr,*cur; NET *net = &mysql->net; if ((pkt_len= ma_net_safe_read(mysql)) == packet_error) return(0...
O0
c
mthd_my_read_rows: pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x68(%rbp) movq -0x10(%rbp), %rdi callq 0x3cb80 movq %rax, -0x28(%rbp) movl $0xffffffff, %ecx # imm = 0xFFFFFFFF cmpq %rcx, %rax jne 0x4116f movq $...
mthd_my_read_rows: push rbp mov rbp, rsp sub rsp, 70h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_1C], edx mov rax, [rbp+var_10] mov [rbp+var_68], rax mov rdi, [rbp+var_10] call ma_net_safe_read mov [rbp+var_28], rax mov ecx, 0FFFFFFFFh cmp rax, rcx jnz ...
long long mthd_my_read_rows(long long a1, long long a2, long long a3, long long a4, int a5, int a6) { unsigned __int8 *v6; // rsi long long v7; // rax int v8; // r8d int v9; // r9d long long v10; // rcx bool v12; // [rsp+7h] [rbp-69h] long long v13; // [rsp+10h] [rbp-60h] _QWORD *v14; // [rsp+18h] [rbp...
mthd_my_read_rows: PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV dword ptr [RBP + -0x1c],EDX MOV RAX,qword ptr [RBP + -0x10] MOV qword ptr [RBP + -0x68],RAX MOV RDI,qword ptr [RBP + -0x10] CALL 0x0013cb80 MOV qword ptr [RBP + -0x28],RAX MOV ECX,0xffffffff CMP RAX,...
int8 * mthd_my_read_rows(long param_1,long param_2,uint param_3) { int8 *puVar1; int8 *puVar2; long lVar3; void *pvVar4; int8 *local_60; void *local_48; char *local_40; ulong local_38; ulong local_30; uint local_28; uint local_24; long local_20; long local_18; local_24 = param_3; loca...
11,667
js_object_defineProperty
bluesky950520[P]quickjs/quickjs.c
static JSValue js_object_defineProperty(JSContext *ctx, JSValue this_val, int argc, JSValue *argv, int magic) { JSValue obj, prop, desc; int ret, flags; JSAtom atom; obj = argv[0]; prop = argv[1]; desc = argv[2]; if (JS_VALUE_GET_TAG(obj) != JS_TAG_O...
O3
c
js_object_defineProperty: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r12 movq 0x8(%r8), %r15 cmpl $-0x1, %r15d jne 0x12997 movl %r9d, %ebp movq (%r8), %rbx movq 0x20(%r8), %rax movq %rax, 0x8(%rsp) movq 0x28(%r8), %rax movq %rax, 0x10(%rsp) movq 0x10(%r8), %rsi movq 0...
js_object_defineProperty: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 18h mov r12, rdi mov r15, [r8+8] cmp r15d, 0FFFFFFFFh jnz loc_12997 mov ebp, r9d mov rbx, [r8] mov rax, [r8+20h] mov [rsp+48h+var_40], rax mov rax, [r8+28h] mov [rsp+48h...
unsigned long long js_object_defineProperty( long long a1, long long a2, int a3, int a4, unsigned long long *a5, int a6) { unsigned long long v7; // rbx unsigned int v8; // eax unsigned int v9; // r13d void *v10; // rcx int v11; // eax int v12; // ebp unsig...
js_object_defineProperty: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x18 MOV R12,RDI MOV R15,qword ptr [R8 + 0x8] CMP R15D,-0x1 JNZ 0x00112997 MOV EBP,R9D MOV RBX,qword ptr [R8] MOV RAX,qword ptr [R8 + 0x20] MOV qword ptr [RSP + 0x8],RAX MOV RAX,qword ptr [R8 + 0x28] MOV qword ptr [RSP + 0x10],RAX M...
int1 [16] js_object_defineProperty(int8 param_1) { int8 uVar1; int8 uVar2; int iVar3; int iVar4; int4 uVar5; ulong uVar6; int *piVar7; int8 *in_R8; int in_R9D; int1 auVar8 [16]; int8 uStackY_50; uStackY_50 = in_R8[1]; if ((int)uStackY_50 == -1) { piVar7 = (int *)*in_R8; uVar1 = i...
11,668
ggml_fp32_to_fp16_row
7CodeWizard[P]stablediffusion/ggml/src/ggml.c
void ggml_fp32_to_fp16_row(const float * x, ggml_fp16_t * y, int n) { int i = 0; #if defined(__F16C__) for (; i + 7 < n; i += 8) { __m256 x_vec = _mm256_loadu_ps(x + i); __m128i y_vec = _mm256_cvtps_ph(x_vec, _MM_FROUND_TO_NEAREST_INT); _mm_storeu_si128((__m128i *)(y + i), y_vec); } ...
O1
c
ggml_fp32_to_fp16_row: xorl %ecx, %ecx movl %edx, %eax cmpl $0x8, %edx jl 0x8dc45 xorl %ecx, %ecx movq %rcx, %r8 vmovdqu (%rdi,%rcx,4), %ymm0 vcvtps2ph $0x0, %ymm0, (%rsi,%rcx,2) addq $0x8, %rcx addq $0xf, %r8 cmpq %rax, %r8 jb 0x8dc29 movl %ecx, %r8d orl $0x3, %r8d cmpl %edx, %r8d jge 0x8dc73 movl %ecx, %ecx movl %ecx...
ggml_fp32_to_fp16_row: xor ecx, ecx mov eax, edx cmp edx, 8 jl short loc_8DC45 xor ecx, ecx loc_8DC29: mov r8, rcx vmovdqu ymm0, ymmword ptr [rdi+rcx*4] vcvtps2ph xmmword ptr [rsi+rcx*2], ymm0, 0 add rcx, 8 add r8, 0Fh cmp r8, rax jb short loc_8DC29 loc_8DC45: mov r8d, ecx ...
long long ggml_fp32_to_fp16_row(long long _RDI, long long _RSI, int a3) { long long result; // rax long long v5; // r8 int v7; // r8d LODWORD(_RCX) = 0; result = (unsigned int)a3; if ( a3 >= 8 ) { _RCX = 0LL; do { v5 = _RCX; __asm { vmovdqu ymm0, ymmword ptr [rdi+rc...
11,669
ggml_fp32_to_fp16_row
7CodeWizard[P]stablediffusion/ggml/src/ggml.c
void ggml_fp32_to_fp16_row(const float * x, ggml_fp16_t * y, int n) { int i = 0; #if defined(__F16C__) for (; i + 7 < n; i += 8) { __m256 x_vec = _mm256_loadu_ps(x + i); __m128i y_vec = _mm256_cvtps_ph(x_vec, _MM_FROUND_TO_NEAREST_INT); _mm_storeu_si128((__m128i *)(y + i), y_vec); } ...
O2
c
ggml_fp32_to_fp16_row: movslq %edx, %rax xorl %ecx, %ecx leaq 0x7(%rcx), %rdx cmpq %rax, %rdx jge 0x6766d vmovdqu (%rdi,%rcx,4), %ymm0 vcvtps2ph $0x0, %ymm0, (%rsi,%rcx,2) addq $0x8, %rcx jmp 0x67642 vmovdqu (%rdi,%rcx,4), %xmm0 vcvtps2ph $0x0, %xmm0, (%rsi,%rcx,2) addq $0x4, %rcx leaq 0x3(%rcx), %rdx cmpq %rax, %rdx j...
ggml_fp32_to_fp16_row: movsxd rax, edx xor ecx, ecx loc_67642: lea rdx, [rcx+7] cmp rdx, rax jge short loc_6766D vmovdqu ymm0, ymmword ptr [rdi+rcx*4] vcvtps2ph xmmword ptr [rsi+rcx*2], ymm0, 0 add rcx, 8 jmp short loc_67642 loc_6765D: vmovdqu xmm0, xmmword ptr [rdi+rcx*4] vcvtps2ph qword ptr [...
long long ggml_fp32_to_fp16_row(long long _RDI, long long _RSI, int a3) { long long result; // rax result = a3; for ( _RCX = 0LL; _RCX + 7 < a3; _RCX += 8LL ) { __asm { vmovdqu ymm0, ymmword ptr [rdi+rcx*4] vcvtps2ph xmmword ptr [rsi+rcx*2], ymm0, 0 } } while ( _RCX + 3 < a3 ) { ...
ggml_fp32_to_fp16_row: MOVSXD RAX,EDX XOR ECX,ECX LAB_00167642: LEA RDX,[RCX + 0x7] CMP RDX,RAX JGE 0x0016766d VMOVDQU YMM0,ymmword ptr [RDI + RCX*0x4] VCVTPS2PH xmmword ptr [RSI + RCX*0x2],YMM0,0x0 ADD RCX,0x8 JMP 0x00167642 LAB_0016765d: VMOVDQU XMM0,xmmword ptr [RDI + RCX*0x4] VCVTPS2PH qword ptr [RSI + RCX*0x2],XMM...
void ggml_fp32_to_fp16_row(long param_1,long param_2,int param_3) { long lVar1; long lVar2; int1 auVar3 [16]; lVar1 = (long)param_3; for (lVar2 = 0; lVar2 + 7 < lVar1; lVar2 = lVar2 + 8) { auVar3 = vcvtps2ph_f16c(*(int1 (*) [32])(param_1 + lVar2 * 4),0); *(int1 (*) [16])(param_2 + lVar2 * 2) = au...
11,670
ggml_fp32_to_fp16_row
7CodeWizard[P]stablediffusion/ggml/src/ggml.c
void ggml_fp32_to_fp16_row(const float * x, ggml_fp16_t * y, int n) { int i = 0; #if defined(__F16C__) for (; i + 7 < n; i += 8) { __m256 x_vec = _mm256_loadu_ps(x + i); __m128i y_vec = _mm256_cvtps_ph(x_vec, _MM_FROUND_TO_NEAREST_INT); _mm_storeu_si128((__m128i *)(y + i), y_vec); } ...
O3
c
ggml_fp32_to_fp16_row: xorl %ecx, %ecx movl %edx, %eax cmpl $0x8, %edx jl 0x8c9e9 xorl %ecx, %ecx movq %rcx, %r8 vmovdqu (%rdi,%rcx,4), %ymm0 vcvtps2ph $0x0, %ymm0, (%rsi,%rcx,2) addq $0x8, %rcx addq $0xf, %r8 cmpq %rax, %r8 jb 0x8c9cd movl %ecx, %r8d orl $0x3, %r8d cmpl %edx, %r8d jge 0x8ca17 movl %ecx, %ecx movl %ecx...
ggml_fp32_to_fp16_row: xor ecx, ecx mov eax, edx cmp edx, 8 jl short loc_8C9E9 xor ecx, ecx loc_8C9CD: mov r8, rcx vmovdqu ymm0, ymmword ptr [rdi+rcx*4] vcvtps2ph xmmword ptr [rsi+rcx*2], ymm0, 0 add rcx, 8 add r8, 0Fh cmp r8, rax jb short loc_8C9CD loc_8C9E9: mov r8d, ecx ...
long long ggml_fp32_to_fp16_row(long long _RDI, long long _RSI, int a3) { long long result; // rax long long v5; // r8 int v7; // r8d LODWORD(_RCX) = 0; result = (unsigned int)a3; if ( a3 >= 8 ) { _RCX = 0LL; do { v5 = _RCX; __asm { vmovdqu ymm0, ymmword ptr [rdi+rc...
11,671
my_register_filename
eloqsql/mysys/my_open.c
File my_register_filename(File fd, const char *FileName, enum file_type type_of_file, uint error_message_number, myf MyFlags) { DBUG_ENTER("my_register_filename"); if ((int) fd >= MY_FILE_MIN) { my_atomic_add32_explicit(&my_file_opened, 1, MY_MEMORY_ORDER_RELAXED); if ((uint) fd >= my_file_limit || (...
O3
c
my_register_filename: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %r14 movq %rsi, %r15 testl %edi, %edi js 0x33ec9 movl %edi, %ebx leaq 0x355189(%rip), %rax # 0x388ff4 lock incl (%rax) testl $0x2004, %r14d # imm = 0x2004 jne 0x33f18 leaq 0x2c553e(%r...
my_register_filename: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx push rax mov r14, r8 mov r15, rsi test edi, edi js short loc_33EC9 mov ebx, edi lea rax, my_file_opened lock inc dword ptr [rax] test r14d, 2004h jnz loc_33F18 lea rax, my...
long long my_register_filename(long long a1, long long a2, int a3, unsigned int a4, __int16 a5) { unsigned int v6; // ebx long long v8; // rax long long v9; // rsi int v11; // ebx unsigned int *v12; // rax if ( (int)a1 < 0 ) { v11 = *(_DWORD *)__errno_location(a1); *(_DWORD *)my_thread_var() = v...
my_register_filename: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV R14,R8 MOV R15,RSI TEST EDI,EDI JS 0x00133ec9 MOV EBX,EDI LEA RAX,[0x488ff4] INC.LOCK dword ptr [RAX] TEST R14D,0x2004 JNZ 0x00133f18 LEA RAX,[0x3f93c0] CMP dword ptr [RAX],EBX JBE 0x00133f18 MOV R13D,EDX LEA RAX,[0x489...
uint my_register_filename (uint param_1,int8 param_2,int4 param_3,int4 param_4,ulong param_5) { int iVar1; int8 uVar2; int *piVar3; int4 *puVar4; if ((int)param_1 < 0) { piVar3 = __errno_location(); iVar1 = *piVar3; piVar3 = (int *)_my_thread_var(); *piVar3 = iVar1; par...
11,672
google::protobuf::compiler::java::ClassNameResolver::GetFileDefaultImmutableClassName[abi:cxx11](google::protobuf::FileDescriptor const*)
aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/compiler/java/name_resolver.cc
std::string ClassNameResolver::GetFileDefaultImmutableClassName( const FileDescriptor* file) { std::string basename; std::string::size_type last_slash = file->name().find_last_of('/'); if (last_slash == std::string::npos) { basename = file->name(); } else { basename = file->name().substr(last_slash ...
O3
cpp
google::protobuf::compiler::java::ClassNameResolver::GetFileDefaultImmutableClassName[abi:cxx11](google::protobuf::FileDescriptor const*): pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdx, %r14 movq %rdi, %rbx leaq 0x30(%rsp), %r15 movq %r15, -0x10(%r15) movq $0x0, -0x8(%r15) movb $0x0, (%r15) movq 0x8(%rdx)...
_ZN6google8protobuf8compiler4java17ClassNameResolver32GetFileDefaultImmutableClassNameB5cxx11EPKNS0_14FileDescriptorE: push r15 push r14 push rbx sub rsp, 40h mov r14, rdx mov rbx, rdi lea r15, [rsp+58h+var_28] mov [r15-10h], r15 mov qword ptr [r15-8], 0 mov byte ptr [r15], 0 mov ...
long long google::protobuf::compiler::java::ClassNameResolver::GetFileDefaultImmutableClassName[abi:cxx11]( long long a1, int a2, long long a3) { long long v4; // rax void *v6[2]; // [rsp+0h] [rbp-58h] BYREF _BYTE v7[16]; // [rsp+10h] [rbp-48h] BYREF void *v8[2]; // [rsp+20h] [rbp-38h] ...
GetFileDefaultImmutableClassName[abi:cxx11]: PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x40 MOV R14,RDX MOV RBX,RDI LEA R15,[RSP + 0x30] MOV qword ptr [R15 + -0x10],R15 MOV qword ptr [R15 + -0x8],0x0 MOV byte ptr [R15],0x0 MOV RDI,qword ptr [RDX + 0x8] MOV ESI,0x2f MOV RDX,-0x1 CALL 0x0011f910 CMP RAX,-0x1 JZ 0x001473e0 MOV R...
/* google::protobuf::compiler::java::ClassNameResolver::GetFileDefaultImmutableClassName[abi:cxx11](google::protobuf::FileDescriptor const*) */ FileDescriptor * google::protobuf::compiler::java::ClassNameResolver::GetFileDefaultImmutableClassName_abi_cxx11_ (FileDescriptor *param_1) { long lVar1; lo...
11,673
stbi__jpeg_get_bit
dmazzella[P]pylunasvg/lunasvg/plutovg/source/plutovg-stb-image.h
stbi_inline static int stbi__jpeg_get_bit(stbi__jpeg *j) { unsigned int k; if (j->code_bits < 1) stbi__grow_buffer_unsafe(j); if (j->code_bits < 1) return 0; // ran out of bits from stream, return 0s intead of continuing k = j->code_buffer; j->code_buffer <<= 1; --j->code_bits; return k & 0x8000000...
O3
c
stbi__jpeg_get_bit: pushq %rbx movq %rdi, %rbx movl 0x4824(%rdi), %ecx testl %ecx, %ecx jg 0x38cce movq %rbx, %rdi callq 0x38908 movl 0x4824(%rbx), %ecx testl %ecx, %ecx jle 0x38cec movl 0x4820(%rbx), %eax leal (%rax,%rax), %edx movl %edx, 0x4820(%rbx) decl %ecx movl %ecx, 0x4824(%rbx) andl $0x80000000, %eax # im...
stbi__jpeg_get_bit: push rbx mov rbx, rdi mov ecx, [rdi+4824h] test ecx, ecx jg short loc_38CCE mov rdi, rbx call stbi__grow_buffer_unsafe mov ecx, [rbx+4824h] test ecx, ecx jle short loc_38CEC loc_38CCE: mov eax, [rbx+4820h] lea edx, [rax+rax] mov [rbx+4820h], edx dec ...
long long stbi__jpeg_get_bit(long long a1) { int v1; // ecx int v2; // eax v1 = *(_DWORD *)(a1 + 18468); if ( v1 <= 0 ) { stbi__grow_buffer_unsafe(a1); v1 = *(_DWORD *)(a1 + 18468); if ( v1 <= 0 ) return 0LL; } v2 = *(_DWORD *)(a1 + 18464); *(_DWORD *)(a1 + 18464) = 2 * v2; *(_DWOR...
stbi__jpeg_get_bit: PUSH RBX MOV RBX,RDI MOV ECX,dword ptr [RDI + 0x4824] TEST ECX,ECX JG 0x00138cce MOV RDI,RBX CALL 0x00138908 MOV ECX,dword ptr [RBX + 0x4824] TEST ECX,ECX JLE 0x00138cec LAB_00138cce: MOV EAX,dword ptr [RBX + 0x4820] LEA EDX,[RAX + RAX*0x1] MOV dword ptr [RBX + 0x4820],EDX DEC ECX MOV dword ptr [RBX...
uint stbi__jpeg_get_bit(long param_1) { uint uVar1; int iVar2; iVar2 = *(int *)(param_1 + 0x4824); if (iVar2 < 1) { stbi__grow_buffer_unsafe(param_1); iVar2 = *(int *)(param_1 + 0x4824); if (iVar2 < 1) { return 0; } } uVar1 = *(uint *)(param_1 + 0x4820); *(uint *)(param_1 + 0x48...
11,674
translog_example_table_init
eloqsql/storage/maria/unittest/ma_loghandler_examples.c
void translog_example_table_init() { int i; log_record_type_descriptor[LOGREC_FIXED_RECORD_0LSN_EXAMPLE]= INIT_LOGREC_FIXED_RECORD_0LSN_EXAMPLE; log_record_type_descriptor[LOGREC_VARIABLE_RECORD_0LSN_EXAMPLE]= INIT_LOGREC_VARIABLE_RECORD_0LSN_EXAMPLE; log_record_type_descriptor[LOGREC_FIXED_RECORD_1LSN_...
O3
c
translog_example_table_init: pushq %rbp movq %rsp, %rbp leaq 0x3d26ed(%rip), %rax # 0x405f80 leaq 0x48(%rax), %rdi leaq 0x34fcc2(%rip), %rsi # 0x383560 movl $0x9, %ecx rep movsq (%rsi), %es:(%rdi) leaq 0x90(%rax), %rdi leaq 0x34fcf4(%rip), %rsi # 0x3835a8 movl $0x9, %ecx rep movsq (%rsi), %es:(%rdi) leaq 0xd...
translog_example_table_init: push rbp mov rbp, rsp lea rax, log_record_type_descriptor lea rdi, [rax+48h] lea rsi, INIT_LOGREC_FIXED_RECORD_0LSN_EXAMPLE mov ecx, 9 rep movsq lea rdi, [rax+90h] lea rsi, INIT_LOGREC_VARIABLE_RECORD_0LSN_EXAMPLE mov ecx, 9 rep movsq lea rdi, [rax+0D8...
_DWORD *translog_example_table_init() { _DWORD *result; // rax unsigned long long v1; // rcx __m128i si128; // xmm0 __m128i v3; // xmm1 __m128i v4; // xmm2 __m128i v5; // xmm3 __m128i v6; // xmm4 __m128i v7; // xmm5 __m128i v8; // xmm6 __m128i v9; // xmm6 __m128i v10; // xmm5 __m128i v11; // xmm...
translog_example_table_init: PUSH RBP MOV RBP,RSP LEA RAX,[0x505f80] LEA RDI,[RAX + 0x48] LEA RSI,[0x483560] MOV ECX,0x9 MOVSQ.REP RDI,RSI LEA RDI,[RAX + 0x90] LEA RSI,[0x4835a8] MOV ECX,0x9 MOVSQ.REP RDI,RSI LEA RDI,[RAX + 0xd8] LEA RSI,[0x4835f0] MOV ECX,0x9 MOVSQ.REP RDI,RSI LEA RDI,[RAX + 0x120] LEA RSI,[0x483638] ...
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ void translog_example_table_init(void) { int1 auVar1 [16]; int1 auVar2 [16]; int1 auVar3 [16]; int iVar4; int iVar5; int8 *puVar6; long lVar7; int8 *puVar8; int1 auVar9 [16]; int1 auVar10 [16]; puVar6 = &INI...
11,675
my_coll_parser_scan_shift
eloqsql/strings/ctype-uca.c
static int my_coll_parser_scan_shift(MY_COLL_RULE_PARSER *p) { if (my_coll_parser_curr(p)->term == MY_COLL_LEXEM_SHIFT) { my_coll_rule_shift_at_level(&p->rule, my_coll_parser_curr(p)->diff); return my_coll_parser_scan(p); } return 0; }
O3
c
my_coll_parser_scan_shift: xorl %eax, %eax cmpl $0x1, (%rdi) jne 0x783d2 movl 0x20(%rdi), %eax decl %eax cmpl $0x3, %eax ja 0x783a5 leaq 0x1a90cc(%rip), %rcx # 0x221420 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax incl 0xd0(%rdi) movl $0x0, 0xdc(%rdi) movq $0x0, 0xd4(%rdi) jmp 0x783a5 incl 0xd8(%rdi) movl $...
my_coll_parser_scan_shift: xor eax, eax cmp dword ptr [rdi], 1 jnz locret_783D2 mov eax, [rdi+20h] dec eax; switch 4 cases cmp eax, 3 ja short def_7835B; jumptable 000000000007835B default case lea rcx, jpt_7835B movsxd rax, ds:(jpt_7835B - 221420h)[rcx+rax*4] add rax, rcx jmp ...
long long my_coll_parser_scan_shift(long long a1) { long long result; // rax __int128 v2; // xmm0 result = 0LL; if ( *(_DWORD *)a1 == 1 ) { switch ( *(_DWORD *)(a1 + 32) ) { case 1: ++*(_DWORD *)(a1 + 208); *(_DWORD *)(a1 + 220) = 0; *(_QWORD *)(a1 + 212) = 0LL; ...
my_coll_parser_scan_shift: XOR EAX,EAX CMP dword ptr [RDI],0x1 JNZ 0x001783d2 MOV EAX,dword ptr [RDI + 0x20] DEC EAX CMP EAX,0x3 JA 0x001783a5 LEA RCX,[0x321420] MOVSXD RAX,dword ptr [RCX + RAX*0x4] ADD RAX,RCX switchD: JMP RAX caseD_1: INC dword ptr [RDI + 0xd0] MOV dword ptr [RDI + 0xdc],0x0 MOV qword ptr [RDI + 0xd4...
int8 my_coll_parser_scan_shift(int *param_1) { int8 uVar1; uVar1 = 0; if (*param_1 == 1) { switch(param_1[8]) { case 1: param_1[0x34] = param_1[0x34] + 1; param_1[0x37] = 0; param_1[0x35] = 0; param_1[0x36] = 0; break; case 2: param_1[0x35] = param_1[0x35] + 1;...
11,676
ma_ck_write
eloqsql/storage/maria/ma_write.c
my_bool _ma_ck_write(MARIA_HA *info, MARIA_KEY *key) { DBUG_ENTER("_ma_ck_write"); if (info->bulk_insert && is_tree_inited(&info->bulk_insert[key->keyinfo->key_nr])) { DBUG_RETURN(_ma_ck_write_tree(info, key)); } DBUG_RETURN(_ma_ck_write_btree(info, key)); }
O3
c
ma_ck_write: movq %rdi, %rax movq 0x310(%rdi), %rdi testq %rdi, %rdi je 0x55e55 movq 0x8(%rsi), %rcx movzbl 0xa5(%rcx), %ecx imulq $0x298, %rcx, %rcx # imm = 0x298 cmpq $0x0, (%rdi,%rcx) je 0x55e55 pushq %rbp movq %rsp, %rbp addq %rcx, %rdi movl 0x14(%rsi), %edx movl %edx, 0x640(%rax) movq (%rsi), %rax addl 0x10(%...
_ma_ck_write: mov rax, rdi mov rdi, [rdi+310h] test rdi, rdi jz short loc_55E55 mov rcx, [rsi+8] movzx ecx, byte ptr [rcx+0A5h] imul rcx, 298h cmp qword ptr [rdi+rcx], 0 jz short loc_55E55 push rbp mov rbp, rsp add rdi, rcx mov edx, [rsi+14h] mov [rax+640h], edx mov ...
char ma_ck_write(long long a1, long long a2) { long long v3; // rdi long long v4; // rcx int v5; // edx v3 = *(_QWORD *)(a1 + 784); if ( !v3 ) return ma_ck_write_btree(a1); v4 = 664LL * *(unsigned __int8 *)(*(_QWORD *)(a2 + 8) + 165LL); if ( !*(_QWORD *)(v3 + v4) ) return ma_ck_write_btree(a1); ...
_ma_ck_write: MOV RAX,RDI MOV RDI,qword ptr [RDI + 0x310] TEST RDI,RDI JZ 0x00155e55 MOV RCX,qword ptr [RSI + 0x8] MOVZX ECX,byte ptr [RCX + 0xa5] IMUL RCX,RCX,0x298 CMP qword ptr [RDI + RCX*0x1],0x0 JZ 0x00155e55 PUSH RBP MOV RBP,RSP ADD RDI,RCX MOV EDX,dword ptr [RSI + 0x14] MOV dword ptr [RAX + 0x640],EDX MOV RAX,qw...
bool _ma_ck_write(long param_1,int8 *param_2) { int iVar1; int1 uVar2; long lVar3; long lVar4; lVar4 = *(long *)(param_1 + 0x310); if ((lVar4 != 0) && (lVar3 = (ulong)*(byte *)(param_2[1] + 0xa5) * 0x298, *(long *)(lVar4 + lVar3) != 0)) { lVar4 = lVar4 + lVar3; iVar1 = *(int *)((long)param...
11,677
node_update_hash
corpus-core[P]colibri-stateless/src/chains/eth/verifier/patricia_trie.c
static void node_update_hash(node_t* node, bool follow_parent, ssz_builder_t* builder) { buffer_t buf = {0}; serialize_node(node, &buf); rlp_to_list(&buf); node->hash_len = buf.data.len; if (builder) ssz_add_dynamic_list_bytes(builder, 0, buf.data); if (node->hash_len >= 32) { keccak(buf.data, node->has...
O0
c
node_update_hash: pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movb %sil, %al movq %rdi, -0x8(%rbp) andb $0x1, %al movb %al, -0x9(%rbp) movq %rdx, -0x18(%rbp) leaq -0x30(%rbp), %rdi xorl %esi, %esi movl $0x18, %edx callq 0x23140 movq -0x8(%rbp), %rdi leaq -0x30(%rbp), %rsi callq 0x33f00 leaq -0x30(%rbp), %rdi callq 0x35...
node_update_hash: push rbp mov rbp, rsp sub rsp, 30h mov al, sil mov [rbp+var_8], rdi and al, 1 mov [rbp+var_9], al mov [rbp+var_18], rdx lea rdi, [rbp+var_30] xor esi, esi mov edx, 18h call _memset mov rdi, [rbp+var_8] lea rsi, [rbp+var_30] call serialize_node l...
long long node_update_hash(long long a1, char a2, long long a3) { long long result; // rax unsigned int v4; // [rsp+0h] [rbp-30h] BYREF long long v5; // [rsp+8h] [rbp-28h] long long v6; // [rsp+18h] [rbp-18h] char v7; // [rsp+27h] [rbp-9h] long long v8; // [rsp+28h] [rbp-8h] v8 = a1; v7 = a2 & 1; v6...
node_update_hash: PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV AL,SIL MOV qword ptr [RBP + -0x8],RDI AND AL,0x1 MOV byte ptr [RBP + -0x9],AL MOV qword ptr [RBP + -0x18],RDX LEA RDI,[RBP + -0x30] XOR ESI,ESI MOV EDX,0x18 CALL 0x00123140 MOV RDI,qword ptr [RBP + -0x8] LEA RSI,[RBP + -0x30] CALL 0x00133f00 LEA RDI,[RBP + -0x30] ...
void node_update_hash(void *param_1,byte param_2,long param_3) { int4 local_38 [2]; void *local_30; long local_20; byte local_11; void *local_10; local_11 = param_2 & 1; local_20 = param_3; local_10 = param_1; memset(local_38,0,0x18); serialize_node(local_10,local_38); rlp_to_list(local_38); ...
11,678
node_update_hash
corpus-core[P]colibri-stateless/src/chains/eth/verifier/patricia_trie.c
static void node_update_hash(node_t* node, bool follow_parent, ssz_builder_t* builder) { buffer_t buf = {0}; serialize_node(node, &buf); rlp_to_list(&buf); node->hash_len = buf.data.len; if (builder) ssz_add_dynamic_list_bytes(builder, 0, buf.data); if (node->hash_len >= 32) { keccak(buf.data, node->has...
O3
c
node_update_hash: pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdx, %r15 movl %esi, %ebx movq %rdi, %r14 xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq $0x0, 0x10(%rsp) movl 0x30(%rdi), %eax testl %eax, %eax je 0x2cbc4 cmpl $0x1, %eax je 0x2cba3 cmpl $0x2, %eax jne 0x2cbe7 xorl %r13d, %r1...
node_update_hash: push r15 push r14 push r13 push r12 push rbx sub rsp, 20h mov r15, rdx mov ebx, esi mov r14, rdi xorps xmm0, xmm0 movaps [rsp+48h+var_48], xmm0 mov [rsp+48h+var_38], 0 mov eax, [rdi+30h] test eax, eax jz short loc_2CBC4 cmp eax, 1 jz short loc...
char node_update_hash(long long a1, unsigned __int8 a2, long long a3) { int v5; // eax long long i; // r13 long long v7; // rsi long long v8; // rdx long long v9; // rdx long long v10; // rdi char result; // al __int128 v12; // [rsp+0h] [rbp-48h] BYREF long long v13; // [rsp+10h] [rbp-38h] v12 = 0...
node_update_hash: PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x20 MOV R15,RDX MOV EBX,ESI MOV R14,RDI XORPS XMM0,XMM0 MOVAPS xmmword ptr [RSP],XMM0 MOV qword ptr [RSP + 0x10],0x0 MOV EAX,dword ptr [RDI + 0x30] TEST EAX,EAX JZ 0x0012cbc4 CMP EAX,0x1 JZ 0x0012cba3 CMP EAX,0x2 JNZ 0x0012cbe7 XOR R13D,R13D MOV R1...
void node_update_hash(void *param_1,char param_2,long param_3) { int iVar1; int4 uVar2; int8 uVar3; size_t __n; long lVar4; ulong local_48; void *pvStack_40; int8 local_38; local_48 = 0; pvStack_40 = (void *)0x0; local_38 = 0; iVar1 = *(int *)((long)param_1 + 0x30); if (iVar1 == 0) { ...
11,679
aimrt::common::util::ConstBufferOperator::GetUint32()
aimrt_mujoco_sim/_deps/aimrt-src/src/common/net/../util/buffer_util.h
uint32_t GetUint32() { if (cur_ + sizeof(uint32_t) > end_) [[unlikely]] throw BufferOutOfBoundsException(); uint32_t n = GetUint32FromBuf(cur_); cur_ += sizeof(uint32_t); return n; }
O0
c
aimrt::common::util::ConstBufferOperator::GetUint32(): subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rcx movq %rcx, 0x8(%rsp) movq 0x10(%rcx), %rax addq $0x4, %rax cmpq 0x8(%rcx), %rax jbe 0x5ab05c movl $0x10, %edi callq 0x1ca590 movq %rax, %rdi movq %rdi, %rax movq %rax, (%rsp) callq 0x58cb20 jmp 0x5ab02c m...
_ZN5aimrt6common4util19ConstBufferOperator9GetUint32Ev: sub rsp, 28h mov [rsp+28h+var_8], rdi mov rcx, [rsp+28h+var_8] mov [rsp+28h+var_20], rcx mov rax, [rcx+10h] add rax, 4 cmp rax, [rcx+8] jbe short loc_5AB05C mov edi, 10h; thrown_size call ___cxa_allocate_exception mov rdi...
long long aimrt::common::util::ConstBufferOperator::GetUint32( aimrt::common::util::ConstBufferOperator *this, const char *a2) { long long result; // rax aimrt::common::util::BufferOutOfBoundsException *exception; // [rsp+0h] [rbp-28h] if ( (unsigned long long)(*((_QWORD *)this + 2) + 4LL) > *((...
get: MOV qword ptr [RSP + -0x8],RDI MOV RAX,qword ptr [RSP + -0x8] MOV RAX,qword ptr [RAX] RET
/* std::__shared_ptr<aimrt::common::net::AsioTcpClient, (__gnu_cxx::_Lock_policy)2>::get() const */ int8 __thiscall std::__shared_ptr<aimrt::common::net::AsioTcpClient,(__gnu_cxx::_Lock_policy)2>::get (__shared_ptr<aimrt::common::net::AsioTcpClient,(__gnu_cxx::_Lock_policy)2> *this) { return *(int8 *)thi...
11,680
aimrt::common::util::ConstBufferOperator::GetUint32()
aimrt_mujoco_sim/_deps/aimrt-src/src/common/net/../util/buffer_util.h
uint32_t GetUint32() { if (cur_ + sizeof(uint32_t) > end_) [[unlikely]] throw BufferOutOfBoundsException(); uint32_t n = GetUint32FromBuf(cur_); cur_ += sizeof(uint32_t); return n; }
O3
c
aimrt::common::util::ConstBufferOperator::GetUint32(): pushq %r14 pushq %rbx pushq %rax movq 0x10(%rdi), %rax leaq 0x4(%rax), %rcx cmpq 0x8(%rdi), %rcx ja 0x1bae86 movl (%rax), %eax movq %rcx, 0x10(%rdi) addq $0x8, %rsp popq %rbx popq %r14 retq movl $0x10, %edi callq 0x91050 movq %rax, %rbx movq %rax, %rdi callq 0x1b21...
_ZN5aimrt6common4util19ConstBufferOperator9GetUint32Ev: push r14 push rbx push rax mov rax, [rdi+10h] lea rcx, [rax+4] cmp rcx, [rdi+8] ja short loc_1BAE86 mov eax, [rax] mov [rdi+10h], rcx add rsp, 8 pop rbx pop r14 retn loc_1BAE86: mov edi, 10h; thrown_size call __...
long long aimrt::common::util::ConstBufferOperator::GetUint32(aimrt::common::util::ConstBufferOperator *this) { unsigned int *v1; // rax unsigned int *v2; // rcx long long result; // rax aimrt::common::util::BufferOutOfBoundsException *exception; // rbx v1 = (unsigned int *)*((_QWORD *)this + 2); v2 = v1 ...
11,681
translog_buffer_decrease_writers
eloqsql/storage/maria/ma_loghandler.c
static void translog_buffer_decrease_writers(struct st_translog_buffer *buffer) { DBUG_ENTER("translog_buffer_decrease_writers"); translog_buffer_lock_assert_owner(buffer); buffer->copy_to_buffer_in_progress--; DBUG_PRINT("info", ("copy_to_buffer_in_progress. Buffer #%u %p progress: %d", ...
O0
c
translog_buffer_decrease_writers: pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movl 0x100078(%rax), %ecx addl $-0x1, %ecx movl %ecx, 0x100078(%rax) jmp 0x5d111 movq -0x8(%rbp), %rax cmpl $0x0, 0x100078(%rax) jne 0x5d12e movq -0x8(%rbp), %rdi addq $0x100040, %rdi # imm ...
translog_buffer_decrease_writers: push rbp mov rbp, rsp sub rsp, 10h mov [rbp+var_8], rdi mov rax, [rbp+var_8] mov ecx, [rax+100078h] add ecx, 0FFFFFFFFh mov [rax+100078h], ecx jmp short $+2 loc_5D111: mov rax, [rbp+var_8] cmp dword ptr [rax+100078h], 0 jnz short loc_5D12E...
long long translog_buffer_decrease_writers(long long a1) { long long result; // rax --*(_DWORD *)(a1 + 1048696); result = a1; if ( !*(_DWORD *)(a1 + 1048696) ) return inline_mysql_cond_broadcast_0(a1 + 1048640); return result; }
translog_buffer_decrease_writers: PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV ECX,dword ptr [RAX + 0x100078] ADD ECX,-0x1 MOV dword ptr [RAX + 0x100078],ECX JMP 0x0015d111 LAB_0015d111: MOV RAX,qword ptr [RBP + -0x8] CMP dword ptr [RAX + 0x100078],0x0 JNZ 0x0015d1...
void translog_buffer_decrease_writers(long param_1) { *(int *)((long)&Elf64_Phdr_ARRAY_00100040[1].p_type + param_1) = *(int *)((long)&Elf64_Phdr_ARRAY_00100040[1].p_type + param_1) + -1; if (*(int *)((long)&Elf64_Phdr_ARRAY_00100040[1].p_type + param_1) == 0) { inline_mysql_cond_broadcast((long)&Elf64...
11,682
nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl...
monkey531[P]llama/common/json.hpp
bool start_object(std::size_t len) { // check callback for object start const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::object_start, discarded); keep_stack.push_back(keep); auto val = handle_value(BasicJsonType::value_t::object, true); ref_stac...
O2
cpp
nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl...
_ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE12start_objectEm: push rbp push r15 push r14; char push rbx; int sub rsp, 58h mov r15, rsi mov...
char nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::start_object( ...
start_object: PUSH RBP PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x58 MOV R15,RSI MOV R14,RDI ADD RDI,0x80 LEA RBX,[R14 + 0x8] MOV RSI,qword ptr [R14 + 0x10] SUB RSI,qword ptr [R14 + 0x8] SHR RSI,0x3 LEA RCX,[R14 + 0xa8] XOR EDX,EDX CALL 0x00168ad2 LEA RDI,[R14 + 0x20] MOVZX ESI,AL CALL 0x00167d78 LEA RSI,[RSP + 0x8] MOV byte...
/* nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all...
11,683
my_rw_init
eloqsql/mysys/thr_rwlock.c
int my_rw_init(my_rw_lock_t *rwp) { pthread_condattr_t cond_attr; pthread_mutex_init( &rwp->lock, MY_MUTEX_INIT_FAST); pthread_condattr_init( &cond_attr ); pthread_cond_init( &rwp->readers, &cond_attr ); pthread_cond_init( &rwp->writers, &cond_attr ); pthread_condattr_destroy(&cond_attr); rwp->state = 0...
O3
c
my_rw_init: pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdi, %rbx leaq 0x351b7b(%rip), %rsi # 0x3b1370 callq 0x28600 leaq -0x14(%rbp), %r14 movq %r14, %rdi callq 0x28090 leaq 0x28(%rbx), %rdi movq %r14, %rsi callq 0x284e0 leaq 0x58(%rbx), %rdi movq %r14, %rsi callq 0x284e0 movq %r14, %rdi...
my_rw_init: push rbp mov rbp, rsp push r14 push rbx sub rsp, 10h mov rbx, rdi lea rsi, my_fast_mutexattr call _pthread_mutex_init lea r14, [rbp+var_14] mov rdi, r14 call _pthread_condattr_init lea rdi, [rbx+28h] mov rsi, r14 call _pthread_cond_init lea rdi, [rbx+58h...
long long my_rw_init(long long a1) { _BYTE v2[20]; // [rsp+Ch] [rbp-14h] BYREF pthread_mutex_init(a1, &my_fast_mutexattr); pthread_condattr_init(v2); pthread_cond_init(a1 + 40, v2); pthread_cond_init(a1 + 88, v2); pthread_condattr_destroy(v2); *(_QWORD *)(a1 + 136) = 0LL; return 0LL; }
my_rw_init: PUSH RBP MOV RBP,RSP PUSH R14 PUSH RBX SUB RSP,0x10 MOV RBX,RDI LEA RSI,[0x4b1370] CALL 0x00128600 LEA R14,[RBP + -0x14] MOV RDI,R14 CALL 0x00128090 LEA RDI,[RBX + 0x28] MOV RSI,R14 CALL 0x001284e0 LEA RDI,[RBX + 0x58] MOV RSI,R14 CALL 0x001284e0 MOV RDI,R14 CALL 0x001281b0 MOV qword ptr [RBX + 0x88],0x0 XO...
int8 my_rw_init(pthread_mutex_t *param_1) { pthread_condattr_t local_1c; pthread_mutex_init(param_1,(pthread_mutexattr_t *)&my_fast_mutexattr); pthread_condattr_init(&local_1c); pthread_cond_init((pthread_cond_t *)(param_1 + 1),&local_1c); pthread_cond_init((pthread_cond_t *)((long)param_1 + 0x58),&local...
11,684
my_strnxfrm_uca_pad
eloqsql/strings/ctype-uca.c
static uchar * my_strnxfrm_uca_pad(uchar *dst, uchar *de, int weight) { for ( ; dst < de; ) { *dst++= weight >> 8; if (dst < de) *dst++= weight & 0xFF; } return dst; }
O0
c
my_strnxfrm_uca_pad: pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x8(%rbp), %rax cmpq -0x10(%rbp), %rax jae 0x59d79 movl -0x14(%rbp), %eax sarl $0x8, %eax movb %al, %cl movq -0x8(%rbp), %rax movq %rax, %rdx addq $0x1, %rdx movq %rdx, -0x8(%rbp) movb %cl, (%rax) m...
my_strnxfrm_uca_pad: push rbp mov rbp, rsp mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_14], edx loc_59D2F: mov rax, [rbp+var_8] cmp rax, [rbp+var_10] jnb short loc_59D79 mov eax, [rbp+var_14] sar eax, 8 mov cl, al mov rax, [rbp+var_8] mov rdx, rax add r...
_BYTE * my_strnxfrm_uca_pad(_BYTE *a1, unsigned long long a2, __int16 a3) { _BYTE *v3; // rax _BYTE *v4; // rax while ( (unsigned long long)a1 < a2 ) { v3 = a1++; *v3 = HIBYTE(a3); if ( (unsigned long long)a1 < a2 ) { v4 = a1++; *v4 = a3; } } return a1; }
my_strnxfrm_uca_pad: PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV dword ptr [RBP + -0x14],EDX LAB_00159d2f: MOV RAX,qword ptr [RBP + -0x8] CMP RAX,qword ptr [RBP + -0x10] JNC 0x00159d79 MOV EAX,dword ptr [RBP + -0x14] SAR EAX,0x8 MOV CL,AL MOV RAX,qword ptr [RBP + -0x8] MOV RD...
int1 * my_strnxfrm_uca_pad(int1 *param_1,int1 *param_2,int4 param_3) { int1 *puVar1; int1 *local_10; puVar1 = param_1; while (local_10 = puVar1, local_10 < param_2) { puVar1 = local_10 + 1; *local_10 = (char)((uint)param_3 >> 8); if (puVar1 < param_2) { *puVar1 = (char)param_3; puVa...
11,685
alloc_root
eloqsql/mysys/my_alloc.c
void *alloc_root(MEM_ROOT *mem_root, size_t length) { #if defined(HAVE_valgrind) && defined(EXTRA_DEBUG) reg1 USED_MEM *next; DBUG_ENTER("alloc_root"); DBUG_PRINT("enter",("root: %p", mem_root)); DBUG_ASSERT(alloc_root_inited(mem_root)); DBUG_EXECUTE_IF("simulate_out_of_memory", { ...
O0
c
alloc_root: pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq $0x0, -0x38(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x48(%rbp) jmp 0x429e2 jmp 0x429e4 jmp 0x429e6 jmp 0x429e8 jmp 0x429ea movq -0x18(%rbp), %rax addq $0x8, %rax subq $0x1, %rax andq $-0x8, %rax addq $0x0, %rax m...
alloc_root: push rbp mov rbp, rsp sub rsp, 60h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_38], 0 mov rax, [rbp+var_18] mov [rbp+var_48], rax jmp short $+2 loc_429E2: jmp short $+2 loc_429E4: jmp short $+2 loc_429E6: jmp short $+2 loc_429E8: jmp short $+2 ...
char * alloc_root(_QWORD **a1, long long a2) { unsigned int v2; // eax unsigned int v3; // edi int v4; // eax unsigned long long v5; // rax unsigned long long v7; // [rsp+8h] [rbp-58h] bool v8; // [rsp+17h] [rbp-49h] _QWORD *v9; // [rsp+20h] [rbp-40h] _QWORD *i; // [rsp+28h] [rbp-38h] _QWORD *v11; // ...
alloc_root: PUSH RBP MOV RBP,RSP SUB RSP,0x60 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV qword ptr [RBP + -0x38],0x0 MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x48],RAX JMP 0x001429e2 LAB_001429e2: JMP 0x001429e4 LAB_001429e4: JMP 0x001429e6 LAB_001429e6: JMP 0x001429e8 LAB_001429e8...
long alloc_root(long *param_1,long param_2) { long *plVar1; long lVar2; long lVar3; long lVar4; uint uVar5; ulong uVar6; bool bVar7; ulong local_60; long *local_48; long *local_40; local_40 = (long *)0x0; uVar6 = param_2 + 7U & 0xfffffffffffffff8; local_48 = param_1; if (*param_1 != 0) ...
11,686
alloc_root
eloqsql/mysys/my_alloc.c
void *alloc_root(MEM_ROOT *mem_root, size_t length) { #if defined(HAVE_valgrind) && defined(EXTRA_DEBUG) reg1 USED_MEM *next; DBUG_ENTER("alloc_root"); DBUG_PRINT("enter",("root: %p", mem_root)); DBUG_ASSERT(alloc_root_inited(mem_root)); DBUG_EXECUTE_IF("simulate_out_of_memory", { ...
O3
c
alloc_root: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx addq $0x7, %r14 andq $-0x8, %r14 movq (%rdi), %rax movq %rdi, %r12 testq %rax, %rax je 0x361b2 cmpq %r14, 0x8(%rax) jae 0x36199 movl 0x2c(%rbx), %ecx leal 0x1(%rcx), %edx movl %edx, 0x2c(%rbx) cmpl $0xa, %...
alloc_root: push rbp mov rbp, rsp push r15 push r14 push r12 push rbx mov r14, rsi mov rbx, rdi add r14, 7 and r14, 0FFFFFFFFFFFFFFF8h mov rax, [rdi] mov r12, rdi test rax, rax jz short loc_361B2 cmp [rax+8], r14 jnb short loc_36199 mov ecx, [rbx+2Ch] lea ...
char * alloc_root(long long a1, long long a2) { unsigned long long v2; // r14 _QWORD *v3; // rax _QWORD *v4; // r12 unsigned int v5; // ecx _QWORD *v6; // rax unsigned long long v7; // rdx long long v8; // rdx unsigned long long v9; // r15 char *v10; // rcx unsigned long long v11; // rdx void (*v1...
alloc_root: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R12 PUSH RBX MOV R14,RSI MOV RBX,RDI ADD R14,0x7 AND R14,-0x8 MOV RAX,qword ptr [RDI] MOV R12,RDI TEST RAX,RAX JZ 0x001361b2 CMP qword ptr [RAX + 0x8],R14 JNC 0x00136199 MOV ECX,dword ptr [RBX + 0x2c] LEA EDX,[RCX + 0x1] MOV dword ptr [RBX + 0x2c],EDX CMP ECX,0xa ...
long alloc_root(long *param_1,long param_2) { uint uVar1; long *plVar2; long lVar3; long *plVar4; long *plVar5; ulong uVar6; ulong uVar7; uVar6 = param_2 + 7U & 0xfffffffffffffff8; plVar2 = (long *)*param_1; plVar5 = param_1; if (plVar2 == (long *)0x0) { LAB_001361b2: uVar7 = (ulong)(*(ui...
11,687
hashcmp
eloqsql/mysys/hash.c
static int hashcmp(const HASH *hash, HASH_LINK *pos, const uchar *key, size_t length) { size_t rec_keylength; uchar *rec_key= (uchar*) my_hash_key(hash, pos->data, &rec_keylength, 1); return ((length && length != rec_keylength) || my_strnncoll(hash->charset, (uchar*) rec_key, rec_keylength, ...
O3
c
hashcmp: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rcx, %r15 movq %rdx, %rbx movq %rdi, %r14 movq 0x50(%rdi), %rax testq %rax, %rax je 0xb3bd4 leaq -0x28(%rbp), %r12 movq %rsi, %rdi movq %r12, %rsi movl $0x1, %edx callq *%rax movq %rax, %rsi movq (%r12), %rdx jmp 0xb3...
hashcmp: push rbp mov rbp, rsp push r15 push r14 push r12 push rbx sub rsp, 10h mov r15, rcx mov rbx, rdx mov r14, rdi mov rax, [rdi+50h] test rax, rax jz short loc_B3BD4 lea r12, [rbp+var_28] mov rdi, rsi mov rsi, r12 mov edx, 1 call rax mov rsi, ra...
_BOOL8 hashcmp(_QWORD *a1, long long a2, long long a3, long long a4) { long long ( *v6)(long long, _QWORD *, long long); // rax long long v7; // rsi long long v8; // rdx _BOOL8 result; // rax _QWORD v10[5]; // [rsp+8h] [rbp-28h] BYREF v6 = (long long ( *)(long long, _QWORD *, long long))a1[10]; if ( v6 ...
hashcmp: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R12 PUSH RBX SUB RSP,0x10 MOV R15,RCX MOV RBX,RDX MOV R14,RDI MOV RAX,qword ptr [RDI + 0x50] TEST RAX,RAX JZ 0x001b3bd4 LEA R12,[RBP + -0x28] MOV RDI,RSI MOV RSI,R12 MOV EDX,0x1 CALL RAX MOV RSI,RAX MOV RDX,qword ptr [R12] JMP 0x001b3bdf LAB_001b3bd4: MOV RDX,qword p...
bool hashcmp(long *param_1,long param_2,int8 param_3,long param_4) { int iVar1; bool bVar2; long local_30; if ((code *)param_1[10] == (code *)0x0) { local_30 = param_1[1]; param_2 = param_2 + *param_1; } else { param_2 = (*(code *)param_1[10])(param_2,&local_30,1); } bVar2 = true; if ...
11,688
parse_time
eloqsql/libmariadb/libmariadb/ma_stmt_codec.c
static int parse_time(const char *str, size_t length, const char **end_ptr, MYSQL_TIME *tm) { int err= 0; const char *p = str; const char *end = str + length; size_t frac_len; int ret=1; tm->hour = my_strtoui(p, end-p, &p, &err); if (err || tm->hour > 838 || p == end || *p != ':' ) goto end; p++; ...
O0
c
parse_time: pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movl $0x0, -0x24(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x30(%rbp) movq -0x8(%rbp), %rax addq -0x10(%rbp), %rax movq %rax, -0x38(%rbp) movl $0x1, -0x44(%rbp) movq -0x30(%rb...
parse_time: push rbp mov rbp, rsp sub rsp, 50h mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov [rbp+var_20], rcx mov [rbp+var_24], 0 mov rax, [rbp+var_8] mov [rbp+var_30], rax mov rax, [rbp+var_8] add rax, [rbp+var_10] mov [rbp+var_38], rax mov ...
long long parse_time(_BYTE *a1, long long a2, _QWORD *a3, long long a4) { int v4; // eax int v5; // eax int v6; // eax unsigned int v7; // eax unsigned long long v9; // [rsp+0h] [rbp-50h] unsigned int v10; // [rsp+Ch] [rbp-44h] _BYTE *v11; // [rsp+18h] [rbp-38h] _BYTE *v12; // [rsp+20h] [rbp-30h] BYREF...
parse_time: PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV qword ptr [RBP + -0x20],RCX MOV dword ptr [RBP + -0x24],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RBP + -0x30],RAX MOV RAX,qword ptr [RBP + -0x8] ADD RAX,qword ptr [RB...
int4 parse_time(char *param_1,long param_2,int8 *param_3,long param_4) { int4 uVar1; uint uVar2; char *pcVar3; ulong local_58; int4 local_4c; char *local_38; int local_2c; long local_28; int8 *local_20; long local_18; char *local_10; local_2c = 0; pcVar3 = param_1 + param_2; local_4c = ...
11,689
parse_time
eloqsql/libmariadb/libmariadb/ma_stmt_codec.c
static int parse_time(const char *str, size_t length, const char **end_ptr, MYSQL_TIME *tm) { int err= 0; const char *p = str; const char *end = str + length; size_t frac_len; int ret=1; tm->hour = my_strtoui(p, end-p, &p, &err); if (err || tm->hour > 838 || p == end || *p != ':' ) goto end; p++; ...
O3
c
parse_time: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rcx, %r14 movq %rdx, %rbx movl $0x0, -0x24(%rbp) leaq (%rdi,%rsi), %rax testq %rsi, %rsi jle 0x521a4 movabsq $0x1999999999999999, %r8 # imm = 0x1999999999999999 xorl %edx, %edx xorl %esi, %esi xorl %ecx, %ecx movsb...
parse_time: push rbp mov rbp, rsp push r15 push r14 push r12 push rbx sub rsp, 10h mov r14, rcx mov rbx, rdx mov [rbp+var_24], 0 lea rax, [rdi+rsi] test rsi, rsi jle short loc_521A4 mov r8, 1999999999999999h xor edx, edx xor esi, esi xor ecx, ecx loc_5215C: ...
long long parse_time(_BYTE *a1, long long a2, _BYTE **a3, long long a4, long long a5) { _BYTE *v7; // rax int v8; // edx long long v9; // rsi unsigned long long v10; // rcx long long v11; // r9 unsigned long long v12; // r9 unsigned int v13; // r15d _BYTE *v14; // rdi int v15; // edx long long v16;...
parse_time: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R12 PUSH RBX SUB RSP,0x10 MOV R14,RCX MOV RBX,RDX MOV dword ptr [RBP + -0x24],0x0 LEA RAX,[RDI + RSI*0x1] TEST RSI,RSI JLE 0x001521a4 MOV R8,0x1999999999999999 XOR EDX,EDX XOR ESI,ESI XOR ECX,ECX LAB_0015215c: MOVSX R9,byte ptr [RDI + RSI*0x1] LEA R10D,[R9 + -0x3a...
int8 parse_time(char *param_1,long param_2,ulong *param_3,long param_4) { char cVar1; long lVar2; ulong uVar3; ulong uVar4; int iVar5; long lVar6; char *pcVar7; int8 uVar8; int8 uVar9; char *local_38; int local_2c; local_2c = 0; pcVar7 = param_1 + param_2; if (param_2 < 1) { uVar4 =...
11,690
my_thread_destroy_common_mutex
eloqsql/mysys/my_thr_init.c
void my_thread_destroy_common_mutex(void) { mysql_mutex_destroy(&THR_LOCK_open); mysql_mutex_destroy(&THR_LOCK_lock); mysql_mutex_destroy(&THR_LOCK_myisam); mysql_mutex_destroy(&THR_LOCK_myisam_mmap); mysql_mutex_destroy(&THR_LOCK_heap); mysql_mutex_destroy(&THR_LOCK_net); mysql_mutex_destroy(&THR_LOCK_ch...
O0
c
my_thread_destroy_common_mutex: pushq %rbp movq %rsp, %rbp leaq 0x35f4bd(%rip), %rdi # 0x385968 callq 0x26500 leaq 0x35f4f9(%rip), %rdi # 0x3859b0 callq 0x26500 leaq 0x35f535(%rip), %rdi # 0x3859f8 callq 0x26500 leaq 0x35f571(%rip), %rdi # 0x385a40 callq 0x26500 leaq 0x35f5ad(%rip), %rdi # 0x385a88 callq...
my_thread_destroy_common_mutex: push rbp mov rbp, rsp lea rdi, THR_LOCK_open call inline_mysql_mutex_destroy lea rdi, THR_LOCK_lock call inline_mysql_mutex_destroy lea rdi, THR_LOCK_myisam call inline_mysql_mutex_destroy lea rdi, THR_LOCK_myisam_mmap call inline_mysql_mutex_destroy le...
long long my_thread_destroy_common_mutex() { inline_mysql_mutex_destroy(&THR_LOCK_open); inline_mysql_mutex_destroy(&THR_LOCK_lock); inline_mysql_mutex_destroy(&THR_LOCK_myisam); inline_mysql_mutex_destroy(&THR_LOCK_myisam_mmap); inline_mysql_mutex_destroy(&THR_LOCK_heap); inline_mysql_mutex_destroy(&THR_LO...
my_thread_destroy_common_mutex: PUSH RBP MOV RBP,RSP LEA RDI,[0x485968] CALL 0x00126500 LEA RDI,[0x4859b0] CALL 0x00126500 LEA RDI,[0x4859f8] CALL 0x00126500 LEA RDI,[0x485a40] CALL 0x00126500 LEA RDI,[0x485a88] CALL 0x00126500 LEA RDI,[0x485ad0] CALL 0x00126500 LEA RDI,[0x485b18] CALL 0x00126500 POP RBP RET
void my_thread_destroy_common_mutex(void) { inline_mysql_mutex_destroy(THR_LOCK_open); inline_mysql_mutex_destroy(THR_LOCK_lock); inline_mysql_mutex_destroy(THR_LOCK_myisam); inline_mysql_mutex_destroy(THR_LOCK_myisam_mmap); inline_mysql_mutex_destroy(THR_LOCK_heap); inline_mysql_mutex_destroy(THR_LOCK_ne...
11,691
my_strxfrm_pad_nweights_unicode
eloqsql/strings/ctype-utf8.c
size_t my_strxfrm_pad_nweights_unicode(uchar *str, uchar *strend, size_t nweights) { uchar *str0; DBUG_ASSERT(str && str <= strend); for (str0= str; str < strend && nweights; nweights--) { *str++= 0x00; if (str < strend) *str++= 0x20; } return str - str0; }
O3
c
my_strxfrm_pad_nweights_unicode: cmpq %rsi, %rdi setae %al testq %rdx, %rdx sete %cl orb %al, %cl movq %rdi, %rax jne 0x6e465 pushq %rbp movq %rsp, %rbp decq %rdx movq %rdi, %rcx leaq 0x1(%rcx), %rax movb $0x0, (%rcx) cmpq %rsi, %rax jae 0x6e44f movb $0x20, 0x1(%rcx) addq $0x2, %rcx movq %rcx, %rax addq $-0x1, %rdx set...
my_strxfrm_pad_nweights_unicode: cmp rdi, rsi setnb al test rdx, rdx setz cl or cl, al mov rax, rdi jnz short loc_6E465 push rbp mov rbp, rsp dec rdx mov rcx, rdi loc_6E438: lea rax, [rcx+1] mov byte ptr [rcx], 0 cmp rax, rsi jnb short loc_6E44F mov byte ptr [...
long long my_strxfrm_pad_nweights_unicode(_BYTE *a1, unsigned long long a2, long long a3) { _BYTE *v3; // rax long long v4; // rdx _BYTE *v5; // rcx bool v6; // cf v3 = a1; if ( (unsigned long long)a1 < a2 && a3 != 0 ) { v4 = a3 - 1; v5 = a1; do { v3 = v5 + 1; *v5 = 0; ...
my_strxfrm_pad_nweights_unicode: CMP RDI,RSI SETNC AL TEST RDX,RDX SETZ CL OR CL,AL MOV RAX,RDI JNZ 0x0016e465 PUSH RBP MOV RBP,RSP DEC RDX MOV RCX,RDI LAB_0016e438: LEA RAX,[RCX + 0x1] MOV byte ptr [RCX],0x0 CMP RAX,RSI JNC 0x0016e44f MOV byte ptr [RCX + 0x1],0x20 ADD RCX,0x2 MOV RAX,RCX LAB_0016e44f: ADD RDX,-0x1 SET...
long my_strxfrm_pad_nweights_unicode(int1 *param_1,int1 *param_2,long param_3) { int1 *puVar1; int1 *puVar2; bool bVar3; puVar2 = param_1; if (param_3 != 0 && param_1 < param_2) { param_3 = param_3 + -1; puVar1 = param_1; do { puVar2 = puVar1 + 1; *puVar1 = 0; if (puVar2 < p...
11,692
minja::Value::operator-() const
monkey531[P]llama/common/minja.hpp
Value operator-() const { if (is_number_integer()) return -get<int64_t>(); else return -get<double>(); }
O3
cpp
minja::Value::operator-() const: pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movb 0x40(%rsi), %al addb $-0x5, %al leaq 0x40(%rdi), %r14 movq %rsi, %rdi cmpb $0x1, %al ja 0xaa224 callq 0xaa3e6 negq %rax xorps %xmm0, %xmm0 movups %xmm0, (%rbx) movups %xmm0, 0x10(%rbx) movups %xmm0, 0x20(%rbx) movups %xmm0, 0x30(%rbx...
_ZNK5minja5ValuengEv: push r14 push rbx push rax mov rbx, rdi mov al, [rsi+40h] add al, 0FBh lea r14, [rdi+40h] mov rdi, rsi cmp al, 1 ja short loc_AA224 call _ZNK5minja5Value3getIlEET_v; minja::Value::get<long>(void) neg rax xorps xmm0, xmm0 movups xmmword ptr [rbx], xmm...
_OWORD * minja::Value::operator-(_OWORD *a1, long long a2) { unsigned __int8 *v2; // r14 long long v3; // rax double v4; // xmm0_8 v2 = (unsigned __int8 *)(a1 + 4); if ( (unsigned __int8)(*(_BYTE *)(a2 + 64) - 5) > 1u ) { v4 = minja::Value::get<double>(a2); *a1 = 0LL; a1[1] = 0LL; a1[2] = 0...
operator-: PUSH R14 PUSH RBX PUSH RAX MOV RBX,RDI MOV AL,byte ptr [RSI + 0x40] ADD AL,0xfb LEA R14,[RDI + 0x40] MOV RDI,RSI CMP AL,0x1 JA 0x001aa224 CALL 0x001aa3e6 NEG RAX XORPS XMM0,XMM0 MOVUPS xmmword ptr [RBX],XMM0 MOVUPS xmmword ptr [RBX + 0x10],XMM0 MOVUPS xmmword ptr [RBX + 0x20],XMM0 MOVUPS xmmword ptr [RBX + 0...
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ /* minja::Value::TEMPNAMEPLACEHOLDERVALUE() const */ Value * __thiscall minja::Value::operator-(Value *this) { Value *pVVar1; double dVar2; long lVar3; Value *in_RSI; uint uVar4; pVVar1 = this + 0x40; if ((byte)((ch...
11,693
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c...
llama.cpp/common/json.hpp
reference at(KeyType && key) { // at only works for objects if (JSON_HEDLEY_UNLIKELY(!is_object())) { JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this)); } auto it = m_data.m_value.object->find(std::forward<KeyType>(ke...
O3
cpp
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c...
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA5_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_: push rbp; void * push r15; int push r14;...
long long ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA5_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_( long long a1, const cha...
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA5_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_: PUSH RBP PUSH R15 PUSH R14 PUSH R12 PUSH RBX SUB ...
char * _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA5_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_ (basic_json<nlohmann::jso...
11,694
mi_update_status_with_lock
eloqsql/storage/myisam/mi_locking.c
static void mi_update_status_with_lock(MI_INFO *info) { my_bool locked= 0; if (info->state == &info->save_state) { locked= 1; mysql_mutex_lock(&info->s->lock.mutex); } mi_update_status(info); if (locked) mysql_mutex_unlock(&info->s->lock.mutex); }
O3
c
mi_update_status_with_lock: pushq %rbp movq %rsp, %rbp pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x10(%rdi), %rax cmpq %rax, 0x8(%rdi) je 0x7db2d movq %rbx, %rdi addq $0x8, %rsp popq %rbx popq %rbp jmp 0x7dd0a movq (%rbx), %rax leaq 0x3a0(%rax), %rdi cmpq $0x0, 0x3e0(%rax) jne 0x7db72 callq 0x2a1f0 movq %rbx, %rdi cal...
mi_update_status_with_lock: push rbp mov rbp, rsp push rbx push rax mov rbx, rdi lea rax, [rdi+10h] cmp [rdi+8], rax jz short loc_7DB2D mov rdi, rbx add rsp, 8 pop rbx pop rbp jmp mi_update_status loc_7DB2D: mov rax, [rbx] lea rdi, [rax+3A0h] cmp qword ptr [...
long long mi_update_status_with_lock(_QWORD *a1) { long long v3; // rdi long long v4; // rbx long long v5; // rdi long long v6; // rbx if ( (_QWORD *)a1[1] != a1 + 2 ) return mi_update_status(a1); v3 = *a1 + 928LL; if ( *(_QWORD *)(*a1 + 992LL) ) psi_mutex_lock(v3, (long long)"/workspace/llm4bin...
mi_update_status_with_lock: PUSH RBP MOV RBP,RSP PUSH RBX PUSH RAX MOV RBX,RDI LEA RAX,[RDI + 0x10] CMP qword ptr [RDI + 0x8],RAX JZ 0x0017db2d MOV RDI,RBX ADD RSP,0x8 POP RBX POP RBP JMP 0x0017dd0a LAB_0017db2d: MOV RAX,qword ptr [RBX] LEA RDI,[RAX + 0x3a0] CMP qword ptr [RAX + 0x3e0],0x0 JNZ 0x0017db72 CALL 0x0012a1f...
void mi_update_status_with_lock(long *param_1) { pthread_mutex_t *__mutex; long lVar1; if ((long *)param_1[1] != param_1 + 2) { mi_update_status(param_1); return; } __mutex = (pthread_mutex_t *)(*param_1 + 0x3a0); if (*(long *)(*param_1 + 0x3e0) == 0) { pthread_mutex_lock(__mutex); } el...
11,695
string_indexof_char
bluesky950520[P]quickjs/quickjs.c
static int string_indexof_char(JSString *p, int c, int from) { /* assuming 0 <= from <= p->len */ int i, len = p->len; if (p->is_wide_char) { for (i = from; i < len; i++) { if (p->u.str16[i] == c) return i; } } else { if ((c & ~0xff) == 0) { ...
O0
c
string_indexof_char: movq %rdi, -0x10(%rsp) movl %esi, -0x14(%rsp) movl %edx, -0x18(%rsp) movq -0x10(%rsp), %rax movq 0x4(%rax), %rax andq $0x7fffffff, %rax # imm = 0x7FFFFFFF movl %eax, -0x20(%rsp) movq -0x10(%rsp), %rax movq 0x4(%rax), %rax shrq $0x1f, %rax andq $0x1, %rax cmpb $0x0, %al je 0x847f7 movl -0x18(%...
string_indexof_char: mov [rsp+var_10], rdi mov [rsp+var_14], esi mov [rsp+var_18], edx mov rax, [rsp+var_10] mov rax, [rax+4] and rax, 7FFFFFFFh mov [rsp+var_20], eax mov rax, [rsp+var_10] mov rax, [rax+4] shr rax, 1Fh and rax, 1 cmp al, 0 jz short loc_847F7 mov ...
long long string_indexof_char(long long a1, int a2, unsigned int a3) { int v4; // [rsp+0h] [rbp-20h] unsigned int i; // [rsp+4h] [rbp-1Ch] unsigned int j; // [rsp+4h] [rbp-1Ch] v4 = *(_QWORD *)(a1 + 4) & 0x7FFFFFFF; if ( (*(_QWORD *)(a1 + 4) & 0x80000000LL) != 0 ) { for ( i = a3; (int)i < v4; ++i ) ...
string_indexof_char: MOV qword ptr [RSP + -0x10],RDI MOV dword ptr [RSP + -0x14],ESI MOV dword ptr [RSP + -0x18],EDX MOV RAX,qword ptr [RSP + -0x10] MOV RAX,qword ptr [RAX + 0x4] AND RAX,0x7fffffff MOV dword ptr [RSP + -0x20],EAX MOV RAX,qword ptr [RSP + -0x10] MOV RAX,qword ptr [RAX + 0x4] SHR RAX,0x1f AND RAX,0x1 CMP...
int string_indexof_char(long param_1,uint param_2,int param_3) { uint uVar1; int local_1c; uVar1 = (uint)*(int8 *)(param_1 + 4) & 0x7fffffff; local_1c = param_3; if ((*(ulong *)(param_1 + 4) >> 0x1f & 1) == 0) { if ((param_2 & 0xffffff00) == 0) { for (; local_1c < (int)uVar1; local_1c = local_1...
11,696
string_indexof_char
bluesky950520[P]quickjs/quickjs.c
static int string_indexof_char(JSString *p, int c, int from) { /* assuming 0 <= from <= p->len */ int i, len = p->len; if (p->is_wide_char) { for (i = from; i < len; i++) { if (p->u.str16[i] == c) return i; } } else { if ((c & ~0xff) == 0) { ...
O1
c
string_indexof_char: movq 0x4(%rdi), %rcx movl %ecx, %r8d andl $0x7fffffff, %r8d # imm = 0x7FFFFFFF movl $0xffffffff, %eax # imm = 0xFFFFFFFF testl %ecx, %ecx js 0x4b9a5 cmpl $0xff, %esi ja 0x4b9a4 cmpl %edx, %r8d jle 0x4b9a4 movslq %edx, %r9 andl $0x7fffffff, %ecx # imm = 0x7FFFFFFF leaq (%r9,%rdi), ...
string_indexof_char: mov rcx, [rdi+4] mov r8d, ecx and r8d, 7FFFFFFFh mov eax, 0FFFFFFFFh test ecx, ecx js short loc_4B9A5 cmp esi, 0FFh ja short locret_4B9A4 cmp r8d, edx jle short locret_4B9A4 movsxd r9, edx and ecx, 7FFFFFFFh lea r8, [r9+rdi] add r8, 18h sub ...
long long string_indexof_char(long long a1, unsigned int a2, int a3) { long long v3; // rcx int v4; // r8d long long result; // rax long long v6; // r8 long long v7; // rcx long long v8; // rdi long long v9; // r8 long long v10; // rcx v3 = *(_QWORD *)(a1 + 4); v4 = v3 & 0x7FFFFFFF; result = 0xF...
string_indexof_char: MOV RCX,qword ptr [RDI + 0x4] MOV R8D,ECX AND R8D,0x7fffffff MOV EAX,0xffffffff TEST ECX,ECX JS 0x0014b9a5 CMP ESI,0xff JA 0x0014b9a4 CMP R8D,EDX JLE 0x0014b9a4 MOVSXD R9,EDX AND ECX,0x7fffffff LEA R8,[R9 + RDI*0x1] ADD R8,0x18 SUB RCX,R9 XOR EDI,EDI LAB_0014b992: MOVZX R9D,byte ptr [R8 + RDI*0x1] ...
int string_indexof_char(long param_1,uint param_2,int param_3) { uint uVar1; long lVar2; uVar1 = (uint)*(int8 *)(param_1 + 4); if ((int)uVar1 < 0) { if (param_3 < (int)(uVar1 & 0x7fffffff)) { lVar2 = 0; do { if (*(ushort *)(param_1 + (long)param_3 * 2 + 0x18 + lVar2 * 2) == param_2)...
11,697
string_indexof_char
bluesky950520[P]quickjs/quickjs.c
static int string_indexof_char(JSString *p, int c, int from) { /* assuming 0 <= from <= p->len */ int i, len = p->len; if (p->is_wide_char) { for (i = from; i < len; i++) { if (p->u.str16[i] == c) return i; } } else { if ((c & ~0xff) == 0) { ...
O2
c
string_indexof_char: movq 0x4(%rdi), %rcx testl %ecx, %ecx js 0x4152d pushq $-0x1 popq %rax cmpl $0xff, %esi ja 0x41550 andl $0x7fffffff, %ecx # imm = 0x7FFFFFFF movslq %edx, %rdx cmpq %rcx, %rdx jge 0x41550 movzbl 0x18(%rdi,%rdx), %r8d cmpl %esi, %r8d je 0x4154e incq %rdx jmp 0x41518 movslq %edx, %rdx andl $0x7f...
string_indexof_char: mov rcx, [rdi+4] test ecx, ecx js short loc_4152D push 0FFFFFFFFFFFFFFFFh pop rax cmp esi, 0FFh ja short locret_41550 and ecx, 7FFFFFFFh movsxd rdx, edx loc_41518: cmp rdx, rcx jge short locret_41550 movzx r8d, byte ptr [rdi+rdx+18h] cmp r8d, esi jz ...
long long string_indexof_char(long long a1, unsigned int a2, long long i) { long long v3; // rcx long long result; // rax unsigned int v5; // ecx unsigned int v6; // ecx v3 = *(_QWORD *)(a1 + 4); if ( (int)v3 < 0 ) { i = (int)i; v6 = v3 & 0x7FFFFFFF; result = -1LL; while ( i < v6 ) {...
string_indexof_char: MOV RCX,qword ptr [RDI + 0x4] TEST ECX,ECX JS 0x0014152d PUSH -0x1 POP RAX CMP ESI,0xff JA 0x00141550 AND ECX,0x7fffffff MOVSXD RDX,EDX LAB_00141518: CMP RDX,RCX JGE 0x00141550 MOVZX R8D,byte ptr [RDI + RDX*0x1 + 0x18] CMP R8D,ESI JZ 0x0014154e INC RDX JMP 0x00141518 LAB_0014152d: MOVSXD RDX,EDX AN...
ulong string_indexof_char(long param_1,uint param_2,int param_3) { uint uVar1; ulong uVar2; uVar1 = (uint)*(int8 *)(param_1 + 4); if ((int)uVar1 < 0) { for (uVar2 = (ulong)param_3; (long)uVar2 < (long)(ulong)(uVar1 & 0x7fffffff); uVar2 = uVar2 + 1) { if (*(ushort *)(param_1 + 0x18 + uVar2 * 2...
11,698
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c...
monkey531[P]llama/common/json.hpp
reference operator[](T* key) { return operator[](typename object_t::key_type(key)); }
O3
cpp
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c...
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixIKcEERSD_PT_: push r14 push rbx sub rsp, 28h mov rbx, rdi lea r14, [rsp+38h+var_30] lea rdx, [rsp+38h+var_31] mov rdi, r14 call ...
long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::operator[]<char const>( long long a1, _BYTE *a2) { long long v2; ...
operator[]<char_const>: PUSH R14 PUSH RBX SUB RSP,0x28 MOV RBX,RDI LEA R14,[RSP + 0x8] LEA RDX,[RSP + 0x7] MOV RDI,R14 CALL 0x0015333e LAB_001a51de: MOV RDI,RBX MOV RSI,R14 CALL 0x001abc64 LAB_001a51e9: MOV RBX,RAX LEA RAX,[RSP + 0x18] MOV RDI,qword ptr [RAX + -0x10] CMP RDI,RAX JZ 0x001a5207 MOV RSI,qword ptr [RSP + 0...
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> >, void>& nlohmann::json_abi_v3_11_3::ba...
11,699
int ggml::cpu::aarch64::repack<block_iq4_nl, 4l, 4l>(ggml_tensor*, void const*, unsigned long)
ngxson[P]ggml-easy/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp
static int repack_iq4_nl_to_iq4_nl_4_bl(struct ggml_tensor * t, int interleave_block, const void * GGML_RESTRICT data, size_t data_size) { GGML_ASSERT(t->type == GGML_TYPE_IQ4_NL); //GGML_ASSERT(interleave_block == 4 || interleave_block == 8); GGML_ASSERT(interleave_block == 4); block_iq4_nlx4 * dst = ...
O2
cpp
int ggml::cpu::aarch64::repack<block_iq4_nl, 4l, 4l>(ggml_tensor*, void const*, unsigned long): pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp cmpl $0x14, (%rdi) jne 0x12ed1 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq 0xf8(%rdi), %r12 callq 0xbb10 movq %rax, %rcx movq 0x10(%...
_ZN4ggml3cpu7aarch646repackI12block_iq4_nlLl4ELl4EEEiP11ggml_tensorPKvm: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 98h cmp dword ptr [rdi], 14h jnz loc_12ED1 mov r15, rdx mov rbx, rsi mov r14, rdi mov r12, [rdi+0F8h] call _ggml_nrows mov rcx, rax...
long long ggml::cpu::aarch64::repack<block_iq4_nl,4l,4l>( long long a1, long long a2, long long a3, long long a4, long long a5, long long a6, int a7) { int v10; // ecx long long v11; // rsi long long v12; // rax long long result; // rax unsigned long lo...
repack<block_iq4_nl,4l,4l>: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x98 CMP dword ptr [RDI],0x14 JNZ 0x00112ed1 MOV R15,RDX MOV RBX,RSI MOV R14,RDI MOV R12,qword ptr [RDI + 0xf8] CALL 0x0010bb10 MOV RCX,RAX MOV RSI,qword ptr [R14 + 0x10] PUSH 0x20 POP RDI MOV RAX,RSI CQO IDIV RDI MOV EDX,ECX IMUL...
/* int ggml::cpu::aarch64::repack<block_iq4_nl, 4l, 4l>(ggml_tensor*, void const*, unsigned long) */ int ggml::cpu::aarch64::repack<block_iq4_nl,4l,4l>(ggml_tensor *param_1,void *param_2,ulong param_3) { int iVar1; int iVar2; int iVar3; char *pcVar4; int8 uVar5; ulong uVar6; int iVar7; int8 *puVar8; ...