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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
3,400 | find_plugin | eloqsql/build_O3/libmariadb/libmariadb/ma_client_plugin.c | static struct st_mysql_client_plugin *find_plugin(const char *name, int type)
{
struct st_client_plugin_int *p;
int plugin_nr= get_plugin_nr(type);
DBUG_ASSERT(initialized);
if (plugin_nr == -1)
return 0;
if (!name)
return plugin_list[plugin_nr]->plugin;
for (p= plugin_list[plugin_nr]; p; p= p->n... | O3 | c | find_plugin:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r14d, %r14d
leaq 0x12df2(%rip), %rax # 0x3f630
xorl %r15d, %r15d
cmpl %esi, (%r15,%rax)
je 0x2c853
addq $0x8, %r15
cmpq $0x30, %r15
jne 0x2c841
jmp 0x2c889
addq 0x2274e(%rip), %r15 # 0x4efa8
testq %rbx, %rb... | find_plugin:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rbx, rdi
xor r14d, r14d
lea rax, valid_plugins
xor r15d, r15d
loc_2C841:
cmp [r15+rax], esi
jz short loc_2C853
add r15, 8
cmp r15, 30h ; '0'
jnz short loc_2C841
jmp short loc_2C889
loc_... | long long find_plugin(long long a1, int a2)
{
long long v2; // r14
long long v3; // r15
_QWORD *v4; // r15
v2 = 0LL;
v3 = 0LL;
while ( valid_plugins[v3] != a2 )
{
v3 += 2LL;
if ( v3 == 12 )
return v2;
}
v4 = (_QWORD *)((char *)plugin_list + v3 * 4);
if ( !a1 )
return *(_QWORD *)(... | find_plugin:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
XOR R14D,R14D
LEA RAX,[0x13f630]
XOR R15D,R15D
LAB_0012c841:
CMP dword ptr [R15 + RAX*0x1],ESI
JZ 0x0012c853
ADD R15,0x8
CMP R15,0x30
JNZ 0x0012c841
JMP 0x0012c889
LAB_0012c853:
ADD R15,qword ptr [0x0014efa8]
TEST RBX,RBX
JZ 0x0012c87d
LA... |
long find_plugin(char *param_1,int param_2)
{
int iVar1;
long lVar2;
long *plVar3;
lVar2 = 0;
do {
if (*(int *)((long)&valid_plugins + lVar2) == param_2) {
plVar3 = (long *)(PTR_plugin_list_0014efa8 + lVar2);
if (param_1 == (char *)0x0) {
return *(long *)(*plVar3 + 0x10);
}
... | |
3,401 | Create_func_trt_trx_sees<Item_func_trt_trx_sees>::create_native(THD*, st_mysql_const_lex_string const*, List<Item>*) | eloqsql/plugin/versioning/versioning.cc | virtual Item *create_native(THD *thd, const LEX_CSTRING *name,
List<Item> *item_list)
{
Item *func= NULL;
int arg_count= 0;
if (item_list != NULL)
arg_count= item_list->elements;
switch (arg_count) {
case 2:
{
Item *param_1= item_list->pop();
I... | O0 | cpp | Create_func_trt_trx_sees<Item_func_trt_trx_sees>::create_native(THD*, st_mysql_const_lex_string const*, List<Item>*):
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
cmpq $0x0, -0x20(%rbp... | _ZN24Create_func_trt_trx_seesI22Item_func_trt_trx_seesE13create_nativeEP3THDPK25st_mysql_const_lex_stringP4ListI4ItemE:
push rbp
mov rbp, rsp
sub rsp, 80h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], 0
mov [rbp+var_2C], 0
cmp... | long long Create_func_trt_trx_sees<Item_func_trt_trx_sees>::create_native(
long long a1,
long long a2,
_QWORD *a3,
long long a4)
{
long long v5; // [rsp+8h] [rbp-78h]
long long v6; // [rsp+10h] [rbp-70h]
long long v7; // [rsp+40h] [rbp-40h]
long long v8; // [rsp+48h] [rbp-38h]
... | create_native:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
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 qword ptr [RBP + -0x28],0x0
MOV dword ptr [RBP + -0x2c],0x0
CMP qword ptr [RBP + -0x20],0x0
JZ 0x0010fd1b
MOV RAX,qword ptr [RBP + -0x20]
MO... |
/* Create_func_trt_trx_sees<Item_func_trt_trx_sees>::create_native(THD*, st_mysql_const_lex_string
const*, List<Item>*) */
Item_func_trt_trx_sees * __thiscall
Create_func_trt_trx_sees<Item_func_trt_trx_sees>::create_native
(Create_func_trt_trx_sees<Item_func_trt_trx_sees> *this,THD *param_1,
st... | |
3,402 | my_strxfrm_desc_and_reverse | eloqsql/strings/ctype-simple.c | void
my_strxfrm_desc_and_reverse(uchar *str, uchar *strend,
uint flags, uint level)
{
if (flags & (MY_STRXFRM_DESC_LEVEL1 << level))
{
if (flags & (MY_STRXFRM_REVERSE_LEVEL1 << level))
{
for (strend--; str <= strend;)
{
uchar tmp= *str;
*str++= ~*stren... | O3 | c | my_strxfrm_desc_and_reverse:
pushq %rbp
movq %rsp, %rbp
movl %edx, %r8d
shrl %cl, %r8d
movl $0x10000, %eax # imm = 0x10000
shll %cl, %eax
btl $0x8, %r8d
jae 0x7ad98
testl %edx, %eax
je 0x7adcb
decq %rsi
cmpq %rdi, %rsi
jb 0x7adda
incq %rdi
movb -0x1(%rdi), %al
movb (%rsi), %cl
notb %cl
movb %cl, -0x1(%rdi)
not... | my_strxfrm_desc_and_reverse:
push rbp
mov rbp, rsp
mov r8d, edx
shr r8d, cl
mov eax, 10000h
shl eax, cl
bt r8d, 8
jnb short loc_7AD98
test eax, edx
jz short loc_7ADCB
dec rsi
cmp rsi, rdi
jb short loc_7ADDA
inc rdi
loc_7AD79:
mov al, [rdi-1]
mov cl, [rsi]... | char my_strxfrm_desc_and_reverse(_BYTE *a1, _BYTE *a2, unsigned int a3, char a4)
{
int v4; // eax
_BYTE *v5; // rsi
_BYTE *v6; // rdi
char v7; // al
_BYTE *v9; // rsi
_BYTE *v10; // rdi
char v11; // al
v4 = 0x10000 << a4;
if ( ((a3 >> a4) & 0x100) != 0 )
{
if ( (a3 & v4) != 0 )
{
v5 ... | my_strxfrm_desc_and_reverse:
PUSH RBP
MOV RBP,RSP
MOV R8D,EDX
SHR R8D,CL
MOV EAX,0x10000
SHL EAX,CL
BT R8D,0x8
JNC 0x0017ad98
TEST EAX,EDX
JZ 0x0017adcb
DEC RSI
CMP RSI,RDI
JC 0x0017adda
INC RDI
LAB_0017ad79:
MOV AL,byte ptr [RDI + -0x1]
MOV CL,byte ptr [RSI]
NOT CL
MOV byte ptr [RDI + -0x1],CL
NOT AL
MOV byte ptr [RSI... |
void my_strxfrm_desc_and_reverse(byte *param_1,byte *param_2,uint param_3,byte param_4)
{
byte bVar1;
uint uVar2;
byte *pbVar3;
bool bVar4;
uVar2 = 0x10000 << (param_4 & 0x1f);
if (((param_3 >> (param_4 & 0x1f)) >> 8 & 1) == 0) {
param_2 = param_2 + -1;
if (param_1 < param_2 && (uVar2 & param_3... | |
3,403 | ggml_graph_compute_secondary_thread | ngxson[P]ggml-easy/ggml/src/ggml-cpu/ggml-cpu.c | static thread_ret_t ggml_graph_compute_secondary_thread(void* data) {
struct ggml_compute_state * state = (struct ggml_compute_state *) data;
struct ggml_threadpool * threadpool = state->threadpool;
ggml_thread_apply_priority(threadpool->prio);
if (ggml_thread_cpumask_is_valid(state->cpumask)) {
... | O0 | c | ggml_graph_compute_secondary_thread:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq 0x210(%rax), %rax
movq %rax, (%rsp)
movq (%rsp), %rax
movl 0x120(%rax), %edi
callq 0x14b70
movq 0x8(%rsp), %rdi
addq $0x8, %rdi
callq 0x14c70
testb $0x1, %al
jne 0x14ad6
jmp 0... | ggml_graph_compute_secondary_thread:
sub rsp, 18h
mov [rsp+18h+var_8], rdi
mov rax, [rsp+18h+var_8]
mov [rsp+18h+var_10], rax
mov rax, [rsp+18h+var_10]
mov rax, [rax+210h]
mov [rsp+18h+var_18], rax
mov rax, [rsp+18h+var_18]
mov edi, [rax+120h]
call ggml_thread_apply_priority
mov ... | long long ggml_graph_compute_secondary_thread(long long a1)
{
long long v2; // [rsp+0h] [rbp-18h]
v2 = *(_QWORD *)(a1 + 528);
ggml_thread_apply_priority(*(unsigned int *)(v2 + 288));
if ( (ggml_thread_cpumask_is_valid(a1 + 8) & 1) != 0 )
ggml_thread_apply_affinity(a1 + 8);
while ( 1 )
{
while ( (*... | ggml_graph_compute_secondary_thread:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV RAX,qword ptr [RSP + 0x10]
MOV qword ptr [RSP + 0x8],RAX
MOV RAX,qword ptr [RSP + 0x8]
MOV RAX,qword ptr [RAX + 0x210]
MOV qword ptr [RSP],RAX
MOV RAX,qword ptr [RSP]
MOV EDI,dword ptr [RAX + 0x120]
CALL 0x00114b70
MOV RDI,qword ptr [R... |
int8 ggml_graph_compute_secondary_thread(long param_1)
{
pthread_mutex_t *__mutex;
ulong uVar1;
__mutex = *(pthread_mutex_t **)(param_1 + 0x210);
ggml_thread_apply_priority(*(int4 *)((long)__mutex + 0x120));
uVar1 = ggml_thread_cpumask_is_valid(param_1 + 8);
if ((uVar1 & 1) != 0) {
ggml_thread_appl... | |
3,404 | rw_pr_rdlock | eloqsql/mysys/thr_rwlock.c | int rw_pr_rdlock(rw_pr_lock_t *rwlock)
{
pthread_mutex_lock(&rwlock->lock);
/*
The fact that we were able to acquire 'lock' mutex means
that there are no active writers and we can acquire rd-lock.
Increment active readers counter to prevent requests for
wr-lock from succeeding and unlock mutex.
*/... | O0 | c | rw_pr_rdlock:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x24410
movq -0x8(%rbp), %rax
movl 0x58(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x58(%rax)
movq -0x8(%rbp), %rdi
callq 0x24200
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
| rw_pr_rdlock:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]
call _pthread_mutex_lock
mov rax, [rbp+var_8]
mov ecx, [rax+58h]
add ecx, 1
mov [rax+58h], ecx
mov rdi, [rbp+var_8]
call _pthread_mutex_unlock
xor eax, eax
add rsp, 10h
pop ... | long long rw_pr_rdlock(long long a1)
{
pthread_mutex_lock(a1);
++*(_DWORD *)(a1 + 88);
pthread_mutex_unlock(a1);
return 0LL;
}
| rw_pr_rdlock:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x00124410
MOV RAX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [RAX + 0x58]
ADD ECX,0x1
MOV dword ptr [RAX + 0x58],ECX
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x00124200
XOR EAX,EAX
ADD RSP,0x10
POP RBP
RET
|
int8 rw_pr_rdlock(pthread_mutex_t *param_1)
{
pthread_mutex_lock(param_1);
*(int *)((long)param_1 + 0x58) = *(int *)((long)param_1 + 0x58) + 1;
pthread_mutex_unlock(param_1);
return 0;
}
| |
3,405 | ac_str_extend | alca/libalca/utils.c | char *ac_str_extend(char *str, char c)
{
size_t len = 1;
char *newStr = NULL;
if (!str)
newStr = ac_alloc(len + 1);
else
{
len = strlen(str) + 1;
newStr = ac_realloc(str, len + 1);
}
newStr[len - 1] = c;
newStr[len] = '\0';
return newStr;
} | O0 | c | ac_str_extend:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movq $0x1, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x940e
movq -0x18(%rbp), %rax
addq $0x1, %rax
movl %eax, %edi
callq 0x7890
movq %rax, -0x20(%rbp)
jmp 0x9436
movq -0x8(%rbp), %rdi
... | ac_str_extend:
push rbp
mov rbp, rsp
sub rsp, 20h
mov al, sil
mov [rbp+var_8], rdi
mov [rbp+var_9], al
mov [rbp+var_18], 1
mov [rbp+var_20], 0
cmp [rbp+var_8], 0
jnz short loc_940E
mov rax, [rbp+var_18]
add rax, 1
mov edi, eax
call _ac_alloc
mov [rbp+var_20], ra... | long long ac_str_extend(long long a1, char a2)
{
long long v2; // rax
long long v4; // [rsp+0h] [rbp-20h]
long long v5; // [rsp+8h] [rbp-18h]
v5 = 1LL;
if ( a1 )
{
v2 = strlen(a1);
v5 = v2 + 1;
v4 = ac_realloc(a1, (unsigned int)(v2 + 2));
}
else
{
v4 = ac_alloc(2LL);
}
*(_BYTE *)... | ac_str_extend:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV AL,SIL
MOV qword ptr [RBP + -0x8],RDI
MOV byte ptr [RBP + -0x9],AL
MOV qword ptr [RBP + -0x18],0x1
MOV qword ptr [RBP + -0x20],0x0
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x0010940e
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,0x1
MOV EDI,EAX
CALL 0x00107890
MOV qword ptr [RBP... |
long ac_str_extend(char *param_1,int1 param_2)
{
size_t sVar1;
int8 local_28;
int8 local_20;
local_20 = 1;
if (param_1 == (char *)0x0) {
local_28 = ac_alloc(2);
}
else {
sVar1 = strlen(param_1);
local_20 = sVar1 + 1;
local_28 = ac_realloc(param_1,(int)local_20 + 1);
}
*(int1 *)(lo... | |
3,406 | my_casedn_8bit | eloqsql/strings/ctype-simple.c | size_t my_casedn_8bit(CHARSET_INFO * cs, const char *src, size_t srclen,
char *dst, size_t dstlen __attribute__((unused)))
{
const char *end= src + srclen;
register const uchar *map=cs->to_lower;
DBUG_ASSERT(srclen <= dstlen);
for ( ; src != end ; src++)
*dst++= (char) map[(uchar) *src... | O3 | c | my_casedn_8bit:
movq %rdx, %rax
testq %rdx, %rdx
je 0x3859c
pushq %rbp
movq %rsp, %rbp
movq 0x48(%rdi), %rdx
xorl %edi, %edi
movzbl (%rsi,%rdi), %r8d
movb (%rdx,%r8), %r8b
movb %r8b, (%rcx,%rdi)
incq %rdi
cmpq %rdi, %rax
jne 0x38586
popq %rbp
retq
| my_casedn_8bit:
mov rax, rdx
test rdx, rdx
jz short locret_3859C
push rbp
mov rbp, rsp
mov rdx, [rdi+48h]
xor edi, edi
loc_38586:
movzx r8d, byte ptr [rsi+rdi]
mov r8b, [rdx+r8]
mov [rcx+rdi], r8b
inc rdi
cmp rax, rdi
jnz short loc_38586
pop rbp
locret_3859C:
retn
| long long my_casedn_8bit(long long a1, long long a2, long long a3, long long a4)
{
long long result; // rax
long long v5; // rdx
long long v6; // rdi
result = a3;
if ( a3 )
{
v5 = *(_QWORD *)(a1 + 72);
v6 = 0LL;
do
{
*(_BYTE *)(a4 + v6) = *(_BYTE *)(v5 + *(unsigned __int8 *)(a2 + v6)... | my_casedn_8bit:
MOV RAX,RDX
TEST RDX,RDX
JZ 0x0013859c
PUSH RBP
MOV RBP,RSP
MOV RDX,qword ptr [RDI + 0x48]
XOR EDI,EDI
LAB_00138586:
MOVZX R8D,byte ptr [RSI + RDI*0x1]
MOV R8B,byte ptr [RDX + R8*0x1]
MOV byte ptr [RCX + RDI*0x1],R8B
INC RDI
CMP RAX,RDI
JNZ 0x00138586
POP RBP
LAB_0013859c:
RET
|
void my_casedn_8bit(long param_1,long param_2,long param_3,long param_4)
{
long lVar1;
long lVar2;
if (param_3 != 0) {
lVar1 = *(long *)(param_1 + 0x48);
lVar2 = 0;
do {
*(int1 *)(param_4 + lVar2) = *(int1 *)(lVar1 + (ulong)*(byte *)(param_2 + lVar2));
lVar2 = lVar2 + 1;
} while (... | |
3,407 | ring_buffer<int>::push_back(int const&) | monkey531[P]llama/common/sampling.cpp | void push_back(const T & value) {
if (sz == capacity) {
// advance the start when buffer is full
first = (first + 1) % capacity;
} else {
sz++;
}
data[pos] = value;
pos = (pos + 1) % capacity;
} | O0 | cpp | ring_buffer<int>::push_back(int const&):
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movq 0x8(%rcx), %rax
cmpq (%rcx), %rax
jne 0x1cdb4e
movq 0x10(%rsp), %rcx
movq 0x10(%rcx), %rax
addq $0x1, %rax
xorl %edx, %edx
divq (%rcx)
movq 0x10(%rsp), %rax
movq %rdx, 0... | _ZN11ring_bufferIiE9push_backERKi:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov [rsp+28h+var_10], rsi
mov rcx, [rsp+28h+var_8]
mov [rsp+28h+var_18], rcx
mov rax, [rcx+8]
cmp rax, [rcx]
jnz short loc_1CDB4E
mov rcx, [rsp+28h+var_18]
mov rax, [rcx+10h]
add rax, 1
xor edx, edx
... | _QWORD * ring_buffer<int>::push_back(_QWORD *a1, int *a2)
{
_QWORD *result; // rax
int v3; // [rsp+Ch] [rbp-1Ch]
if ( a1[1] == *a1 )
a1[2] = (unsigned long long)(a1[2] + 1LL) % *a1;
else
++a1[1];
v3 = *a2;
*(_DWORD *)std::vector<int>::operator[](a1 + 4, a1[3]) = v3;
result = a1;
a1[3] = (unsign... | max_size:
PUSH RAX
MOV qword ptr [RSP],RDI
MOV RDI,qword ptr [RSP]
CALL 0x001cdb20
POP RCX
RET
|
/* __gnu_cxx::new_allocator<std::__cxx11::regex_traits<char>::_RegexMask>::max_size() const */
void __gnu_cxx::new_allocator<std::__cxx11::regex_traits<char>::_RegexMask>::max_size(void)
{
_M_max_size();
return;
}
| |
3,408 | google::protobuf::Reflection::MapEnd(google::protobuf::Message*, google::protobuf::FieldDescriptor const*) const | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/generated_message_reflection.cc | MapIterator Reflection::MapEnd(Message* message,
const FieldDescriptor* field) const {
USAGE_CHECK(IsMapFieldInApi(field), "MapEnd", "Field is not a map field.");
MapIterator iter(message, field);
GetRaw<MapFieldBase>(*message, field).MapEnd(&iter);
return iter;
} | O0 | cpp | google::protobuf::Reflection::MapEnd(google::protobuf::Message*, google::protobuf::FieldDescriptor const*) const:
subq $0x58, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, %rax
movq %rax, 0x10(%rsp)
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x18(%rsp... | _ZNK6google8protobuf10Reflection6MapEndEPNS0_7MessageEPKNS0_15FieldDescriptorE:
sub rsp, 58h
mov [rsp+58h+var_50], rdi
mov rax, rdi
mov [rsp+58h+var_48], rax
mov [rsp+58h+var_8], rdi
mov [rsp+58h+var_10], rsi
mov [rsp+58h+var_18], rdx
mov [rsp+58h+var_20], rcx
mov rax, [rsp+58h+var_1... | google::protobuf::Reflection * google::protobuf::Reflection::MapEnd(
google::protobuf::Reflection *this,
google::protobuf::_anonymous_namespace_ **a2,
const google::protobuf::FieldDescriptor *a3,
const google::protobuf::Descriptor *a4)
{
const char *v4; // r8
int v5; // ecx
int v6;... | __cxx_global_var_init:
PUSH RAX
LEA RDI,[0x37d170]
CALL 0x001136a0
MOV RDI,qword ptr [0x0037bff0]
LEA RSI,[0x37d170]
LEA RDX,[0x37c428]
CALL 0x001133c0
POP RAX
RET
|
int8 __cxx_global_var_init(void)
{
int8 in_RAX;
std::ios_base::Init::Init((Init *)&std::__ioinit);
__cxa_atexit(PTR__Init_0037bff0,&std::__ioinit,&__dso_handle);
return in_RAX;
}
| |
3,409 | nglog::ErrnoLogMessage::~ErrnoLogMessage() | ng-log[P]ng-log/src/logging.cc | ErrnoLogMessage::~ErrnoLogMessage() {
// Don't access errno directly because it may have been altered
// while streaming the message.
stream() << ": " << StrError(preserved_errno()) << " [" << preserved_errno()
<< "]";
} | O0 | cpp | nglog::ErrnoLogMessage::~ErrnoLogMessage():
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x48(%rbp)
callq 0x148f0
movq %rax, %rdi
leaq 0x3c091(%rip), %rsi # 0x51de4
callq 0x9700
movq %rax, -0x40(%rbp)
jmp 0x15d5e
movq -0x48(%rbp), %rdi
callq 0x153d0
movl %eax, ... | _ZN5nglog15ErrnoLogMessageD2Ev:
push rbp; Alternative name is 'nglog::ErrnoLogMessage::~ErrnoLogMessage()'
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]; this
mov [rbp+var_48], rdi
call _ZN5nglog10LogMessage6streamEv; nglog::LogMessage::stream(void)
mov rdi, rax
lea ... | void nglog::ErrnoLogMessage::~ErrnoLogMessage(nglog::ErrnoLogMessage *this)
{
long long v1; // rax
unsigned int v2; // eax
unsigned int v3; // eax
long long v4; // [rsp+0h] [rbp-60h]
long long v5; // [rsp+8h] [rbp-58h]
long long v6; // [rsp+10h] [rbp-50h]
long long v7; // [rsp+20h] [rbp-40h]
_BYTE v8[3... | ~ErrnoLogMessage:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x48],RDI
CALL 0x001148f0
MOV RDI,RAX
LAB_00115d4c:
LEA RSI,[0x151de4]
CALL 0x00109700
MOV qword ptr [RBP + -0x40],RAX
JMP 0x00115d5e
LAB_00115d5e:
MOV RDI,qword ptr [RBP + -0x48]
CALL... |
/* nglog::ErrnoLogMessage::~ErrnoLogMessage() */
void __thiscall nglog::ErrnoLogMessage::~ErrnoLogMessage(ErrnoLogMessage *this)
{
int iVar1;
ostream *poVar2;
nglog local_40 [48];
ErrnoLogMessage *local_10;
local_10 = this;
poVar2 = (ostream *)LogMessage::stream((LogMessage *)this);
... | |
3,410 | nglog::ErrnoLogMessage::~ErrnoLogMessage() | ng-log[P]ng-log/src/logging.cc | ErrnoLogMessage::~ErrnoLogMessage() {
// Don't access errno directly because it may have been altered
// while streaming the message.
stream() << ": " << StrError(preserved_errno()) << " [" << preserved_errno()
<< "]";
} | O3 | cpp | nglog::ErrnoLogMessage::~ErrnoLogMessage():
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl $0x7538, %r14d # imm = 0x7538
addq 0x8(%rdi), %r14
leaq 0x17a87(%rip), %rsi # 0x23d04
movl $0x2, %edx
movq %r14, %rdi
callq 0x7600
movq 0x8(%rbx), %rax
movl (%rax), %esi
leaq 0x8(%rsp), %rdi
callq 0xc34d... | _ZN5nglog15ErrnoLogMessageD2Ev:
push r14; Alternative name is 'nglog::ErrnoLogMessage::~ErrnoLogMessage()'
push rbx
sub rsp, 28h
mov rbx, rdi
mov r14d, 7538h
add r14, [rdi+8]
lea rsi, aRunningDuratio+1Ah; ": "
mov edx, 2
mov rdi, r14
call __ZSt16__ostream_insertIcSt11char_traitsIcEE... | void nglog::ErrnoLogMessage::~ErrnoLogMessage(nglog::ErrnoLogMessage *this)
{
long long v1; // r14
long long v2; // r14
long long v3; // rax
void *v4[2]; // [rsp+8h] [rbp-30h] BYREF
long long v5; // [rsp+18h] [rbp-20h] BYREF
v1 = *((_QWORD *)this + 1) + 30008LL;
std::__ostream_insert<char,std::char_trai... | ~ErrnoLogMessage:
PUSH R14
PUSH RBX
SUB RSP,0x28
MOV RBX,RDI
MOV R14D,0x7538
ADD R14,qword ptr [RDI + 0x8]
LAB_0010c276:
LEA RSI,[0x123d04]
MOV EDX,0x2
MOV RDI,R14
CALL 0x00107600
MOV RAX,qword ptr [RBX + 0x8]
MOV ESI,dword ptr [RAX]
LAB_0010c290:
LEA RDI,[RSP + 0x8]
CALL 0x0010c34d
MOV RSI,qword ptr [RSP + 0x8]
MOV RD... |
/* nglog::ErrnoLogMessage::~ErrnoLogMessage() */
void __thiscall nglog::ErrnoLogMessage::~ErrnoLogMessage(ErrnoLogMessage *this)
{
long lVar1;
ostream *poVar2;
long *local_30;
long local_28;
long local_20 [2];
lVar1 = *(long *)(this + 8);
/* try { // try from 0010c276 to 0010c289 h... | |
3,411 | my_thread_global_reinit | eloqsql/mysys/my_thr_init.c | void my_thread_global_reinit(void)
{
struct st_my_thread_var *tmp;
DBUG_ASSERT(my_thread_global_init_done);
#ifdef HAVE_PSI_INTERFACE
my_init_mysys_psi_keys();
#endif
my_thread_destroy_common_mutex();
my_thread_init_common_mutex();
my_thread_destroy_internal_mutex();
my_thread_init_internal_mutex();
... | O0 | c | my_thread_global_reinit:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
jmp 0xfc81a
callq 0xf94a0
callq 0xfc6c0
callq 0xfc860
callq 0xfc770
callq 0xfc930
callq 0xfc990
movq %rax, -0x8(%rbp)
jmp 0xfc83e
movq -0x8(%rbp), %rdi
callq 0xfc9b0
movq -0x8(%rbp), %rdi
callq 0xfc9e0
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%r... | my_thread_global_reinit:
push rbp
mov rbp, rsp
sub rsp, 10h
jmp short $+2
loc_FC81A:
call my_init_mysys_psi_keys
call my_thread_destroy_common_mutex
call my_thread_init_common_mutex
call my_thread_destroy_internal_mutex
call my_thread_init_internal_mutex
call _my_thread_var
mov [rbp... | long long my_thread_global_reinit(long long a1, const char *a2)
{
long long v3; // [rsp+8h] [rbp-8h]
my_init_mysys_psi_keys();
my_thread_destroy_common_mutex();
my_thread_init_common_mutex();
my_thread_destroy_internal_mutex();
my_thread_init_internal_mutex();
v3 = my_thread_var(a1, a2);
my_thread_des... | my_thread_global_reinit:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
JMP 0x001fc81a
LAB_001fc81a:
CALL 0x001f94a0
CALL 0x001fc6c0
CALL 0x001fc860
CALL 0x001fc770
CALL 0x001fc930
CALL 0x001fc990
MOV qword ptr [RBP + -0x8],RAX
JMP 0x001fc83e
LAB_001fc83e:
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x001fc9b0
MOV RDI,qword ptr [RBP + -0x8... |
void my_thread_global_reinit(void)
{
int8 uVar1;
my_init_mysys_psi_keys();
my_thread_destroy_common_mutex();
my_thread_init_common_mutex();
my_thread_destroy_internal_mutex();
my_thread_init_internal_mutex();
uVar1 = _my_thread_var();
my_thread_destory_thr_mutex(uVar1);
my_thread_init_thr_mutex(u... | |
3,412 | common_kv_cache_dump_view_seqs(llama_kv_cache_view const&, int) | llama.cpp/common/common.cpp | void common_kv_cache_dump_view_seqs(const llama_kv_cache_view & view, int row_size) {
static const char slot_chars[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
printf("=== Dumping KV cache. total cells %d, max sequences per cell %d, populated cells %d, total tokens in cache %d, largest... | O3 | cpp | common_kv_cache_dump_view_seqs(llama_kv_cache_view const&, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %esi, 0x14(%rsp)
movq %rdi, %r14
movl (%rdi), %esi
movl 0x4(%rdi), %edx
movl 0xc(%rdi), %ecx
movl 0x8(%rdi), %r8d
movl 0x10(%rdi), %r9d
movl 0x14(%rdi), %eax
movl %eax... | _Z30common_kv_cache_dump_view_seqsRK19llama_kv_cache_viewi:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov [rsp+88h+var_74], esi
mov r14, rdi
mov esi, [rdi]
mov edx, [rdi+4]
mov ecx, [rdi+0Ch]
mov r8d, [rdi+8]
mov r9d, [rdi+10h]
mov eax, [rdi... | long long common_kv_cache_dump_view_seqs(long long a1, int a2)
{
int *v3; // rbp
long long v4; // rax
long long v5; // rbx
int *v6; // r12
long long v7; // r13
long long *i; // rbx
int *v9; // r15
int v10; // ebp
int *v11; // r13
long long v12; // rbx
long long v13; // rax
long long v14; // rdi... | common_kv_cache_dump_view_seqs:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV dword ptr [RSP + 0x14],ESI
MOV R14,RDI
MOV ESI,dword ptr [RDI]
MOV EDX,dword ptr [RDI + 0x4]
MOV ECX,dword ptr [RDI + 0xc]
MOV R8D,dword ptr [RDI + 0x8]
MOV R9D,dword ptr [RDI + 0x10]
MOV EAX,dword ptr [RDI + 0x14]
MO... |
/* common_kv_cache_dump_view_seqs(llama_kv_cache_view const&, int) */
void common_kv_cache_dump_view_seqs(llama_kv_cache_view *param_1,int param_2)
{
int8 *puVar1;
long lVar2;
long *plVar3;
ulong uVar4;
int iVar5;
long lVar6;
uint uVar7;
int *piVar8;
int *piVar9;
long lVar10;
int8 *local_68;
... | |
3,413 | mi_calc_blob_length | eloqsql/storage/myisam/mi_dynrec.c | ulong _mi_calc_blob_length(uint length, const uchar *pos)
{
switch (length) {
case 1:
return (uint) (uchar) *pos;
case 2:
return (uint) uint2korr(pos);
case 3:
return uint3korr(pos);
case 4:
return uint4korr(pos);
default:
break;
}
return 0; /* Impossible */
} | O0 | c | mi_calc_blob_length:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0xc(%rbp)
movq %rsi, -0x18(%rbp)
movl -0xc(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x20(%rbp)
subl $0x3, %eax
ja 0xab142
movq -0x20(%rbp), %rax
leaq 0xae2a6(%rip), %rcx # 0x15938c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x18(%... | _mi_calc_blob_length:
push rbp
mov rbp, rsp
mov [rbp+var_C], edi
mov [rbp+var_18], rsi
mov eax, [rbp+var_C]
dec eax; switch 4 cases
mov ecx, eax
mov [rbp+var_20], rcx
sub eax, 3
ja short def_AB0ED; jumptable 00000000000AB0ED default case
mov rax, [rbp+var_20]
lea rcx, jpt... | long long mi_calc_blob_length(int a1, unsigned __int8 *a2)
{
long long v3; // [rsp+18h] [rbp-8h]
switch ( a1 )
{
case 1:
v3 = *a2;
break;
case 2:
v3 = *(unsigned __int16 *)a2;
break;
case 3:
v3 = (a2[2] << 16) | (unsigned int)*(unsigned __int16 *)a2;
break;
ca... | _mi_calc_blob_length:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0xc],EDI
MOV qword ptr [RBP + -0x18],RSI
MOV EAX,dword ptr [RBP + -0xc]
DEC EAX
MOV ECX,EAX
MOV qword ptr [RBP + -0x20],RCX
SUB EAX,0x3
JA 0x001ab142
MOV RAX,qword ptr [RBP + -0x20]
LEA RCX,[0x25938c]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switc... |
uint _mi_calc_blob_length(int4 param_1,uint *param_2)
{
uint uVar1;
switch(param_1) {
case 1:
uVar1 = (uint)(byte)*param_2;
break;
case 2:
uVar1 = (uint)(ushort)*param_2;
break;
case 3:
uVar1 = (uint)(uint3)*param_2;
break;
case 4:
uVar1 = *param_2;
break;
default:
... | |
3,414 | LefDefParser::lefiLayer::addDcTableEntry() | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiLayer.cpp | void
lefiLayer::addDcTableEntry()
{
lefiLayerDensity *density;
density = dccurrents_[numDccurrents_ - 1];
density->addTableEntry(numNums_, nums_);
numNums_ = 0;
numAllocated_ = 0;
nums_ = 0;
} | O0 | cpp | LefDefParser::lefiLayer::addDcTableEntry():
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq 0x390(%rax), %rcx
movl 0x388(%rax), %edx
subl $0x1, %edx
movslq %edx, %rdx
movq (%rcx,%rdx,8), %rcx
movq %rcx, 0x8(%rsp)
movq 0x8(%rsp), %rdi
movl 0x398(%rax), %esi
movq 0x3a0(%rax), %rdx
call... | _ZN12LefDefParser9lefiLayer15addDcTableEntryEv:
sub rsp, 18h
mov [rsp+18h+var_8], rdi
mov rax, [rsp+18h+var_8]
mov [rsp+18h+var_18], rax
mov rcx, [rax+390h]
mov edx, [rax+388h]
sub edx, 1
movsxd rdx, edx
mov rcx, [rcx+rdx*8]
mov [rsp+18h+var_10], rcx
mov rdi, [rsp+18h+var_10]; t... | LefDefParser::lefiLayer * LefDefParser::lefiLayer::addDcTableEntry(LefDefParser::lefiLayer *this)
{
LefDefParser::lefiLayer *result; // rax
LefDefParser::lefiLayerDensity::addTableEntry(
*(LefDefParser::lefiLayerDensity **)(*((_QWORD *)this + 114) + 8LL * (*((_DWORD *)this + 226) - 1)),
*((_DWORD *)this + ... | addDcTableEntry:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV RAX,qword ptr [RSP + 0x10]
MOV qword ptr [RSP],RAX
MOV RCX,qword ptr [RAX + 0x390]
MOV EDX,dword ptr [RAX + 0x388]
SUB EDX,0x1
MOVSXD RDX,EDX
MOV RCX,qword ptr [RCX + RDX*0x8]
MOV qword ptr [RSP + 0x8],RCX
MOV RDI,qword ptr [RSP + 0x8]
MOV ESI,dword ptr [... |
/* LefDefParser::lefiLayer::addDcTableEntry() */
void __thiscall LefDefParser::lefiLayer::addDcTableEntry(lefiLayer *this)
{
lefiLayerDensity::addTableEntry
(*(lefiLayerDensity **)
(*(long *)(this + 0x390) + (long)(*(int *)(this + 0x388) + -1) * 8),
*(int *)(this + 0x398),*(d... | |
3,415 | ftxui::Event::Character(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | Andrewchistyakov[P]flashcards_lyc/build_O1/_deps/ftxui-src/src/ftxui/component/event.cpp | Event Event::Character(std::string input) {
Event event;
event.input_ = std::move(input);
event.type_ = Type::Character;
return event;
} | O1 | cpp | ftxui::Event::Character(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>):
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, (%rdi)
movabsq $0x300000000, %rcx # imm = 0x300000000
movq %rcx, 0x8(%rdi)
movl $0x1, %ebp
movl %ebp, 0x10(%rdi)
movw $0x0, 0x14(%rdi)... | _ZN5ftxui5Event9CharacterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
push rbx
push rax
mov rbx, rdi
xor eax, eax
mov [rdi], rax
mov rcx, 300000000h
mov [rdi+8], rcx
mov ebp, 1
mov [rdi+10h], ebp
mov word ptr [rdi+14h], 0
mov [rdi+16h], al
mov [rdi+18h... | long long ftxui::Event::Character(long long a1, long long a2)
{
*(_QWORD *)a1 = 0LL;
*(_QWORD *)(a1 + 8) = 0x300000000LL;
*(_DWORD *)(a1 + 16) = 1;
*(_WORD *)(a1 + 20) = 0;
*(_BYTE *)(a1 + 22) = 0;
*(_QWORD *)(a1 + 24) = 0LL;
*(_QWORD *)(a1 + 32) = a1 + 48;
*(_QWORD *)(a1 + 40) = 0LL;
*(_BYTE *)(a1 +... | Character:
PUSH RBP
PUSH RBX
PUSH RAX
MOV RBX,RDI
XOR EAX,EAX
MOV qword ptr [RDI],RAX
MOV RCX,0x300000000
MOV qword ptr [RDI + 0x8],RCX
MOV EBP,0x1
MOV dword ptr [RDI + 0x10],EBP
MOV word ptr [RDI + 0x14],0x0
MOV byte ptr [RDI + 0x16],AL
MOV qword ptr [RDI + 0x18],RAX
ADD RDI,0x20
LEA RCX,[RBX + 0x30]
MOV qword ptr [RB... |
/* ftxui::Event::Character(std::__cxx11::string) */
Event * __thiscall ftxui::Event::Character(Event *this,string *param_2)
{
*(int8 *)this = 0;
*(int8 *)(this + 8) = 0x300000000;
*(int4 *)(this + 0x10) = 1;
*(int2 *)(this + 0x14) = 0;
this[0x16] = (Event)0x0;
*(int8 *)(this + 0x18) = 0;
*(Event **)(th... | |
3,416 | OpenSubdiv::v3_6_0::Tmr::UnorderedSubset::VertexDescriptor::finalize() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/tmr/unorderedSubset.cpp | bool UnorderedSubset::VertexDescriptor::finalize() {
if (!isValid)
return false;
// Test for valid face size assignments while converting the sizes
// to offsets. Also detect if the faces are all the same size -- in
// which case, ignore the explicit assignments:
if (hasFaceSizes) {
... | O2 | cpp | OpenSubdiv::v3_6_0::Tmr::UnorderedSubset::VertexDescriptor::finalize():
movb 0x8(%rdi), %dl
testb $0x1, %dl
jne 0xba535
xorl %eax, %eax
retq
testb $0x8, %dl
je 0xba595
movq 0x10(%rdi), %rax
movl (%rax), %esi
movzwl 0x4(%rdi), %edx
xorl %r8d, %r8d
movb $0x1, %cl
xorl %r9d, %r9d
cmpq %r8, %rdx
je 0xba580
movl (%rax,%r8,4... | _ZN10OpenSubdiv6v3_6_03Tmr15UnorderedSubset16VertexDescriptor8finalizeEv:
mov dl, [rdi+8]
test dl, 1
jnz short loc_BA535
xor eax, eax
retn
loc_BA535:
test dl, 8
jz short loc_BA595
mov rax, [rdi+10h]
mov esi, [rax]
movzx edx, word ptr [rdi+4]
xor r8d, r8d
mov cl, 1
xor r9d, r... | char OpenSubdiv::v3_6_0::Tmr::UnorderedSubset::VertexDescriptor::finalize(
OpenSubdiv::v3_6_0::Tmr::UnorderedSubset::VertexDescriptor *this)
{
char v1; // dl
char result; // al
int *v3; // rax
int v4; // esi
long long v5; // rdx
long long v6; // r8
bool v7; // cl
int v8; // r9d
int v9; // r10... | finalize:
MOV DL,byte ptr [RDI + 0x8]
TEST DL,0x1
JNZ 0x001ba535
XOR EAX,EAX
RET
LAB_001ba535:
TEST DL,0x8
JZ 0x001ba595
MOV RAX,qword ptr [RDI + 0x10]
MOV ESI,dword ptr [RAX]
MOVZX EDX,word ptr [RDI + 0x4]
XOR R8D,R8D
MOV CL,0x1
XOR R9D,R9D
LAB_001ba54c:
CMP RDX,R8
JZ 0x001ba580
MOV R10D,dword ptr [RAX + R8*0x4]
LEA R... |
/* OpenSubdiv::v3_6_0::Tmr::UnorderedSubset::VertexDescriptor::finalize() */
int8 __thiscall
OpenSubdiv::v3_6_0::Tmr::UnorderedSubset::VertexDescriptor::finalize(VertexDescriptor *this)
{
ushort uVar1;
int iVar2;
int iVar3;
int *piVar4;
bool bVar5;
int8 uVar6;
VertexDescriptor VVar7;
ulong uVar8;
i... | |
3,417 | get_func_name | bluesky950520[P]quickjs/quickjs.c | static const char *get_func_name(JSContext *ctx, JSValue func)
{
JSProperty *pr;
JSShapeProperty *prs;
JSValue val;
if (JS_VALUE_GET_TAG(func) != JS_TAG_OBJECT)
return NULL;
prs = find_own_property(&pr, JS_VALUE_GET_OBJ(func), JS_ATOM_name);
if (!prs)
return NULL;
if ((prs->... | O1 | c | get_func_name:
movq %rsi, -0x8(%rsp)
cmpl $-0x1, %edx
jne 0x43356
movq -0x8(%rsp), %rcx
movq 0x18(%rcx), %rdx
movl 0x20(%rdx), %eax
notl %eax
orl $-0x38, %eax
cltq
movl (%rdx,%rax,4), %r9d
testl %r9d, %r9d
je 0x4332f
addq $0x40, %rdx
xorl %eax, %eax
movl $0x3ffffff, %r8d # imm = 0x3FFFFFF
movl %r9d, %r9d
leaq (%... | get_func_name:
mov [rsp+var_8], rsi
cmp edx, 0FFFFFFFFh
jnz short loc_43356
mov rcx, [rsp+var_8]
mov rdx, [rcx+18h]
mov eax, [rdx+20h]
not eax
or eax, 0FFFFFFC8h
cdqe
mov r9d, [rdx+rax*4]
test r9d, r9d
jz short loc_4332F
add rdx, 40h ; '@'
xor eax, eax
mov r8d, 3... | long long get_func_name(long long a1, long long a2, int a3)
{
long long v3; // rdx
unsigned int v4; // r9d
long long v5; // rdx
long long *v6; // rax
int *v7; // rsi
int v8; // r9d
long long v9; // rcx
if ( a3 != -1 )
return 0LL;
v3 = *(_QWORD *)(a2 + 24);
v4 = *(_DWORD *)(v3 + 4LL * (int)(~*(... | |||
3,418 | get_func_name | bluesky950520[P]quickjs/quickjs.c | static const char *get_func_name(JSContext *ctx, JSValue func)
{
JSProperty *pr;
JSShapeProperty *prs;
JSValue val;
if (JS_VALUE_GET_TAG(func) != JS_TAG_OBJECT)
return NULL;
prs = find_own_property(&pr, JS_VALUE_GET_OBJ(func), JS_ATOM_name);
if (!prs)
return NULL;
if ((prs->... | O2 | c | get_func_name:
cmpl $-0x1, %edx
jne 0x3af58
movq 0x18(%rsi), %rax
movl 0x20(%rax), %ecx
notl %ecx
orl $-0x38, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movl $0x3ffffff, %edx # imm = 0x3FFFFFF
testl %ecx, %ecx
je 0x3af58
movl %ecx, %ecx
cmpl $0x37, 0x3c(%rax,%rcx,8)
je 0x3af32
movl 0x38(%rax,%rcx,8), %ecx
a... | get_func_name:
cmp edx, 0FFFFFFFFh
jnz short loc_3AF58
mov rax, [rsi+18h]
mov ecx, [rax+20h]
not ecx
or ecx, 0FFFFFFC8h
movsxd rcx, ecx
mov ecx, [rax+rcx*4]
mov edx, 3FFFFFFh
loc_3AF1D:
test ecx, ecx
jz short loc_3AF58
mov ecx, ecx
cmp dword ptr [rax+rcx*8+3Ch], 37h ; '... | long long get_func_name(long long a1, long long a2, int a3)
{
long long v3; // rax
unsigned int i; // ecx
long long *v5; // rcx
long long v6; // rdx
if ( a3 == -1 )
{
v3 = *(_QWORD *)(a2 + 24);
for ( i = *(_DWORD *)(v3 + 4LL * (int)(~*(_BYTE *)(v3 + 32) | 0xFFFFFFC8));
i;
i = *... | get_func_name:
CMP EDX,-0x1
JNZ 0x0013af58
MOV RAX,qword ptr [RSI + 0x18]
MOV ECX,dword ptr [RAX + 0x20]
NOT ECX
OR ECX,0xffffffc8
MOVSXD RCX,ECX
MOV ECX,dword ptr [RAX + RCX*0x4]
MOV EDX,0x3ffffff
LAB_0013af1d:
TEST ECX,ECX
JZ 0x0013af58
MOV ECX,ECX
CMP dword ptr [RAX + RCX*0x8 + 0x3c],0x37
JZ 0x0013af32
MOV ECX,dword... |
int8 get_func_name(int8 param_1,long param_2,int param_3)
{
long lVar1;
int8 uVar2;
uint uVar3;
ulong uVar4;
int8 *puVar5;
if (param_3 == -1) {
lVar1 = *(long *)(param_2 + 0x18);
uVar3 = *(uint *)(lVar1 + (long)(int)(~*(uint *)(lVar1 + 0x20) | 0xffffffc8) * 4);
while (uVar3 != 0) {
uV... | |
3,419 | fill_buffer | eloqsql/storage/maria/ma_packrec.c | static void fill_buffer(MARIA_BIT_BUFF *bit_buff)
{
if (bit_buff->pos >= bit_buff->end)
{
bit_buff->error= 1;
bit_buff->current_byte=0;
return;
}
#if BITS_SAVED == 64
bit_buff->current_byte= ((((uint) ((uchar) bit_buff->pos[7]))) |
(((uint) ((uchar) bit_buff->pos[6])) << 8) |
(((uin... | O0 | c | fill_buffer:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jb 0x3aa71
movq -0x8(%rbp), %rax
movl $0x1, 0x28(%rax)
movq -0x8(%rbp), %rax
movl $0x0, (%rax)
jmp 0x3aac5
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movzbl 0x3(%rax), %ec... | fill_buffer:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov rax, [rax+8]
mov rcx, [rbp+var_8]
cmp rax, [rcx+10h]
jb short loc_3AA71
mov rax, [rbp+var_8]
mov dword ptr [rax+28h], 1
mov rax, [rbp+var_8]
mov dword ptr [rax], 0
jmp short loc_3AAC5
loc... | long long fill_buffer(long long a1)
{
long long result; // rax
if ( *(_QWORD *)(a1 + 8) < *(_QWORD *)(a1 + 16) )
{
*(_DWORD *)a1 = _byteswap_ulong(**(_DWORD **)(a1 + 8));
result = a1;
*(_QWORD *)(a1 + 8) += 4LL;
}
else
{
*(_DWORD *)(a1 + 40) = 1;
result = a1;
*(_DWORD *)a1 = 0;
}... | fill_buffer:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RCX,qword ptr [RBP + -0x8]
CMP RAX,qword ptr [RCX + 0x10]
JC 0x0013aa71
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x28],0x1
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX],0x0
J... |
void fill_buffer(int4 *param_1)
{
if (*(ulong *)(param_1 + 2) < *(ulong *)(param_1 + 4)) {
*param_1 = CONCAT13(**(int1 **)(param_1 + 2),
CONCAT12(*(int1 *)(*(long *)(param_1 + 2) + 1),
CONCAT11(*(int1 *)(*(long *)(param_1 + 2) + 2),
... | |
3,420 | fill_buffer | eloqsql/storage/maria/ma_packrec.c | static void fill_buffer(MARIA_BIT_BUFF *bit_buff)
{
if (bit_buff->pos >= bit_buff->end)
{
bit_buff->error= 1;
bit_buff->current_byte=0;
return;
}
#if BITS_SAVED == 64
bit_buff->current_byte= ((((uint) ((uchar) bit_buff->pos[7]))) |
(((uint) ((uchar) bit_buff->pos[6])) << 8) |
(((uin... | O3 | c | fill_buffer:
movq 0x8(%rdi), %rcx
cmpq 0x10(%rdi), %rcx
jae 0x3b6f9
pushq %rbp
movq %rsp, %rbp
movl (%rcx), %eax
bswapl %eax
addq $0x4, %rcx
movq %rcx, 0x8(%rdi)
popq %rbp
jmp 0x3b702
movl $0x1, 0x28(%rdi)
xorl %eax, %eax
movl %eax, (%rdi)
retq
| fill_buffer:
mov rcx, [rdi+8]
cmp rcx, [rdi+10h]
jnb short loc_3B6F9
push rbp
mov rbp, rsp
mov eax, [rcx]
bswap eax
add rcx, 4
mov [rdi+8], rcx
pop rbp
jmp short loc_3B702
loc_3B6F9:
mov dword ptr [rdi+28h], 1
xor eax, eax
loc_3B702:
mov [rdi], eax
retn
| long long fill_buffer(long long a1)
{
unsigned int *v1; // rcx
long long result; // rax
v1 = *(unsigned int **)(a1 + 8);
if ( (unsigned long long)v1 >= *(_QWORD *)(a1 + 16) )
{
*(_DWORD *)(a1 + 40) = 1;
result = 0LL;
}
else
{
result = _byteswap_ulong(*v1);
*(_QWORD *)(a1 + 8) = v1 + 1;... | fill_buffer:
MOV RCX,qword ptr [RDI + 0x8]
CMP RCX,qword ptr [RDI + 0x10]
JNC 0x0013b6f9
PUSH RBP
MOV RBP,RSP
MOV EAX,dword ptr [RCX]
BSWAP EAX
ADD RCX,0x4
MOV qword ptr [RDI + 0x8],RCX
POP RBP
JMP 0x0013b702
LAB_0013b6f9:
MOV dword ptr [RDI + 0x28],0x1
XOR EAX,EAX
LAB_0013b702:
MOV dword ptr [RDI],EAX
RET
|
void fill_buffer(uint *param_1)
{
uint *puVar1;
uint uVar2;
puVar1 = *(uint **)(param_1 + 2);
if (puVar1 < *(uint **)(param_1 + 4)) {
uVar2 = *puVar1;
uVar2 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
*(uint **)(param_1 + 2) = puVar1 + 1;
}
else {
... | |
3,421 | my_numchars_utf16 | eloqsql/strings/ctype-ucs2.c | static size_t
my_numchars_utf16(CHARSET_INFO *cs,
const char *b, const char *e)
{
size_t nchars= 0;
for ( ; ; nchars++)
{
size_t charlen= my_ismbchar(cs, b, e);
if (!charlen)
break;
b+= charlen;
}
return nchars;
} | O0 | c | my_numchars_utf16:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x5b820
movl %eax, %eax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x580ec
jmp 0x5810... | my_numchars_utf16:
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], 0
loc_580CC:
mov rdi, [rbp+var_8]
mov rsi, [rbp+var_10]
mov rdx, [rbp+var_18]
call my_ismbchar_1
mov eax, eax
mov [rbp+var_28], rax
c... | long long my_numchars_utf16(long long a1, long long a2, long long a3)
{
unsigned int v3; // eax
long long i; // [rsp+10h] [rbp-20h]
for ( i = 0LL; ; ++i )
{
v3 = my_ismbchar_1(a1, a2, a3);
if ( !v3 )
break;
a2 += v3;
}
return i;
}
| my_numchars_utf16:
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],0x0
LAB_001580cc:
MOV RDI,qword ptr [RBP + -0x8]
MOV RSI,qword ptr [RBP + -0x10]
MOV RDX,qword ptr [RBP + -0x18]
CALL 0x0015b820
MOV EAX,EAX
MOV... |
long my_numchars_utf16(int8 param_1,long param_2,int8 param_3)
{
uint uVar1;
int8 local_28;
int8 local_18;
local_28 = 0;
local_18 = param_2;
while( true ) {
uVar1 = my_ismbchar(param_1,local_18,param_3);
if ((ulong)uVar1 == 0) break;
local_18 = (ulong)uVar1 + local_18;
local_28 = local_... | |
3,422 | google::protobuf::internal::SerializeMessageNoTable(google::protobuf::MessageLite const*, google::protobuf::internal::ArrayOutput*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/generated_message_util.cc | void SerializeMessageNoTable(const MessageLite* msg, ArrayOutput* output) {
io::ArrayOutputStream array_stream(output->ptr, INT_MAX);
io::CodedOutputStream o(&array_stream);
o.SetSerializationDeterministic(output->is_deterministic);
msg->SerializeWithCachedSizes(&o);
output->ptr += o.ByteCount();
} | O0 | cpp | google::protobuf::internal::SerializeMessageNoTable(google::protobuf::MessageLite const*, google::protobuf::internal::ArrayOutput*):
subq $0xa8, %rsp
movq %rdi, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
movq 0x98(%rsp), %rax
movq (%rax), %rsi
leaq 0x78(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movl $0x7fffffff, %edx # imm = 0x7FF... | _ZN6google8protobuf8internal23SerializeMessageNoTableEPKNS0_11MessageLiteEPNS1_11ArrayOutputE:
sub rsp, 0A8h
mov [rsp+0A8h+var_8], rdi
mov [rsp+0A8h+var_10], rsi
mov rax, [rsp+0A8h+var_10]
mov rsi, [rax]; void *
lea rdi, [rsp+0A8h+var_30]; this
mov [rsp+0A8h+var_98], rdi
mov edx, 7FFFFFF... | void google::protobuf::internal::SerializeMessageNoTable(google::protobuf::MessageLite *a1, void **a2)
{
int v2; // [rsp+Ch] [rbp-9Ch]
unsigned __int8 *v3[10]; // [rsp+28h] [rbp-80h] BYREF
_BYTE v4[32]; // [rsp+78h] [rbp-30h] BYREF
void **v5; // [rsp+98h] [rbp-10h]
google::protobuf::MessageLite *v6; // [rsp+... | |||
3,423 | google::protobuf::internal::SerializeMessageNoTable(google::protobuf::MessageLite const*, google::protobuf::internal::ArrayOutput*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/generated_message_util.cc | void SerializeMessageNoTable(const MessageLite* msg, ArrayOutput* output) {
io::ArrayOutputStream array_stream(output->ptr, INT_MAX);
io::CodedOutputStream o(&array_stream);
o.SetSerializationDeterministic(output->is_deterministic);
msg->SerializeWithCachedSizes(&o);
output->ptr += o.ByteCount();
} | O3 | cpp | google::protobuf::internal::SerializeMessageNoTable(google::protobuf::MessageLite const*, google::protobuf::internal::ArrayOutput*):
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
leaq 0x68(%rsp), %r12
movq %r12, %rdi
movl $0x7fffffff, %edx # imm = 0... | _ZN6google8protobuf8internal23SerializeMessageNoTableEPKNS0_11MessageLiteEPNS1_11ArrayOutputE:
push r15
push r14
push r12
push rbx
sub rsp, 88h
mov rbx, rsi
mov r14, rdi
mov rsi, [rsi]; void *
lea r12, [rsp+0A8h+var_40]
mov rdi, r12; this
mov edx, 7FFFFFFFh; int
mov ecx, 0FFF... | void google::protobuf::internal::SerializeMessageNoTable(long long a1, long long a2)
{
unsigned __int8 *v3; // r15
unsigned __int8 *v4; // rsi
unsigned __int8 *v5; // rax
int v6; // eax
int v7; // [rsp+Ch] [rbp-9Ch] BYREF
unsigned __int8 *v8; // [rsp+10h] [rbp-98h] BYREF
unsigned __int8 *v9; // [rsp+18h]... | SerializeMessageNoTable:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x88
MOV RBX,RSI
MOV R14,RDI
MOV RSI,qword ptr [RSI]
LEA R12,[RSP + 0x68]
MOV RDI,R12
MOV EDX,0x7fffffff
MOV ECX,0xffffffff
CALL 0x001fc41e
LEA RAX,[0x3805a9]
MOV AL,byte ptr [RAX]
AND AL,0x1
LEA R15,[RSP + 0x28]
MOV qword ptr [R15 + -0x10],R15
MOV qw... |
/* google::protobuf::internal::SerializeMessageNoTable(google::protobuf::MessageLite const*,
google::protobuf::internal::ArrayOutput*) */
void google::protobuf::internal::SerializeMessageNoTable(MessageLite *param_1,ArrayOutput *param_2)
{
char cVar1;
int iVar2;
uint local_9c;
int1 *local_98;
int1 *loca... | |
3,424 | get_changed_storage | corpus-core[P]colibri-stateless/src/chains/eth/verifier/call_ctx.h | static changed_storage_t* get_changed_storage(evmone_context_t* ctx, const address_t addr, const bytes32_t key) {
changed_account_t* account = get_changed_account(ctx, addr);
if (!account) return NULL;
for (changed_storage_t* s = account->storage; s != NULL; s = s->next) {
if (memcmp(s->key, key, 32) == 0)
... | O3 | c | get_changed_storage:
pushq %rbx
movq %rdx, %rbx
callq 0x2a314
testq %rax, %rax
je 0x2ab7c
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x2ab7c
movdqu (%rbx), %xmm0
movdqu 0x10(%rbx), %xmm1
movdqu (%rax), %xmm2
pcmpeqb %xmm0, %xmm2
movdqu 0x10(%rax), %xmm3
pcmpeqb %xmm1, %xmm3
pand %xmm2, %xmm3
pmovmskb %xmm3, %ecx
cmpl $0... | get_changed_storage:
push rbx
mov rbx, rdx
call get_changed_account
test rax, rax
jz short loc_2AB7C
mov rax, [rax+50h]
test rax, rax
jz short loc_2AB7C
movdqu xmm0, xmmword ptr [rbx]
movdqu xmm1, xmmword ptr [rbx+10h]
loc_2AB52:
movdqu xmm2, xmmword ptr [rax]
pcmpeqb xmm2, xmm0
movdqu ... | const __m128i * get_changed_storage(long long a1, const __m128i *a2, const __m128i *a3)
{
const __m128i *changed_account; // rax
const __m128i *result; // rax
__m128i v6; // xmm0
__m128i v7; // xmm1
changed_account = get_changed_account(a1, a2);
if ( !changed_account )
return 0LL;
result = (const __m... | get_changed_storage:
PUSH RBX
MOV RBX,RDX
CALL 0x0012a314
TEST RAX,RAX
JZ 0x0012ab7c
MOV RAX,qword ptr [RAX + 0x50]
TEST RAX,RAX
JZ 0x0012ab7c
MOVDQU XMM0,xmmword ptr [RBX]
MOVDQU XMM1,xmmword ptr [RBX + 0x10]
LAB_0012ab52:
MOVDQU XMM2,xmmword ptr [RAX]
PCMPEQB XMM2,XMM0
MOVDQU XMM3,xmmword ptr [RAX + 0x10]
PCMPEQB XMM... |
char * get_changed_storage(int8 param_1,int8 param_2,char *param_3)
{
long lVar1;
char *pcVar2;
int1 auVar3 [16];
int1 auVar4 [16];
lVar1 = get_changed_account();
if ((lVar1 != 0) && (pcVar2 = *(char **)(lVar1 + 0x50), pcVar2 != (char *)0x0)) {
do {
auVar3[0] = -(*pcVar2 == *param_3);
a... | |
3,425 | func_uni_big5_onechar | eloqsql/strings/ctype-big5.c | static int func_uni_big5_onechar(int code){
if ((code>=0x00A2)&&(code<=0x00F7))
return(tab_uni_big50[code-0x00A2]);
if ((code>=0x02C7)&&(code<=0x0451))
return(tab_uni_big51[code-0x02C7]);
if ((code>=0x2013)&&(code<=0x22BF))
return(tab_uni_big52[code-0x2013]);
if ((code>=0x2460)&&(code<=0x2642))
... | O0 | c | func_uni_big5_onechar:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
cmpl $0xa2, -0x8(%rbp)
jl 0x34ae7
cmpl $0xf7, -0x8(%rbp)
jg 0x34ae7
movl -0x8(%rbp), %eax
subl $0xa2, %eax
movslq %eax, %rcx
leaq 0x54575(%rip), %rax # 0x89050
movzwl (%rax,%rcx,2), %eax
movl %eax, -0x4(%rbp)
jmp 0x34cc5
cmpl $0x2c7, -0x8(%rbp)... | func_uni_big5_onechar:
push rbp
mov rbp, rsp
mov [rbp+var_8], edi
cmp [rbp+var_8], 0A2h
jl short loc_34AE7
cmp [rbp+var_8], 0F7h
jg short loc_34AE7
mov eax, [rbp+var_8]
sub eax, 0A2h
movsxd rcx, eax
lea rax, tab_uni_big50
movzx eax, word ptr [rax+rcx*2]
mov [rbp+var_4], e... | long long func_uni_big5_onechar(int a1)
{
if ( a1 < 162 || a1 > 247 )
{
if ( a1 < 711 || a1 > 1105 )
{
if ( a1 < 8211 || a1 > 8895 )
{
if ( a1 < 9312 || a1 > 9794 )
{
if ( a1 < 12288 || a1 > 12585 )
{
if ( a1 == 12963 )
{
... | func_uni_big5_onechar:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x8],EDI
CMP dword ptr [RBP + -0x8],0xa2
JL 0x00134ae7
CMP dword ptr [RBP + -0x8],0xf7
JG 0x00134ae7
MOV EAX,dword ptr [RBP + -0x8]
SUB EAX,0xa2
MOVSXD RCX,EAX
LEA RAX,[0x189050]
MOVZX EAX,word ptr [RAX + RCX*0x2]
MOV dword ptr [RBP + -0x4],EAX
JMP 0x001... |
int2 func_uni_big5_onechar(int param_1)
{
int2 uVar1;
if ((param_1 < 0xa2) || (0xf7 < param_1)) {
if ((param_1 < 0x2c7) || (0x451 < param_1)) {
if ((param_1 < 0x2013) || (0x22bf < param_1)) {
if ((param_1 < 0x2460) || (0x2642 < param_1)) {
if ((param_1 < 0x3000) || (0x3129 < param_1... | |
3,426 | pfs_unlock_mutex_v1 | eloqsql/storage/perfschema/pfs.cc | void pfs_unlock_mutex_v1(PSI_mutex *mutex)
{
PFS_mutex *pfs_mutex= reinterpret_cast<PFS_mutex*> (mutex);
assert(pfs_mutex != NULL);
/*
Note that this code is still protected by the instrumented mutex,
and therefore is thread safe. See inline_mysql_mutex_unlock().
*/
/* Always update the instrumente... | O0 | cpp | pfs_unlock_mutex_v1:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq $0x0, 0x40(%rax)
movq -0x10(%rbp), %rax
movq $0x0, 0x48(%rax)
popq %rbp
retq
nopw (%rax,%rax)
| pfs_unlock_mutex_v1:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rax, [rbp+var_10]
mov qword ptr [rax+40h], 0
mov rax, [rbp+var_10]
mov qword ptr [rax+48h], 0
pop rbp
retn
| long long pfs_unlock_mutex_v1(long long a1)
{
long long result; // rax
*(_QWORD *)(a1 + 64) = 0LL;
result = a1;
*(_QWORD *)(a1 + 72) = 0LL;
return result;
}
| pfs_unlock_mutex_v1:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RAX + 0x40],0x0
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RAX + 0x48],0x0
POP RBP
RET
|
void pfs_unlock_mutex_v1(long param_1)
{
*(int8 *)(param_1 + 0x40) = 0;
*(int8 *)(param_1 + 0x48) = 0;
return;
}
| |
3,427 | my_strtoull | eloqsql/libmariadb/libmariadb/ma_stmt_codec.c | static unsigned long long my_strtoull(const char *str, size_t len, const char **end, int *err)
{
unsigned long long val = 0;
const char *p = str;
const char *end_str = p + len;
for (; p < end_str; p++)
{
if (*p < '0' || *p > '9')
break;
if (val > ULONGLONG_MAX /10 || val*10 > ULONGLONG_MAX - (... | O0 | c | my_strtoull:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
addq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x38(%rbp), %rax
jae 0x... | my_strtoull:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], 0
mov rax, [rbp+var_8]
mov [rbp+var_30], rax
mov rax, [rbp+var_30]
add rax, [rbp+var_10]
mov [rbp+var_38], rax
loc_34320:
mov rax... | unsigned long long my_strtoull(char *a1, long long a2, char **a3, _DWORD *a4)
{
char *i; // [rsp+8h] [rbp-30h]
unsigned long long v6; // [rsp+10h] [rbp-28h]
v6 = 0LL;
for ( i = a1; i < &a1[a2] && *i >= 48 && *i <= 57; ++i )
{
if ( v6 > 0x1999999999999999LL || 10 * v6 > -1LL - (*i - 48) )
{
*a4... | my_strtoull:
PUSH RBP
MOV RBP,RSP
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 qword ptr [RBP + -0x28],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x30]
ADD RAX,qword ptr [RBP + -0x10]
... |
ulong my_strtoull(char *param_1,long param_2,int8 *param_3,int4 *param_4)
{
ulong uVar1;
char *local_38;
ulong local_30;
local_30 = 0;
local_38 = param_1;
while( true ) {
if (((param_1 + param_2 <= local_38) || (*local_38 < '0')) || ('9' < *local_38))
goto LAB_001343ae;
if ((0x1999999999999... | |
3,428 | psi_cond_timedwait | eloqsql/mysys/my_thr_init.c | ATTRIBUTE_COLD int psi_cond_timedwait(mysql_cond_t *that, mysql_mutex_t *mutex,
const struct timespec *abstime,
const char *file, uint line)
{
PSI_cond_locker_state state;
PSI_cond_locker *locker= PSI_COND_CALL(start_cond_wait)
(&state,... | O0 | c | psi_cond_timedwait:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
leaq 0x1a725d(%rip), %rax # 0x1ce530
movq (%rax), %rax
movq 0x1c0(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x30(%rcx), %rsi
movq -0x10(%rbp),... | psi_cond_timedwait:
push rbp
mov rbp, rsp
sub rsp, 70h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_24], r8d
lea rax, PSI_server
mov rax, [rax]
mov rax, [rax+1C0h]
mov rcx, [rbp+var_8]
mov rsi, [rcx+30h]
mov rc... | long long psi_cond_timedwait(long long a1, long long a2, long long a3, long long a4, unsigned int a5)
{
unsigned int v6; // [rsp+4h] [rbp-6Ch]
long long v7; // [rsp+8h] [rbp-68h]
_BYTE v8[60]; // [rsp+10h] [rbp-60h] BYREF
unsigned int v9; // [rsp+4Ch] [rbp-24h]
long long v10; // [rsp+50h] [rbp-20h]
long lo... | psi_cond_timedwait:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
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],R8D
LEA RAX,[0x2ce530]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x1c0]
MOV RCX,qword ptr [RBP + -0x8]
M... |
int psi_cond_timedwait(pthread_cond_t *param_1,pthread_mutex_t *param_2,timespec *param_3,
int8 param_4,int4 param_5)
{
int iVar1;
long lVar2;
int1 local_68 [60];
int4 local_2c;
int8 local_28;
timespec *local_20;
pthread_mutex_t *local_18;
pthread_cond_t *local_10;
local_2c ... | |
3,429 | psi_cond_timedwait | eloqsql/mysys/my_thr_init.c | ATTRIBUTE_COLD int psi_cond_timedwait(mysql_cond_t *that, mysql_mutex_t *mutex,
const struct timespec *abstime,
const char *file, uint line)
{
PSI_cond_locker_state state;
PSI_cond_locker *locker= PSI_COND_CALL(start_cond_wait)
(&state,... | O3 | c | psi_cond_timedwait:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r8d, %r9d
movq %rcx, %r8
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0x2caa1d(%rip), %r13 # 0x2ef468
movq (%r13), %rax
movq 0x30(%rdi), %rsi
movq 0x40(%r15), %rdx
leaq -0x60(%rbp), %r... | psi_cond_timedwait:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov r9d, r8d
mov r8, rcx
mov r14, rdx
mov r15, rsi
mov r12, rdi
lea r13, PSI_server
mov rax, [r13+0]
mov rsi, [rdi+30h]
mov rdx, [r15+40h]
lea rdi, [rbp+v... | long long psi_cond_timedwait(long long a1, long long a2, long long a3, long long a4, unsigned int a5)
{
long long v6; // rbx
unsigned int v7; // r14d
_BYTE v9[96]; // [rsp+0h] [rbp-60h] BYREF
v6 = ((long long ( *)(_BYTE *, _QWORD, _QWORD, long long, long long, _QWORD))PSI_server[56])(
v9,
*(... | psi_cond_timedwait:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV R9D,R8D
MOV R8,RCX
MOV R14,RDX
MOV R15,RSI
MOV R12,RDI
LEA R13,[0x3ef468]
MOV RAX,qword ptr [R13]
MOV RSI,qword ptr [RDI + 0x30]
MOV RDX,qword ptr [R15 + 0x40]
LEA RDI,[RBP + -0x60]
PUSH 0x1
POP RCX
CALL qword ptr [RA... |
int psi_cond_timedwait(pthread_cond_t *param_1,pthread_mutex_t *param_2,timespec *param_3,
int8 param_4,int4 param_5)
{
int iVar1;
long lVar2;
int1 local_68 [56];
lVar2 = (**(code **)(PSI_server + 0x1c0))
(local_68,param_1[1].__align,*(int8 *)((long)param_2 + 0x40)... | |
3,430 | mysql_commit_start_internal | eloqsql/libmariadb/libmariadb/mariadb_async.c | static void
mysql_commit_start_internal(void *d)
{
MK_ASYNC_INTERNAL_BODY(
mysql_commit,
(parms->mysql),
parms->mysql,
my_bool,
r_my_bool)
} | O0 | c | mysql_commit_start_internal:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x480(%rax), %rax
movq 0x28(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x21b40
movb %al, -0x11(... | mysql_commit_start_internal:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rax, [rbp+var_10]
mov rax, [rax]
mov rax, [rax+480h]
mov rax, [rax+28h]
mov [rbp+var_20], rax
mov rax, [rbp+var_10]
mov rdi, [rax]
call ... | long long mysql_commit_start_internal(long long *a1)
{
long long result; // rax
long long v2; // [rsp+0h] [rbp-20h]
v2 = *(_QWORD *)(*(_QWORD *)(*a1 + 1152) + 40LL);
*(_BYTE *)(v2 + 8) = mysql_commit(*a1);
result = v2;
*(_DWORD *)v2 = 0;
return result;
}
| mysql_commit_start_internal:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x480]
MOV RAX,qword ptr [RAX + 0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qwor... |
void mysql_commit_start_internal(long *param_1)
{
int4 *puVar1;
int1 uVar2;
puVar1 = *(int4 **)(*(long *)(*param_1 + 0x480) + 0x28);
uVar2 = mysql_commit(*param_1);
*(int1 *)(puVar1 + 2) = uVar2;
*puVar1 = 0;
return;
}
| |
3,431 | nlohmann::json_abi_v3_11_3::detail::type_error nlohmann::json_abi_v3_11_3::detail::type_error::create<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::alloc... | monkey531[P]llama/common/json.hpp | static type_error create(int id_, const std::string& what_arg, BasicJsonContext context)
{
const std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
return {id_, w.c_str()};
} | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::type_error nlohmann::json_abi_v3_11_3::detail::type_error::create<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::alloc... | _ZN8nlohmann16json_abi_v3_11_36detail10type_error6createIPNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_:
push rbp
push r15
push r14
push ... | nlohmann::json_abi_v3_11_3::detail::type_error * ZN8nlohmann16json_abi_v3_11_36detail10type_error6createIPNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_... | _ZN8nlohmann16json_abi_v3_11_36detail10type_error6createIPNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP... |
type_error *
_ZN8nlohmann16json_abi_v3_11_36detail10type_error6createIPNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_
(type_error *param_1... | |
3,432 | int2str | eloqsql/strings/int2str.c | char *
int2str(register long int val, register char *dst, register int radix,
int upcase)
{
char buffer[65];
register char *p;
long int new_val;
const char *dig_vec= upcase ? _dig_vec_upper : _dig_vec_lower;
ulong uval= (ulong) val;
if (radix < 0)
{
if (radix < -36 || radix > -2)
retur... | O3 | c | int2str:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x28(%rbp)
testl %ecx, %ecx
jne 0x78f08
leaq 0x28188a(%rip), %r15 # 0x2fa790
jmp 0x78f0f
leaq 0x281851(%rip), %r15 # 0x2fa760
testl %edx, %edx
js 0x78f1d
leal -0x25(%rdx... | int2str:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
sub rsp, 50h
mov rbx, rsi
mov rax, fs:28h
mov [rbp+var_28], rax
test ecx, ecx
jnz short loc_78F08
lea r15, _dig_vec_lower; "0123456789abcdefghijklmnopqrstuvwxyz"
jmp short loc_78F0F
loc_78F08:
lea r1... | _BYTE * int2str(unsigned long long a1, _BYTE *a2, unsigned int a3, int a4)
{
_BYTE *v4; // rbx
const char *v5; // r15
_BYTE *v6; // rbx
char *v7; // r12
long long v8; // r14
unsigned long long v9; // rax
long long v10; // rdx
char v11; // al
_BYTE v13[9]; // [rsp+3Fh] [rbp-31h] BYREF
unsigned long l... | int2str:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x50
MOV RBX,RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x28],RAX
TEST ECX,ECX
JNZ 0x00178f08
LEA R15,[0x3fa790]
JMP 0x00178f0f
LAB_00178f08:
LEA R15,[0x3fa760]
LAB_00178f0f:
TEST EDX,EDX
JS 0x00178f1d
LEA EAX,[RDX + -0x25]
CMP EAX,-0x... |
int1 * int2str(ulong param_1,int1 *param_2,uint param_3,int param_4)
{
char cVar1;
ulong __numer;
char *pcVar2;
ulong __denom;
char *pcVar3;
long in_FS_OFFSET;
ldiv_t lVar4;
char local_3a [10];
long local_30;
local_30 = *(long *)(in_FS_OFFSET + 0x28);
if (param_4 == 0) {
pcVar3 = "0123456... | |
3,433 | get_internal_charset | eloqsql/mysys/charset.c | static CHARSET_INFO *
get_internal_charset(MY_CHARSET_LOADER *loader, uint cs_number, myf flags)
{
char buf[FN_REFLEN];
struct charset_info_st *cs;
DBUG_ASSERT(cs_number < array_elements(all_charsets));
if ((cs= (struct charset_info_st*) all_charsets[cs_number]))
{
if (cs->state & MY_CS_READY) /* if C... | O0 | c | get_internal_charset:
pushq %rbp
movq %rsp, %rbp
subq $0x300, %rsp # imm = 0x300
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x2d0(%rbp)
movl %esi, -0x2d4(%rbp)
movq %rdx, -0x2e0(%rbp)
jmp 0xdbd9e
movl -0x2d4(%rbp), %eax
movl %eax, %ecx
leaq 0xb9e5d3(%rip), %rax # 0xc7a380
movq (%rax,%rcx,8), %r... | get_internal_charset:
push rbp
mov rbp, rsp
sub rsp, 300h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_2D0], rdi
mov [rbp+var_2D4], esi
mov [rbp+var_2E0], rdx
jmp short $+2
loc_DBD9E:
mov eax, [rbp+var_2D4]
mov ecx, eax
lea rax, all_charsets
mov rax, [rax+rcx*8]
m... | long long get_internal_charset(long long a1, unsigned int a2, long long a3)
{
int charsets_dir; // eax
int v4; // r8d
int v5; // r9d
long long collation_data_inheritance_source; // [rsp+8h] [rbp-2F8h]
long long charset_data_inheritance_source; // [rsp+10h] [rbp-2F0h]
long long v9; // [rsp+18h] [rbp-2E8h]
... | get_internal_charset:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x300
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x2d0],RDI
MOV dword ptr [RBP + -0x2d4],ESI
MOV qword ptr [RBP + -0x2e0],RDX
JMP 0x001dbd9e
LAB_001dbd9e:
MOV EAX,dword ptr [RBP + -0x2d4]
MOV ECX,EAX
LEA RAX,[0xd7a380]
MOV RAX,qwor... |
long get_internal_charset(int8 param_1,uint param_2,int8 param_3)
{
char cVar1;
int8 uVar2;
long lVar3;
long in_FS_OFFSET;
long local_2f0;
int1 local_2c8 [176];
int1 local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_2f0 = (&all_charsets)[param_2];
if (local_2f0 ... | |
3,434 | testing::internal::JsonUnitTestResultPrinter::OutputJsonKey(std::ostream*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator... | giladroyz[P]FindPeaks/build_O1/_deps/googletest-src/googletest/src/gtest.cc | void JsonUnitTestResultPrinter::OutputJsonKey(std::ostream* stream,
const std::string& element_name,
const std::string& name,
const std::string& value,
... | O1 | cpp | testing::internal::JsonUnitTestResultPrinter::OutputJsonKey(std::ostream*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator... | _ZN7testing8internal25JsonUnitTestResultPrinter13OutputJsonKeyEPSoRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_SA_SA_b:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov [rsp+78h+var_6C], r9d
mov r12, r8
mov r14, rcx
mov r15, rdx
mov r13, rsi
mo... | void testing::internal::JsonUnitTestResultPrinter::OutputJsonKey(
long long a1,
long long *a2,
_QWORD *a3,
_QWORD *a4,
_QWORD *a5,
char a6)
{
long long v9; // rax
long long v10; // rbp
long long v11; // rax
long long v12; // rdx
long long v13; // rcx
long lon... | OutputJsonKey:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV dword ptr [RSP + 0xc],R9D
MOV R12,R8
MOV R14,RCX
MOV R15,RDX
MOV R13,RSI
MOV RBX,RDI
LEA RBP,[RSP + 0x30]
MOV RDI,RBP
CALL 0x00126444
MOV RDI,qword ptr [RBP]
MOV RSI,qword ptr [RBP + 0x8]
LAB_00129321:
MOV RDX,R15
CALL 0x0013b4aa
CMP ... |
/* testing::internal::JsonUnitTestResultPrinter::OutputJsonKey(std::ostream*, std::__cxx11::string
const&, std::__cxx11::string const&, std::__cxx11::string const&, std::__cxx11::string const&,
bool) */
void testing::internal::JsonUnitTestResultPrinter::OutputJsonKey
(ostream *param_1,string *par... | |
3,435 | dach_link_equals_str | xtate/src/util-data/data-chain.c | bool dach_link_equals_str(DataLink *link, const char *rhs) {
assert(link);
if (link->link_type != LinkType_String &&
link->link_type != LinkType_Binary)
return false;
assert(link->value_data);
const unsigned char *lhs = link->value_data;
size_t lhs_length = link->data_len;
si... | O3 | c | dach_link_equals_str:
cmpl $0x1, 0x30(%rdi)
ja 0x4fda6
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x34(%rdi), %r15d
movq %rsi, %rdi
callq 0x15470
cmpq %r15, %rax
jne 0x4fda9
addq $0x48, %r14
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x15710
testl %eax, %eax
sete %al
jmp 0x4fdab
xo... | dach_link_equals_str:
cmp dword ptr [rdi+30h], 1
ja short loc_4FDA6
push r15
push r14
push rbx
mov rbx, rsi
mov r14, rdi
mov r15d, [rdi+34h]
mov rdi, rsi
call _strlen
cmp rax, r15
jnz short loc_4FDA9
add r14, 48h ; 'H'
mov rdi, r14
mov rsi, rbx
mov rdx, r15
c... | bool dach_link_equals_str(long long a1, long long a2)
{
long long v2; // r15
if ( *(_DWORD *)(a1 + 48) > 1u )
return 0;
v2 = *(unsigned int *)(a1 + 52);
return strlen(a2) == v2 && (unsigned int)bcmp(a1 + 72, a2, v2) == 0;
}
| dach_link_equals_str:
CMP dword ptr [RDI + 0x30],0x1
JA 0x0014fda6
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
MOV R15D,dword ptr [RDI + 0x34]
MOV RDI,RSI
CALL 0x00115470
CMP RAX,R15
JNZ 0x0014fda9
ADD R14,0x48
MOV RDI,R14
MOV RSI,RBX
MOV RDX,R15
CALL 0x00115710
TEST EAX,EAX
SETZ AL
JMP 0x0014fdab
LAB_0014fda6:
... |
int8 dach_link_equals_str(long param_1,char *param_2)
{
uint uVar1;
int iVar2;
size_t sVar3;
int4 extraout_var;
int8 uVar4;
if (*(uint *)(param_1 + 0x30) < 2) {
uVar1 = *(uint *)(param_1 + 0x34);
sVar3 = strlen(param_2);
if (sVar3 == uVar1) {
iVar2 = bcmp((void *)(param_1 + 0x48),para... | |
3,436 | ma_set_fatal_error | eloqsql/storage/maria/ma_info.c | void _ma_set_fatal_error(MARIA_HA *info, int error)
{
MARIA_SHARE *share= info->s;
_ma_print_error(info, error,
(share->state.changed & STATE_CRASHED_PRINTED) == 0);
maria_mark_crashed_share(share);
share->state.changed|= STATE_CRASHED_PRINTED;
my_errno= error;
DBUG_ASSERT(!maria_assert_if... | O3 | c | ma_set_fatal_error:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movq (%rdi), %r14
xorl %edx, %edx
btl $0xb, 0x170(%r14)
setae %dl
callq 0x4108a
orl $0x802, 0x170(%r14) # imm = 0x802
callq 0xa2f56
movl %ebx, (%rax)
popq %rbx
popq %r14
popq %rbp
retq
| _ma_set_fatal_error:
push rbp
mov rbp, rsp
push r14
push rbx
mov ebx, esi
mov r14, [rdi]
xor edx, edx
bt dword ptr [r14+170h], 0Bh
setnb dl
call _ma_print_error
or dword ptr [r14+170h], 802h
call _my_thread_var
mov [rax], ebx
pop rbx
pop r14
pop rbp
retn
| int * ma_set_fatal_error(_DWORD *a1, int a2, long long a3, long long a4, long long a5, int a6)
{
long long v6; // r14
int *result; // rax
v6 = *(_QWORD *)a1;
ma_print_error(a1, a2, !_bittest((const signed __int32 *)(*(_QWORD *)a1 + 368LL), 0xBu), a4, a5, a6);
*(_DWORD *)(v6 + 368) |= 0x802u;
result = (int ... | _ma_set_fatal_error:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV EBX,ESI
MOV R14,qword ptr [RDI]
XOR EDX,EDX
BT dword ptr [R14 + 0x170],0xb
SETNC DL
CALL 0x0014108a
OR dword ptr [R14 + 0x170],0x802
CALL 0x001a2f56
MOV dword ptr [RAX],EBX
POP RBX
POP R14
POP RBP
RET
|
void _ma_set_fatal_error(long *param_1,int4 param_2)
{
uint *puVar1;
long lVar2;
int4 *puVar3;
lVar2 = *param_1;
_ma_print_error(param_1,param_2,(*(uint *)(lVar2 + 0x170) >> 0xb & 1) == 0);
puVar1 = (uint *)(lVar2 + 0x170);
*puVar1 = *puVar1 | 0x802;
puVar3 = (int4 *)_my_thread_var();
*puVar3 = p... | |
3,437 | 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 0x24a1be(%rip), %rax # 0x301fb8
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:
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]
m... | long long inline_mysql_cond_init(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,[0x401fb8]
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;
}
| |
3,438 | ggml_backend_registry::register_device(ggml_backend_device*) | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-backend-reg.cpp | void register_device(ggml_backend_dev_t device) {
#ifndef NDEBUG
GGML_LOG_DEBUG("%s: registered device %s (%s)\n", __func__, ggml_backend_dev_name(device), ggml_backend_dev_description(device));
#endif
devices.push_back(device);
} | O3 | cpp | ggml_backend_registry::register_device(ggml_backend_device*):
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
movq %rsi, %rdi
callq 0x68e0
movq %rax, %r15
movq %r14, %rdi
callq 0x6760
leaq 0x3906(%rip), %rsi # 0xc266
leaq 0x391e(%rip), %rdx # 0xc285
movl ... | _ZN21ggml_backend_registry15register_deviceEP19ggml_backend_device:
push r15
push r14
push rbx
sub rsp, 10h
mov r14, rsi
mov rbx, rdi
mov [rsp+28h+var_20], rsi
mov rdi, rsi
call _ggml_backend_dev_name
mov r15, rax
mov rdi, r14
call _ggml_backend_dev_description
lea rsi, aS... | long long ggml_backend_registry::register_device(long long a1, long long a2)
{
const char *v3; // r15
const char *v4; // rax
long long result; // rax
_QWORD *v6; // rsi
_QWORD v7[4]; // [rsp+8h] [rbp-20h] BYREF
v7[0] = a2;
v3 = (const char *)ggml_backend_dev_name(a2);
v4 = (const char *)ggml_backend_d... | register_device:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV R14,RSI
MOV RBX,RDI
MOV qword ptr [RSP + 0x8],RSI
MOV RDI,RSI
CALL 0x001068e0
MOV R15,RAX
MOV RDI,R14
CALL 0x00106760
LEA RSI,[0x10c266]
LEA RDX,[0x10c285]
MOV EDI,0x1
MOV RCX,R15
MOV R8,RAX
XOR EAX,EAX
CALL 0x00106220
MOV RSI,qword ptr [RBX + 0x20]
CMP RSI,q... |
/* ggml_backend_registry::register_device(ggml_backend_device*) */
void __thiscall
ggml_backend_registry::register_device(ggml_backend_registry *this,ggml_backend_device *param_1)
{
int8 *puVar1;
int8 uVar2;
int8 uVar3;
ggml_backend_device *local_20;
local_20 = param_1;
uVar2 = ggml_backend_dev_name(p... | |
3,439 | facebook::yoga::StyleValuePool_store_keywords_Test::~StyleValuePool_store_keywords_Test() | yoga-mod/tests/StyleValuePoolTest.cpp | TEST(StyleValuePool, store_keywords) {
StyleValuePool pool;
StyleValueHandle handleMaxContent;
StyleValueHandle handleFitContent;
StyleValueHandle handleStretch;
pool.store(handleMaxContent, StyleSizeLength::ofMaxContent());
pool.store(handleFitContent, StyleSizeLength::ofFitContent());
pool.store(handle... | O0 | cpp | facebook::yoga::StyleValuePool_store_keywords_Test::~StyleValuePool_store_keywords_Test():
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xbc680
movq -0x10(%rbp), %rdi
movl $0x10, %esi
callq 0x354d0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
| _ZN8facebook4yoga34StyleValuePool_store_keywords_TestD0Ev:
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 _ZN8facebook4yoga34StyleValuePool_store_keywords_TestD2Ev; facebook::yoga::StyleValuePool_store_keywords_Test::~StyleValuePoo... | void facebook::yoga::StyleValuePool_store_keywords_Test::~StyleValuePool_store_keywords_Test(
facebook::yoga::StyleValuePool_store_keywords_Test *this)
{
facebook::yoga::StyleValuePool_store_keywords_Test::~StyleValuePool_store_keywords_Test(this);
operator delete(this, 0x10uLL);
}
| ~StyleValuePool_store_keywords_Test:
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 0x001bc680
MOV RDI,qword ptr [RBP + -0x10]
MOV ESI,0x10
CALL 0x001354d0
ADD RSP,0x10
POP RBP
RET
|
/* facebook::yoga::StyleValuePool_store_keywords_Test::~StyleValuePool_store_keywords_Test() */
void __thiscall
facebook::yoga::StyleValuePool_store_keywords_Test::~StyleValuePool_store_keywords_Test
(StyleValuePool_store_keywords_Test *this)
{
~StyleValuePool_store_keywords_Test(this);
operator_delete... | |
3,440 | translog_write_variable_record_chunk3_page | eloqsql/storage/maria/ma_loghandler.c | static my_bool
translog_write_variable_record_chunk3_page(struct st_translog_parts *parts,
uint16 length,
TRANSLOG_ADDRESS *horizon,
struct st_buffer_cursor *cursor)
{
LEX_CUSTRING *part;
... | O3 | c | translog_write_variable_record_chunk3_page:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movl %esi, %r12d
movq %rdi, %r14
movq %rdx, %rdi
movq %rcx, %rsi
callq 0x6b5d7
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x6b3b7
testw %r12w, %r12w
... | translog_write_variable_record_chunk3_page:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
sub rsp, 10h
mov rbx, rcx
mov r15, rdx
mov r12d, esi
mov r14, rdi
mov rdi, rdx
mov rsi, rcx
call translog_chaser_page_next
mov ecx, eax
mov al, 1
test cl, cl... | char translog_write_variable_record_chunk3_page(long long a1, unsigned __int16 a2, _QWORD *a3, long long a4)
{
char v6; // cl
char result; // al
long long v8; // rax
long long v9; // rcx
char v10; // [rsp+Dh] [rbp-23h] BYREF
unsigned __int16 v11; // [rsp+Eh] [rbp-22h]
v6 = translog_chaser_page_next(a3, ... | translog_write_variable_record_chunk3_page:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV RBX,RCX
MOV R15,RDX
MOV R12D,ESI
MOV R14,RDI
MOV RDI,RDX
MOV RSI,RCX
CALL 0x0016b5d7
MOV ECX,EAX
MOV AL,0x1
TEST CL,CL
JNZ 0x0016b3b7
TEST R12W,R12W
JNZ 0x0016b3c4
LAB_0016b3b5:
XOR EAX,EAX
LAB_0016b3b7... |
int8
translog_write_variable_record_chunk3_page
(long param_1,ushort param_2,int8 param_3,int8 param_4)
{
long lVar1;
char cVar2;
int8 uVar3;
uint uVar4;
long lVar5;
int1 local_2b;
ushort local_2a;
cVar2 = translog_chaser_page_next(param_3,param_4);
uVar3 = 1;
if (cVar2 == '\0') {
... | |
3,441 | js_create_array_iterator | bluesky950520[P]quickjs/quickjs.c | static JSValue js_create_array_iterator(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv, int magic)
{
JSValue enum_obj, arr;
JSArrayIteratorData *it;
JSIteratorKindEnum kind;
int class_id;
kind = magic & 3;
if (magic & 4) {
/* string ite... | O1 | c | js_create_array_iterator:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebx
movq %rdi, %r14
testb $0x4, %bl
jne 0x4237e
callq 0x26ddd
movq %rax, %r15
movq %rdx, %r12
movl $0x2c, %ecx
jmp 0x4238e
callq 0x425ff
movq %rax, %r15
movq %rdx, %r12
movl $0x2d, %ecx
cmpl $0x6, %r12d
je... | js_create_array_iterator:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov ebx, r9d
mov r14, rdi
test bl, 4
jnz short loc_4237E
call JS_ToObject
mov r15, rax
mov r12, rdx
mov ecx, 2Ch ; ','
jmp short loc_4238E
loc_4237E:
call JS_ToStringCheckOb... | long long js_create_array_iterator(
long long 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,
__m128... | js_create_array_iterator:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV EBX,R9D
MOV R14,RDI
TEST BL,0x4
JNZ 0x0014237e
CALL 0x00126ddd
MOV R15,RAX
MOV R12,RDX
MOV ECX,0x2c
JMP 0x0014238e
LAB_0014237e:
CALL 0x001425ff
MOV R15,RAX
MOV R12,RDX
MOV ECX,0x2d
LAB_0014238e:
CMP R12D,0x6
JZ 0x001423b7
MOV ... |
int1 [16] js_create_array_iterator(long param_1)
{
int1 (*pauVar1) [16];
int iVar2;
uint in_R9D;
int1 auVar3 [16];
int1 auVar4 [16];
if ((in_R9D & 4) == 0) {
auVar3 = JS_ToObject();
iVar2 = 0x2c;
}
else {
auVar3 = JS_ToStringCheckObject();
iVar2 = 0x2d;
}
if (auVar3._8_4_ != 6)... | |
3,442 | Utils::startsWithDot(std::filesystem::__cxx11::path const&) | shubhamoy[P]dir2txt/src/Utils.cpp | bool startsWithDot(const std::filesystem::path& path) {
std::string name = path.filename().string();
return !name.empty() && name[0] == '.';
} | O0 | cpp | Utils::startsWithDot(std::filesystem::__cxx11::path const&):
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rsi
leaq -0x50(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x5fe60
movq -0x68(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x5ff60
jmp 0x8a55f
leaq -0x50(%rbp), %rdi
callq 0xbd30
lea... | _ZN5Utils13startsWithDotERKNSt10filesystem7__cxx114pathE:
push rbp
mov rbp, rsp
sub rsp, 80h
mov [rbp+var_8], rdi
mov rsi, [rbp+var_8]
lea rdi, [rbp+var_50]; this
mov [rbp+var_68], rdi
call _ZNKSt10filesystem7__cxx114path8filenameEv; std::filesystem::__cxx11::path::filename(void)
mov r... | bool Utils::startsWithDot(Utils *this, const std::filesystem::__cxx11::path *a2)
{
bool v3; // [rsp+17h] [rbp-69h]
_BYTE v4[40]; // [rsp+30h] [rbp-50h] BYREF
_BYTE v5[32]; // [rsp+58h] [rbp-28h] BYREF
Utils *v6; // [rsp+78h] [rbp-8h]
v6 = this;
std::filesystem::__cxx11::path::filename((std::filesystem::__... | startsWithDot:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
MOV qword ptr [RBP + -0x8],RDI
MOV RSI,qword ptr [RBP + -0x8]
LEA RDI,[RBP + -0x50]
MOV qword ptr [RBP + -0x68],RDI
CALL 0x0015fe60
MOV RSI,qword ptr [RBP + -0x68]
LAB_0018a554:
LEA RDI,[RBP + -0x28]
CALL 0x0015ff60
JMP 0x0018a55f
LAB_0018a55f:
LEA RDI,[RBP + -0x50]
CALL... |
/* Utils::startsWithDot(std::filesystem::__cxx11::path const&) */
bool Utils::startsWithDot(path *param_1)
{
uint uVar1;
char *pcVar2;
bool local_71;
path local_58 [40];
string local_30 [32];
path *local_10;
local_10 = param_1;
std::filesystem::__cxx11::path::filename();
/* try... | |
3,443 | my_casedn_utf8mb4 | eloqsql/strings/ctype-utf8.c | static size_t
my_casedn_utf8mb4(CHARSET_INFO *cs,
const char *src, size_t srclen,
char *dst, size_t dstlen)
{
my_wc_t wc;
int srcres, dstres;
const char *srcend= src + srclen;
char *dstend= dst + dstlen, *dst0= dst;
MY_UNICASE_INFO *uni_plane= cs->caseinfo;
DBUG_ASSERT(sr... | O3 | c | my_casedn_utf8mb4:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, -0x38(%rbp)
movq %rcx, %r13
movq %rcx, -0x30(%rbp)
testq %rdx, %rdx
jle 0x5460e
movq %rdx, %r15
movq %rsi, %r12
addq %rsi, %r15
movq -0x30(%rbp), %r13
addq %r13, -0x38(%rbp)
movq 0x78(%rdi), %... | my_casedn_utf8mb4:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov [rbp+var_38], r8
mov r13, rcx
mov [rbp+var_30], rcx
test rdx, rdx
jle short loc_5460E
mov r15, rdx
mov r12, rsi
add r15, rsi
mov r13, [rbp+var_30]
add [... | _BYTE * my_casedn_utf8mb4(long long a1, unsigned long long a2, long long a3, _BYTE *a4, unsigned long long a5)
{
_BYTE *v5; // r13
unsigned long long v6; // r12
unsigned long long v7; // r15
unsigned long long *v8; // r14
int v9; // eax
unsigned int v10; // ebx
unsigned long long v11; // rsi
long long v... | my_casedn_utf8mb4:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV qword ptr [RBP + -0x38],R8
MOV R13,RCX
MOV qword ptr [RBP + -0x30],RCX
TEST RDX,RDX
JLE 0x0015460e
MOV R15,RDX
MOV R12,RSI
ADD R15,RSI
MOV R13,qword ptr [RBP + -0x30]
ADD qword ptr [RBP + -0x38],R13
MOV R14,qword ptr [... |
long my_casedn_utf8mb4(long param_1,ulong param_2,long param_3,long param_4,long param_5)
{
ulong *puVar1;
long lVar2;
uint uVar3;
uint uVar4;
ulong uVar5;
ulong local_48;
long local_40;
long local_38;
local_38 = param_4;
if (0 < param_3) {
uVar5 = param_3 + param_2;
local_40 = param_5 ... | |
3,444 | test_bug28934 | eloqsql/libmariadb/unittest/libmariadb/ps_bugs.c | static int test_bug28934(MYSQL *mysql)
{
my_bool error= 0;
MYSQL_BIND bind[5];
MYSQL_STMT *stmt;
int rc, cnt;
rc= mysql_query(mysql, "drop table if exists t1");
check_mysql_rc(rc, mysql);
rc= mysql_query(mysql, "create table t1(id int)");
check_mysql_rc(rc, mysql);
rc= mysql_query(mysql, "insert int... | O0 | c | test_bug28934:
pushq %rbp
movq %rsp, %rbp
subq $0x2a0, %rsp # imm = 0x2A0
movq %rdi, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x427e4(%rip), %rsi # 0x664d2
callq 0x38a70
movl %eax, -0x25c(%rbp)
cmpl $0x0, -0x25c(%rbp)
je 0x23d5d
movl -0x25c(%rbp), %eax
movl %eax, -0x26c(%rbp)
movq -... | test_bug28934:
push rbp
mov rbp, rsp
sub rsp, 2A0h
mov [rbp+var_10], rdi
mov [rbp+var_11], 0
mov rdi, [rbp+var_10]
lea rsi, aDropTableIfExi; "drop table if exists t1"
call mysql_query
mov [rbp+var_25C], eax
cmp [rbp+var_25C], 0
jz short loc_23D5D
mov eax, [rbp+var_25C]
mov... | long long test_bug28934(long long a1)
{
int v1; // eax
int v2; // eax
int v3; // eax
int v4; // eax
int v5; // r8d
int v6; // r9d
int v7; // eax
int v8; // r8d
int v9; // r9d
char v10; // al
int v11; // eax
int v12; // r8d
int v13; // r9d
int v14; // r8d
int v15; // r9d
int v16; // eax
... | test_bug28934:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x2a0
MOV qword ptr [RBP + -0x10],RDI
MOV byte ptr [RBP + -0x11],0x0
MOV RDI,qword ptr [RBP + -0x10]
LEA RSI,[0x1664d2]
CALL 0x00138a70
MOV dword ptr [RBP + -0x25c],EAX
CMP dword ptr [RBP + -0x25c],0x0
JZ 0x00123d5d
MOV EAX,dword ptr [RBP + -0x25c]
MOV dword ptr [RBP + -0x26c... |
int4 test_bug28934(int8 param_1)
{
char cVar1;
int iVar2;
int4 uVar3;
int8 uVar4;
int local_268;
int local_264;
long local_260;
int1 local_258 [16];
long alStack_248 [10];
int8 auStack_1f8 [59];
char local_19;
int8 local_18;
int4 local_c;
local_19 = 0;
local_18 = param_1;
iVar2 = my... | |
3,445 | LefDefParser::lefwSpacing(char const*, char const*, double, char const*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefwWriter.cpp | int
lefwSpacing(const char *layerName1,
const char *layerName2,
double minSpace,
const char *stack)
{ // optioanl
lefwObsoleteNum = LEFW_SPACING;
if (!lefwFile)
return LEFW_UNINITIALIZED;
if (lefwState != LEFW_SPACING_START &&
lefwState != LEFW_S... | O3 | cpp | LefDefParser::lefwSpacing(char const*, char const*, double, char const*):
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %rdx
movl $0x43, 0x148d8(%rip) # 0x24d48
leaq 0x14989(%rip), %r15 # 0x24e00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x1050b
movq %rsi, %rcx
leaq 0x14bc3(%rip), %r14 # 0x25050
mo... | _ZN12LefDefParser11lefwSpacingEPKcS1_dS1_:
push r15
push r14
push rbx
mov rbx, rdx
mov rdx, rdi
mov cs:_ZN12LefDefParserL15lefwObsoleteNumE, 43h ; 'C'; LefDefParser::lefwObsoleteNum
lea r15, _ZN12LefDefParser8lefwFileE; LefDefParser::lefwFile
mov rdi, [r15]
test rdi, rdi
jz loc_1050... | long long LefDefParser::lefwSpacing(
LefDefParser *this,
const char *a2,
const char *a3,
double a4,
const char *a5,
int a6,
int a7)
{
long long result; // rax
int v9; // edx
int v10; // ecx
int v11; // r8d
int v12; // r9d
LefDefParser::lefwObsoleteNu... | lefwSpacing:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RDX
MOV RDX,RDI
MOV dword ptr [0x00124d48],0x43
LEA R15,[0x124e00]
MOV RDI,qword ptr [R15]
TEST RDI,RDI
JZ 0x0011050b
MOV RCX,RSI
LEA R14,[0x125050]
MOV ESI,dword ptr [R14]
CMP ESI,0x43
JZ 0x0011049f
MOV EAX,0x2
CMP ESI,0xd
JNZ 0x00110510
LAB_0011049f:
MOV EAX,0x3
TEST RD... |
/* LefDefParser::lefwSpacing(char const*, char const*, double, char const*) */
int8 LefDefParser::lefwSpacing(char *param_1,char *param_2,double param_3,char *param_4)
{
int iVar1;
int8 uVar2;
lefwObsoleteNum = 0x43;
if (lefwFile == (_IO_FILE *)0x0) {
uVar2 = 1;
}
else if ((((lefwState == 0x43) ||... | |
3,446 | glfwPlatformRestoreWindow | untodesu[P]riteg/build_O3/_deps/glfw-src/src/x11_window.c | void _glfwPlatformRestoreWindow(_GLFWwindow* window)
{
if (window->x11.overrideRedirect)
{
// Override-redirect windows cannot be iconified or restored, as those
// tasks are performed by the window manager
_glfwInputError(GLFW_PLATFORM_ERROR,
"X11: Iconification ... | O3 | c | glfwPlatformRestoreWindow:
cmpl $0x0, 0x358(%rdi)
je 0x232d6
leaq 0x6290f(%rip), %rsi # 0x85bd9
movl $0x10008, %edi # imm = 0x10008
xorl %eax, %eax
jmp 0x18e91
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
movq 0x348(%rdi), %rdi
callq 0x23894
cmpl $0x3, ... | _glfwPlatformRestoreWindow:
cmp dword ptr [rdi+358h], 0
jz short loc_232D6
lea rsi, aX11Iconificati; "X11: Iconification of full screen windo"...
mov edi, 10008h
xor eax, eax
jmp _glfwInputError
loc_232D6:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0C8h... | long long ( * glfwPlatformRestoreWindow(long long a1))(_QWORD, _QWORD)
{
long long v2; // r14
long long v3; // r12
long long v4; // r13
long long v5; // rbp
_DWORD v6[8]; // [rsp+0h] [rbp-F0h] BYREF
long long v7; // [rsp+20h] [rbp-D0h]
long long v8; // [rsp+28h] [rbp-C8h]
int v9; // [rsp+30h] [rbp-C0h]
... | _glfwPlatformRestoreWindow:
CMP dword ptr [RDI + 0x358],0x0
JZ 0x001232d6
LEA RSI,[0x185bd9]
MOV EDI,0x10008
XOR EAX,EAX
JMP 0x00118e91
LAB_001232d6:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xc8
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x348]
CALL 0x00123894
CMP EAX,0x3
JNZ 0x00123322
LEA RAX,[0x1a863... |
void _glfwPlatformRestoreWindow(long param_1)
{
int8 uVar1;
long lVar2;
long lVar3;
long lVar4;
int iVar5;
int4 local_f0 [8];
int8 local_d0;
long local_c8;
int4 local_c0;
long local_b0;
long local_a8;
int8 local_a0;
int local_94;
if (*(int *)(param_1 + 0x358) != 0) {
_glfwInputError... | |
3,447 | google::protobuf::OneofDescriptorProto::InternalSwap(google::protobuf::OneofDescriptorProto*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.pb.cc | void OneofDescriptorProto::InternalSwap(OneofDescriptorProto* other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTO... | O0 | cpp | google::protobuf::OneofDescriptorProto::InternalSwap(google::protobuf::OneofDescriptorProto*):
subq $0x78, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x80180
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rdi
callq 0x80180
movq (%rsp), %rcx
movq %rax, 0x8(%rsp)
addq $0x8, %r... | _ZN6google8protobuf20OneofDescriptorProto12InternalSwapEPS1_:
sub rsp, 78h
mov [rsp+78h+var_58], rdi
mov [rsp+78h+var_60], rsi
mov rdi, [rsp+78h+var_58]; this
mov [rsp+78h+var_78], rdi
call _ZNK6google8protobuf11MessageLite21GetArenaForAllocationEv; google::protobuf::MessageLite::GetArenaForAlloc... | long long google::protobuf::OneofDescriptorProto::InternalSwap(
google::protobuf::OneofDescriptorProto *this,
google::protobuf::OneofDescriptorProto *a2)
{
google::protobuf::MessageLite::GetArenaForAllocation(this);
google::protobuf::MessageLite::GetArenaForAllocation(a2);
std::swap<long>((char *... | InternalSwap:
SUB RSP,0x78
MOV qword ptr [RSP + 0x20],RDI
MOV qword ptr [RSP + 0x18],RSI
MOV RDI,qword ptr [RSP + 0x20]
MOV qword ptr [RSP],RDI
CALL 0x00180180
MOV qword ptr [RSP + 0x10],RAX
MOV RDI,qword ptr [RSP + 0x18]
CALL 0x00180180
MOV RCX,qword ptr [RSP]
MOV qword ptr [RSP + 0x8],RAX
ADD RCX,0x8
MOV RAX,qword pt... |
/* google::protobuf::OneofDescriptorProto::InternalSwap(google::protobuf::OneofDescriptorProto*) */
void __thiscall
google::protobuf::OneofDescriptorProto::InternalSwap
(OneofDescriptorProto *this,OneofDescriptorProto *param_1)
{
MessageLite::GetArenaForAllocation((MessageLite *)this);
MessageLite::Get... | |
3,448 | my_dir | eloqsql/mysys/my_lib.c | MY_DIR *my_dir(const char *path, myf MyFlags)
{
MY_DIR_HANDLE *dirh;
FILEINFO finfo;
DIR *dirp;
struct dirent *dp;
char tmp_path[FN_REFLEN + 2], *tmp_file;
char dirent_tmp[sizeof(struct dirent)+_POSIX_PATH_MAX+1];
DBUG_ENTER("my_dir");
DBUG_PRINT("my",("path: '%s' MyFlags: %lu",path,MyFlags));
... | O0 | c | my_dir:
pushq %rbp
movq %rsp, %rbp
subq $0x530, %rsp # imm = 0x530
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x440(%rbp)
movq %rsi, -0x448(%rbp)
jmp 0x697e8
leaq -0x210(%rbp), %rdi
movq -0x440(%rbp), %rsi
callq 0x69b90
movq %rax, -0x478(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x26500
movq %rax, -0x46... | my_dir:
push rbp
mov rbp, rsp
sub rsp, 530h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_440], rdi
mov [rbp+var_448], rsi
jmp short $+2
loc_697E8:
lea rdi, [rbp+var_210]
mov rsi, [rbp+var_440]
call directory_file_name
mov [rbp+var_478], rax
lea rdi, [rbp+var_210]
c... | long long my_dir(long long a1, long long a2)
{
unsigned int *v2; // rax
long long v4; // [rsp+10h] [rbp-520h]
int v5; // [rsp+1Ch] [rbp-514h]
_BYTE *v6; // [rsp+20h] [rbp-510h]
_BYTE v7[24]; // [rsp+28h] [rbp-508h] BYREF
__int16 v8; // [rsp+40h] [rbp-4F0h]
long long v9; // [rsp+B8h] [rbp-478h]
char *v1... | my_dir:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x530
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x440],RDI
MOV qword ptr [RBP + -0x448],RSI
JMP 0x001697e8
LAB_001697e8:
LEA RDI,[RBP + -0x210]
MOV RSI,qword ptr [RBP + -0x440]
CALL 0x00169b90
MOV qword ptr [RBP + -0x478],RAX
LEA RDI,[RBP + -0x... |
int8 * my_dir(int8 param_1,ulong param_2)
{
int iVar1;
int8 uVar2;
char cVar3;
int *piVar4;
int4 *puVar5;
long in_FS_OFFSET;
int1 *local_518;
int1 local_510 [24];
uint local_4f8;
char *local_480;
dirent64 *local_478;
DIR *local_470;
long local_468;
int1 *local_460;
int8 *local_458;
ulo... | |
3,449 | mysql_fetch_row | eloqsql/libmariadb/libmariadb/mariadb_lib.c | MYSQL_ROW STDCALL
mysql_fetch_row(MYSQL_RES *res)
{
if (!res)
return 0;
if (res->handle)
{
if (res->handle->status != MYSQL_STATUS_USE_RESULT &&
res->handle->status != MYSQL_STATUS_GET_RESULT)
return 0;
}
if (!res->data)
{ /* Unbufferred fetch */
if (!res->eof && res->handle)
... | O3 | c | mysql_fetch_row:
testq %rdi, %rdi
je 0x1b449
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x78(%rdi), %rdi
testq %rdi, %rdi
je 0x1b428
movl 0x488(%rdi), %eax
decl %eax
cmpl $0x1, %eax
ja 0x1b49c
cmpq $0x0, 0x18(%rbx)
je 0x1b44c
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x1b494
movq (%rax), %rcx... | mysql_fetch_row:
test rdi, rdi
jz short loc_1B449
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rdi, [rdi+78h]
test rdi, rdi
jz short loc_1B428
mov eax, [rdi+488h]
dec eax
cmp eax, 1
ja short loc_1B49C
loc_1B428:
cmp qword ptr [rbx+18h], 0
jz sho... | long long mysql_fetch_row(long long a1)
{
long long v2; // rdi
long long *v3; // rax
long long v4; // rcx
long long result; // rax
if ( !a1 )
return 0LL;
v2 = *(_QWORD *)(a1 + 120);
if ( v2 && (unsigned int)(*(_DWORD *)(v2 + 1160) - 1) > 1 )
return 0LL;
if ( *(_QWORD *)(a1 + 24) )
{
v3 =... | mysql_fetch_row:
TEST RDI,RDI
JZ 0x0011b449
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x78]
TEST RDI,RDI
JZ 0x0011b428
MOV EAX,dword ptr [RDI + 0x488]
DEC EAX
CMP EAX,0x1
JA 0x0011b49c
LAB_0011b428:
CMP qword ptr [RBX + 0x18],0x0
JZ 0x0011b44c
MOV RAX,qword ptr [RBX + 0x20]
TEST RAX,RA... |
long mysql_fetch_row(long *param_1)
{
long *plVar1;
int iVar2;
long lVar3;
if (param_1 == (long *)0x0) {
return 0;
}
lVar3 = param_1[0xf];
if ((lVar3 == 0) || (*(int *)(lVar3 + 0x488) - 1U < 2)) {
if (param_1[3] == 0) {
if (lVar3 == 0) {
return 0;
}
if ((char)param_1... | |
3,450 | my_b_cache_read | eloqsql/mysys/mf_iocache.c | int _my_b_cache_read(IO_CACHE *info, uchar *Buffer, size_t Count)
{
size_t length= 0, diff_length, left_length= 0, max_length;
my_off_t pos_in_file;
DBUG_ENTER("_my_b_cache_read");
/* pos_in_file always point on where info->buffer was read */
pos_in_file=info->pos_in_file+ (size_t) (info->read_end - info->bu... | O3 | c | my_b_cache_read:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
movq 0x18(%rdi), %r14
subq 0x20(%rdi), %r14
addq (%rdi), %r14
cmpl $0x0, 0xe0(%rdi)
je 0x51c89
movl 0xd4(%rbx), %r15d
leaq 0x2de238(%rip), %rax # 0x32fe5... | _my_b_cache_read:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 78h
mov r13, rdx
mov r12, rsi
mov rbx, rdi
mov r14, [rdi+18h]
sub r14, [rdi+20h]
add r14, [rdi]
cmp dword ptr [rdi+0E0h], 0
jz short loc_51C89
mov r15d, [rbx+0D4h]... | long long my_b_cache_read(long long a1, long long a2, unsigned long long a3)
{
long long v4; // r12
unsigned long long v5; // r14
unsigned int v6; // r15d
long long v7; // rax
long long v8; // rax
long long v9; // rax
unsigned long long v10; // rax
long long v11; // rcx
unsigned long long v12; // r15... | _my_b_cache_read:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x78
MOV R13,RDX
MOV R12,RSI
MOV RBX,RDI
MOV R14,qword ptr [RDI + 0x18]
SUB R14,qword ptr [RDI + 0x20]
ADD R14,qword ptr [RDI]
CMP dword ptr [RDI + 0xe0],0x0
JZ 0x00151c89
MOV R15D,dword ptr [RBX + 0xd4]
LEA RAX,[0x42fe50]
MOV R... |
int8 _my_b_cache_read(ulong *param_1,void *param_2,ulong param_3)
{
int4 uVar1;
void *__src;
ulong uVar2;
int iVar3;
long lVar4;
ulong *puVar5;
ulong uVar6;
long lVar7;
long lVar8;
ulong uVar9;
long lVar10;
ulong uVar11;
ulong uVar12;
int1 local_a8 [72];
long local_60;
long local_58;
... | |
3,451 | js_set_difference | bluesky950520[P]quickjs/quickjs.c | static JSValue js_set_difference(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue newset, item, iter, keys, has, next, rv;
JSMapState *s, *t;
JSMapRecord *mr;
int64_t size;
BOOL done;
int ok;
has = JS_UNDEFINED;
iter = JS_UNDEFINED;
... | O2 | c | js_set_difference:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r8, %rbp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
andl $0x0, 0x60(%rsp)
movq %rsi, 0x88(%rsp)
movq %rdx, 0x90(%rsp)
pushq $0x3
popq %r14
movq %r14, 0x68(%rsp)
andl $0x0, 0x70(%rsp)
movq %r14, 0x78(%rsp)
pu... | js_set_difference:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 98h
mov rbp, r8
mov r15, rdx
mov r12, rsi
mov rbx, rdi
and dword ptr [rsp+0C8h+var_68], 0
mov [rsp+0C8h+var_40], rsi
mov [rsp+0C8h+var_38], rdx
push 3
pop r14
mov [rsp+0C8h+var_... | unsigned long long js_set_difference(
long long a1,
_DWORD *a2,
long long a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11,
long long a12,
_QWORD *a13)
{
long long v15; ... | js_set_difference:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x98
MOV RBP,R8
MOV R15,RDX
MOV R12,RSI
MOV RBX,RDI
AND dword ptr [RSP + 0x60],0x0
MOV qword ptr [RSP + 0x88],RSI
MOV qword ptr [RSP + 0x90],RDX
PUSH 0x3
POP R14
MOV qword ptr [RSP + 0x68],R14
AND dword ptr [RSP + 0x70],0x0
MOV qword ptr [... |
int1 [16]
js_set_difference(long param_1,int8 param_2,int8 param_3,int8 param_4,
int8 *param_5)
{
int1 auVar1 [16];
int iVar2;
long lVar3;
int8 uVar4;
ulong uVar5;
ulong uVar7;
int1 auVar8 [16];
int1 auVar9 [16];
int1 auVar10 [16];
int1 auVar11 [16];
int8 local_b8;
int8 local... | |
3,452 | PtrToSegment | seiftnesse[P]memoryallocator/src/custom_alloc_util.c | segment_t *PtrToSegment(void *ptr) {
if (!ptr) {
HEAP_LOG("Cannot convert NULL pointer to segment\n");
return NULL;
}
// Calculate segment address based on alignment and metadata size
uintptr_t addr = (uintptr_t) ptr;
addr &= ~(ALIGNMENT - 1); // Round down to alignment boundary
... | O3 | c | PtrToSegment:
testq %rdi, %rdi
je 0x2861
movq %rdi, %rax
andq $-0x10, %rax
addq $-0x30, %rax
leaq 0x41038dd(%rip), %rcx # 0x4106130
cmpl $0x0, (%rcx)
je 0x2863
cmpl $0xcafebafe, 0x28(%rax) # imm = 0xCAFEBAFE
je 0x2863
xorl %eax, %eax
retq
| PtrToSegment:
test rdi, rdi
jz short loc_2861
mov rax, rdi
and rax, 0FFFFFFFFFFFFFFF0h
add rax, 0FFFFFFFFFFFFFFD0h
lea rcx, debug_mode
cmp dword ptr [rcx], 0
jz short locret_2863
cmp dword ptr [rax+28h], 0CAFEBAFEh
jz short locret_2863
loc_2861:
xor eax, eax
locret_2863:
re... | unsigned long long PtrToSegment(long long a1)
{
unsigned long long result; // rax
if ( !a1 )
return 0LL;
result = (a1 & 0xFFFFFFFFFFFFFFF0LL) - 48;
if ( debug_mode )
{
if ( *(_DWORD *)((char *)&qword_28 + (a1 & 0xFFFFFFFFFFFFFFF0LL) - 48) != -889275650 )
return 0LL;
}
return result;
}
| PtrToSegment:
TEST RDI,RDI
JZ 0x00102861
MOV RAX,RDI
AND RAX,-0x10
ADD RAX,-0x30
LEA RCX,[0x4206130]
CMP dword ptr [RCX],0x0
JZ 0x00102863
CMP dword ptr [RAX + 0x28],0xcafebafe
JZ 0x00102863
LAB_00102861:
XOR EAX,EAX
LAB_00102863:
RET
|
long PtrToSegment(ulong param_1)
{
long lVar1;
if (param_1 != 0) {
lVar1 = (param_1 & 0xfffffffffffffff0) - 0x30;
if (debug_mode == 0) {
return lVar1;
}
if (*(int *)((param_1 & 0xfffffffffffffff0) - 8) == -0x35014502) {
return lVar1;
}
}
return 0;
}
| |
3,453 | decimal2ulonglong | eloqsql/strings/decimal.c | int decimal2ulonglong(const decimal_t *from, ulonglong *to)
{
dec1 *buf=from->buf;
ulonglong x=0;
int intg, frac;
if (from->sign)
{
*to= 0;
return E_DEC_OVERFLOW;
}
for (intg=from->intg; intg > 0; intg-=DIG_PER_DEC1)
{
/*
Check that the decimal is bigger than any possible integer... | O3 | c | decimal2ulonglong:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
cmpb $0x0, 0xc(%rdi)
je 0x6013b
xorl %r11d, %r11d
movq %r11, (%rsi)
movl $0x2, %eax
jmp 0x601a2
movq 0x10(%rdi), %rcx
movl (%rdi), %edx
xorl %eax, %eax
testl %edx, %edx
jle 0x60195
movabsq $0x44b82fa08, %r8 # imm = 0x44B82FA08
addl $0x9, %edx
xorl %r9d, %r9... | decimal2ulonglong:
push rbp
mov rbp, rsp
push rbx
cmp byte ptr [rdi+0Ch], 0
jz short loc_6013B
xor r11d, r11d
loc_60131:
mov [rsi], r11
mov eax, 2
jmp short loc_601A2
loc_6013B:
mov rcx, [rdi+10h]
mov edx, [rdi]
xor eax, eax
test edx, edx
jle short loc_60195
mov ... | long long decimal2ulonglong(long long a1, _QWORD *a2)
{
long long v2; // r11
long long result; // rax
int *v4; // rcx
int v5; // edx
unsigned long long v6; // r9
int v7; // ebx
int v8; // edx
int v9; // edx
if ( *(_BYTE *)(a1 + 12) )
{
v2 = 0LL;
LABEL_3:
*a2 = v2;
return 2LL;
}
els... | decimal2ulonglong:
PUSH RBP
MOV RBP,RSP
PUSH RBX
CMP byte ptr [RDI + 0xc],0x0
JZ 0x0016013b
XOR R11D,R11D
LAB_00160131:
MOV qword ptr [RSI],R11
MOV EAX,0x2
JMP 0x001601a2
LAB_0016013b:
MOV RCX,qword ptr [RDI + 0x10]
MOV EDX,dword ptr [RDI]
XOR EAX,EAX
TEST EDX,EDX
JLE 0x00160195
MOV R8,0x44b82fa08
ADD EDX,0x9
XOR R9D,R... |
int8 decimal2ulonglong(int *param_1,ulong *param_2)
{
int8 uVar1;
int *piVar2;
int iVar3;
int iVar4;
ulong uVar5;
ulong uVar6;
if ((char)param_1[3] == '\0') {
piVar2 = *(int **)(param_1 + 4);
uVar1 = 0;
if (*param_1 < 1) {
uVar5 = 0;
}
else {
iVar3 = *param_1 + 9;
... | |
3,454 | common_sampler_sample_and_accept_n(common_sampler*, llama_context*, std::vector<int, std::allocator<int>> const&, bool) | monkey531[P]llama/common/sampling.cpp | std::vector<llama_token> common_sampler_sample_and_accept_n(struct common_sampler * gsmpl, struct llama_context * ctx, const llama_tokens & draft, bool grammar_first) {
std::vector<int> idxs(draft.size() + 1);
for (size_t i = 0; i < idxs.size(); ++i) {
idxs[i] = i;
}
return common_sampler_sampl... | O3 | cpp | common_sampler_sample_and_accept_n(common_sampler*, llama_context*, std::vector<int, std::allocator<int>> const&, bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq 0x8(%rcx), %rsi
subq (%rcx), %r... | _Z34common_sampler_sample_and_accept_nP14common_samplerP13llama_contextRKSt6vectorIiSaIiEEb:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebp, r8d
mov r14, rcx
mov r15, rdx
mov r12, rsi
mov rbx, rdi
mov rsi, [rcx+8]
sub rsi, [rcx]
sar rsi, ... | long long * common_sampler_sample_and_accept_n(
long long *a1,
_QWORD *a2,
long long a3,
long long *a4,
unsigned __int8 a5)
{
_DWORD *v8; // rax
long long v9; // rdx
unsigned long long v10; // rcx
__m128i v11; // xmm0
__m128i si128; // xmm1
long long v13; // rdx
__m... | common_sampler_sample_and_accept_n:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBP,R8D
MOV R14,RCX
MOV R15,RDX
MOV R12,RSI
MOV RBX,RDI
MOV RSI,qword ptr [RCX + 0x8]
SUB RSI,qword ptr [RCX]
SAR RSI,0x2
INC RSI
LEA R13,[RSP + 0x10]
LEA RDX,[RSP + 0xf]
MOV RDI,R13
CALL 0x001798d2
MOV RAX,qword ... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* common_sampler_sample_and_accept_n(common_sampler*, llama_context*, std::vector<int,
std::allocator<int> > const&, bool) */
common_sampler *
common_sampler_sample_and_accept_n
(common_sampler *param_1,llama_context *p... | |
3,455 | minja::Parser::parseMathUnaryPlusMinus() | monkey531[P]llama/common/minja.hpp | std::shared_ptr<Expression> parseMathUnaryPlusMinus() {
static std::regex unary_plus_minus_tok(R"(\+|-(?![}%#]\}))");
auto op_str = consumeToken(unary_plus_minus_tok);
auto expr = parseExpansion();
if (!expr) throw std::runtime_error("Expected expr of 'unary plus/minus/expansion' express... | O2 | cpp | minja::Parser::parseMathUnaryPlusMinus():
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x9b2f6(%rip), %rax # 0x1032e0
movb (%rax), %al
testb %al, %al
je 0x680c5
leaq 0x9b2c5(%rip), %rdx # 0x1032c0
leaq 0x30(%rsp), %rdi
pushq $0x1
popq %rcx
movq %r14, %rsi
callq 0x63d7c
movq %rsp, ... | _ZN5minja6Parser23parseMathUnaryPlusMinusEv:
push r14
push rbx
sub rsp, 68h
mov r14, rsi
mov rbx, rdi
lea rax, _ZGVZN5minja6Parser23parseMathUnaryPlusMinusEvE20unary_plus_minus_tokB5cxx11; `guard variable for'minja::Parser::parseMathUnaryPlusMinus(void)::unary_plus_minus_tok
mov al, [rax]
test... | minja::Parser * minja::Parser::parseMathUnaryPlusMinus(minja::Parser *this, _QWORD *a2)
{
__int128 v2; // xmm0
long long v3; // rax
std::runtime_error *exception; // r14
long long v6; // [rsp+0h] [rbp-78h] BYREF
long long v7; // [rsp+8h] [rbp-70h] BYREF
BOOL v8; // [rsp+14h] [rbp-64h] BYREF
_BYTE v9[8]; /... | parseMathUnaryPlusMinus:
PUSH R14
PUSH RBX
SUB RSP,0x68
MOV R14,RSI
MOV RBX,RDI
LEA RAX,[0x2032e0]
MOV AL,byte ptr [RAX]
TEST AL,AL
JZ 0x001680c5
LAB_00167ff4:
LEA RDX,[0x2032c0]
LEA RDI,[RSP + 0x30]
PUSH 0x1
POP RCX
MOV RSI,R14
CALL 0x00163d7c
LAB_0016800b:
MOV RDI,RSP
MOV RSI,R14
CALL 0x00168236
MOV RAX,qword ptr [RS... |
/* minja::Parser::parseMathUnaryPlusMinus() */
void minja::Parser::parseMathUnaryPlusMinus(void)
{
long lVar1;
bool bVar2;
int iVar3;
runtime_error *this;
long *in_RDI;
long local_78;
long local_70;
uint local_64;
shared_ptr local_60 [8];
__shared_count<(__gnu_cxx::_Lock_policy)2> local_58 [16];
... | |
3,456 | u64toa_radix_reverse | bluesky950520[P]quickjs/tests/test_conv.c | size_t u64toa_radix_reverse(char buf[minimum_length(65)], uint64_t n, unsigned base)
{
if (likely(n < 0x100000000))
return u32toa_radix_reverse(buf, n, base);
#ifdef USE_SPECIAL_RADIX_10
if (likely(base == 10))
return u64toa_reverse(buf, n);
#endif
char *end;
size_t len = 0;
while (n... | O0 | c | u64toa_radix_reverse:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movl %edx, 0x1c(%rsp)
movabsq $0x100000000, %rax # imm = 0x100000000
cmpq %rax, 0x20(%rsp)
setb %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x4754
movq 0x28(%rsp), %rdi
movq 0x20(%rsp)... | u64toa_radix_reverse:
sub rsp, 38h
mov [rsp+38h+var_10], rdi
mov [rsp+38h+var_18], rsi
mov [rsp+38h+var_1C], edx
mov rax, 100000000h
cmp [rsp+38h+var_18], rax
setb al
xor al, 0FFh
xor al, 0FFh
and al, 1
movzx eax, al
cdqe
cmp rax, 0
jz short loc_4754
mov rdi, [rsp+3... | long long u64toa_radix_reverse(char *a1, unsigned long long a2, unsigned int a3)
{
long long v3; // rcx
long long v4; // rcx
char *v5; // rax
char *v6; // rax
char v8; // [rsp+3h] [rbp-35h]
int v9; // [rsp+4h] [rbp-34h]
long long v10; // [rsp+8h] [rbp-30h]
long long v11; // [rsp+8h] [rbp-30h]
char *i... | u64toa_radix_reverse:
SUB RSP,0x38
MOV qword ptr [RSP + 0x28],RDI
MOV qword ptr [RSP + 0x20],RSI
MOV dword ptr [RSP + 0x1c],EDX
MOV RAX,0x100000000
CMP qword ptr [RSP + 0x20],RAX
SETC AL
XOR AL,0xff
XOR AL,0xff
AND AL,0x1
MOVZX EAX,AL
CDQE
CMP RAX,0x0
JZ 0x00104754
MOV RDI,qword ptr [RSP + 0x28]
MOV RAX,qword ptr [RSP ... |
long u64toa_radix_reverse(int1 *param_1,ulong param_2,uint param_3)
{
int1 uVar1;
ulong uVar2;
long local_30;
int1 *local_28;
ulong local_18;
int1 *local_10;
long local_8;
if (param_2 < 0x100000000) {
local_8 = u32toa_radix_reverse(param_1,param_2 & 0xffffffff,param_3);
}
else if (param_3 =... | |
3,457 | my_hash_init2 | eloqsql/mysys/hash.c | my_bool
my_hash_init2(PSI_memory_key psi_key, HASH *hash, uint growth_size,
CHARSET_INFO *charset, ulong size, size_t key_offset,
size_t key_length, my_hash_get_key get_key,
my_hash_function hash_function,
void (*free_element)(void*), uint flags)
{
my_bool res;
... | O3 | c | my_hash_init2:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %eax
movl 0x30(%rbp), %edx
movq 0x28(%rbp), %r10
movq 0x20(%rbp), %r11
movq 0x18(%rbp), %rbx
movq 0x10(%rbp), %r14
movq $0x0, 0x18(%rsi)
movq %r9, (%rsi)
movq %r14, 0x8(%rsi)
movq $0x1, 0x10(%rsi)
movq %rbx, 0x50(%rsi)
testq %r1... | my_hash_init2:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 10h
mov eax, edx
mov edx, [rbp+arg_20]
mov r10, [rbp+arg_18]
mov r11, [rbp+arg_10]
mov rbx, [rbp+arg_8]
mov r14, [rbp+arg_0]
mov qword ptr [rsi+18h], 0
mov [rsi], r9
mov [rsi+8], r14
mov qword ptr [r... | long long my_hash_init2(
long long a1,
long long a2,
unsigned int a3,
long long a4,
unsigned int a5,
long long a6,
long long a7,
long long a8,
long long ( *a9)(long long a1, long long a2, long long a3),
long long a10,
int a11)
{
... | my_hash_init2:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV EAX,EDX
MOV EDX,dword ptr [RBP + 0x30]
MOV R10,qword ptr [RBP + 0x28]
MOV R11,qword ptr [RBP + 0x20]
MOV RBX,qword ptr [RBP + 0x18]
MOV R14,qword ptr [RBP + 0x10]
MOV qword ptr [RSI + 0x18],0x0
MOV qword ptr [RSI],R9
MOV qword ptr [RSI + 0x8],R14
MO... |
void my_hash_init2(int8 param_1,int8 *param_2,int4 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,
code *param_9,int8 param_10,uint param_11)
{
param_2[3] = 0;
*param_2 = param_6;
param_2[1] = param_7;
param_2[2] = 1;
param_2[10] = param_8;
if... | |
3,458 | minja::Parser::parseValueExpression()::'lambda'()::operator()() const | monkey531[P]llama/common/./minja.hpp | std::shared_ptr<Expression> parseValueExpression() {
auto parseValue = [&]() -> std::shared_ptr<Expression> {
auto location = get_location();
auto constant = parseConstant();
if (constant) return std::make_shared<LiteralExpr>(location, *constant);
static std::regex null_regex(R"(n... | O3 | cpp | minja::Parser::parseValueExpression()::'lambda'()::operator()() const:
pushq %r15
pushq %r14
pushq %rbx
subq $0xa0, %rsp
movq %rdi, %rbx
movq (%rsi), %r14
movq (%r14), %rax
movq %rax, 0x28(%rsp)
movq 0x8(%r14), %rax
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x41b49
movq 0xae465(%rip), %rcx # 0xeffa0
cmpb $0x0, (%rc... | _ZZN5minja6Parser20parseValueExpressionEvENKUlvE_clEv:
push r15
push r14
push rbx
sub rsp, 0A0h
mov rbx, rdi
mov r14, [rsi]
mov rax, [r14]
mov [rsp+0B8h+var_90], rax
mov rax, [r14+8]
mov [rsp+0B8h+var_88], rax
test rax, rax
jz short loc_41B49
mov rcx, cs:__libc_single_th... | minja::Parser * minja::Parser::parseValueExpression(void)::{lambda(void)#1}::operator()(
minja::Parser *this,
long long **a2)
{
long long *v3; // r14
volatile signed __int32 *v4; // rax
long long v6; // r15
__int128 v7; // xmm0
long long v8; // rdi
signed __int32 v9; // eax
std::runtime_er... | operator():
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0xa0
MOV RBX,RDI
MOV R14,qword ptr [RSI]
MOV RAX,qword ptr [R14]
MOV qword ptr [RSP + 0x28],RAX
MOV RAX,qword ptr [R14 + 0x8]
MOV qword ptr [RSP + 0x30],RAX
TEST RAX,RAX
JZ 0x00141b49
MOV RCX,qword ptr [0x001effa0]
CMP byte ptr [RCX],0x0
JZ 0x00141b45
INC dword ptr [RAX + ... |
/* minja::Parser::parseValueExpression()::{lambda()#1}::TEMPNAMEPLACEHOLDERVALUE() const */
_lambda___1_ * __thiscall
minja::Parser::parseValueExpression()::{lambda()#1}::operator()(_lambda___1_ *this)
{
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *p_Var1;
int8 *puVar2;
int iVar3;
runtime_error *this_00;
... | |
3,459 | testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(testing::UnitTest const&, int) | giladroyz[P]FindPeaks/build_O1/_deps/googletest-src/googletest/src/gtest.cc | void PrettyUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test,
int /*iteration*/) {
ColoredPrintf(GTestColor::kGreen, "[==========] ");
printf("%s from %s ran.",
FormatTestCount(unit_test.test_to_run_count()).c_str(),
FormatTest... | O1 | cpp | testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(testing::UnitTest const&, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
leaq 0x1fa41(%rip), %rsi # 0x43227
xorl %ebp, %ebp
movl $0x2, %edi
xorl %eax, %eax
callq 0x22582
movq 0x40(%rbx), %rdi
callq 0x1cc5a
leaq 0x... | _ZN7testing8internal27PrettyUnitTestResultPrinter18OnTestIterationEndERKNS_8UnitTestEi:
push rbp
push r15
push r14
push rbx
sub rsp, 48h
mov rbx, rsi
lea rsi, asc_43227; "[==========] "
xor ebp, ebp
mov edi, 2
xor eax, eax
call _ZN7testing8internalL13ColoredPrintfENS0_12_GLOBAL__N... | long long testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(
testing::internal::PrettyUnitTestResultPrinter *this,
testing::internal::UnitTestImpl **a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
... | OnTestIterationEnd:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x48
MOV RBX,RSI
LEA RSI,[0x143227]
XOR EBP,EBP
MOV EDI,0x2
XOR EAX,EAX
CALL 0x00122582
MOV RDI,qword ptr [RBX + 0x40]
CALL 0x0011cc5a
LEA RDX,[0x14220e]
LEA RCX,[0x14261a]
LEA RDI,[RSP + 0x8]
MOV ESI,EAX
CALL 0x00122db0
MOV RCX,qword ptr [RBX + 0x40]
MOV ... |
/* testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(testing::UnitTest const&, int)
*/
void testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd
(UnitTest *param_1,int param_2)
{
long *plVar1;
UnitTestImpl *this;
long *plVar2;
char cVar3;
uint uVar4;
int ... | |
3,460 | rak_string_inplace_concat | fabiosvm[P]rak/src/string.c | void rak_string_inplace_concat(RakString *str1, RakString *str2, RakError *err)
{
if (rak_string_is_empty(str2)) return;
int len1 = rak_string_len(str1);
int len2 = rak_string_len(str2);
int len = len1 + len2;
rak_string_ensure_capacity(str1, len, err);
if (!rak_is_ok(err)) return;
memcpy(&str1->slice.dat... | O1 | c | rak_string_inplace_concat:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movslq 0xc(%rsi), %r14
testq %r14, %r14
je 0x8370
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
movslq 0xc(%rdi), %r13
leal (%r14,%r13), %ebp
movl %ebp, %esi
callq 0x8206
cmpb $0x1, (%r12)
jne 0x8370
addq 0x10(%rbx... | rak_string_inplace_concat:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
movsxd r14, dword ptr [rsi+0Ch]
test r14, r14
jz short loc_8370
mov r12, rdx
mov r15, rsi
mov rbx, rdi
movsxd r13, dword ptr [rdi+0Ch]
lea ebp, [r14+r13]
mov esi, ebp
call rak_... | long long rak_string_inplace_concat(long long a1, long long a2, _BYTE *a3)
{
long long v3; // r14
long long v5; // r13
long long result; // rax
v3 = *(int *)(a2 + 12);
if ( *(_DWORD *)(a2 + 12) )
{
v5 = *(int *)(a1 + 12);
result = rak_string_ensure_capacity(a1, (int)v3 + (int)v5, a3);
if ( *a3... | rak_string_inplace_concat:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOVSXD R14,dword ptr [RSI + 0xc]
TEST R14,R14
JZ 0x00108370
MOV R12,RDX
MOV R15,RSI
MOV RBX,RDI
MOVSXD R13,dword ptr [RDI + 0xc]
LEA EBP,[R14 + R13*0x1]
MOV ESI,EBP
CALL 0x00108206
CMP byte ptr [R12],0x1
JNZ 0x00108370
ADD R13,qwo... |
void rak_string_inplace_concat(long param_1,long param_2,char *param_3)
{
int iVar1;
int iVar2;
int iVar3;
iVar1 = *(int *)(param_2 + 0xc);
if ((long)iVar1 != 0) {
iVar2 = *(int *)(param_1 + 0xc);
iVar3 = iVar1 + iVar2;
rak_string_ensure_capacity(param_1,iVar3);
if (*param_3 == '\x01') {
... | |
3,461 | rak_string_inplace_concat | fabiosvm[P]rak/src/string.c | void rak_string_inplace_concat(RakString *str1, RakString *str2, RakError *err)
{
if (rak_string_is_empty(str2)) return;
int len1 = rak_string_len(str1);
int len2 = rak_string_len(str2);
int len = len1 + len2;
rak_string_ensure_capacity(str1, len, err);
if (!rak_is_ok(err)) return;
memcpy(&str1->slice.dat... | O3 | c | rak_string_inplace_concat:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movslq 0xc(%rsi), %r14
testq %r14, %r14
je 0x80c8
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
movslq 0xc(%rdi), %r13
leal (%r14,%r13), %ebp
movl %ebp, %esi
callq 0x7f5e
cmpb $0x1, (%r12)
jne 0x80c8
addq 0x10(%rbx... | rak_string_inplace_concat:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
movsxd r14, dword ptr [rsi+0Ch]
test r14, r14
jz short loc_80C8
mov r12, rdx
mov r15, rsi
mov rbx, rdi
movsxd r13, dword ptr [rdi+0Ch]
lea ebp, [r14+r13]
mov esi, ebp
call rak_... | long long rak_string_inplace_concat(long long a1, long long a2, _BYTE *a3)
{
long long v3; // r14
long long v5; // r13
long long result; // rax
v3 = *(int *)(a2 + 12);
if ( *(_DWORD *)(a2 + 12) )
{
v5 = *(int *)(a1 + 12);
result = rak_string_ensure_capacity(a1, (int)v3 + (int)v5, a3);
if ( *a3... | rak_string_inplace_concat:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOVSXD R14,dword ptr [RSI + 0xc]
TEST R14,R14
JZ 0x001080c8
MOV R12,RDX
MOV R15,RSI
MOV RBX,RDI
MOVSXD R13,dword ptr [RDI + 0xc]
LEA EBP,[R14 + R13*0x1]
MOV ESI,EBP
CALL 0x00107f5e
CMP byte ptr [R12],0x1
JNZ 0x001080c8
ADD R13,qwo... |
void rak_string_inplace_concat(long param_1,long param_2,char *param_3)
{
int iVar1;
int iVar2;
int iVar3;
iVar1 = *(int *)(param_2 + 0xc);
if ((long)iVar1 != 0) {
iVar2 = *(int *)(param_1 + 0xc);
iVar3 = iVar1 + iVar2;
rak_string_ensure_capacity(param_1,iVar3);
if (*param_3 == '\x01') {
... | |
3,462 | my_wc_mb_latin1 | eloqsql/strings/ctype-latin1.c | static
int my_wc_mb_latin1(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t wc,
uchar *str,
uchar *end __attribute__((unused)))
{
const uchar *pl;
if (str >= end)
return MY_CS_TOOSMALL;
if (wc > 0xFFFF)
return MY_CS_ILUNI;
pl= uni_to_cs[wc >> 8];
str[0]= pl ? pl[wc & 0xFF]... | O0 | c | my_wc_mb_latin1:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
jb 0x5156a
movl $0xffffff9b, -0x4(%rbp) # imm = 0xFFFFFF9B
jmp 0x515f1
cmpq $0xffff, -0x18(%rbp) # imm = 0xFFFF
jbe 0x5157d
movl $0x0, ... | my_wc_mb_latin1:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
mov rax, [rbp+var_20]
cmp rax, [rbp+var_28]
jb short loc_5156A
mov [rbp+var_4], 0FFFFFF9Bh
jmp loc_515F1
loc_5156A:
cmp [rbp+var_18], 0FFFFh
jbe ... | long long my_wc_mb_latin1(long long a1, unsigned long long a2, _BYTE *a3, unsigned long long a4)
{
bool v5; // [rsp+1h] [rbp-35h]
char v6; // [rsp+2h] [rbp-34h]
long long v7; // [rsp+6h] [rbp-30h]
if ( (unsigned long long)a3 < a4 )
{
if ( a2 <= 0xFFFF )
{
v7 = (long long)*(&uni_to_cs + (a2 >> ... | my_wc_mb_latin1:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x28],RCX
MOV RAX,qword ptr [RBP + -0x20]
CMP RAX,qword ptr [RBP + -0x28]
JC 0x0015156a
MOV dword ptr [RBP + -0x4],0xffffff9b
JMP 0x001515f1
LAB_0015156a:
CMP qword... |
uint my_wc_mb_latin1(int8 param_1,ulong param_2,char *param_3,char *param_4)
{
char cVar1;
uint local_c;
if (param_3 < param_4) {
if (param_2 < 0x10000) {
if (*(long *)(uni_to_cs + (param_2 >> 8) * 8) == 0) {
cVar1 = '\0';
}
else {
cVar1 = *(char *)(*(long *)(uni_to_cs +... | |
3,463 | testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult(testing::TestPartResult const&) | seiftnesse[P]memoryallocator/build_O2/_deps/googletest-src/googletest/src/gtest.cc | void DefaultGlobalTestPartResultReporter::ReportTestPartResult(
const TestPartResult& result) {
unit_test_->current_test_result()->AddTestPartResult(result);
unit_test_->listeners()->repeater()->OnTestPartResult(result);
} | O2 | cpp | testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult(testing::TestPartResult const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rax
movq 0x170(%rax), %rdi
testq %rdi, %rdi
je 0x18091
addq $0x90, %rdi
jmp 0x180af
movq 0x168(%rax), %rdi
testq %rdi, %rdi
je 0... | _ZN7testing8internal35DefaultGlobalTestPartResultReporter20ReportTestPartResultERKNS_14TestPartResultE:
push r14
push rbx
push rax
mov rbx, rsi
mov r14, rdi
mov rax, [rdi+8]
mov rdi, [rax+170h]
test rdi, rdi
jz short loc_18091
add rdi, 90h
jmp short loc_180AF
loc_18091:
mov ... | long long testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult(
testing::internal::DefaultGlobalTestPartResultReporter *this,
const testing::TestPartResult *a2)
{
long long v3; // rax
long long v4; // rdi
long long v5; // rdi
long long v6; // rdi
v3 = *((_QWORD *)this... | ReportTestPartResult:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RSI
MOV R14,RDI
MOV RAX,qword ptr [RDI + 0x8]
MOV RDI,qword ptr [RAX + 0x170]
TEST RDI,RDI
JZ 0x00118091
ADD RDI,0x90
JMP 0x001180af
LAB_00118091:
MOV RDI,qword ptr [RAX + 0x168]
TEST RDI,RDI
JZ 0x001180a6
ADD RDI,0x88
JMP 0x001180af
LAB_001180a6:
ADD RAX,0x178
M... |
/* testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult(testing::TestPartResult
const&) */
void __thiscall
testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult
(DefaultGlobalTestPartResultReporter *this,TestPartResult *param_1)
{
long lVar1;
lVar1 =... | |
3,464 | evmone_compat::aligned_alloc(unsigned long, unsigned long) | corpus-core[P]colibri-stateless/build_O0/_deps/evmone_external-src/lib/evmone/aligned_alloc_fallback.hpp | inline void* aligned_alloc(size_t alignment, size_t size) {
// Platform-specific implementations
void* ptr = nullptr;
#if defined(_WIN32) || defined(_MSC_VER)
// Windows implementation using _aligned_malloc
ptr = _aligned_malloc(size, alignment);
#elif defined(__APPLE__) || defined(__ANDROID__) || defined(ANDR... | O0 | cpp | evmone_compat::aligned_alloc(unsigned long, unsigned long):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x234c0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| _ZN13evmone_compat13aligned_allocEmm:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], 0
mov rdi, [rbp+var_8]
mov rsi, [rbp+var_10]
call _aligned_alloc
add rsp, 20h
pop rbp
retn
| long long evmone_compat::aligned_alloc(evmone_compat *this, long long a2)
{
return aligned_alloc(this, a2);
}
| aligned_alloc:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],0x0
MOV RDI,qword ptr [RBP + -0x8]
MOV RSI,qword ptr [RBP + -0x10]
CALL 0x001234c0
ADD RSP,0x20
POP RBP
RET
|
/* evmone_compat::aligned_alloc(unsigned long, unsigned long) */
void evmone_compat::aligned_alloc(ulong param_1,ulong param_2)
{
::aligned_alloc(param_1,param_2);
return;
}
| |
3,465 | strlength | eloqsql/mysys/mf_format.c | size_t strlength(const char *str)
{
reg1 const char * pos;
reg2 const char * found;
DBUG_ENTER("strlength");
pos= found= str;
while (*pos)
{
if (*pos != ' ')
{
while (*++pos && *pos != ' ') {};
if (!*pos)
{
found=pos; /* String ends here */
break;
}
}
found=pos;... | O3 | c | strlength:
pushq %rbp
movq %rsp, %rbp
movb (%rdi), %dl
movq %rdi, %rax
movq %rdi, %rcx
cmpb $0x20, %dl
je 0x94b19
movzbl %dl, %edx
testl %edx, %edx
je 0x94b32
movzbl 0x1(%rcx), %eax
incq %rcx
testl %eax, %eax
je 0x94b2f
cmpl $0x20, %eax
jne 0x94b09
movq %rcx, %rsi
movb 0x1(%rsi), %dl
incq %rsi
cmpb $0x20, %dl
je 0x94b1... | strlength:
push rbp
mov rbp, rsp
mov dl, [rdi]
mov rax, rdi
mov rcx, rdi
loc_94AFD:
cmp dl, 20h ; ' '
jz short loc_94B19
movzx edx, dl
test edx, edx
jz short loc_94B32
loc_94B09:
movzx eax, byte ptr [rcx+1]
inc rcx
test eax, eax
jz short loc_94B2F
cmp eax, 20h ; '... | long long strlength(_BYTE *a1)
{
char v1; // dl
_BYTE *v2; // rax
_BYTE *v3; // rcx
int v4; // eax
_BYTE *v5; // rsi
v1 = *a1;
v2 = a1;
v3 = a1;
while ( v1 == 32 )
{
LABEL_6:
v5 = v3;
do
v1 = *++v5;
while ( v1 == 32 );
v2 = v3;
v3 = v5;
}
if ( v1 )
{
while ( 1 )... | strlength:
PUSH RBP
MOV RBP,RSP
MOV DL,byte ptr [RDI]
MOV RAX,RDI
MOV RCX,RDI
LAB_00194afd:
CMP DL,0x20
JZ 0x00194b19
MOVZX EDX,DL
TEST EDX,EDX
JZ 0x00194b32
LAB_00194b09:
MOVZX EAX,byte ptr [RCX + 0x1]
INC RCX
TEST EAX,EAX
JZ 0x00194b2f
CMP EAX,0x20
JNZ 0x00194b09
LAB_00194b19:
MOV RSI,RCX
LAB_00194b1c:
MOV DL,byte pt... |
long strlength(char *param_1)
{
char *pcVar1;
char *pcVar2;
char *pcVar3;
char cVar4;
char *pcVar5;
cVar4 = *param_1;
pcVar3 = param_1;
pcVar5 = param_1;
do {
pcVar2 = pcVar5;
if (cVar4 != ' ') {
if (cVar4 == '\0') {
LAB_00194b32:
return (long)pcVar3 - (long)param_1;
}... | |
3,466 | LefDefParser::lefiViaRule::addViaName(char const*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiViaRule.cpp | void
lefiViaRule::addViaName(const char *name)
{
// Add one of possibly many via names
int len = strlen(name) + 1;
if (numVias_ == viasAllocated_) {
int i;
char **nn;
if (viasAllocated_ == 0)
viasAllocated_ = 2;
else
viasAllocated_ *= 2;
... | O3 | cpp | LefDefParser::lefiViaRule::addViaName(char const*):
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x20e0
movq %rax, %r15
movl 0x1c8(%rbx), %eax
cmpl 0x1cc(%rbx), %eax
jne 0x2d869
leal (%rax,%rax), %ecx
testl %eax, %eax
movl $0x2, %eax
cmovnel %ecx, %eax
mov... | _ZN12LefDefParser11lefiViaRule10addViaNameEPKc:
push r15
push r14
push r12
push rbx
push rax
mov r14, rsi
mov rbx, rdi
mov rdi, rsi
call _strlen
mov r15, rax
mov eax, [rbx+1C8h]
cmp eax, [rbx+1CCh]
jnz short loc_2D869
lea ecx, [rax+rax]
test eax, eax
mov eax, 2
c... | long long LefDefParser::lefiViaRule::addViaName(LefDefParser::lefiViaRule *this, char *a2)
{
int v2; // r15d
int v3; // eax
int v4; // ecx
bool v5; // zf
int v6; // eax
long long v7; // r12
long long v8; // rax
long long i; // rcx
long long v10; // rax
long long v11; // rdx
long long v12; // r15
... | addViaName:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
MOV RDI,RSI
CALL 0x001020e0
MOV R15,RAX
MOV EAX,dword ptr [RBX + 0x1c8]
CMP EAX,dword ptr [RBX + 0x1cc]
JNZ 0x0012d869
LEA ECX,[RAX + RAX*0x1]
TEST EAX,EAX
MOV EAX,0x2
CMOVNZ EAX,ECX
MOV dword ptr [RBX + 0x1cc],EAX
MOVSXD RDI,EAX
SHL RDI,0... |
/* LefDefParser::lefiViaRule::addViaName(char const*) */
void __thiscall LefDefParser::lefiViaRule::addViaName(lefiViaRule *this,char *param_1)
{
int iVar1;
int iVar2;
size_t sVar3;
long lVar4;
int8 uVar5;
char *__src;
long lVar6;
char *pcVar7;
pcVar7 = param_1;
sVar3 = strlen(param_1);
iVar... | |
3,467 | nlohmann::json_abi_v3_11_3::detail::serializer<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::... | monkey531[P]llama/common/json.hpp | serializer(output_adapter_t<char> s, const char ichar,
error_handler_t error_handler_ = error_handler_t::strict)
: o(std::move(s))
, loc(std::localeconv())
, thousands_sep(loc->thousands_sep == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc->thousands_sep)))
... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::serializer<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::... | _ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ESt10shared_ptrINS1_23output_adapter_protocolIcEEEcNS1_15error_handler_tE:
push rbp
push r15
push r14
push rbx
push ... | long long nlohmann::json_abi_v3_11_3::detail::serializer<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>>::serializer(
long long a1,
... | serializer:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV EBP,ECX
MOV R14D,EDX
MOV RBX,RDI
XOR R15D,R15D
MOV qword ptr [RDI + 0x8],R15
MOVUPS XMM0,xmmword ptr [RSI]
MOV qword ptr [RSI + 0x8],R15
MOVUPS xmmword ptr [RDI],XMM0
MOV qword ptr [RSI],R15
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI + 0x40],XMM0
MOVUPS xmmword ... |
/* nlohmann::json_abi_v3_11_3::detail::serializer<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
... | |
3,468 | fini_one_value | eloqsql/mysys/my_getopt.c | static void fini_one_value(const struct my_option *option, void *variable,
longlong value __attribute__ ((unused)))
{
DBUG_ENTER("fini_one_value");
switch ((option->var_type & GET_TYPE_MASK)) {
case GET_STR_ALLOC:
my_free(*((char**) variable));
*((char**) variable)= NULL;
break;
default: /* du... | O3 | c | fini_one_value:
movl 0x30(%rdi), %eax
andl $0x3f, %eax
cmpl $0xa, %eax
jne 0x9afc4
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rdi
callq 0x9c92a
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
| fini_one_value:
mov eax, [rdi+30h]
and eax, 3Fh
cmp eax, 0Ah
jnz short locret_9AFC4
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rsi
mov rdi, [rsi]
call my_free
mov qword ptr [rbx], 0
add rsp, 8
pop rbx
pop rbp
locret_9AFC4:
retn
| long long fini_one_value(long long a1, _QWORD *a2)
{
long long result; // rax
result = *(_DWORD *)(a1 + 48) & 0x3F;
if ( (_DWORD)result == 10 )
{
result = my_free(*a2);
*a2 = 0LL;
}
return result;
}
| fini_one_value:
MOV EAX,dword ptr [RDI + 0x30]
AND EAX,0x3f
CMP EAX,0xa
JNZ 0x0019afc4
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RSI
MOV RDI,qword ptr [RSI]
CALL 0x0019c92a
MOV qword ptr [RBX],0x0
ADD RSP,0x8
POP RBX
POP RBP
LAB_0019afc4:
RET
|
void fini_one_value(long param_1,int8 *param_2)
{
if ((*(uint *)(param_1 + 0x30) & 0x3f) == 10) {
my_free(*param_2);
*param_2 = 0;
}
return;
}
| |
3,469 | POINTonE1_affine_Serialize_BE | corpus-core[P]colibri-stateless/build_O2/_deps/blst-src/src/e1.c | static limb_t POINTonE1_affine_Serialize_BE(unsigned char out[96],
const POINTonE1_affine *in)
{
vec384 temp;
from_fp(temp, in->X);
be_bytes_from_limbs(out, temp, sizeof(temp));
from_fp(temp, in->Y);
be_bytes_from_limbs(out + 48, temp, sizeof(temp));
... | O2 | c | POINTonE1_affine_Serialize_BE:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
callq 0x565c4
pushq $0x30
popq %r12
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x565df
addq $0x30, %r14
movq %rbx, %rdi... | POINTonE1_affine_Serialize_BE:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
sub rsp, 30h
mov r14, rsi
mov r15, rdi
lea rbx, [rbp+var_50]
mov rdi, rbx
call from_fp
push 30h ; '0'
pop r12
mov rdi, r15
mov rsi, rbx
mov rdx, r12
call be_bytes_from... | long long POINTonE1_affine_Serialize_BE(long long a1)
{
_BYTE v2[80]; // [rsp+0h] [rbp-50h] BYREF
from_fp(v2);
be_bytes_from_limbs(a1, v2, 48LL);
from_fp(v2);
be_bytes_from_limbs(a1 + 48, v2, 48LL);
return sgn0_pty_mod_384(v2, &BLS12_381_P);
}
| POINTonE1_affine_Serialize_BE:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x30
MOV R14,RSI
MOV R15,RDI
LEA RBX,[RBP + -0x50]
MOV RDI,RBX
CALL 0x001565c4
PUSH 0x30
POP R12
MOV RDI,R15
MOV RSI,RBX
MOV RDX,R12
CALL 0x001565df
ADD R14,0x30
MOV RDI,RBX
MOV RSI,R14
CALL 0x001565c4
ADD R15,0x30
MOV RDI,R... |
void POINTonE1_affine_Serialize_BE(long param_1,long param_2)
{
int1 local_58 [48];
from_fp(local_58);
be_bytes_from_limbs(param_1,local_58,0x30);
from_fp(local_58,param_2 + 0x30);
be_bytes_from_limbs(param_1 + 0x30,local_58,0x30);
sgn0_pty_mod_384(local_58,BLS12_381_P);
return;
}
| |
3,470 | ratio | eloqsql/strings/dtoa.c | static double ratio(Bigint *a, Bigint *b)
{
U da, db;
int k, ka, kb;
dval(&da)= b2d(a, &ka);
dval(&db)= b2d(b, &kb);
k= ka - kb + 32*(a->wds - b->wds);
if (k > 0)
word0(&da)+= (ULong)(k*Exp_msk1 * 1.0);
else
{
k= -k;
word0(&db)+= k*Exp_msk1;
}
return dval(&da) / dval(&db);
} | O0 | c | ratio:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0xd1800
movsd %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x2c(%rbp), %rsi
callq 0xd1800
movsd %xmm0, -0x20(%rbp)
movl -0x28(%rbp), %eax
subl -0x2c(%rbp), %eax
movq -0x8... | ratio:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rdi, [rbp+var_8]
lea rsi, [rbp+var_28]
call b2d
movsd [rbp+var_18], xmm0
mov rdi, [rbp+var_10]
lea rsi, [rbp+var_2C]
call b2d
movsd [rbp+var_20], xmm0
mov eax, [rbp+var_28]
sub e... | double ratio(long long a1, long long a2)
{
int v3; // [rsp+4h] [rbp-2Ch] BYREF
int v4; // [rsp+8h] [rbp-28h] BYREF
int v5; // [rsp+Ch] [rbp-24h]
double v6; // [rsp+10h] [rbp-20h]
double v7; // [rsp+18h] [rbp-18h]
long long v8; // [rsp+20h] [rbp-10h]
long long v9; // [rsp+28h] [rbp-8h]
v9 = a1;
v8 = ... | ratio:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDI,qword ptr [RBP + -0x8]
LEA RSI,[RBP + -0x28]
CALL 0x001d1800
MOVSD qword ptr [RBP + -0x18],XMM0
MOV RDI,qword ptr [RBP + -0x10]
LEA RSI,[RBP + -0x2c]
CALL 0x001d1800
MOVSD qword ptr [RBP + -0x20],XMM0
MOV EAX... |
double ratio(long param_1,long param_2)
{
int iVar1;
double dVar2;
int local_34;
int local_30 [2];
int8 local_28;
int8 local_20;
long local_18;
long local_10;
local_18 = param_2;
local_10 = param_1;
local_20 = (double)b2d(param_1,local_30);
dVar2 = (double)b2d(local_18,&local_34);
iVar1 =... | |
3,471 | Rpl_filter::add_wild_do_table(char const*) | eloqsql/sql/rpl_filter.cc | int
Rpl_filter::add_wild_do_table(const char* table_spec)
{
DBUG_ENTER("Rpl_filter::add_wild_do_table");
if (!wild_do_table_inited)
init_table_rule_array(&wild_do_table, &wild_do_table_inited);
table_rules_on= 1;
DBUG_RETURN(add_wild_table_rule(&wild_do_table, table_spec));
} | O3 | cpp | Rpl_filter::add_wild_do_table(char const*):
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x0, 0x137(%rdi)
jne 0x54ff7
leaq 0xe0(%r14), %rsi
movq $0x0, (%rsp)
xorl %edi, %edi
movl $0x8, %edx
xorl %ecx, %ecx
movl $0x10, %r8d
movl $0x10, %r9d
callq 0x7729c
movb $0... | _ZN10Rpl_filter17add_wild_do_tableEPKc:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 10h
mov rbx, rsi
mov r14, rdi
cmp byte ptr [rdi+137h], 0
jnz short loc_54FF7
lea rsi, [r14+0E0h]
mov [rsp+20h+var_20], 0
xor edi, edi
mov edx, 8
xor ecx, ecx
mov r8d, 10h
mov... | long long Rpl_filter::add_wild_do_table(Rpl_filter *this, const char *a2)
{
Rpl_filter *v3; // r14
int v4; // esi
v3 = this;
if ( !*((_BYTE *)this + 311) )
{
v4 = (_DWORD)this + 224;
this = 0LL;
init_dynamic_array2(0, v4, 8, 0, 16, 16, 0LL);
*((_BYTE *)v3 + 311) = 1;
}
*((_BYTE *)v3 + 30... | add_wild_do_table:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV RBX,RSI
MOV R14,RDI
CMP byte ptr [RDI + 0x137],0x0
JNZ 0x00154ff7
LEA RSI,[R14 + 0xe0]
MOV qword ptr [RSP],0x0
XOR EDI,EDI
MOV EDX,0x8
XOR ECX,ECX
MOV R8D,0x10
MOV R9D,0x10
CALL 0x0017729c
MOV byte ptr [R14 + 0x137],0x1
LAB_00154ff7:
MOV byte pt... |
/* Rpl_filter::add_wild_do_table(char const*) */
void __thiscall Rpl_filter::add_wild_do_table(Rpl_filter *this,char *param_1)
{
Rpl_filter *this_00;
this_00 = this;
if (this[0x137] == (Rpl_filter)0x0) {
this_00 = (Rpl_filter *)0x0;
init_dynamic_array2(0,this + 0xe0,8,0,0x10,0x10,0);
this[0x137]... | |
3,472 | OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/quadRefinement.cpp | void
QuadRefinement::populateFaceVerticesFromParentFaces() {
//
// This is pretty straightforward, but is a good example for the case of
// iterating through the parent faces rather than the child faces, as the
// same topology information for the parent faces is required for each of
// the chi... | O0 | cpp | OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces():
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp # imm = 0x120
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movl $0x0, -0xc(%rbp)
movq -0xd0(%rbp), %rax
movl -0xc(%rbp), %ecx
movl %ecx, -0xd4(%rbp)
mov... | _ZN10OpenSubdiv6v3_6_03Vtr8internal14QuadRefinement35populateFaceVerticesFromParentFacesEv:
push rbp
mov rbp, rsp
sub rsp, 120h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_D0], rax
mov [rbp+var_C], 0
loc_F9481:
mov rax, [rbp+var_D0]
mov ecx, [rbp+var_C]
mov [rbp+var_D4]... | long long OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces(
OpenSubdiv::v3_6_0::Vtr::internal::Level **this)
{
int NumFaces; // ecx
long long result; // rax
long long FaceVertices; // rax
int v4; // edx
long long FaceEdges; // rax
int v6; // edx
long long Fac... | populateFaceVerticesFromParentFaces:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x120
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0xd0],RAX
MOV dword ptr [RBP + -0xc],0x0
LAB_001f9481:
MOV RAX,qword ptr [RBP + -0xd0]
MOV ECX,dword ptr [RBP + -0xc]
MOV dword ptr [RBP + -0xd4],ECX
MOV RDI,qword ... |
/* OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces() */
void __thiscall
OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces
(QuadRefinement *this)
{
int4 uVar1;
int4 uVar2;
int4 uVar3;
int iVar4;
int iVar5;
int *piVar6;
... | |
3,473 | OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/quadRefinement.cpp | void
QuadRefinement::populateFaceVerticesFromParentFaces() {
//
// This is pretty straightforward, but is a good example for the case of
// iterating through the parent faces rather than the child faces, as the
// same topology information for the parent faces is required for each of
// the chi... | O1 | cpp | OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces():
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, -0x58(%rsp)
movq 0x8(%rdi), %rax
movq %rax, -0x50(%rsp)
cmpl $0x0, (%rax)
jle 0x46e28
movq -0x50(%rsp), %rax
movq 0x18(%rax), %rcx
movq %rcx, -0x48(%rsp)... | _ZN10OpenSubdiv6v3_6_03Vtr8internal14QuadRefinement35populateFaceVerticesFromParentFacesEv:
push rbp
push r15
push r14
push r13
push r12
push rbx
mov [rsp+30h+var_88], rdi
mov rax, [rdi+8]
mov [rsp+30h+var_80], rax
cmp dword ptr [rax], 0
jle loc_46E28
mov rax, [rsp+30h+var_80]
... | long long OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces(
OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement *this)
{
long long result; // rax
long long v2; // rsi
long long v3; // rbx
long long v4; // rax
long long v5; // r10
long long v6; // r15
long long ... | populateFaceVerticesFromParentFaces:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV qword ptr [RSP + -0x58],RDI
MOV RAX,qword ptr [RDI + 0x8]
MOV qword ptr [RSP + -0x50],RAX
CMP dword ptr [RAX],0x0
JLE 0x00146e28
MOV RAX,qword ptr [RSP + -0x50]
MOV RCX,qword ptr [RAX + 0x18]
MOV qword ptr [RSP + -0x48],RCX
M... |
/* OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces() */
void __thiscall
OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces
(QuadRefinement *this)
{
long lVar1;
uint uVar2;
int iVar3;
int4 uVar4;
int4 uVar5;
int4 uVar6;
... | |
3,474 | OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/quadRefinement.cpp | void
QuadRefinement::populateFaceVerticesFromParentFaces() {
//
// This is pretty straightforward, but is a good example for the case of
// iterating through the parent faces rather than the child faces, as the
// same topology information for the parent faces is required for each of
// the chi... | O2 | cpp | OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces():
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r12
xorl %r15d, %r15d
movq %rdi, 0x8(%rsp)
movq 0x8(%r12), %rdi
movslq (%rdi), %rax
cmpq %rax, %r15
jge 0x5f1e2
movl %r15d, %esi
callq ... | _ZN10OpenSubdiv6v3_6_03Vtr8internal14QuadRefinement35populateFaceVerticesFromParentFacesEv:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov r12, rdi
xor r15d, r15d
mov [rsp+68h+var_60], rdi
loc_5F0AD:
mov rdi, [r12+8]; this
movsxd rax, dword ptr [rdi]
cmp ... | long long OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces(
OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement *this)
{
OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement *v1; // r12
long long i; // r15
OpenSubdiv::v3_6_0::Vtr::internal::Level *v3; // rdi
long long r... | populateFaceVerticesFromParentFaces:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV R12,RDI
XOR R15D,R15D
MOV qword ptr [RSP + 0x8],RDI
LAB_0015f0ad:
MOV RDI,qword ptr [R12 + 0x8]
MOVSXD RAX,dword ptr [RDI]
CMP R15,RAX
JGE 0x0015f1e2
MOV ESI,R15D
CALL 0x00152db0
MOV qword ptr [RSP + 0x18],RAX
MO... |
/* OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces() */
void __thiscall
OpenSubdiv::v3_6_0::Vtr::internal::QuadRefinement::populateFaceVerticesFromParentFaces
(QuadRefinement *this)
{
long lVar1;
int4 uVar2;
int4 uVar3;
int4 uVar4;
int4 uVar5;
uint uVar6;
... | |
3,475 | my_casefold_ujis | eloqsql/strings/ctype-ujis.c | static size_t
my_casefold_ujis(CHARSET_INFO *cs,
const char *src, size_t srclen,
char *dst, size_t dstlen __attribute__((unused)),
const uchar * const map,
size_t is_upper)
{
const char *srcend= src + srclen, *dst0= dst;
while (src < srcend)
{
... | O3 | c | my_casefold_ujis:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, -0x40(%rbp)
movq %rcx, %rbx
movq %rcx, -0x30(%rbp)
testq %rdx, %rdx
jle 0x84bf3
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
addq %rsi, %r15
xorl %eax, %eax
testq %r9, %r9
sete %al
shll $0x2... | my_casefold_ujis:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov [rbp+var_40], r8
mov rbx, rcx
mov [rbp+var_30], rcx
test rdx, rdx
jle loc_84BF3
mov r15, rdx
mov r12, rsi
mov r13, rdi
add r15, rsi
xor eax, eax
test ... | _BYTE * my_casefold_ujis(
long long a1,
unsigned __int8 *a2,
long long a3,
unsigned __int8 *a4,
long long a5,
long long a6)
{
unsigned __int8 *v6; // rbx
unsigned __int8 *v7; // r12
unsigned long long v8; // r15
long long v9; // rax
long long v10; // rcx
long ... | my_casefold_ujis:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV qword ptr [RBP + -0x40],R8
MOV RBX,RCX
MOV qword ptr [RBP + -0x30],RCX
TEST RDX,RDX
JLE 0x00184bf3
MOV R15,RDX
MOV R12,RSI
MOV R13,RDI
ADD R15,RSI
XOR EAX,EAX
TEST R9,R9
SETZ AL
SHL EAX,0x2
MOV qword ptr [RBP + -0x38],R... |
long my_casefold_ujis(long param_1,byte *param_2,long param_3,byte *param_4,long param_5,
long param_6)
{
byte *pbVar1;
byte bVar2;
uint uVar3;
int iVar4;
long lVar6;
byte *pbVar7;
byte *pbVar8;
ulong uVar5;
pbVar7 = param_4;
if (0 < param_3) {
pbVar8 = param_2 + param_... | |
3,476 | Tools::trans(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | cosmotop/src/cosmotop_tools_shared.cpp | string trans(const string& str) {
std::string_view oldstr{str};
string newstr;
newstr.reserve(str.size());
for (size_t pos; (pos = oldstr.find(' ')) != string::npos;) {
newstr.append(oldstr.substr(0, pos));
size_t x = 0;
while (pos + x < oldstr.size() and oldstr.at(pos + x) == ' ') x++;
newstr.appen... | O0 | cpp | Tools::trans(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
subq $0x118, %rsp # imm = 0x118
movq %rdi, 0x28(%rsp)
movq %rdi, %rax
movq %rax, 0x30(%rsp)
movq %rdi, 0xf0(%rsp)
movq %rsi, 0xe8(%rsp)
movq 0xe8(%rsp), %rdi
callq 0x68b70
movq %rax, 0xd8(%rsp)
movq %rdx, 0xe... | _ZN5Tools5transERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
sub rsp, 118h
mov [rsp+118h+var_F0], rdi
mov rax, rdi
mov [rsp+118h+var_E8], rax
mov [rsp+118h+var_28], rdi
mov [rsp+118h+var_30], rsi
mov rdi, [rsp+118h+var_30]
call _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESa... | long long Tools::trans(long long a1, long long a2)
{
unsigned long long v2; // rdx
unsigned long long v3; // rax
long long v4; // rax
long long v5; // rdx
unsigned long long v6; // rax
int v7; // r8d
int v8; // r9d
int v9; // ecx
int v10; // edx
_BYTE *v12; // [rsp+0h] [rbp-118h]
unsigned long lo... | trans:
SUB RSP,0x118
MOV qword ptr [RSP + 0x28],RDI
MOV RAX,RDI
MOV qword ptr [RSP + 0x30],RAX
MOV qword ptr [RSP + 0xf0],RDI
MOV qword ptr [RSP + 0xe8],RSI
MOV RDI,qword ptr [RSP + 0xe8]
CALL 0x00168b70
MOV qword ptr [RSP + 0xd8],RAX
MOV qword ptr [RSP + 0xe0],RDX
LEA RDI,[RSP + 0xb8]
MOV qword ptr [RSP + 0x38],RDI
CA... |
/* Tools::trans(std::__cxx11::string const&) */
Tools * __thiscall Tools::trans(Tools *this,string *param_1)
{
ulong uVar1;
ulong uVar2;
char *pcVar3;
bool bVar4;
int1 auVar5 [16];
allocator local_d1;
string local_d0 [32];
Mv local_b0 [32];
long local_90;
int1 local_88 [16];
ulong local_78;
s... | |
3,477 | mju_inertCom | aimrt_mujoco_sim/_deps/mujoco-src/src/engine/engine_util_spatial.c | void mju_inertCom(mjtNum res[10], const mjtNum inert[3], const mjtNum mat[9],
const mjtNum dif[3], mjtNum mass) {
// tmp = diag(inert) * mat' (mat is local-to-global rotation)
mjtNum tmp[9] = {mat[0]*inert[0], mat[3]*inert[0], mat[6]*inert[0],
mat[1]*inert[1], mat[4]*inert[1], ... | O3 | c | mju_inertCom:
vmovsd (%rdx), %xmm1
vmovsd 0x8(%rdx), %xmm3
vmovsd (%rsi), %xmm2
vmovsd 0x8(%rsi), %xmm4
vmulsd %xmm2, %xmm1, %xmm5
vmulsd 0x18(%rdx), %xmm2, %xmm6
vmulsd 0x30(%rdx), %xmm2, %xmm2
vmulsd 0x20(%rdx), %xmm4, %xmm9
vmulsd 0x38(%rdx), %xmm4, %xmm7
vmulsd %xmm4, %xmm3, %xmm4
vmovsd 0x10(%rdx), %xmm10
vmovsd 0... | mju_inertCom:
vmovsd xmm1, qword ptr [rdx]
vmovsd xmm3, qword ptr [rdx+8]
vmovsd xmm2, qword ptr [rsi]
vmovsd xmm4, qword ptr [rsi+8]
vmulsd xmm5, xmm1, xmm2
vmulsd xmm6, xmm2, qword ptr [rdx+18h]
vmulsd xmm2, xmm2, qword ptr [rdx+30h]
vmulsd xmm9, xmm4, qword ptr [rdx+20h]
vmulsd xmm7, xmm4, qword ptr [rdx+38... | void mju_inertCom(long long _RDI, long long _RSI, long long _RDX, long long _RCX, __m128 _XMM0)
{
__asm
{
vmovsd xmm1, qword ptr [rdx]
vmovsd xmm3, qword ptr [rdx+8]
vmovsd xmm2, qword ptr [rsi]
vmovsd xmm4, qword ptr [rsi+8]
vmulsd xmm5, xmm1, xmm2
vmulsd xmm6, xmm2, qword ptr [rdx+1... | mju_inertCom:
VMOVSD XMM1,qword ptr [RDX]
VMOVSD XMM3,qword ptr [RDX + 0x8]
VMOVSD XMM2,qword ptr [RSI]
VMOVSD XMM4,qword ptr [RSI + 0x8]
VMULSD XMM5,XMM1,XMM2
VMULSD XMM6,XMM2,qword ptr [RDX + 0x18]
VMULSD XMM2,XMM2,qword ptr [RDX + 0x30]
VMULSD XMM9,XMM4,qword ptr [RDX + 0x20]
VMULSD XMM7,XMM4,qword ptr [RDX + 0x38]
... |
void mju_inertCom(double param_1,double *param_2,double *param_3,double *param_4,double *param_5)
{
double dVar1;
double dVar2;
double dVar3;
double dVar4;
double dVar5;
double dVar6;
double dVar7;
double dVar8;
double dVar9;
double dVar10;
double dVar11;
double dVar12;
dVar1 = *param_3;
... | |
3,478 | LefDefParser::defiTimingDisable::setMacroFromTo(char const*, char const*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/def/def/defiTimingDisable.cpp | void defiTimingDisable::setMacroFromTo(const char* fromPin, const char* toPin) {
int len;
clear();
hasFromTo_ = 1;
len = strlen(fromPin) + 1;
if (len > fromPinLength_) {
if (fromPin_) free(fromPin_);
fromPinLength_ = len;
fromPin_ = (char*)malloc(len);
}
strcpy(fromPin_,defData->DEFCASE(from... | O3 | cpp | LefDefParser::defiTimingDisable::setMacroFromTo(char const*, char const*):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movl $0x0, 0x48(%rdi)
movq $0x0, 0x40(%rdi)
movl $0x1, 0x3c(%rdi)
movq %rsi, %rdi
callq 0x70d0
movq %rax, %r13
incl %r13d
movq 0x20(%r14), %r1... | _ZN12LefDefParser17defiTimingDisable14setMacroFromToEPKcS2_:
push r15
push r14
push r13
push r12
push rbx
mov rbx, rdx
mov r15, rsi
mov r14, rdi
mov dword ptr [rdi+48h], 0
mov qword ptr [rdi+40h], 0
mov dword ptr [rdi+3Ch], 1
mov rdi, rsi
call _strlen
mov r13, rax
inc ... | long long LefDefParser::defiTimingDisable::setMacroFromTo(
LefDefParser::defiTimingDisable *this,
const char *a2,
const char *a3)
{
int v4; // r13d
long long v5; // r12
long long v6; // rax
int v7; // r12d
long long v8; // r15
long long v9; // rax
*((_DWORD *)this + 18) = 0;
*(... | setMacroFromTo:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV RBX,RDX
MOV R15,RSI
MOV R14,RDI
MOV dword ptr [RDI + 0x48],0x0
MOV qword ptr [RDI + 0x40],0x0
MOV dword ptr [RDI + 0x3c],0x1
MOV RDI,RSI
CALL 0x001070d0
MOV R13,RAX
INC R13D
MOV R12,qword ptr [R14 + 0x20]
CMP R13D,dword ptr [R14 + 0x28]
JLE 0x00115d2e
TES... |
/* LefDefParser::defiTimingDisable::setMacroFromTo(char const*, char const*) */
void __thiscall
LefDefParser::defiTimingDisable::setMacroFromTo(defiTimingDisable *this,char *param_1,char *param_2)
{
size_t sVar1;
char *pcVar2;
char *pcVar3;
int iVar4;
*(int4 *)(this + 0x48) = 0;
*(int8 *)(this + 0x40)... | |
3,479 | fct_update_cond_derived_flags(PFS_cond*) | eloqsql/storage/perfschema/pfs_instr.cc | static void fct_update_cond_derived_flags(PFS_cond *pfs)
{
PFS_cond_class *klass= sanitize_cond_class(pfs->m_class);
if (likely(klass != NULL))
{
pfs->m_enabled= klass->m_enabled && flag_global_instrumentation;
pfs->m_timed= klass->m_timed;
}
else
{
pfs->m_enabled= false;
pfs->m_timed= false... | O0 | cpp | fct_update_cond_derived_flags(PFS_cond*):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x2e940
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
setne %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
je 0x3d19a
movq -0x10(%rbp), %rcx
xorl %eax, %eax
... | _ZL29fct_update_cond_derived_flagsP8PFS_cond:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov rdi, [rax+18h]
call _Z19sanitize_cond_classP14PFS_cond_class; sanitize_cond_class(PFS_cond_class *)
mov [rbp+var_10], rax
cmp [rbp+var_10], 0
setnz al
and ... | long long fct_update_cond_derived_flags(long long a1)
{
long long result; // rax
char v2; // [rsp+Fh] [rbp-11h]
unsigned long long v3; // [rsp+10h] [rbp-10h]
v3 = sanitize_cond_class(*(_QWORD *)(a1 + 24));
if ( v3 )
{
v2 = 0;
if ( (*(_BYTE *)(v3 + 4) & 1) != 0 )
v2 = flag_global_instrumentat... | fct_update_cond_derived_flags:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,qword ptr [RAX + 0x18]
CALL 0x0012e940
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
SETNZ AL
AND AL,0x1
MOVZX EAX,AL
CMP EAX,0x0
JZ 0x0013d19a
MOV RCX,qword ptr [RBP ... |
/* fct_update_cond_derived_flags(PFS_cond*) */
void fct_update_cond_derived_flags(PFS_cond *param_1)
{
long lVar1;
byte local_19;
lVar1 = sanitize_cond_class(*(PFS_cond_class **)(param_1 + 0x18));
if (lVar1 == 0) {
param_1[4] = (PFS_cond)0x0;
param_1[5] = (PFS_cond)0x0;
}
else {
local_19 =... | |
3,480 | llama_state_get_size | monkey531[P]llama/src/llama-context.cpp | size_t llama_state_get_size(struct llama_context * ctx) {
llama_data_write_dummy data_ctx;
try {
return llama_state_get_data_internal(ctx, data_ctx);
} catch (const std::exception & err) {
LLAMA_LOG_ERROR("%s: error getting state size: %s\n", __func__, err.what());
return 0;
}
} | O3 | cpp | llama_state_get_size:
pushq %rbx
subq $0x10, %rsp
movq 0xbdd1c(%rip), %rax # 0x15cb78
addq $0x10, %rax
movq %rsp, %rsi
movq %rax, (%rsi)
movq $0x0, 0x8(%rsi)
callq 0x9f34c
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x9eec0
movq %rbx, %rdi
callq 0x65780
movq (%rax), %rcx
movq %rax, %rdi
call... | llama_state_get_size:
push rbx
sub rsp, 10h
mov rax, cs:_ZTV22llama_data_write_dummy_ptr
add rax, 10h
mov rsi, rsp; this
mov [rsi], rax
mov qword ptr [rsi+8], 0
call _ZL29llama_state_get_data_internalP13llama_contextR16llama_data_write; llama_state_get_data_internal(llama_context *,llama_d... | long long llama_state_get_size(llama_context *a1)
{
_QWORD v2[3]; // [rsp+0h] [rbp-18h] BYREF
v2[0] = &`vtable for'llama_data_write_dummy + 2;
v2[1] = 0LL;
return llama_state_get_data_internal(a1, (llama_data_write *)v2);
}
| llama_state_get_size:
PUSH RBX
SUB RSP,0x10
MOV RAX,qword ptr [0x0025cb78]
ADD RAX,0x10
MOV RSI,RSP
MOV qword ptr [RSI],RAX
MOV qword ptr [RSI + 0x8],0x0
LAB_0019ee6e:
CALL 0x0019f34c
LAB_0019ee73:
ADD RSP,0x10
POP RBX
RET
|
void llama_state_get_size(llama_context *param_1)
{
int *local_18;
int8 local_10;
local_18 = PTR_vtable_0025cb78 + 0x10;
local_10 = 0;
/* try { // try from 0019ee6e to 0019ee72 has its CatchHandler @ 0019ee79 */
llama_state_get_data_internal(param_1,(llama_data_write *)&local_18);
r... | |
3,481 | (anonymous namespace)::gtest_SomeValuesTestmsgpack23_int8_EvalGenerateName_[abi:cxx11](testing::TestParamInfo<signed char> const&) | msgpack23/tests/int8_tests.cpp | TEST(msgpack23, int8Packing) {
for (std::int8_t i = -10; i < 10; ++i) {
msgpack23::Packer packer {};
auto const expected = static_cast<std::int8_t>(i * (std::numeric_limits<std::int8_t>::max() / 10));
auto data = packer(expected);
msgpack23::Unpacker unpacker {dat... | O0 | cpp | (anonymous namespace)::gtest_SomeValuesTestmsgpack23_int8_EvalGenerateName_[abi:cxx11](testing::TestParamInfo<signed char> const&):
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x50(%rbp)
movq %rdi, %rax
movq %rax, -0x48(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
callq 0x2dc90
testb $0x1, %al
jne 0x4... | _ZN12_GLOBAL__N_152gtest_SomeValuesTestmsgpack23_int8_EvalGenerateName_B5cxx11ERKN7testing13TestParamInfoIaEE:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_50], rdi
mov rax, rdi
mov [rbp+var_48], rax
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
call _ZN7testing8internal11AlwaysFalseEv... | testing::internal * `anonymous namespace'::gtest_SomeValuesTestmsgpack23_int8_EvalGenerateName_[abi:cxx11](
testing::internal *a1,
long long a2)
{
_BYTE v3[16]; // [rsp+30h] [rbp-30h] BYREF
_BYTE v4[16]; // [rsp+40h] [rbp-20h] BYREF
long long v5; // [rsp+50h] [rbp-10h]
testing::internal *v6; // ... | gtest_SomeValuesTestmsgpack23_int8_EvalGenerateName_[abi:cxx11]:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x50],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0x48],RAX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
CALL 0x0012dc90
TEST AL,0x1
JNZ 0x00144066
JMP 0x001440c0
LAB_00144066:
LEA RDI,[0... |
/* (anonymous
namespace)::gtest_SomeValuesTestmsgpack23_int8_EvalGenerateName_[abi:cxx11](testing::TestParamInfo<signed
char> const&) */
_anonymous_namespace_ * __thiscall
(anonymous_namespace)::gtest_SomeValuesTestmsgpack23_int8_EvalGenerateName__abi_cxx11_
(_anonymous_namespace_ *this,TestParamInfo ... | |
3,482 | inline_mysql_file_create_with_symlink | eloqsql/include/mysql/psi/mysql_file.h | static inline File
inline_mysql_file_create_with_symlink(
#ifdef HAVE_PSI_FILE_INTERFACE
PSI_file_key key, const char *src_file, uint src_line,
#endif
const char *linkname, const char *filename, int create_flags,
int access_flags, myf flags)
{
File file;
#ifdef HAVE_PSI_FILE_INTERFACE
struct PSI_file_locker *... | O0 | c | inline_mysql_file_create_with_symlink:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq 0x18(%rbp), %rax
movl 0x10(%rbp), %eax
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
leaq 0x1f0021(%rip), %rax # 0x2cb4e0
movq (%rax), %rax... | inline_mysql_file_create_with_symlink_0:
push rbp
mov rbp, rsp
sub rsp, 80h
mov rax, [rbp+arg_8]
mov eax, [rbp+arg_0]
mov [rbp+var_8], edi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov [rbp+var_2C], r9d
lea rax, PSI_server
mov ... | long long inline_mysql_file_create_with_symlink_0(
unsigned int a1,
long long a2,
unsigned int a3,
long long a4,
long long a5,
unsigned int a6,
unsigned int a7,
long long a8)
{
_BYTE v9[72]; // [rsp+0h] [rbp-80h] BYREF
long long v10; // [rsp+48h] [rbp... | inline_mysql_file_create_with_symlink:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
MOV RAX,qword ptr [RBP + 0x18]
MOV EAX,dword ptr [RBP + 0x10]
MOV dword ptr [RBP + -0x8],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV dword ptr [RBP + -0x2c]... |
int4
inline_mysql_file_create_with_symlink
(int4 param_1,int8 param_2,int4 param_3,int8 param_4,
int8 param_5,int4 param_6,int4 param_7,int8 param_8)
{
int1 local_88 [72];
long local_40;
int4 local_38;
int4 local_34;
int8 local_30;
int8 local_28;
int4 local_1c;
int8 local_18;
int... | |
3,483 | inline_mysql_file_create_with_symlink | eloqsql/include/mysql/psi/mysql_file.h | static inline File
inline_mysql_file_create_with_symlink(
#ifdef HAVE_PSI_FILE_INTERFACE
PSI_file_key key, const char *src_file, uint src_line,
#endif
const char *linkname, const char *filename, int create_flags,
int access_flags, myf flags)
{
File file;
#ifdef HAVE_PSI_FILE_INTERFACE
struct PSI_file_locker *... | O3 | c | inline_mysql_file_create_with_symlink:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, %rbx
movl %r8d, %r14d
movq %rcx, %r15
movq %rdx, %r12
movl %esi, -0x2c(%rbp)
movl %edi, %esi
leaq 0x32dd04(%rip), %rax # 0x38f258
movq (%rax), %rax
leaq -0x80(%rbp), %rd... | inline_mysql_file_create_with_symlink:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov rbx, r9
mov r14d, r8d
mov r15, rcx
mov r12, rdx
mov [rbp+var_2C], esi
mov esi, edi
lea rax, PSI_server
mov rax, [rax]
lea rdi, [rbp+var... | long long inline_mysql_file_create_with_symlink(
unsigned int a1,
unsigned int a2,
long long a3,
long long a4,
unsigned int a5,
long long a6)
{
long long v10; // rax
_BYTE v12[72]; // [rsp+0h] [rbp-80h] BYREF
long long v13; // [rsp+48h] [rbp-38h] BYREF
unsigned i... | inline_mysql_file_create_with_symlink:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV RBX,R9
MOV R14D,R8D
MOV R15,RCX
MOV R12,RDX
MOV dword ptr [RBP + -0x2c],ESI
MOV ESI,EDI
LEA RAX,[0x48f258]
MOV RAX,qword ptr [RAX]
LEA RDI,[RBP + -0x80]
LEA R13,[RBP + -0x38]
XOR EDX,EDX
MOV R8,R13
... |
int4
inline_mysql_file_create_with_symlink
(int4 param_1,int4 param_2,int8 param_3,int8 param_4,
int4 param_5,int8 param_6)
{
int4 uVar1;
int1 local_88 [72];
long local_40;
int4 local_34;
local_34 = param_2;
local_40 = (**(code **)(PSI_server + 0x148))(local_88,param_1,0,param_4,&lo... | |
3,484 | fmt::v11::basic_appender<char> fmt::v11::detail::do_write_float<char, fmt::v11::basic_appender<char>, fmt::v11::detail::dragonbox::decimal_fp<float>, fmt::v11::detail::digit_grouping<char>>(fmt::v11::basic_appender<char>, fmt::v11::detail::dragonbox::decimal_fp<float> const&, fmt::v11::format_specs const&, fmt::v11::si... | zkingston[P]unknot/build_O1/_deps/fmt-src/include/fmt/format.h | FMT_CONSTEXPR20 auto do_write_float(OutputIt out, const DecimalFP& f,
const format_specs& specs, sign s,
int exp_upper, locale_ref loc) -> OutputIt {
auto significand = f.significand;
int significand_size = get_significand_size(f);
const Char... | O1 | c | fmt::v11::basic_appender<char> fmt::v11::detail::do_write_float<char, fmt::v11::basic_appender<char>, fmt::v11::detail::dragonbox::decimal_fp<float>, fmt::v11::detail::digit_grouping<char>>(fmt::v11::basic_appender<char>, fmt::v11::detail::dragonbox::decimal_fp<float> const&, fmt::v11::format_specs const&, fmt::v11::si... | _ZN3fmt3v116detail14do_write_floatIcNS0_14basic_appenderIcEENS1_9dragonbox10decimal_fpIfEENS1_14digit_groupingIcEEEET0_SA_RKT1_RKNS0_12format_specsENS0_4signEiNS1_10locale_refE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0A8h
mov rbp, r9
mov ebx, r8d
mov r14, rdx
mo... | long long fmt::v11::detail::do_write_float<char,fmt::v11::basic_appender<char>,fmt::v11::detail::dragonbox::decimal_fp<float>,fmt::v11::detail::digit_grouping<char>>(
long long a1,
int **a2,
char *a3,
int a4,
int a5,
std::locale *a6)
{
int v6; // ebp
long long v10; /... | do_write_float<char,fmt::v11::basic_appender<char>,fmt::v11::detail::dragonbox::decimal_fp<float>,fmt::v11::detail::digit_grouping<char>>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xa8
MOV RBP,R9
MOV EBX,R8D
MOV R14,RDX
MOV R12,RSI
MOV R10,RDI
MOV dword ptr [RSP + 0x18],ECX
MOV R15D,dword ptr [RSI]... |
/* WARNING: Type propagation algorithm not settling */
/* fmt::v11::basic_appender<char> fmt::v11::detail::do_write_float<char,
fmt::v11::basic_appender<char>, fmt::v11::detail::dragonbox::decimal_fp<float>,
fmt::v11::detail::digit_grouping<char> >(fmt::v11::basic_appender<char>,
fmt::v11::detail::dragonbox::... | |
3,485 | translog_get_sent_to_disk | eloqsql/storage/maria/ma_loghandler.c | static LSN translog_get_sent_to_disk()
{
register LSN lsn;
DBUG_ENTER("translog_get_sent_to_disk");
mysql_mutex_lock(&log_descriptor.sent_to_disk_lock);
lsn= log_descriptor.sent_to_disk;
DBUG_PRINT("info", ("sent to disk up to " LSN_FMT, LSN_IN_PARTS(lsn)));
mysql_mutex_unlock(&log_descriptor.sent_to_disk_l... | O3 | c | translog_get_sent_to_disk:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
cmpq $0x0, 0xbaf296(%rip) # 0xbff4c0
jne 0x50261
leaq 0xbaf24d(%rip), %rdi # 0xbff480
callq 0x29220
movq 0xbaf221(%rip), %rbx # 0xbff460
movq 0xbaf27a(%rip), %rdi # 0xbff4c0
testq %rdi, %rdi
jne 0x50268
leaq 0xbaf22e(%rip), %rdi ... | translog_get_sent_to_disk:
push rbp
mov rbp, rsp
push rbx
push rax
cmp cs:qword_BFF4C0, 0
jnz short loc_50261
lea rdi, unk_BFF480
call _pthread_mutex_lock
loc_50238:
mov rbx, cs:qword_BFF460
mov rdi, cs:qword_BFF4C0
test rdi, rdi
jnz short loc_50268
loc_5024B:
lea rdi, unk... | long long translog_get_sent_to_disk(long long a1)
{
long long v1; // rbx
if ( qword_BFF4C0 )
translog_get_sent_to_disk_cold_1(a1);
else
pthread_mutex_lock(&unk_BFF480);
v1 = qword_BFF460;
if ( qword_BFF4C0 )
((void ( *)(long long))PSI_server[44])(qword_BFF4C0);
pthread_mutex_unlock(&unk_BFF480... | translog_get_sent_to_disk:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
CMP qword ptr [0x00cff4c0],0x0
JNZ 0x00150261
LEA RDI,[0xcff480]
CALL 0x00129220
LAB_00150238:
MOV RBX,qword ptr [0x00cff460]
MOV RDI,qword ptr [0x00cff4c0]
TEST RDI,RDI
JNZ 0x00150268
LAB_0015024b:
LEA RDI,[0xcff480]
CALL 0x001291e0
MOV RAX,RBX
ADD RSP,... |
int8 translog_get_sent_to_disk(void)
{
int8 uVar1;
if (DAT_00cff4c0 == 0) {
pthread_mutex_lock((pthread_mutex_t *)&DAT_00cff480);
}
else {
translog_get_sent_to_disk_cold_1();
}
uVar1 = DAT_00cff460;
if (DAT_00cff4c0 != 0) {
(**(code **)(PSI_server + 0x160))();
}
pthread_mutex_unlock((... | |
3,486 | my_fill_mb2 | eloqsql/strings/ctype-ucs2.c | static void
my_fill_mb2(CHARSET_INFO *cs, char *s, size_t slen, int fill)
{
char buf[10], *last;
size_t buflen, remainder;
DBUG_ASSERT((slen % 2) == 0);
buflen= my_ci_wc_mb(cs, (my_wc_t) fill, (uchar*) buf,
(uchar*) buf + sizeof(buf));
DBUG_ASSERT(buflen > 0);
/*
"last" in ... | O3 | c | my_fill_mb2:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq 0xb8(%rdi), %rax
movslq %ecx, %rsi
leaq -0x30(%rbp), %rcx
leaq -0x3a(%rbp), %rdx
callq *0x30(%rax)
movslq %eax, %r15
addq %r14, ... | my_fill_mb2:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rbx, rdx
mov r14, rsi
mov rax, fs:28h
mov [rbp+var_30], rax
mov rax, [rdi+0B8h]
movsxd rsi, ecx
lea rcx, [rbp+var_30]
lea rdx, [rbp+var_3A]
call qword ptr [rax+30h]
... | unsigned long long my_fill_mb2(long long a1, unsigned long long a2, long long a3, int a4)
{
unsigned long long v5; // r14
long long v6; // r15
long long v7; // rbx
long long v8; // rbx
_BYTE v10[10]; // [rsp+6h] [rbp-3Ah] BYREF
unsigned long long v11[6]; // [rsp+10h] [rbp-30h] BYREF
v5 = a2;
v11[0] = ... | my_fill_mb2:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RDX
MOV R14,RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RDI + 0xb8]
MOVSXD RSI,ECX
LEA RCX,[RBP + -0x30]
LEA RDX,[RBP + -0x3a]
CALL qword ptr [RAX + 0x30]
MOVSXD R15,EAX
ADD RBX,R14... |
void my_fill_mb2(long param_1,void *param_2,long param_3,int param_4)
{
int iVar1;
void *pvVar2;
void *__dest;
size_t sVar3;
long in_FS_OFFSET;
int1 local_42 [10];
long local_38;
local_38 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = (**(code **)(*(long *)(param_1 + 0xb8) + 0x30))(param_1,(long)param... | |
3,487 | PickleTensorReader::read_global(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | 7CodeWizard[P]stablediffusion/model.cpp | void read_global(const std::string& str) {
if (str == "FloatStorage") {
if (read_global_type) {
global_type = GGML_TYPE_F32;
read_global_type = false;
}
tensor_storage.type = GGML_TYPE_F32;
} else if (str == "HalfStorage") {
... | O0 | cpp | PickleTensorReader::read_global(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq 0x8(%rsp), %rdi
leaq 0xc0112(%rip), %rsi # 0x184485
callq 0x301e0
testb $0x1, %al
jne 0xc43... | _ZN18PickleTensorReader11read_globalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
sub rsp, 18h
mov [rsp+18h+var_8], rdi
mov [rsp+18h+var_10], rsi
mov rax, [rsp+18h+var_8]
mov [rsp+18h+var_18], rax
mov rdi, [rsp+18h+var_10]
lea rsi, aFloatstorage; "FloatStorage"
call _ZSteqIcSt1... | bool PickleTensorReader::read_global(long long a1, long long a2)
{
bool result; // al
if ( std::operator==<char>(a2, (long long)"FloatStorage") )
{
if ( (PickleTensorReader::read_global_type & 1) != 0 )
{
PickleTensorReader::global_type = 0;
PickleTensorReader::read_global_type = 0;
}
... | read_global:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV qword ptr [RSP + 0x8],RSI
MOV RAX,qword ptr [RSP + 0x10]
MOV qword ptr [RSP],RAX
MOV RDI,qword ptr [RSP + 0x8]
LEA RSI,[0x284485]
CALL 0x001301e0
TEST AL,0x1
JNZ 0x001c437e
JMP 0x001c43a5
LAB_001c437e:
TEST byte ptr [0x00359f1c],0x1
JZ 0x001c4398
MOV dword pt... |
/* PickleTensorReader::read_global(std::__cxx11::string const&) */
void __thiscall PickleTensorReader::read_global(PickleTensorReader *this,string *param_1)
{
bool bVar1;
bVar1 = std::operator==(param_1,"FloatStorage");
if (bVar1) {
if ((read_global_type & 1) != 0) {
global_type = 0;
read_gl... | |
3,488 | PickleTensorReader::read_global(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | 7CodeWizard[P]stablediffusion/model.cpp | void read_global(const std::string& str) {
if (str == "FloatStorage") {
if (read_global_type) {
global_type = GGML_TYPE_F32;
read_global_type = false;
}
tensor_storage.type = GGML_TYPE_F32;
} else if (str == "HalfStorage") {
... | O1 | cpp | PickleTensorReader::read_global(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x5472c(%rip), %rsi # 0xc23f1
movq %r14, %rdi
callq 0xa150
testl %eax, %eax
je 0x6dcf4
leaq 0x54726(%rip), %rsi # 0xc23fe
... | _ZN18PickleTensorReader11read_globalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
lea rsi, aFloatstorage; "FloatStorage"
mov rdi, r14
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc; std::string::compare... | long long PickleTensorReader::read_global(long long a1, long long a2)
{
long long result; // rax
if ( !(unsigned int)std::string::compare(a2, "FloatStorage") )
{
result = 0LL;
if ( !PickleTensorReader::read_global_type )
goto LABEL_7;
LABEL_6:
PickleTensorReader::global_type = result;
Pick... | |||
3,489 | PickleTensorReader::read_global(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | 7CodeWizard[P]stablediffusion/model.cpp | void read_global(const std::string& str) {
if (str == "FloatStorage") {
if (read_global_type) {
global_type = GGML_TYPE_F32;
read_global_type = false;
}
tensor_storage.type = GGML_TYPE_F32;
} else if (str == "HalfStorage") {
... | O3 | cpp | PickleTensorReader::read_global(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x54372(%rip), %rsi # 0xc1401
movq %r14, %rdi
callq 0xa150
testl %eax, %eax
je 0x6d0be
leaq 0x5436c(%rip), %rsi # 0xc140e
... | _ZN18PickleTensorReader11read_globalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
lea rsi, aFloatstorage; "FloatStorage"
mov rdi, r14
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc; std::string::compare... | long long PickleTensorReader::read_global(long long a1, long long a2)
{
long long result; // rax
if ( !(unsigned int)std::string::compare(a2, "FloatStorage") )
{
result = 0LL;
if ( !PickleTensorReader::read_global_type )
goto LABEL_7;
LABEL_6:
PickleTensorReader::global_type = result;
Pick... | |||
3,490 | coro::io_scheduler::~io_scheduler() | AlayaLite/build_O3/_deps/libcoro-src/src/io_scheduler.cpp | io_scheduler::~io_scheduler()
{
shutdown();
if (m_io_thread.joinable())
{
m_io_thread.join();
}
if (m_epoll_fd != -1)
{
close(m_epoll_fd);
m_epoll_fd = -1;
}
if (m_timer_fd != -1)
{
close(m_timer_fd);
m_timer_fd = -1;
}
if (m_schedule... | O3 | cpp | coro::io_scheduler::~io_scheduler():
pushq %rbx
movq %rdi, %rbx
callq 0x73dc
cmpq $0x0, 0xc8(%rbx)
je 0x7271
leaq 0xc8(%rbx), %rdi
callq 0x3360
movl 0xa8(%rbx), %edi
cmpl $-0x1, %edi
je 0x728b
callq 0x33c0
movl $0xffffffff, 0xa8(%rbx) # imm = 0xFFFFFFFF
movl 0xb0(%rbx), %edi
cmpl $-0x1, %edi
je 0x72a5
callq 0x33c0
movl... | _ZN4coro12io_schedulerD2Ev:
push rbx; Alternative name is 'coro::io_scheduler::~io_scheduler()'
mov rbx, rdi
call _ZN4coro12io_scheduler8shutdownEv; coro::io_scheduler::shutdown(void)
cmp qword ptr [rbx+0C8h], 0
jz short loc_7271
lea rdi, [rbx+0C8h]; this
call __ZNSt6thread4joinEv; std::thread... | void coro::io_scheduler::~io_scheduler(volatile signed __int32 **this)
{
volatile signed __int32 *v2; // rdi
volatile signed __int32 *v3; // rdi
volatile signed __int32 *v4; // rdi
volatile signed __int32 *v5; // rax
volatile signed __int32 *v6; // rax
volatile signed __int32 *v7; // rax
volatile signed ... | ~io_scheduler:
PUSH RBX
MOV RBX,RDI
CALL 0x001073dc
CMP qword ptr [RBX + 0xc8],0x0
JZ 0x00107271
LAB_00107265:
LEA RDI,[RBX + 0xc8]
CALL 0x00103360
LAB_00107271:
MOV EDI,dword ptr [RBX + 0xa8]
CMP EDI,-0x1
JZ 0x0010728b
CALL 0x001033c0
MOV dword ptr [RBX + 0xa8],0xffffffff
LAB_0010728b:
MOV EDI,dword ptr [RBX + 0xb0]
C... |
/* coro::io_scheduler::~io_scheduler() */
void __thiscall coro::io_scheduler::~io_scheduler(io_scheduler *this)
{
int *piVar1;
void *pvVar2;
long *plVar3;
int iVar4;
shutdown(this);
if (*(long *)(this + 200) != 0) {
/* try { // try from 00107265 to 001072b4 has its CatchHandler @ 0... | |
3,491 | 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));
... | 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_IhSaIhEEvE9push_backERKSt4pairIKS9_SD_E:
push rbp; char
push r14; int
push rbx; int
sub rsp, 30h
mov rbx, rsi
mov r14, rdi
movzx eax, byte ptr [r... | 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)
{
nlohmann::json_abi_v3_11... | 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 0x0018bd9f
MOV byte ptr [R14],0x1
CALL 0x00140fde
MOV qword ptr [R14 + 0x8],RAX
PUSH 0x1
POP RSI
MOV RDI,R14
CALL 0x00140ee6
JMP 0x0018bda4
LAB_0018bd9f:
CMP EAX,0x1
JNZ 0x0018bdb8
LAB_0018bda4:
MOV RDI,... |
/* 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... | |
3,492 | fs_validate_filename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | monkey531[P]llama/common/common.cpp | bool fs_validate_filename(const std::string & filename) {
if (!filename.length()) {
// Empty filename invalid
return false;
}
if (filename.length() > 255) {
// Limit at common largest possible filename on Linux filesystems
// to avoid unnecessary further validation
//... | O0 | cpp | fs_validate_filename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
subq $0x128, %rsp # imm = 0x128
movq %rdi, 0x118(%rsp)
movq 0x118(%rsp), %rdi
callq 0x5cae0
cmpq $0x0, %rax
jne 0xf7eff
movb $0x0, 0x127(%rsp)
jmp 0xf8297
movq 0x118(%rsp), %rdi
callq 0x5cae0
cmpq $0x... | _Z20fs_validate_filenameRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
sub rsp, 128h
mov [rsp+128h+var_10], rdi
mov rdi, [rsp+128h+var_10]
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv; std::string::length(void)
cmp rax, 0
jnz short loc_F7EFF
mov [rsp+128h+var... | bool fs_validate_filename(long long a1, int a2)
{
int v2; // edx
int v3; // ecx
int v4; // r8d
int v5; // r9d
int v7; // [rsp+0h] [rbp-128h]
int v8; // [rsp+8h] [rbp-120h]
void *v9; // [rsp+10h] [rbp-118h]
int v10; // [rsp+18h] [rbp-110h]
unsigned int v11; // [rsp+1Ch] [rbp-10Ch]
long long v12; // ... | fs_validate_filename:
SUB RSP,0x128
MOV qword ptr [RSP + 0x118],RDI
MOV RDI,qword ptr [RSP + 0x118]
CALL 0x0015cae0
CMP RAX,0x0
JNZ 0x001f7eff
MOV byte ptr [RSP + 0x127],0x0
JMP 0x001f8297
LAB_001f7eff:
MOV RDI,qword ptr [RSP + 0x118]
CALL 0x0015cae0
CMP RAX,0xff
JBE 0x001f7f21
MOV byte ptr [RSP + 0x127],0x0
JMP 0x001f... |
/* fs_validate_filename(std::__cxx11::string const&) */
ulong fs_validate_filename(string *param_1)
{
uint uVar1;
bool bVar2;
long lVar3;
ulong uVar4;
uint *puVar5;
char *pcVar6;
int8 local_108;
int8 local_100;
u32string *local_f8;
uint local_e4;
u32string local_e0 [32];
wstring_convert<std::... | |
3,493 | ma_init_block_record | eloqsql/storage/maria/ma_blockrec.c | my_bool _ma_init_block_record(MARIA_HA *info)
{
MARIA_ROW *row= &info->cur_row, *new_row= &info->new_row;
MARIA_SHARE *share= info->s;
myf flag= MY_WME | (share->temporary ? MY_THREAD_SPECIFIC : 0);
uint default_extents;
DBUG_ENTER("_ma_init_block_record");
if (!my_multi_malloc(PSI_INSTRUMENT_ME, flag,
... | O0 | c | ma_init_block_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movq %rdi, -0x38(%rbp)
movq -0x38(%rbp), %rax
addq $0x80, %rax
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rax
addq $0x140, %rax # imm = 0x140
movq %rax, -0x48(%rbp... | _ma_init_block_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 128h
mov [rbp+var_38], rdi
mov rax, [rbp+var_38]
add rax, 80h
mov [rbp+var_40], rax
mov rax, [rbp+var_38]
add rax, 140h
mov [rbp+var_48], rax
mov rax, [rbp+var_38]... | char ma_init_block_record(long long a1)
{
int v1; // eax
long long v2; // rax
int v4; // [rsp+38h] [rbp-118h]
int v5; // [rsp+48h] [rbp-108h]
int v6; // [rsp+F4h] [rbp-5Ch]
long long v7; // [rsp+F8h] [rbp-58h]
_DWORD *v8; // [rsp+100h] [rbp-50h]
long long v9; // [rsp+108h] [rbp-48h]
long long v10; //... | _ma_init_block_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x128
MOV qword ptr [RBP + -0x38],RDI
MOV RAX,qword ptr [RBP + -0x38]
ADD RAX,0x80
MOV qword ptr [RBP + -0x40],RAX
MOV RAX,qword ptr [RBP + -0x38]
ADD RAX,0x140
MOV qword ptr [RBP + -0x48],RAX
MOV RAX,qword ptr [RBP + -0x38... |
int1 _ma_init_block_record(long *param_1)
{
long lVar1;
int1 auVar2 [16];
char cVar3;
uint uVar4;
int iVar5;
long lVar6;
lVar1 = *param_1;
uVar4 = 0;
if (*(char *)(lVar1 + 0x7d9) != '\0') {
uVar4 = 0x10000;
}
uVar4 = uVar4 | 0x10;
lVar6 = my_multi_malloc(0,uVar4,param_1 + 0x19,*(int4 *)... | |
3,494 | test_bug11754979 | eloqsql/tests/mysql_client_test.c | static void test_bug11754979()
{
MYSQL* conn;
DBUG_ENTER("test_bug11754979");
myheader("test_bug11754979");
DIE_UNLESS((conn= mysql_client_init(NULL)));
DIE_UNLESS(mysql_real_connect(conn, opt_host, opt_user,
opt_password, opt_db ? opt_db:"test", opt_port,
opt_unix_socket, CLIENT_F... | O0 | c | test_bug11754979:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
jmp 0x9581a
movsbl 0x3d4cb0(%rip), %eax # 0x46a4d1
cmpl $0x2, %eax
jge 0x958a2
movq 0x2197ab(%rip), %rax # 0x2aefd8
movq (%rax), %rdi
leaq 0x98aed(%rip), %rsi # 0x12e324
movb $0x0, %al
callq 0x3a1c0
movq 0x219793(%rip), %rax # 0x2aefd8
movq (%ra... | test_bug11754979:
push rbp
mov rbp, rsp
sub rsp, 60h
jmp short $+2
loc_9581A:
movsx eax, cs:opt_silent
cmp eax, 2
jge short loc_958A2
mov rax, cs:stdout_ptr
mov rdi, [rax]
lea rsi, asc_12E324; "\n\n###################################"...
mov al, 0
call _fprintf
mov rax, c... | long long test_bug11754979()
{
int v0; // edx
long long v1; // rax
long long v3; // [rsp+58h] [rbp-8h]
if ( opt_silent < 2 )
{
fprintf(stdout, "\n\n#####################################\n");
v0 = test_count++;
fprintf(stdout, "%u of (%u/%u): %s", v0, iter_count, opt_count, "test_bug11754979");
... | test_bug11754979:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
JMP 0x0019581a
LAB_0019581a:
MOVSX EAX,byte ptr [0x0056a4d1]
CMP EAX,0x2
JGE 0x001958a2
MOV RAX,qword ptr [0x003aefd8]
MOV RDI,qword ptr [RAX]
LEA RSI,[0x22e324]
MOV AL,0x0
CALL 0x0013a1c0
MOV RAX,qword ptr [0x003aefd8]
MOV RDI,qword ptr [RAX]
MOV EDX,dword ptr [0x005... |
void test_bug11754979(void)
{
int iVar1;
long lVar2;
long lVar3;
ulong uVar4;
char *local_50;
if (opt_silent < '\x02') {
fprintf(*(FILE **)PTR_stdout_003aefd8,"\n\n#####################################\n");
uVar4 = (ulong)test_count;
test_count = test_count + 1;
fprintf(*(FILE **)PTR_st... | |
3,495 | ma_zlib_compress | eloqsql/libmariadb/plugins/compress/c_zlib.c | my_bool ma_zlib_compress(ma_compress_ctx *ctx, void *dst,
size_t *dst_len, void *source, size_t source_len)
{
int rc;
if (!ctx)
return 1;
if ((rc= compress2((Bytef *)dst, (uLongf *)dst_len, (Bytef *)source, (uLong)source_len,
ctx->compression_level)) != Z_OK)
r... | O3 | c | ma_zlib_compress:
testq %rdi, %rdi
je 0x30d73
pushq %rbp
movq %rsp, %rbp
movl 0x10(%rdi), %eax
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movl %eax, %r8d
callq 0x13250
testl %eax, %eax
setne %al
popq %rbp
retq
movb $0x1, %al
retq
| ma_zlib_compress:
test rdi, rdi
jz short loc_30D73
push rbp
mov rbp, rsp
mov eax, [rdi+10h]
mov rdi, rsi
mov rsi, rdx
mov rdx, rcx
mov rcx, r8
mov r8d, eax
call _compress2
test eax, eax
setnz al
pop rbp
retn
loc_30D73:
mov al, 1
retn
| bool ma_zlib_compress(long long a1, long long a2, long long a3, long long a4, long long a5)
{
return !a1 || (unsigned int)compress2(a2, a3, a4, a5, *(unsigned int *)(a1 + 16)) != 0;
}
| ma_zlib_compress:
TEST RDI,RDI
JZ 0x00130d73
PUSH RBP
MOV RBP,RSP
MOV EAX,dword ptr [RDI + 0x10]
MOV RDI,RSI
MOV RSI,RDX
MOV RDX,RCX
MOV RCX,R8
MOV R8D,EAX
CALL 0x00113250
TEST EAX,EAX
SETNZ AL
POP RBP
RET
LAB_00130d73:
MOV AL,0x1
RET
|
bool ma_zlib_compress(long param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5)
{
int iVar1;
if (param_1 != 0) {
iVar1 = compress2(param_2,param_3,param_4,param_5,*(int4 *)(param_1 + 0x10));
return iVar1 != 0;
}
return true;
}
| |
3,496 | update_var_htab | bluesky950520[P]quickjs/quickjs.c | static int update_var_htab(JSContext *ctx, JSFunctionDef *fd)
{
uint32_t i, j, k, m, *p;
if (fd->var_count < 27) // 27 + 27/5 == 32
return 0;
k = fd->var_count - 1;
m = fd->var_count + fd->var_count/5;
if (m & (m - 1)) // unless power of two
goto insert;
m *= 2;
p = js_reall... | O0 | c | update_var_htab:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x20(%rsp), %rax
cmpl $0x1b, 0xa4(%rax)
jge 0xa5999
movl $0x0, 0x34(%rsp)
jmp 0xa5b3f
movq 0x20(%rsp), %rax
movl 0xa4(%rax), %eax
subl $0x1, %eax
movl %eax, 0x14(%rsp)
movq 0x20(%rsp), %rax
movl 0xa4(%rax), %eax
movl %eax, 0x4(%rsp)
movq... | update_var_htab:
sub rsp, 38h
mov [rsp+38h+var_10], rdi
mov [rsp+38h+var_18], rsi
mov rax, [rsp+38h+var_18]
cmp dword ptr [rax+0A4h], 1Bh
jge short loc_A5999
mov [rsp+38h+var_4], 0
jmp loc_A5B3F
loc_A5999:
mov rax, [rsp+38h+var_18]
mov eax, [rax+0A4h]
sub eax, 1
mov [rsp+... | long long update_var_htab(long long a1, long long a2)
{
long long v2; // rdx
unsigned int v3; // ecx
long long v5; // [rsp+8h] [rbp-30h]
unsigned int *v6; // [rsp+8h] [rbp-30h]
unsigned int v7; // [rsp+10h] [rbp-28h]
unsigned int v8; // [rsp+10h] [rbp-28h]
unsigned int v9; // [rsp+10h] [rbp-28h]
unsign... | update_var_htab:
SUB RSP,0x38
MOV qword ptr [RSP + 0x28],RDI
MOV qword ptr [RSP + 0x20],RSI
MOV RAX,qword ptr [RSP + 0x20]
CMP dword ptr [RAX + 0xa4],0x1b
JGE 0x001a5999
MOV dword ptr [RSP + 0x34],0x0
JMP 0x001a5b3f
LAB_001a5999:
MOV RAX,qword ptr [RSP + 0x20]
MOV EAX,dword ptr [RAX + 0xa4]
SUB EAX,0x1
MOV dword ptr [R... |
int4 update_var_htab(int8 param_1,long param_2)
{
byte bVar1;
uint uVar2;
long lVar3;
uint *puVar4;
uint local_28;
uint local_24;
int local_20;
uint local_1c;
if (0x1a < *(int *)(param_2 + 0xa4)) {
local_24 = *(int *)(param_2 + 0xa4) - 1;
local_28 = *(int *)(param_2 + 0xa4) + *(int *)(par... | |
3,497 | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, 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 lo... | monkey531[P]llama/common/json.hpp | iterator find(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-forward)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return it;
}
}
return Container::end();
} | O2 | cpp | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, 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 lo... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... | long long ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... |
string * _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | |
3,498 | ggml_reshape | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml.c | struct ggml_tensor * ggml_reshape(
struct ggml_context * ctx,
struct ggml_tensor * a,
struct ggml_tensor * b) {
GGML_ASSERT(ggml_is_contiguous(a));
// as only the shape of b is relevant, and not its memory layout, b is allowed to be non contiguous.
GGML_ASSERT(ggml_nelements(a) == gg... | O1 | c | ggml_reshape:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, %rdi
xorl %esi, %esi
callq 0x1b410
testb %al, %al
je 0x1d6dc
movq 0x18(%rbx), %rax
imulq 0x10(%rbx), %rax
imulq 0x20(%rbx), %rax
imulq 0x28(%rbx), %rax
movq 0x18(%r14), %rcx
imulq 0x10(%r14), %rcx
imulq 0x20(%r14),... | ggml_reshape:
push r15
push r14
push rbx
mov r14, rdx
mov rbx, rsi
mov r15, rdi
mov rdi, rsi
xor esi, esi
call ggml_is_contiguous_n
test al, al
jz short loc_1D6DC
mov rax, [rbx+18h]
imul rax, [rbx+10h]
imul rax, [rbx+20h]
imul rax, [rbx+28h]
mov rcx, [r14+18h]
im... | long long ggml_reshape(long long a1, long long a2, long long *a3, double a4)
{
int v5; // r8d
int v6; // r9d
long long v7; // r14
const char *v9; // rcx
int v10; // esi
if ( !(unsigned __int8)ggml_is_contiguous_n((unsigned int *)a2, 0) )
{
v9 = "ggml_is_contiguous(a)";
v10 = 3014;
goto LABEL... | ggml_reshape:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RDX
MOV RBX,RSI
MOV R15,RDI
MOV RDI,RSI
XOR ESI,ESI
CALL 0x0011b410
TEST AL,AL
JZ 0x0011d6dc
MOV RAX,qword ptr [RBX + 0x18]
IMUL RAX,qword ptr [RBX + 0x10]
IMUL RAX,qword ptr [RBX + 0x20]
IMUL RAX,qword ptr [RBX + 0x28]
MOV RCX,qword ptr [R14 + 0x18]
IMUL RCX,qword ptr [... |
long ggml_reshape(int8 param_1,int4 *param_2,long param_3)
{
char cVar1;
long lVar2;
char *pcVar3;
int8 uVar4;
cVar1 = ggml_is_contiguous_n(param_2,0);
if (cVar1 == '\0') {
pcVar3 = "ggml_is_contiguous(a)";
uVar4 = 0xbc6;
}
else {
if (*(long *)(param_2 + 6) * *(long *)(param_2 + 4) * *(... | |
3,499 | ggml_reshape | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml.c | struct ggml_tensor * ggml_reshape(
struct ggml_context * ctx,
struct ggml_tensor * a,
struct ggml_tensor * b) {
GGML_ASSERT(ggml_is_contiguous(a));
// as only the shape of b is relevant, and not its memory layout, b is allowed to be non contiguous.
GGML_ASSERT(ggml_nelements(a) == gg... | O2 | c | ggml_reshape:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, %rdi
callq 0x1fb90
testb %al, %al
je 0x22c46
movq 0x18(%rbx), %rax
imulq 0x10(%rbx), %rax
imulq 0x20(%rbx), %rax
imulq 0x28(%rbx), %rax
movq 0x18(%r14), %rcx
imulq 0x10(%r14), %rcx
imulq 0x20(%r14), %rcx
imulq 0x28... | ggml_reshape:
push r15
push r14
push rbx
mov r14, rdx
mov rbx, rsi
mov r15, rdi
mov rdi, rsi
call _ggml_is_contiguous_0
test al, al
jz short loc_22C46
mov rax, [rbx+18h]
imul rax, [rbx+10h]
imul rax, [rbx+20h]
imul rax, [rbx+28h]
mov rcx, [r14+18h]
imul rcx, [r14+... | long long ggml_reshape(
long long a1,
long long a2,
long long *a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11)
{
long long v12; // r8
long long v13; // r9
__m128 v14; // xmm4
__... | ggml_reshape:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RDX
MOV RBX,RSI
MOV R15,RDI
MOV RDI,RSI
CALL 0x0011fb90
TEST AL,AL
JZ 0x00122c46
MOV RAX,qword ptr [RBX + 0x18]
IMUL RAX,qword ptr [RBX + 0x10]
IMUL RAX,qword ptr [RBX + 0x20]
IMUL RAX,qword ptr [RBX + 0x28]
MOV RCX,qword ptr [R14 + 0x18]
IMUL RCX,qword ptr [R14 + 0x10]
... |
long ggml_reshape(int8 param_1,int4 *param_2,long param_3)
{
char cVar1;
long lVar2;
char *pcVar3;
int8 uVar4;
cVar1 = ggml_is_contiguous_0(param_2);
if (cVar1 == '\0') {
pcVar3 = "ggml_is_contiguous(a)";
uVar4 = 0xbc6;
}
else {
if (*(long *)(param_2 + 6) * *(long *)(param_2 + 4) * *(lo... |
Subsets and Splits
C++ Functions With Standard Library Dependencies
Identifies C++ functions that depend on standard library components, revealing patterns in how developers utilize STL libraries and potentially highlighting common coding practices or dependencies in the dataset.
C++ Standard Library Function Analysis
Filters C++ code examples that use standard library containers and types, providing useful insights into common programming patterns and data structures in the dataset.
Random Training Function Samples
Performs basic filtering and random sampling of assembly code data without revealing meaningful patterns or relationships.
Random Training Function Samples
Retrieves a random sample of 1000 records from the training dataset, providing basic data exploration but offering limited analytical value beyond seeing raw entries.