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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
9,400 | FTB_WORD_cmp_list | eloqsql/storage/myisam/ft_boolean_search.c | static int FTB_WORD_cmp_list(CHARSET_INFO *cs, FTB_WORD **a, FTB_WORD **b)
{
/* ORDER BY word, ndepth */
int i= ha_compare_text(cs, (uchar*) (*a)->word + 1, (*a)->len - 1,
(uchar*) (*b)->word + 1, (*b)->len - 1, 0);
if (!i)
i= CMP_NUM((*a)->ndepth, (*b)->ndepth);
return i;
} | O3 | c | FTB_WORD_cmp_list:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq (%rsi), %rsi
movl 0x48(%rsi), %edx
addq $0x4e, %rsi
decl %edx
movq (%rbx), %rcx
movl 0x48(%rcx), %r8d
addq $0x4e, %rcx
decl %r8d
xorl %r9d, %r9d
callq 0xa59e8
testl %eax, %eax
jne 0x76e66
movq (%r14), %rax
movl 0x44... | FTB_WORD_cmp_list:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdx
mov r14, rsi
mov rsi, [rsi]
mov edx, [rsi+48h]
add rsi, 4Eh ; 'N'
dec edx
mov rcx, [rbx]
mov r8d, [rcx+48h]
add rcx, 4Eh ; 'N'
dec r8d
xor r9d, r9d
call ha_compare_text
test eax, eax
jn... | long long FTB_WORD_cmp_list(long long a1, long long a2, long long a3)
{
long long result; // rax
unsigned int v5; // eax
bool v6; // cf
BOOL v7; // edx
result = ha_compare_text(
a1,
*(_QWORD *)a2 + 78LL,
(unsigned int)(*(_DWORD *)(*(_QWORD *)a2 + 72LL) - 1),
... | FTB_WORD_cmp_list:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDX
MOV R14,RSI
MOV RSI,qword ptr [RSI]
MOV EDX,dword ptr [RSI + 0x48]
ADD RSI,0x4e
DEC EDX
MOV RCX,qword ptr [RBX]
MOV R8D,dword ptr [RCX + 0x48]
ADD RCX,0x4e
DEC R8D
XOR R9D,R9D
CALL 0x001a59e8
TEST EAX,EAX
JNZ 0x00176e66
MOV RAX,qword ptr [R14]
MOV EA... |
ulong FTB_WORD_cmp_list(int8 param_1,long *param_2,long *param_3)
{
ulong uVar1;
uVar1 = ha_compare_text(param_1,*param_2 + 0x4e,*(int *)(*param_2 + 0x48) + -1,*param_3 + 0x4e,
*(int *)(*param_3 + 0x48) + -1,0);
if ((int)uVar1 == 0) {
uVar1 = 0xffffffff;
if (*(uint *)(*param... | |
9,401 | ma_bitmap_flushable | eloqsql/storage/maria/ma_bitmap.c | void _ma_bitmap_flushable(MARIA_HA *info, int non_flushable_inc)
{
MARIA_SHARE *share= info->s;
MARIA_FILE_BITMAP *bitmap;
DBUG_ENTER("_ma_bitmap_flushable");
/*
Not transactional tables are never automaticly flushed and needs no
protection
*/
if (!share->now_transactional)
DBUG_VOID_RETURN;
... | O3 | c | ma_bitmap_flushable:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq (%rdi), %r15
cmpb $0x0, 0x7e7(%r15)
je 0x4168f
movl %esi, %r12d
movq %rdi, %rbx
leaq 0xa98(%r15), %r14
cmpq $0x0, 0xad8(%r15)
jne 0x41698
movq %r14, %rdi
callq 0x29220
cmpl $-0x1, %r12d
je 0x41652
movl 0xa44(%r15), %eax
lea... | _ma_bitmap_flushable:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
mov r15, [rdi]
cmp byte ptr [r15+7E7h], 0
jz loc_4168F
mov r12d, esi
mov rbx, rdi
lea r14, [r15+0A98h]
cmp qword ptr [r15+0AD8h], 0
jnz loc_41698
mov rdi, r14
call _pthread_mutex_lo... | void ma_bitmap_flushable(_DWORD *a1, int a2)
{
long long v2; // r15
long long v4; // r14
int v5; // eax
long long v6; // rdi
int v7; // r15d
v2 = *(_QWORD *)a1;
if ( *(_BYTE *)(*(_QWORD *)a1 + 2023LL) )
{
v4 = v2 + 2712;
if ( *(_QWORD *)(v2 + 2776) )
psi_mutex_lock(v2 + 2712, (long long)... | _ma_bitmap_flushable:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R15,qword ptr [RDI]
CMP byte ptr [R15 + 0x7e7],0x0
JZ 0x0014168f
MOV R12D,ESI
MOV RBX,RDI
LEA R14,[R15 + 0xa98]
CMP qword ptr [R15 + 0xad8],0x0
JNZ 0x00141698
MOV RDI,R14
CALL 0x00129220
LAB_00141610:
CMP R12D,-0x1
JZ 0x00141652
MOV EAX,... |
void _ma_bitmap_flushable(long *param_1,int param_2)
{
pthread_mutex_t *__mutex;
int *piVar1;
int iVar2;
long lVar3;
int4 uVar4;
lVar3 = *param_1;
if (*(char *)(lVar3 + 0x7e7) != '\0') {
__mutex = (pthread_mutex_t *)(lVar3 + 0xa98);
if (*(long *)(lVar3 + 0xad8) == 0) {
pthread_mutex_loc... | |
9,402 | inline_mysql_file_read | eloqsql/include/mysql/psi/mysql_file.h | static inline size_t
inline_mysql_file_read(
#ifdef HAVE_PSI_FILE_INTERFACE
const char *src_file, uint src_line,
#endif
File file, uchar *buffer, size_t count, myf flags)
{
size_t result;
#ifdef HAVE_PSI_FILE_INTERFACE
struct PSI_file_locker *locker;
PSI_file_locker_state state;
size_t bytes_read;
locker=... | O0 | c | inline_mysql_file_read:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
leaq 0x1a1868(%rip), %rax # 0x1cc820
movq (%rax), %rax
movq 0x158(%rax), %rax
movl -0x18(%rbp), %esi
leaq -0x88(%... | inline_mysql_file_read:
push rbp
mov rbp, rsp
sub rsp, 0A0h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_18], edx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov [rbp+var_30], r9
lea rax, PSI_server
mov rax, [rax]
mov rax, [rax+158h]
mov esi, [rbp+var_18]
le... | long long inline_mysql_file_read(
long long a1,
unsigned int a2,
unsigned int a3,
long long a4,
long long a5,
long long a6)
{
long long v7; // [rsp+0h] [rbp-A0h]
long long v8; // [rsp+8h] [rbp-98h]
_BYTE v9[72]; // [rsp+18h] [rbp-88h] BYREF
long long v10; // [rsp... | inline_mysql_file_read:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xa0
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV dword ptr [RBP + -0x18],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV qword ptr [RBP + -0x30],R9
LEA RAX,[0x2cc820]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x15... |
long inline_mysql_file_read
(int8 param_1,int4 param_2,int4 param_3,int8 param_4,
long param_5,ulong param_6)
{
long local_a8;
long local_a0;
long local_98;
int1 local_90 [72];
long local_48;
long local_40;
ulong local_38;
long local_30;
int8 local_28;
int4 local_20;
... | |
9,403 | init_available_charsets | eloqsql/mysys/charset.c | static void init_available_charsets(void)
{
char fname[FN_REFLEN + sizeof(MY_CHARSET_INDEX)];
struct charset_info_st **cs;
MY_CHARSET_LOADER loader;
DBUG_ENTER("init_available_charsets");
bzero((char*) &all_charsets,sizeof(all_charsets));
bzero((char*) &my_collation_statistics, sizeof(my_collation_statisti... | O0 | c | init_available_charsets:
pushq %rbp
movq %rsp, %rbp
subq $0x300, %rsp # imm = 0x300
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
leaq 0x35c191(%rip), %rdi # 0x3856d0
xorl %esi, %esi
movl $0x4000, %edx # imm = 0x4000
callq 0x24190
leaq 0x3601ee(%rip), %rdi # 0x389740
xorl %esi, %esi
movl $0x4000,... | init_available_charsets:
push rbp
mov rbp, rsp
sub rsp, 300h
mov rax, fs:28h
mov [rbp+var_8], rax
lea rdi, all_charsets
xor esi, esi
mov edx, 4000h
call _memset
lea rdi, my_collation_statistics
xor esi, esi
mov edx, 4000h
call _memset
lea rax, key_memory_charsets
mov... | unsigned long long init_available_charsets()
{
long long charsets_dir; // rax
_QWORD *i; // [rsp+28h] [rbp-2D8h]
_BYTE v3[176]; // [rsp+30h] [rbp-2D0h] BYREF
_BYTE v4[536]; // [rsp+E0h] [rbp-220h] BYREF
unsigned long long v5; // [rsp+2F8h] [rbp-8h]
v5 = __readfsqword(0x28u);
memset(all_charsets, 0LL, siz... | init_available_charsets:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x300
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
LEA RDI,[0x4856d0]
XOR ESI,ESI
MOV EDX,0x4000
CALL 0x00124190
LEA RDI,[0x489740]
XOR ESI,ESI
MOV EDX,0x4000
CALL 0x00124190
LEA RAX,[0x4853cc]
MOV EDI,dword ptr [RAX]
LEA RSI,[0x4896d0]
MOV EDX,0x10
LE... |
void init_available_charsets(void)
{
char cVar1;
char *__dest;
long in_FS_OFFSET;
long *local_2e0;
int1 local_2d8 [176];
int1 local_228 [536];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
memset(&all_charsets,0,0x4000);
memset(my_collation_statistics,0,0x4000);
my_hash_init2(key_... | |
9,404 | thr_multi_lock | eloqsql/mysys/thr_lock.c | enum enum_thr_lock_result
thr_multi_lock(THR_LOCK_DATA **data, uint count, THR_LOCK_INFO *owner,
ulong lock_wait_timeout)
{
THR_LOCK_DATA **pos, **end, **first_lock;
DBUG_ENTER("thr_multi_lock");
DBUG_PRINT("lock",("data: %p count: %d", data, count));
if (count > 1)
sort_locks(data,count);
... | O0 | c | thr_multi_lock:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
jmp 0xfcbf9
cmpl $0x1, -0x14(%rbp)
jbe 0xfcc0d
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0xfcde0
jmp 0xfcc23
cmpl $0x0, -0x14(%rbp)
jne 0xfcc21
jmp 0xfcc15
mo... | thr_multi_lock:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
jmp short $+2
loc_FCBF9:
cmp [rbp+var_14], 1
jbe short loc_FCC0D
mov rdi, [rbp+var_10]
mov esi, [rbp+var_14]
call sort_locks
jmp ... | long long thr_multi_lock(_QWORD *a1, unsigned int a2, long long a3, long long a4)
{
unsigned int v5; // [rsp+Ch] [rbp-44h]
_QWORD *v6; // [rsp+10h] [rbp-40h]
unsigned long long v7; // [rsp+18h] [rbp-38h]
_QWORD *v8; // [rsp+20h] [rbp-30h]
_QWORD *i; // [rsp+20h] [rbp-30h]
if ( a2 <= 1 )
{
if ( !a2 )... | thr_multi_lock:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x28],RCX
JMP 0x001fcbf9
LAB_001fcbf9:
CMP dword ptr [RBP + -0x14],0x1
JBE 0x001fcc0d
MOV RDI,qword ptr [RBP + -0x10]
MOV ESI,dword ptr [RBP + -0x14]
CA... |
int thr_multi_lock(long *param_1,uint param_2,int8 param_3,int8 param_4)
{
int iVar1;
long *plVar2;
long *local_48;
long *local_38;
if (param_2 < 2) {
if (param_2 == 0) {
return 0;
}
}
else {
sort_locks(param_1,param_2);
}
plVar2 = param_1 + param_2;
local_38 = param_1;
whil... | |
9,405 | my_close | eloqsql/mysys/my_open.c | int my_close(File fd, myf MyFlags)
{
int err;
char *name= NULL;
DBUG_ENTER("my_close");
DBUG_PRINT("my",("fd: %d MyFlags: %lu",fd, MyFlags));
if (!(MyFlags & (MY_WME | MY_FAE)))
MyFlags|= my_global_flags;
if ((uint) fd < my_file_limit && my_file_info[fd].type != UNOPEN)
{
name= my_file_info[fd].... | O3 | c | my_close:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r12
xorl %ebx, %ebx
movl $0x0, %r14d
testb $0x18, %r12b
jne 0x4bf3a
leaq 0x385381(%rip), %rax # 0x3d12b8
movq (%rax), %r14
leaq 0x2cbadf(%rip), %rax # 0x317a20
cmpl %edi, (%rax)
jbe 0x4bf79
leaq 0x2c... | my_close:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r12, rsi
xor ebx, ebx
mov r14d, 0
test r12b, 18h
jnz short loc_4BF3A
lea rax, my_global_flags
mov r14, [rax]
loc_4BF3A:
lea rax, my_file_limit
cmp [rax], edi
jbe shor... | long long my_close(long long a1, __int16 a2)
{
long long v2; // rbx
__int16 v3; // r14
long long v4; // rcx
unsigned int v5; // r15d
__int16 v6; // r14
unsigned int *v7; // r12
unsigned int v8; // r13d
v2 = 0LL;
v3 = 0;
if ( (a2 & 0x18) == 0 )
v3 = my_global_flags;
if ( my_file_limit > (unsi... | my_close:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R12,RSI
XOR EBX,EBX
MOV R14D,0x0
TEST R12B,0x18
JNZ 0x0014bf3a
LEA RAX,[0x4d12b8]
MOV R14,qword ptr [RAX]
LAB_0014bf3a:
LEA RAX,[0x417a20]
CMP dword ptr [RAX],EDI
JBE 0x0014bf79
LEA RAX,[0x417a28]
MOV RDX,qword ptr [RAX]
MOVSXD RCX... |
int my_close(uint param_1,ulong param_2)
{
int iVar1;
int iVar2;
int *piVar3;
int *piVar4;
long lVar5;
long lVar6;
ulong uVar7;
lVar6 = 0;
uVar7 = 0;
if ((param_2 & 0x18) == 0) {
uVar7 = my_global_flags;
}
if (param_1 < my_file_limit) {
lVar5 = (long)(int)param_1 * 0x10;
if (*(i... | |
9,406 | common_params_sampling::print[abi:cxx11]() const | monkey531[P]llama/common/sampling.cpp | std::string common_params_sampling::print() const {
char result[1024];
snprintf(result, sizeof(result),
"\trepeat_last_n = %d, repeat_penalty = %.3f, frequency_penalty = %.3f, presence_penalty = %.3f\n"
"\tdry_multiplier = %.3f, dry_base = %.3f, dry_allowed_length = %d, dry_penalty_last... | O2 | cpp | common_params_sampling::print[abi:cxx11]() const:
pushq %r14
pushq %rbx
subq $0x448, %rsp # imm = 0x448
movq %rdi, %rbx
movl 0x10(%rsi), %eax
cvtss2sd 0x38(%rsi), %xmm0
cvtss2sd 0x3c(%rsi), %xmm1
cvtss2sd 0x40(%rsi), %xmm2
cvtss2sd 0x44(%rsi), %xmm3
cvtss2sd 0x48(%rsi), %xmm4
movl 0x34(%rsi), %ecx
movl 0x4c(... | _ZNK22common_params_sampling5printB5cxx11Ev:
push r14
push rbx
sub rsp, 448h
mov rbx, rdi
mov eax, [rsi+10h]
cvtss2sd xmm0, dword ptr [rsi+38h]
cvtss2sd xmm1, dword ptr [rsi+3Ch]
cvtss2sd xmm2, dword ptr [rsi+40h]
cvtss2sd xmm3, dword ptr [rsi+44h]
cvtss2sd xmm4, dword ptr [rsi+48h]
mov ecx, [rsi+... | _QWORD * common_params_sampling::print[abi:cxx11](_QWORD *a1, long long a2)
{
_BYTE v3[1048]; // [rsp+40h] [rbp-418h] BYREF
snprintf(
v3,
1024LL,
"\trepeat_last_n = %d, repeat_penalty = %.3f, frequency_penalty = %.3f, presence_penalty = %.3f\n"
"\tdry_multiplier = %.3f, dry_base = %.3f, dry_allowed... | print[abi:cxx11]:
PUSH R14
PUSH RBX
SUB RSP,0x448
MOV RBX,RDI
MOV EAX,dword ptr [RSI + 0x10]
CVTSS2SD XMM0,dword ptr [RSI + 0x38]
CVTSS2SD XMM1,dword ptr [RSI + 0x3c]
CVTSS2SD XMM2,dword ptr [RSI + 0x40]
CVTSS2SD XMM3,dword ptr [RSI + 0x44]
CVTSS2SD XMM4,dword ptr [RSI + 0x48]
MOV ECX,dword ptr [RSI + 0x34]
MOV R8D,dwo... |
/* common_params_sampling::print[abi:cxx11]() const */
void common_params_sampling::print_abi_cxx11_(void)
{
long in_RSI;
string *in_RDI;
allocator local_419;
char local_418 [1032];
snprintf(local_418,0x400,
"\trepeat_last_n = %d, repeat_penalty = %.3f, frequency_penalty = %.3f, presence_pena... | |
9,407 | evmone::instr::core::sload(evmone::StackTop, long, evmone::ExecutionState&) | corpus-core[P]colibri-stateless/build_O3/_deps/evmone_external-src/lib/evmone/instructions_storage.cpp | Result sload(StackTop stack, int64_t gas_left, ExecutionState& state) noexcept
{
auto& x = stack.top();
const auto key = intx::be::store<evmc::bytes32>(x);
if (state.rev >= EVMC_BERLIN &&
state.host.access_storage(state.msg->recipient, key) == EVMC_ACCESS_COLD)
{
// The warm storage acc... | O3 | cpp | evmone::instr::core::sload(evmone::StackTop, long, evmone::ExecutionState&):
pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movdqu 0x10(%rdi), %xmm0
movdqa 0x37a21(%rip), %xmm1 # 0x81000
pshufb %xmm1, %xmm0
movdqa %xmm0, (%rsp)
movdqu (%rdi), %xmm0
pshufb %xmm1, %xm... | _ZN6evmone5instr4core5sloadENS_8StackTopElRNS_14ExecutionStateE:
push r15
push r14
push rbx
sub rsp, 60h
mov r15, rdx
mov rbx, rsi
mov r14, rdi
movdqu xmm0, xmmword ptr [rdi+10h]
movdqa xmm1, cs:xmmword_81000
pshufb xmm0, xmm1
movdqa [rsp+78h+var_78], xmm0
movdqu xmm0, xmmword ptr [rdi]
ps... | long long evmone::instr::core::sload(__m128i *a1, long long a2, long long a3)
{
__m128i si128; // xmm1
long long v5; // rax
long long result; // rax
long long v7; // rax
__m128i v8; // xmm0
__m128i v9; // xmm2
_OWORD v10[2]; // [rsp+0h] [rbp-78h] BYREF
__m128i v11; // [rsp+20h] [rbp-58h] BYREF
__m128... | sload:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x60
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
MOVDQU XMM0,xmmword ptr [RDI + 0x10]
MOVDQA XMM1,xmmword ptr [0x00181000]
PSHUFB XMM0,XMM1
MOVDQA xmmword ptr [RSP],XMM0
MOVDQU XMM0,xmmword ptr [RDI]
PSHUFB XMM0,XMM1
MOVDQA xmmword ptr [RSP + 0x10],XMM0
CMP dword ptr [RDX + 0x40],0x8
J... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* evmone::instr::core::sload(evmone::StackTop, long, evmone::ExecutionState&) */
int1 [16] evmone::instr::core::sload(int1 (*param_1) [16],long param_2,long param_3)
{
long lVar1;
int iVar2;
int8 uVar3;
long lVar4;
int1 ... | |
9,408 | my_charpos_mb | eloqsql/strings/ctype-mb.c | size_t my_charpos_mb(CHARSET_INFO *cs __attribute__((unused)),
const char *pos, const char *end, size_t length)
{
const char *start= pos;
while (length && pos < end)
{
uint mb_len;
pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1;
length--;
}
return (size_t) (length ? end+2-start :... | O3 | c | my_charpos_mb:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %rbx
testq %rcx, %rcx
setne %cl
sete %al
cmpq %rdx, %rsi
setae %dl
orb %al, %dl
movq %rsi, -0x30(%rbp)
movq %rsi, %rax
jne 0x3ad46
movq %rdi, %r12
decq %r15
movl $0x1, %r14d
movq -0x30(... | my_charpos_mb:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15, rcx
mov rbx, rdx
test rcx, rcx
setnz cl
setz al
cmp rsi, rdx
setnb dl
or dl, al
mov [rbp+var_30], rsi
mov rax, rsi
jnz short loc_3AD46
mov r12, rdi
dec ... | unsigned long long my_charpos_mb(long long a1, unsigned long long a2, unsigned long long a3, long long a4)
{
long long v4; // r15
bool v6; // zf
unsigned long long v7; // rax
long long v8; // r15
unsigned long long v9; // r13
long long v10; // rax
bool v11; // cc
bool v12; // cf
unsigned long long v1... | my_charpos_mb:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RCX
MOV RBX,RDX
TEST RCX,RCX
SETNZ CL
SETZ AL
CMP RSI,RDX
SETNC DL
OR DL,AL
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,RSI
JNZ 0x0013ad46
MOV R12,RDI
DEC R15
MOV R14D,0x1
MOV RAX,qword ptr [RBP + -0x30]
LAB_0013ad10:
MOV R13,... |
long my_charpos_mb(long param_1,ulong param_2,ulong param_3,long param_4)
{
uint uVar1;
ulong uVar2;
ulong uVar3;
bool bVar4;
bVar4 = param_4 != 0;
uVar3 = param_2;
if (param_2 < param_3 && bVar4) {
do {
param_4 = param_4 + -1;
uVar1 = (**(code **)(*(long *)(param_1 + 0xb8) + 0xc0))(p... | |
9,409 | blst_sign_pk2_in_g2 | corpus-core[P]colibri-stateless/build_O1/_deps/blst-src/src/e1.c | void blst_sign_pk2_in_g2(unsigned char out[96], POINTonE1_affine *sig,
const POINTonE1 *hash, const pow256 SK)
{
POINTonE1 P[1];
POINTonE1_sign(P, hash, SK);
if (sig != NULL)
vec_copy(sig, P, sizeof(*sig));
if (out != NULL) {
limb_t sgn0_pty = POINTonE1_Serializ... | O1 | c | blst_sign_pk2_in_g2:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x90, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0xa0(%rbp), %rdi
movq %rdx, %rsi
movq %rcx, %rdx
callq 0x1ad98
testq %r14, %r14
je 0x1af9b
leaq -0xa0(%rbp), %rsi
movl $0xc, %ecx
movq %r14, %rdi
rep movsq (%rsi), %es:(%rdi)
testq %rbx, %rbx
je... | blst_sign_pk2_in_g2:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 90h
mov r14, rsi
mov rbx, rdi
lea rdi, [rbp+var_A0]
mov rsi, rdx
mov rdx, rcx
call POINTonE1_sign
test r14, r14
jz short loc_1AF9B
lea rsi, [rbp+var_A0]
mov ecx, 0Ch
mov rdi, r14
rep movsq
l... | char blst_sign_pk2_in_g2(_BYTE *a1, void *a2)
{
char result; // al
_BYTE v3[96]; // [rsp+0h] [rbp-A0h] BYREF
_BYTE v4[64]; // [rsp+60h] [rbp-40h] BYREF
result = POINTonE1_sign((long long)v3);
if ( a2 )
qmemcpy(a2, v3, 0x60uLL);
if ( a1 )
{
*a1 |= (16 * POINTonE1_Serialize_BE(a1, (long long)v3)) ... | blst_sign_pk2_in_g2:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x90
MOV R14,RSI
MOV RBX,RDI
LEA RDI,[RBP + -0xa0]
MOV RSI,RDX
MOV RDX,RCX
CALL 0x0011ad98
TEST R14,R14
JZ 0x0011af9b
LEA RSI,[RBP + -0xa0]
MOV ECX,0xc
MOV RDI,R14
MOVSQ.REP RDI,RSI
LAB_0011af9b:
TEST RBX,RBX
JZ 0x0011afc9
LEA RSI,[RBP + -0xa0]
MOV RDI... |
void blst_sign_pk2_in_g2(byte *param_1,int8 *param_2,int8 param_3,int8 param_4)
{
byte bVar1;
char cVar2;
long lVar3;
int8 *puVar4;
int8 local_a8 [12];
int1 local_48 [48];
bVar1 = 0;
POINTonE1_sign(local_a8,param_3,param_4);
if (param_2 != (int8 *)0x0) {
puVar4 = local_a8;
for (lVar3 = 0x... | |
9,410 | sp_get_geometry_mbr | eloqsql/storage/myisam/sp_key.c | static int sp_get_geometry_mbr(uchar *(*wkb), uchar *end, uint n_dims,
double *mbr, int top)
{
int res;
uchar byte_order;
uint wkb_type;
byte_order = *(*wkb);
++(*wkb);
wkb_type = uint4korr((*wkb));
(*wkb) += 4;
switch ((enum wkbType) wkb_type)
{
case wkbPoint:
... | O0 | c | sp_get_geometry_mbr:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movb (%rax), %al
movb %al, -0x31(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
incq %rcx
movq %rcx... | sp_get_geometry_mbr:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_1C], edx
mov [rbp+var_28], rcx
mov [rbp+var_2C], r8d
mov rax, [rbp+var_10]
mov rax, [rax]
mov al, [rax]
mov [rbp+var_31], al
mov rax, [rbp+var_10]
mov r... | long long sp_get_geometry_mbr(unsigned __int8 **a1, long long a2, unsigned int a3, long long a4, int a5)
{
int v6; // [rsp+8h] [rbp-48h]
int v7; // [rsp+Ch] [rbp-44h]
int v8; // [rsp+10h] [rbp-40h]
int v9; // [rsp+14h] [rbp-3Ch]
int v10; // [rsp+18h] [rbp-38h]
unsigned __int8 v11; // [rsp+1Fh] [rbp-31h]
... | sp_get_geometry_mbr:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV dword ptr [RBP + -0x1c],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV dword ptr [RBP + -0x2c],R8D
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV AL,byte ptr [RAX]
MOV byte ptr [RBP + -0x31],... |
int4
sp_get_geometry_mbr(long *param_1,int8 param_2,int4 param_3,int8 param_4,
int param_5)
{
int1 uVar1;
int4 uVar2;
int iVar3;
int local_50;
int local_4c;
int local_48;
int local_44;
int4 local_38;
uVar1 = *(int1 *)*param_1;
*param_1 = *param_1 + 1;
uVar2 = *(int4 *)*para... | |
9,411 | sp_get_geometry_mbr | eloqsql/storage/myisam/sp_key.c | static int sp_get_geometry_mbr(uchar *(*wkb), uchar *end, uint n_dims,
double *mbr, int top)
{
int res;
uchar byte_order;
uint wkb_type;
byte_order = *(*wkb);
++(*wkb);
wkb_type = uint4korr((*wkb));
(*wkb) += 4;
switch ((enum wkbType) wkb_type)
{
case wkbPoint:
... | O3 | c | sp_get_geometry_mbr:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq (%rdi), %rdx
leaq 0x1(%rdx), %rax
movq %rax, (%rdi)
movl 0x1(%rdx), %eax
leaq 0x5(%rdx), %rsi
movq %rsi, (%rdi)
decl %eax
cmpl $0x6, %eax
ja 0x4b9d7
movq %rdi, %r15
leaq... | sp_get_geometry_mbr:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rdx
mov r14, rsi
mov rdx, [rdi]
lea rax, [rdx+1]
mov [rdi], rax
mov eax, [rdx+1]
lea rsi, [rdx+5]
mov [rdi], rsi
dec eax; switch 7 cases
cmp eax, 6
j... | long long sp_get_geometry_mbr(double **a1, long long a2, long long a3, int a4, long long a5, long long a6)
{
long long v6; // rax
double *v8; // rdx
int v9; // eax
char v10; // al
long long v11; // rcx
unsigned int v12; // r12d
double *v13; // rdx
double v14; // xmm0_8
bool v15; // zf
int v16; // r... | sp_get_geometry_mbr:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R14,RSI
MOV RDX,qword ptr [RDI]
LEA RAX,[RDX + 0x1]
MOV qword ptr [RDI],RAX
MOV EAX,dword ptr [RDX + 0x1]
LEA RSI,[RDX + 0x5]
MOV qword ptr [RDI],RSI
DEC EAX
CMP EAX,0x6
JA 0x0014b9d7
MOV R15,RDI
LEA RSI,[0x1... |
int8 sp_get_geometry_mbr(long *param_1,long param_2,long param_3,int param_4)
{
double dVar1;
int4 uVar2;
long lVar3;
double *pdVar4;
bool bVar5;
bool bVar6;
int iVar7;
ulong uVar8;
int iVar9;
int8 uVar10;
lVar3 = *param_1;
*param_1 = lVar3 + 1;
uVar2 = *(int4 *)(lVar3 + 1);
*param_1 = ... | |
9,412 | minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | Value do_evaluate(const std::shared_ptr<Context> & context) const override {
if (!condition) throw std::runtime_error("IfExpr.condition is null");
if (!then_expr) throw std::runtime_error("IfExpr.then_expr is null");
if (condition->evaluate(context).to_bool()) {
return then_expr->evaluate(cont... | O0 | cpp | minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
subq $0xb8, %rsp
movq %rdi, 0x20(%rsp)
movq %rdi, %rax
movq %rax, 0x28(%rsp)
movq %rdi, 0xb0(%rsp)
movq %rsi, 0xa8(%rsp)
movq %rdx, 0xa0(%rsp)
movq 0xa8(%rsp), %rdi
movq %rdi, 0x30(%rsp)
addq $0x20, %rdi
callq 0x10e0b0
testb $0x1, %al
jne 0x1417d... | _ZNK5minja6IfExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
sub rsp, 0B8h
mov [rsp+0B8h+var_98], rdi
mov rax, rdi
mov [rsp+0B8h+var_90], rax
mov [rsp+0B8h+var_8], rdi
mov [rsp+0B8h+var_10], rsi
mov [rsp+0B8h+var_18], rdx
mov rdi, [rsp+0B8h+var_10]
mov [rsp+0B8h+var_88], rdi
add ... | long long minja::IfExpr::do_evaluate(long long a1, _QWORD *a2, long long a3)
{
void (***v3)(void); // rax
void (***v4)(void); // rax
void (***v5)(void); // rax
char v7; // [rsp+Fh] [rbp-A9h]
std::runtime_error *v8; // [rsp+10h] [rbp-A8h]
std::runtime_error *exception; // [rsp+18h] [rbp-A0h]
_BYTE v10[84]... | |||
9,413 | minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | Value do_evaluate(const std::shared_ptr<Context> & context) const override {
if (!condition) throw std::runtime_error("IfExpr.condition is null");
if (!then_expr) throw std::runtime_error("IfExpr.then_expr is null");
if (condition->evaluate(context).to_bool()) {
return then_expr->evaluate(cont... | O2 | cpp | minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r15
movq 0x20(%rsi), %rsi
testq %rsi, %rsi
je 0x7168e
cmpq $0x0, 0x30(%r15)
je 0x716aa
movq %rdx, %r14
movq %rdi, %rbx
movq %rsp, %r12
movq %r12, %rdi
callq 0x62e... | _ZNK5minja6IfExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 50h
mov r15, rsi
mov rsi, [rsi+20h]
test rsi, rsi
jz short loc_7168E
cmp qword ptr [r15+30h], 0
jz short loc_716AA
mov r14, rdx
mov rbx, rdi
mov r1... | _OWORD * minja::IfExpr::do_evaluate(_OWORD *a1, _QWORD *a2)
{
void (***v3)(void); // rsi
char v4; // bp
void (***v5)(void); // rsi
std::runtime_error *exception; // r14
_QWORD v8[15]; // [rsp+0h] [rbp-78h] BYREF
v3 = (void (***)(void))a2[4];
if ( !v3 )
{
exception = (std::runtime_error *)__cxa_allo... | do_evaluate:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x50
MOV R15,RSI
MOV RSI,qword ptr [RSI + 0x20]
TEST RSI,RSI
JZ 0x0017168e
CMP qword ptr [R15 + 0x30],0x0
JZ 0x001716aa
MOV R14,RDX
MOV RBX,RDI
MOV R12,RSP
MOV RDI,R12
CALL 0x00162ea2
LAB_0017163c:
MOV RDI,R12
CALL 0x00163078
LAB_00171644:
MOV EBP,EAX
MO... |
/* minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */
IfExpr * __thiscall minja::IfExpr::do_evaluate(IfExpr *this,shared_ptr *param_1)
{
char cVar1;
runtime_error *this_00;
shared_ptr *psVar2;
_func_decltype_nullptr *local_78 [10];
if (*(shared_ptr **)(param_1 + 0x20) == (shared... | |
9,414 | mi_unique_comp | eloqsql/storage/myisam/mi_unique.c | int mi_unique_comp(MI_UNIQUEDEF *def, const uchar *a, const uchar *b,
my_bool null_are_equal)
{
const uchar *pos_a, *pos_b, *end;
HA_KEYSEG *keyseg;
for (keyseg=def->seg ; keyseg < def->end ; keyseg++)
{
enum ha_base_keytype type=(enum ha_base_keytype) keyseg->type;
uint a_length, b_length;
a_... | O3 | c | mi_unique_comp:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq 0x8(%rdi), %r15
movq %rdi, -0x48(%rbp)
cmpq 0x10(%rdi), %r15
jae 0x88957
movl %ecx, %r14d
movq %rdx, -0x40(%rbp)
movq %rsi, -0x38(%rbp)
movl %ecx, -0x2c(%rbp)
movzbl 0x18(%r15), %r12d
movzwl 0x14(%r15... | mi_unique_comp:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r15, [rdi+8]
mov [rbp+var_48], rdi
cmp r15, [rdi+10h]
jnb loc_88957
mov r14d, ecx
mov [rbp+var_40], rdx
mov [rbp+var_38], rsi
mov [rbp+var_2C], ecx
loc_887FB:
mov... | long long mi_unique_comp(long long a1, long long a2, long long a3, char a4)
{
unsigned long long v4; // r15
char v5; // r14
unsigned int v6; // r12d
unsigned int v7; // ecx
char v8; // di
long long v9; // rax
char v10; // r8
char v11; // di
long long result; // rax
long long v13; // r13
unsigned ... | mi_unique_comp:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV R15,qword ptr [RDI + 0x8]
MOV qword ptr [RBP + -0x48],RDI
CMP R15,qword ptr [RDI + 0x10]
JNC 0x00188957
MOV R14D,ECX
MOV qword ptr [RBP + -0x40],RDX
MOV qword ptr [RBP + -0x38],RSI
MOV dword ptr [RBP + -0x2c],ECX
LAB_0018... |
int8 mi_unique_comp(long param_1,long param_2,long param_3,char param_4)
{
byte *pbVar1;
byte *pbVar2;
byte bVar3;
byte bVar4;
ushort uVar5;
uint uVar6;
uint uVar7;
uint uVar8;
int iVar9;
uint uVar10;
ulong uVar11;
uint uVar12;
ushort *puVar13;
byte bVar14;
ulong uVar15;
ushort *puVar1... | |
9,415 | getopt_ll_limit_value | eloqsql/mysys/my_getopt.c | longlong getopt_ll_limit_value(longlong num, const struct my_option *optp,
my_bool *fix)
{
longlong old= num;
my_bool adjusted= FALSE;
char buf1[255], buf2[255];
ulonglong block_size= (optp->block_size ? (ulonglong) optp->block_size : 1L);
DBUG_ENTER("getopt_ll_limit_value");
... | O0 | c | getopt_ll_limit_value:
pushq %rbp
movq %rsp, %rbp
subq $0x270, %rsp # imm = 0x270
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x218(%rbp)
movq %rsi, -0x220(%rbp)
movq %rdx, -0x228(%rbp)
movq -0x218(%rbp), %rax
movq %rax, -0x230(%rbp)
movb $0x0, -0x231(%rbp)
movq -0x220(%rbp), %rax
cmpq $0x0, 0x60(%... | getopt_ll_limit_value:
push rbp
mov rbp, rsp
sub rsp, 270h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_218], rdi
mov [rbp+var_220], rsi
mov [rbp+var_228], rdx
mov rax, [rbp+var_218]
mov [rbp+var_230], rax
mov [rbp+var_231], 0
mov rax, [rbp+var_220]
cmp qword ptr ... | long long getopt_ll_limit_value(long long a1, long long a2, bool *a3)
{
unsigned long long v3; // rdx
long long v4; // rdx
const char *v5; // rax
const char *v7; // [rsp+8h] [rbp-268h]
const char *v8; // [rsp+10h] [rbp-260h]
long long (*v9)(int, long long, ...); // [rsp+18h] [rbp-258h]
unsigned long long... | getopt_ll_limit_value:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x270
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x218],RDI
MOV qword ptr [RBP + -0x220],RSI
MOV qword ptr [RBP + -0x228],RDX
MOV RAX,qword ptr [RBP + -0x218]
MOV qword ptr [RBP + -0x230],RAX
MOV byte ptr [RBP + -0x231],0x0
MOV RA... |
ulong getopt_ll_limit_value(ulong param_1,int8 *param_2,long param_3)
{
int8 uVar1;
bool bVar2;
int *puVar3;
int8 uVar4;
int8 uVar5;
ulong uVar6;
long in_FS_OFFSET;
ulong local_250;
ulong local_220;
int1 local_218 [256];
int1 local_118 [264];
long local_10;
puVar3 = my_getopt_error_report... | |
9,416 | gguf_kv::gguf_kv<unsigned char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&) | ngxson[P]ggml-easy/ggml/src/gguf.cpp | gguf_kv(const std::string & key, const std::vector<T> & value)
: key(key), is_array(true), type(type_to_gguf_type<T>::value) {
GGML_ASSERT(!key.empty());
data.resize(value.size()*sizeof(T));
for (size_t i = 0; i < value.size(); ++i) {
const T tmp = value[i];
m... | O1 | cpp | gguf_kv::gguf_kv<unsigned char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %rbp
movq %rdi, %r15
leaq 0x10... | _ZN7gguf_kvC2IlEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIT_SaISA_EE:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r12, rdx
mov rbp, rsi
mov r15, rdi
lea rbx, [rdi+10h]
mov [rdi], rbx
mov rsi, [rsi]
mov rdx, [rbp+8]
add ... | long long gguf_kv::gguf_kv<long>(long long a1, _QWORD *a2, long long *a3)
{
int v4; // r8d
int v5; // r9d
long long result; // rax
unsigned long long v7; // rcx
*(_QWORD *)a1 = a1 + 16;
std::string::_M_construct<char *>(a1, *a2, *a2 + a2[1]);
*(_BYTE *)(a1 + 32) = 1;
*(_DWORD *)(a1 + 36) = 11;
*(_OW... | gguf_kv<long>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R12,RDX
MOV RBP,RSI
MOV R15,RDI
LEA RBX,[RDI + 0x10]
MOV qword ptr [RDI],RBX
MOV RSI,qword ptr [RSI]
MOV RDX,qword ptr [RBP + 0x8]
ADD RDX,RSI
CALL 0x00116630
MOV byte ptr [R15 + 0x20],0x1
MOV dword ptr [R15 + 0x24],0xb
LEA R14,[R15 + 0x2... |
/* gguf_kv::gguf_kv<long>(std::__cxx11::string const&, std::vector<long, std::allocator<long> >
const&) */
void __thiscall gguf_kv::gguf_kv<long>(gguf_kv *this,string *param_1,vector *param_2)
{
long lVar1;
ulong uVar2;
*(gguf_kv **)this = this + 0x10;
std::__cxx11::string::_M_construct<char*>
... | |
9,417 | gguf_kv::gguf_kv<unsigned char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&) | ngxson[P]ggml-easy/ggml/src/gguf.cpp | gguf_kv(const std::string & key, const std::vector<T> & value)
: key(key), is_array(true), type(type_to_gguf_type<T>::value) {
GGML_ASSERT(!key.empty());
data.resize(value.size()*sizeof(T));
for (size_t i = 0; i < value.size(); ++i) {
const T tmp = value[i];
m... | O2 | cpp | gguf_kv::gguf_kv<unsigned char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&):
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
callq 0x1e020
movb $0x1, 0x20(%... | _ZN7gguf_kvC2IdEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIT_SaISA_EE:
push r15
push r14
push r12
push rbx
push rax
mov r15, rdx
mov r12, rsi
mov r14, rdi
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_; std::string::basic_string(std::string cons... | unsigned long long gguf_kv::gguf_kv<double>(
long long a1,
long long a2,
_QWORD *a3,
double a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11)
{
char v11; // al
long long v13; // r8
long long v... | gguf_kv<double>:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDX
MOV R12,RSI
MOV R14,RDI
CALL 0x0011e020
MOV byte ptr [R14 + 0x20],0x1
MOV dword ptr [R14 + 0x24],0xc
LEA RBX,[R14 + 0x28]
XORPS XMM0,XMM0
MOVUPS xmmword ptr [R14 + 0x28],XMM0
MOVUPS xmmword ptr [R14 + 0x38],XMM0
MOVUPS xmmword ptr [R14 + 0x48],XM... |
/* gguf_kv::gguf_kv<double>(std::__cxx11::string const&, std::vector<double, std::allocator<double>
> const&) */
void __thiscall gguf_kv::gguf_kv<double>(gguf_kv *this,string *param_1,vector *param_2)
{
ulong uVar1;
std::__cxx11::string::string((string *)this,param_1);
this[0x20] = (gguf_kv)0x1;
*(int4... | |
9,418 | gguf_kv::gguf_kv<unsigned char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&) | ngxson[P]ggml-easy/ggml/src/gguf.cpp | gguf_kv(const std::string & key, const std::vector<T> & value)
: key(key), is_array(true), type(type_to_gguf_type<T>::value) {
GGML_ASSERT(!key.empty());
data.resize(value.size()*sizeof(T));
for (size_t i = 0; i < value.size(); ++i) {
const T tmp = value[i];
m... | O3 | cpp | gguf_kv::gguf_kv<unsigned char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %rbp
movq %rdi, %r15
leaq 0x10... | _ZN7gguf_kvC2IlEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIT_SaISA_EE:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r12, rdx
mov rbp, rsi
mov r15, rdi
lea rbx, [rdi+10h]
mov [rdi], rbx
mov rsi, [rsi]
mov rdx, [rbp+8]
add ... | long long gguf_kv::gguf_kv<long>(long long a1, _QWORD *a2, long long *a3)
{
int v4; // r8d
int v5; // r9d
long long result; // rax
unsigned long long v7; // rcx
*(_QWORD *)a1 = a1 + 16;
std::string::_M_construct<char *>(a1, *a2, *a2 + a2[1]);
*(_BYTE *)(a1 + 32) = 1;
*(_DWORD *)(a1 + 36) = 11;
*(_OW... | gguf_kv<long>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R12,RDX
MOV RBP,RSI
MOV R15,RDI
LEA RBX,[RDI + 0x10]
MOV qword ptr [RDI],RBX
MOV RSI,qword ptr [RSI]
MOV RDX,qword ptr [RBP + 0x8]
ADD RDX,RSI
CALL 0x00116630
MOV byte ptr [R15 + 0x20],0x1
MOV dword ptr [R15 + 0x24],0xb
LEA R14,[R15 + 0x2... |
/* gguf_kv::gguf_kv<long>(std::__cxx11::string const&, std::vector<long, std::allocator<long> >
const&) */
void __thiscall gguf_kv::gguf_kv<long>(gguf_kv *this,string *param_1,vector *param_2)
{
long lVar1;
ulong uVar2;
*(gguf_kv **)this = this + 0x10;
std::__cxx11::string::_M_construct<char*>
... | |
9,419 | ImPlot::DragLineX(int, double*, ImVec4 const&, float, int) | zkingston[P]unknot/build_O1/_deps/implot-src/implot.cpp | bool DragLineX(int n_id, double* value, const ImVec4& col, float thickness, ImPlotDragToolFlags flags) {
// ImGui::PushID("#IMPLOT_DRAG_LINE_X");
ImPlotContext& gp = *GImPlot;
IM_ASSERT_USER_ERROR(gp.CurrentPlot != nullptr, "DragLineX() needs to be called between BeginPlot() and EndPlot()!");
SetupLock(... | O1 | cpp | ImPlot::DragLineX(int, double*, ImVec4 const&, float, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, %ebp
movss %xmm0, 0x10(%rsp)
movq %rdx, %r14
movq %rsi, %rbx
movl %edi, %r15d
movq 0x27566c(%rip), %r12 # 0x336ca0
cmpq $0x0, 0x50(%r12)
jne 0xc1648
leaq 0x1d95e2(... | _ZN6ImPlot9DragLineXEiPdRK6ImVec4fi:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 68h
mov ebp, ecx
movss [rsp+98h+var_88], xmm0
mov r14, rdx
mov rbx, rsi
mov r15d, edi
mov r12, cs:GImPlot
cmp qword ptr [r12+50h], 0
jnz short loc_C1648
lea rdi, aD... | long long ImPlot::DragLineX(ImPlot *a1, char *a2, long long StyleColorVec4, char a4, float a5)
{
unsigned int v8; // r15d
ImGui *v9; // r12
ImGui *v10; // r13
long long v11; // rax
__m128d v12; // xmm0
long long v13; // rcx
long long v14; // rax
__m128d v15; // xmm3
__m128d v16; // xmm3
long long v... | DragLineX:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x68
MOV EBP,ECX
MOVSS dword ptr [RSP + 0x10],XMM0
MOV R14,RDX
MOV RBX,RSI
MOV R15D,EDI
MOV R12,qword ptr [0x00436ca0]
CMP qword ptr [R12 + 0x50],0x0
JNZ 0x001c1648
LEA RDI,[0x39ac25]
CALL 0x003161f4
LAB_001c1648:
MOV R13,qword ptr [0x00436ca0]
MO... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* ImPlot::DragLineX(int, double*, ImVec4 const&, float, int) */
char ImPlot::DragLineX(int param_1,double *param_2,ImVec4 *param_3,float param_4,int param_5)
{
double dVar1;
ImGuiWindow *this;
int1 auVar2 [16];
ulong uVar3;... | |
9,420 | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl... | monkey531[P]llama/common/json.hpp | ~json_sax_dom_callback_parser() = default; | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEED2Ev:
push r14
push rbx
push rax
mov rbx, rdi
lea r14, [rdi+0A8h]
mov rdi, r14
xor esi, e... | void nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::~json_sax_dom_callback... | ~json_sax_dom_callback_parser:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
LEA R14,[RDI + 0xa8]
MOV RDI,R14
XOR ESI,ESI
CALL 0x0015b4ca
MOV RDI,R14
CALL 0x00160938
MOV RAX,qword ptr [RBX + 0x90]
TEST RAX,RAX
JZ 0x0015dcf3
LEA RDI,[RBX + 0x80]
LAB_0015dce9:
MOV RSI,RDI
MOV EDX,0x3
CALL RAX
LAB_0015dcf3:
LEA RDI,[RBX + 0x48]
... |
/* nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all... | |
9,421 | 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 | void dump_float(number_float_t x)
{
// NaN / inf
if (!std::isfinite(x))
{
o->write_characters("null", 4);
return;
}
// If number_float_t is an IEEE-754 single or double precision number,
// use the Grisu2 algorithm to produce short numbers whi... | O2 | 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_IhSaIhEEvEEE10dump_floatEd:
movq rax, xmm0
btr rax, 3Fh ; '?'
mov rcx, 7FF0000000000000h
cmp rax, rcx
jl _ZN8nlohmann16json_... | 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>>::dump_float(
_QWORD *a1,
... | dump_float:
MOVQ RAX,XMM0
BTR RAX,0x3f
MOV RCX,0x7ff0000000000000
CMP RAX,RCX
JL 0x0016c3de
MOV RDI,qword ptr [RDI]
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x8]
LEA RSI,[0x191a37]
PUSH 0x4
POP RDX
JMP RAX
|
/* 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
... | |
9,422 | 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 | void dump_float(number_float_t x)
{
// NaN / inf
if (!std::isfinite(x))
{
o->write_characters("null", 4);
return;
}
// If number_float_t is an IEEE-754 single or double precision number,
// use the Grisu2 algorithm to produce short numbers whi... | 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_IhSaIhEEvEEE10dump_floatEd:
push r14
push rbx
push rax
mov rbx, rdi
movq rax, xmm0
btr rax, 3Fh ; '?'
mov rcx, 7FF000000... | 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>>::dump_float(
_QWORD *a1,
... | dump_float:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOVQ RAX,XMM0
BTR RAX,0x3f
MOV RCX,0x7ff0000000000000
CMP RAX,RCX
JL 0x0017acf3
MOV RDI,qword ptr [RBX]
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x8]
LEA RSI,[0x1aba58]
MOV EDX,0x4
ADD RSP,0x8
POP RBX
POP R14
JMP RAX
LAB_0017acf3:
LEA R14,[RBX + 0x10]
LEA RSI,[... |
/* 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
... | |
9,423 | JS_RunGC | bluesky950520[P]quickjs/quickjs.c | void JS_RunGC(JSRuntime *rt)
{
/* decrement the reference of the children of each object. mark =
1 after this pass. */
gc_decref(rt);
/* keep the GC objects with a non zero refcount and their childs */
gc_scan(rt);
/* free the GC objects in a cycle */
gc_free_cycles(rt);
} | O2 | c | JS_RunGC:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xb8(%rdi), %r15
movq %r15, 0xb8(%rdi)
leaq 0xc0(%rdi), %rax
movq %rax, (%rsp)
movq %r15, 0xc0(%rdi)
leaq 0x98(%rdi), %r13
leaq 0xa0(%rdi), %rbp
movq 0xa0(%rdi), %r14
cmpq %r13, %r14
je 0x1bd93
movq %r14, %r12
mo... | JS_RunGC:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rdi
lea r15, [rdi+0B8h]
mov [rdi+0B8h], r15
lea rax, [rdi+0C0h]
mov [rsp+38h+var_38], rax
mov [rdi+0C0h], r15
lea r13, [rdi+98h]
lea rbp, [rdi+0A0h]
mov r14, [rdi+0A0h]
loc_1BD30:
c... | char JS_RunGC(long long a1)
{
long long *v1; // r15
long long v2; // rax
long long v3; // r13
long long *v4; // rbp
_QWORD *v5; // r14
_QWORD *v6; // r12
long long v7; // rax
_QWORD *v8; // rcx
long long v9; // rbp
long long **i; // r12
long long *v11; // r12
long long *v12; // r14
long long ... | JS_RunGC:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDI
LEA R15,[RDI + 0xb8]
MOV qword ptr [RDI + 0xb8],R15
LEA RAX,[RDI + 0xc0]
MOV qword ptr [RSP],RAX
MOV qword ptr [RDI + 0xc0],R15
LEA R13,[RDI + 0x98]
LEA RBP,[RDI + 0xa0]
MOV R14,qword ptr [RDI + 0xa0]
LAB_0011bd30:
CMP R14,R13
JZ 0x001... |
void JS_RunGC(long param_1)
{
long lVar1;
long *plVar2;
long *plVar3;
long *plVar4;
long *plVar5;
long *plVar6;
plVar4 = (long *)(param_1 + 0xb8);
*(long **)(param_1 + 0xb8) = plVar4;
*(long **)(param_1 + 0xc0) = plVar4;
plVar3 = (long *)(param_1 + 0xa0);
plVar5 = *(long **)(param_1 + 0xa0);
... | |
9,424 | ft_init_boolean_search | eloqsql/storage/myisam/ft_boolean_search.c | FT_INFO * ft_init_boolean_search(MI_INFO *info, uint keynr, uchar *query,
uint query_len, CHARSET_INFO *cs)
{
FTB *ftb;
FTB_EXPR *ftbe;
FTB_WORD *ftbw;
if (!(ftb=(FTB *)my_malloc(mi_key_memory_FTB, sizeof(FTB), MYF(MY_WME))))
return 0;
ftb->please= (struct _ft_vft... | O0 | c | ft_init_boolean_search:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq %r8, -0x30(%rbp)
leaq 0xbdb888(%rip), %rax # 0xc7957c
movl (%rax), %edi
movl $0x350, %esi # imm = 0x350
movl $0x10, %edx
callq 0xf3210
movq %... | ft_init_boolean_search:
push rbp
mov rbp, rsp
sub rsp, 80h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_20], rdx
mov [rbp+var_24], ecx
mov [rbp+var_30], r8
lea rax, mi_key_memory_FTB
mov edi, [rax]
mov esi, 350h
mov edx, 10h
call my_malloc
mov [rbp+var_3... | long long ft_init_boolean_search(long long a1, unsigned int a2, long long a3, unsigned int a4, long long a5)
{
int v5; // eax
long long v6; // rax
long long i; // [rsp+38h] [rbp-48h]
long long v9; // [rsp+40h] [rbp-40h]
long long v10; // [rsp+48h] [rbp-38h]
v10 = my_malloc(mi_key_memory_FTB, 848LL, 16LL);... | ft_init_boolean_search:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV qword ptr [RBP + -0x20],RDX
MOV dword ptr [RBP + -0x24],ECX
MOV qword ptr [RBP + -0x30],R8
LEA RAX,[0xd7957c]
MOV EDI,dword ptr [RAX]
MOV ESI,0x350
MOV EDX,0x10
CALL 0x001f3210
MOV qword ptr [RB... |
int8 *
ft_init_boolean_search
(long *param_1,uint param_2,int8 param_3,int4 param_4,int8 param_5)
{
int iVar1;
int8 *puVar2;
int8 *puVar3;
long lVar4;
int8 uVar5;
int1 *local_70;
long local_50;
puVar2 = (int8 *)my_malloc(mi_key_memory_FTB,0x350,0x10);
if (puVar2 != (int8 *)0x0) {
*p... | |
9,425 | uf_endspace_selected | eloqsql/storage/myisam/mi_packrec.c | static void uf_endspace_selected(MI_COLUMNDEF *rec, MI_BIT_BUFF *bit_buff,
uchar *to, uchar *end)
{
uint spaces;
if (get_bit(bit_buff))
{
if ((spaces=get_bits(bit_buff,rec->space_length_bits))+to > end)
{
bit_buff->error=1;
return;
}
if (to+spaces != end)
decode_bytes(rec,bi... | O3 | c | uf_endspace_selected:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rsi, %r15
movq %rdi, %r12
movl 0x4(%rsi), %eax
testl %eax, %eax
je 0x83119
movl (%r15), %r14d
decl %eax
movl %eax, 0x4(%r15)
btl %eax, %r14d
jb 0x83158
jmp 0x83137
movq %r15, %rdi
mov... | uf_endspace_selected_0:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rcx
mov r15, rsi
mov r12, rdi
mov eax, [rsi+4]
test eax, eax
jz short loc_83119
mov r14d, [r15]
dec eax
mov [r15+4], eax
bt r14d, eax
jb sho... | _BYTE * uf_endspace_selected_0(long long a1, unsigned int *a2, _BYTE *a3, _BYTE *a4)
{
long long v5; // r12
unsigned int v6; // eax
unsigned int v7; // r14d
unsigned int v8; // eax
_BYTE *v9; // r14
_BYTE *result; // rax
unsigned int v11; // r13d
unsigned int v12; // ecx
int v13; // r13d
int v14; //... | uf_endspace_selected:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RCX
MOV R15,RSI
MOV R12,RDI
MOV EAX,dword ptr [RSI + 0x4]
TEST EAX,EAX
JZ 0x00183119
MOV R14D,dword ptr [R15]
DEC EAX
MOV dword ptr [R15 + 0x4],EAX
BT R14D,EAX
JC 0x00183158
JMP 0x00183137
LAB_00183119:
MOV RDI,R15
... |
void uf_endspace_selected(long param_1,uint *param_2,long param_3,ulong param_4)
{
uint uVar1;
uint uVar2;
uint uVar3;
byte bVar4;
ulong __n;
uint uVar5;
if (param_2[1] == 0) {
fill_buffer(param_2);
param_2[1] = 0x1f;
uVar5 = *param_2;
if ((int)uVar5 < 0) {
uVar3 = 0x1f;
g... | |
9,426 | ggml_fp32_to_fp16_row | ngxson[P]ggml-easy/ggml/src/ggml.c | void ggml_fp32_to_fp16_row(const float * x, ggml_fp16_t * y, int64_t n) {
int64_t i = 0;
#if defined(__F16C__)
//if (ggml_cpu_has_f16c()) {
for (; i + 7 < n; i += 8) {
__m256 x_vec = _mm256_loadu_ps(x + i);
__m128i y_vec = _mm256_cvtps_ph(x_vec, _MM_FROUND_TO_NEAREST_INT);
... | O2 | c | ggml_fp32_to_fp16_row:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %r12d, %r12d
testq %rdx, %rdx
cmovleq %r12, %rbx
cmpq %r12, %rbx
je 0x1f6be
movss (%r15,%r12,4), %xmm0
callq 0x1f5b7
movw %ax, (%r14,%r12,2)
incq %r12
jmp 0x1f6a4
addq $0x8, %rsp
popq %rbx
... | ggml_fp32_to_fp16_row:
push r15
push r14
push r12
push rbx
push rax
mov rbx, rdx
mov r14, rsi
mov r15, rdi
xor r12d, r12d
test rdx, rdx
cmovle rbx, r12
loc_1F6A4:
cmp rbx, r12
jz short loc_1F6BE
movss xmm0, dword ptr [r15+r12*4]
call ggml_compute_fp32_to_fp16
mov [r1... | long long ggml_fp32_to_fp16_row(long long a1, long long a2, long long a3)
{
long long v3; // rbx
long long v4; // r12
long long result; // rax
v3 = a3;
v4 = 0LL;
if ( a3 <= 0 )
v3 = 0LL;
while ( v3 != v4 )
{
result = ggml_compute_fp32_to_fp16((__m128i)*(unsigned int *)(a1 + 4 * v4));
*(_WO... | ggml_fp32_to_fp16_row:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R14,RSI
MOV R15,RDI
XOR R12D,R12D
TEST RDX,RDX
CMOVLE RBX,R12
LAB_0011f6a4:
CMP RBX,R12
JZ 0x0011f6be
MOVSS XMM0,dword ptr [R15 + R12*0x4]
CALL 0x0011f5b7
MOV word ptr [R14 + R12*0x2],AX
INC R12
JMP 0x0011f6a4
LAB_0011f6be:
ADD RSP,0x8
... |
void ggml_fp32_to_fp16_row(long param_1,long param_2,long param_3)
{
int2 uVar1;
long lVar2;
lVar2 = 0;
if (param_3 < 1) {
param_3 = lVar2;
}
for (; param_3 != lVar2; lVar2 = lVar2 + 1) {
uVar1 = ggml_compute_fp32_to_fp16(*(int4 *)(param_1 + lVar2 * 4));
*(int2 *)(param_2 + lVar2 * 2) = uVa... | |
9,427 | apply(minja::chat_template 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 long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsig... | llama.cpp/common/chat.cpp | static std::string apply(
const common_chat_template & tmpl,
const nlohmann::ordered_json & messages,
const nlohmann::ordered_json & tools,
bool add_generation_prompt,
const nlohmann::ordered_json & extra_context = nlohmann::ordered_json())
{
minja::chat_template_inputs tmpl_inputs;
tmpl_inp... | O3 | cpp | apply(minja::chat_template 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 long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsig... | _ZL5applyRKN5minja13chat_templateERKN8nlohmann16json_abi_v3_11_310basic_jsonINS4_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS4_14adl_serializerES7_IhSaIhEEvEESJ_bSJ_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0B8h
mov [rsp+0E8h+var_E0... | long long apply(
long long a1,
_QWORD *a2,
unsigned __int8 *a3,
unsigned __int8 *a4,
char a5,
unsigned __int8 *a6)
{
unsigned long long v8; // rsi
unsigned long long v9; // rdx
bool v10; // cf
unsigned long long v11; // rsi
void *v16[2]; // [rsp+18h] [rbp-D0h] ... | apply:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xb8
MOV qword ptr [RSP + 0x8],R9
MOV dword ptr [RSP + 0x4],R8D
MOV qword ptr [RSP + 0x10],RCX
MOV RBP,RDX
MOV R12,RSI
MOV RBX,RDI
XOR R13D,R13D
LEA R14,[RSP + 0x68]
MOV byte ptr [R14],R13B
MOV qword ptr [R14 + 0x8],R13
MOV RDI,R14
MOV ESI,0x1
CALL 0x... |
/* apply(minja::chat_template const&,
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> >,... | |
9,428 | ggml_im2col_back | monkey531[P]llama/ggml/src/ggml.c | struct ggml_tensor * ggml_im2col_back(
struct ggml_context * ctx,
struct ggml_tensor * a,
struct ggml_tensor * b,
int64_t * ne,
int s0,
int s1,
int p0,
int p1,
in... | O0 | c | ggml_im2col_back:
subq $0x58, %rsp
movb 0x80(%rsp), %al
movl 0x78(%rsp), %r10d
movl 0x70(%rsp), %r10d
movl 0x68(%rsp), %r10d
movl 0x60(%rsp), %r10d
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movl %r8d, 0x34(%rsp)
movl %r9d, 0x30(%rsp)
andb $0x1, %al
movb %al, 0x2f(%rsp)
movq... | ggml_im2col_back:
sub rsp, 58h
mov al, [rsp+58h+arg_20]
mov r10d, [rsp+58h+arg_18]
mov r10d, [rsp+58h+arg_10]
mov r10d, [rsp+58h+arg_8]
mov r10d, [rsp+58h+arg_0]
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 [rsp+58... | long long ggml_im2col_back(
long long a1,
long long a2,
long long a3,
long long a4,
int a5,
int a6,
int a7,
int a8,
int a9,
int a10,
char a11)
{
_DWORD v12[8]; // [rsp+0h] [rbp-58h] BYREF
long long v13; // [rsp+20h] [rbp-38h]
... | ggml_im2col_back:
SUB RSP,0x58
MOV AL,byte ptr [RSP + 0x80]
MOV R10D,dword ptr [RSP + 0x78]
MOV R10D,dword ptr [RSP + 0x70]
MOV R10D,dword ptr [RSP + 0x68]
MOV R10D,dword ptr [RSP + 0x60]
MOV qword ptr [RSP + 0x50],RDI
MOV qword ptr [RSP + 0x48],RSI
MOV qword ptr [RSP + 0x40],RDX
MOV qword ptr [RSP + 0x38],RCX
MOV dwor... |
long ggml_im2col_back(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int4 param_5,int4 param_6,int4 param_7,int4 param_8,
int4 param_9,int4 param_10,byte param_11)
{
int4 local_58;
int4 local_54;
int4 local_50;
int4 local_4c;
int4 local_48;
int4 local_44;
... | |
9,429 | ggml_im2col_back | monkey531[P]llama/ggml/src/ggml.c | struct ggml_tensor * ggml_im2col_back(
struct ggml_context * ctx,
struct ggml_tensor * a,
struct ggml_tensor * b,
int64_t * ne,
int s0,
int s1,
int p0,
int p1,
in... | O1 | c | ggml_im2col_back:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %r9d, %ebp
movl %r8d, %r15d
movq %rdx, %rbx
movq %rsi, %r14
xorl %esi, %esi
movl $0x4, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x19c80
testq %rax, %rax
je 0x1d214
movl 0x48(%rsp), %ecx
movl 0x40(%rsp), %edx
movl 0x38(%rsp), %esi
movl 0x30(... | ggml_im2col_back:
push rbp
push r15
push r14
push rbx
push rax
mov ebp, r9d
mov r15d, r8d
mov rbx, rdx
mov r14, rsi
xor esi, esi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call ggml_new_tensor_impl
test rax, rax
jz short loc_1D214
mov ecx, [rsp+28h+arg_18]
mov ... | long long ggml_im2col_back(
long long a1,
long long a2,
long long a3,
_QWORD *a4,
int a5,
int a6,
int a7,
int a8,
int a9,
int a10,
unsigned __int8 a11)
{
long long result; // rax
int v15; // r8d
int v16; // r9d
result = gg... | ggml_im2col_back:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV EBP,R9D
MOV R15D,R8D
MOV RBX,RDX
MOV R14,RSI
XOR ESI,ESI
MOV EDX,0x4
XOR R8D,R8D
XOR R9D,R9D
CALL 0x00119c80
TEST RAX,RAX
JZ 0x0011d214
MOV ECX,dword ptr [RSP + 0x48]
MOV EDX,dword ptr [RSP + 0x40]
MOV ESI,dword ptr [RSP + 0x38]
MOV EDI,dword ptr [RSP +... |
void ggml_im2col_back(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int4 param_5,int4 param_6,int4 param_7,int4 param_8,
int4 param_9,int4 param_10,byte param_11)
{
long lVar1;
lVar1 = ggml_new_tensor_impl(param_1,0,4,param_4,0,0);
if (lVar1 != 0) {
*(int4... | |
9,430 | MyCTX_nopad::init(evp_cipher_st const*, int, unsigned char const*, unsigned int, unsigned char const*, unsigned int) | eloqsql/mysys_ssl/my_crypt.cc | int init(const EVP_CIPHER *cipher, int encrypt, const uchar *key, uint klen,
const uchar *iv, uint ivlen)
{
compile_time_assert(MY_AES_CTX_SIZE >= sizeof(MyCTX_nopad));
this->key= key;
this->klen= klen;
this->source_tail_len= 0;
if (ivlen)
memcpy(oiv, iv, ivlen);
DBUG_ASSERT(i... | O3 | cpp | MyCTX_nopad::init(evp_cipher_st const*, int, unsigned char const*, unsigned int, unsigned char const*, unsigned int):
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movq %rcx, %r12
movl %edx, %r15d
movq %rsi, %r13
movq %rdi, %rbx
movl 0x10(%rbp), %eax
movq %r... | _ZN11MyCTX_nopad4initEPK13evp_cipher_stiPKhjS4_j:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, r9
mov r12, rcx
mov r15d, edx
mov r13, rsi
mov rbx, rdi
mov eax, [rbp+arg_0]
mov [rdi+0D0h], rcx
mov [rdi+0D8h], r8d
and dwo... | long long MyCTX_nopad::init(
long long a1,
long long a2,
unsigned int a3,
long long a4,
int a5,
long long a6,
unsigned int a7)
{
long long v7; // rax
bool v11; // zf
unsigned int v12; // r14d
long long v14; // [rsp-8h] [rbp-30h]
v14 = v7;
*(_QWORD *)... | init:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,R9
MOV R12,RCX
MOV R15D,EDX
MOV R13,RSI
MOV RBX,RDI
MOV EAX,dword ptr [RBP + 0x10]
MOV qword ptr [RDI + 0xd0],RCX
MOV dword ptr [RDI + 0xd8],R8D
AND dword ptr [RDI + 0xdc],0x0
TEST EAX,EAX
JZ 0x0012ffbe
LEA RDI,[RBX + 0xe0]
MOV EDX... |
/* MyCTX_nopad::init(evp_cipher_st const*, int, unsigned char const*, unsigned int, unsigned char
const*, unsigned int) */
int4 __thiscall
MyCTX_nopad::init(MyCTX_nopad *this,evp_cipher_st *param_1,int param_2,uchar *param_3,uint param_4,
uchar *param_5,uint param_6)
{
int iVar1;
int4 uVar2;
... | |
9,431 | my_time_init | eloqsql/mysys/my_getsystime.c | void my_time_init()
{
#ifdef _WIN32
compile_time_assert(sizeof(LARGE_INTEGER) ==
sizeof(query_performance_frequency));
QueryPerformanceFrequency((LARGE_INTEGER *)&query_performance_frequency);
DBUG_ASSERT(query_performance_frequency);
#endif
} | O0 | c | my_time_init:
pushq %rbp
movq %rsp, %rbp
popq %rbp
retq
nopw %cs:(%rax,%rax)
| my_time_init:
push rbp
mov rbp, rsp
pop rbp
retn
| void my_time_init()
{
;
}
| my_time_init:
PUSH RBP
MOV RBP,RSP
POP RBP
RET
|
void my_time_init(void)
{
return;
}
| |
9,432 | hi0bits | eloqsql/libmariadb/libmariadb/ma_dtoa.c | static int hi0bits(register ULong x)
{
register int k= 0;
if (!(x & 0xffff0000))
{
k= 16;
x<<= 16;
}
if (!(x & 0xff000000))
{
k+= 8;
x<<= 8;
}
if (!(x & 0xf0000000))
{
k+= 4;
x<<= 4;
}
if (!(x & 0xc0000000))
{
k+= 2;
x<<= 2;
}
if (!(x & 0x80000000))
{
k... | O0 | c | hi0bits:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movl -0x8(%rbp), %eax
andl $0xffff0000, %eax # imm = 0xFFFF0000
cmpl $0x0, %eax
jne 0x6673b
movl $0x10, -0xc(%rbp)
movl -0x8(%rbp), %eax
shll $0x10, %eax
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %eax
andl $0xff000000, %eax # imm =... | hi0bits:
push rbp
mov rbp, rsp
mov [rbp+var_8], edi
mov [rbp+var_C], 0
mov eax, [rbp+var_8]
and eax, 0FFFF0000h
cmp eax, 0
jnz short loc_6673B
mov [rbp+var_C], 10h
mov eax, [rbp+var_8]
shl eax, 10h
mov [rbp+var_8], eax
loc_6673B:
mov eax, [rbp+var_8]
and eax, 0FF00... | long long hi0bits(int a1)
{
unsigned int v2; // [rsp+0h] [rbp-Ch]
int v3; // [rsp+4h] [rbp-8h]
v3 = a1;
v2 = 0;
if ( (a1 & 0xFFFF0000) == 0 )
{
v2 = 16;
v3 = a1 << 16;
}
if ( (v3 & 0xFF000000) == 0 )
{
v2 += 8;
v3 <<= 8;
}
if ( (v3 & 0xF0000000) == 0 )
{
v2 += 4;
v3 *= ... | hi0bits:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x8],EDI
MOV dword ptr [RBP + -0xc],0x0
MOV EAX,dword ptr [RBP + -0x8]
AND EAX,0xffff0000
CMP EAX,0x0
JNZ 0x0016673b
MOV dword ptr [RBP + -0xc],0x10
MOV EAX,dword ptr [RBP + -0x8]
SHL EAX,0x10
MOV dword ptr [RBP + -0x8],EAX
LAB_0016673b:
MOV EAX,dword ptr [RBP + -0x8]... |
int hi0bits(uint param_1)
{
int local_14;
uint local_10;
int local_c;
local_14 = 0;
local_10 = param_1;
if ((param_1 & 0xffff0000) == 0) {
local_14 = 0x10;
local_10 = param_1 << 0x10;
}
if ((local_10 & 0xff000000) == 0) {
local_14 = local_14 + 8;
local_10 = local_10 << 8;
}
if (... | |
9,433 | qdevtools::WidgetSelectionBox::qt_metacall(QMetaObject::Call, int, void**) | HuaiminNotSleepYet[P]QDevTools/build_O3/QDevTools_autogen/EWIEGA46WW/moc_qdevtools.cpp | int qdevtools::WidgetSelectionBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
} else... | O3 | cpp | qdevtools::WidgetSelectionBox::qt_metacall(QMetaObject::Call, int, void**):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movl %esi, %ebp
movq %rdi, %r15
callq 0xfab0
movl %eax, %ebx
testl %eax, %eax
js 0x10c97
cmpl $0x7, %ebp
je 0x10c72
testl %ebp, %ebp
jne 0x10c97
testl %ebx, %ebx
jne 0x10c95... | _ZN9qdevtools18WidgetSelectionBox11qt_metacallEN11QMetaObject4CallEiPPv:
push rbp
push r15
push r14
push rbx
push rax
mov r14, rcx
mov ebp, esi
mov r15, rdi
call __ZN7QWidget11qt_metacallEN11QMetaObject4CallEiPPv; QWidget::qt_metacall(QMetaObject::Call,int,void **)
mov ebx, eax
test ... | long long qdevtools::WidgetSelectionBox::qt_metacall(
qdevtools::WidgetSelectionBox *this,
int a2,
long long a3,
long long a4)
{
int v5; // ebx
_QWORD *v6; // rax
v5 = QWidget::qt_metacall(this);
if ( v5 >= 0 )
{
if ( a2 == 7 )
{
if ( !v5 )
{
v6 = ... | qt_metacall:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RCX
MOV EBP,ESI
MOV R15,RDI
CALL 0x0010fab0
MOV EBX,EAX
TEST EAX,EAX
JS 0x00110c97
CMP EBP,0x7
JZ 0x00110c72
TEST EBP,EBP
JNZ 0x00110c97
TEST EBX,EBX
JNZ 0x00110c95
MOV RAX,qword ptr [R14 + 0x8]
MOV RSI,qword ptr [RAX]
MOV RDI,R15
CALL 0x001140ac
JMP 0x0... |
/* qdevtools::WidgetSelectionBox::qt_metacall(QMetaObject::Call, int, void**) */
int __thiscall
qdevtools::WidgetSelectionBox::qt_metacall
(WidgetSelectionBox *this,int param_2,int8 param_3,int8 *param_4)
{
int iVar1;
iVar1 = QWidget::qt_metacall();
if (-1 < iVar1) {
if (param_2 == 7) {
... | |
9,434 | minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/./minja.hpp | Value do_evaluate(const std::shared_ptr<Context> & context) const override {
if (!expr) throw std::runtime_error("UnaryOpExpr.expr is null");
auto e = expr->evaluate(context);
switch (op) {
case Op::Plus: return e;
case Op::Minus: return -e;
case Op::LogicalNo... | O0 | cpp | minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
subq $0xc8, %rsp
movq %rdi, 0x30(%rsp)
movq %rdi, %rax
movq %rax, 0x38(%rsp)
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movq %rdx, 0xb0(%rsp)
movq 0xb8(%rsp), %rdi
movq %rdi, 0x40(%rsp)
addq $0x20, %rdi
callq 0x77a80
testb $0x1, %al
jne 0x9... | _ZNK5minja11UnaryOpExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
sub rsp, 0C8h
mov [rsp+0C8h+var_98], rdi
mov rax, rdi
mov [rsp+0C8h+var_90], rax
mov [rsp+0C8h+var_8], rdi
mov [rsp+0C8h+var_10], rsi
mov [rsp+0C8h+var_18], rdx
mov rdi, [rsp+0C8h+var_10]
mov [rsp+0C8h+var_88], rdi
... | minja::Value * minja::UnaryOpExpr::do_evaluate(minja::Value *a1, long long a2, long long a3)
{
long long v3; // rax
std::runtime_error *v5; // [rsp+8h] [rbp-C0h]
std::runtime_error *v6; // [rsp+10h] [rbp-B8h]
std::runtime_error *exception; // [rsp+28h] [rbp-A0h]
bool v8; // [rsp+4Bh] [rbp-7Dh] BYREF
int v9;... | do_evaluate:
SUB RSP,0xc8
MOV qword ptr [RSP + 0x30],RDI
MOV RAX,RDI
MOV qword ptr [RSP + 0x38],RAX
MOV qword ptr [RSP + 0xc0],RDI
MOV qword ptr [RSP + 0xb8],RSI
MOV qword ptr [RSP + 0xb0],RDX
MOV RDI,qword ptr [RSP + 0xb8]
MOV qword ptr [RSP + 0x40],RDI
ADD RDI,0x20
CALL 0x00177a80
TEST AL,0x1
JNZ 0x0019f074
MOV EDI,0... |
/* minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */
shared_ptr * minja::UnaryOpExpr::do_evaluate(shared_ptr *param_1)
{
bool bVar1;
byte bVar2;
runtime_error *prVar3;
long in_RSI;
bool local_7d [5];
shared_ptr local_78 [112];
shared_ptr *local_8;
local_8 = param_1;
... | |
9,435 | minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/./minja.hpp | Value do_evaluate(const std::shared_ptr<Context> & context) const override {
if (!expr) throw std::runtime_error("UnaryOpExpr.expr is null");
auto e = expr->evaluate(context);
switch (op) {
case Op::Plus: return e;
case Op::Minus: return -e;
case Op::LogicalNo... | O1 | cpp | minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq 0x20(%rsi), %rsi
testq %rsi, %rsi
je 0x3eb12
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3ec5a
movl 0x30(%r14), %eax
cmpq $0x4, %rax
ja 0x3eb62
leaq 0x72761(%... | _ZNK5minja11UnaryOpExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
push r15
push r14
push r12
push rbx
sub rsp, 58h
mov r14, rsi
mov rsi, [rsi+20h]
test rsi, rsi
jz loc_3EB12
mov rbx, rdi
lea rdi, [rsp+78h+var_70]
call _ZNK5minja10Expression8evaluateERKSt10shared_ptrINS_7Con... | do_evaluate:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV R14,RSI
MOV RSI,qword ptr [RSI + 0x20]
TEST RSI,RSI
JZ 0x0013eb12
MOV RBX,RDI
LEA RDI,[RSP + 0x8]
CALL 0x0013ec5a
MOV EAX,dword ptr [R14 + 0x30]
CMP RAX,0x4
JA 0x0013eb62
LEA RCX,[0x1b1128]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RA... |
/* minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */
UnaryOpExpr * __thiscall minja::UnaryOpExpr::do_evaluate(UnaryOpExpr *this,shared_ptr *param_1)
{
int *piVar1;
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *p_Var2;
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *p_Var3;
_Sp_co... | ||
9,436 | my_hash_first | eloqsql/mysys/hash.c | uchar* my_hash_first(const HASH *hash, const uchar *key, size_t length,
HASH_SEARCH_STATE *current_record)
{
uchar *res;
DBUG_ASSERT(my_hash_inited(hash));
res= my_hash_first_from_hash_value(hash,
hash->hash_function(hash->charset, key,
... | O0 | c | my_hash_first:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
jmp 0x3619a
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rax
movq 0x68(%rax), %rax
mo... | my_hash_first:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
jmp short $+2
loc_3619A:
mov rax, [rbp+var_8]
mov [rbp+var_48], rax
mov rax, [rbp+var_8]
mov rax, [rax+58h]
mov [rbp+var_40], rax
mo... | long long my_hash_first(_QWORD *a1, long long a2, long long a3, long long a4)
{
unsigned int v4; // eax
long long ( *v6)(long long, long long, long long); // [rsp+10h] [rbp-40h]
long long v7; // [rsp+18h] [rbp-38h]
v6 = (long long ( *)(long long, long long, long long))a1[11];
v7 = a1[13];
if ( a3 )
v4... | my_hash_first:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
JMP 0x0013619a
LAB_0013619a:
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x48],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RA... |
int8 my_hash_first(long param_1,int8 param_2,long param_3,int8 param_4)
{
int4 uVar1;
int8 uVar2;
int8 local_58;
local_58 = param_3;
if (param_3 == 0) {
local_58 = *(long *)(param_1 + 8);
}
uVar1 = (**(code **)(param_1 + 0x58))(*(int8 *)(param_1 + 0x68),param_2,local_58);
uVar2 = my_hash_first_... | |
9,437 | pcmp | eloqsql/strings/ctype-simple.c | static int pcmp(const void * f, const void * s)
{
const uni_idx *F= (const uni_idx*) f;
const uni_idx *S= (const uni_idx*) s;
int res;
if (!(res=((S->nchars)-(F->nchars))))
res=((F->uidx.from)-(S->uidx.to));
return res;
} | O3 | c | pcmp:
pushq %rbp
movq %rsp, %rbp
movl (%rsi), %eax
subl (%rdi), %eax
jne 0xbb865
movzwl 0x8(%rdi), %eax
movzwl 0xa(%rsi), %ecx
subl %ecx, %eax
popq %rbp
retq
nop
| pcmp:
push rbp
mov rbp, rsp
mov eax, [rsi]
sub eax, [rdi]
jnz short loc_BB865
movzx eax, word ptr [rdi+8]
movzx ecx, word ptr [rsi+0Ah]
sub eax, ecx
loc_BB865:
pop rbp
retn
| long long pcmp(long long a1, long long a2)
{
long long result; // rax
result = (unsigned int)(*(_DWORD *)a2 - *(_DWORD *)a1);
if ( *(_DWORD *)a2 == *(_DWORD *)a1 )
return *(unsigned __int16 *)(a1 + 8) - (unsigned int)*(unsigned __int16 *)(a2 + 10);
return result;
}
| pcmp:
PUSH RBP
MOV RBP,RSP
MOV EAX,dword ptr [RSI]
SUB EAX,dword ptr [RDI]
JNZ 0x001bb865
MOVZX EAX,word ptr [RDI + 0x8]
MOVZX ECX,word ptr [RSI + 0xa]
SUB EAX,ECX
LAB_001bb865:
POP RBP
RET
|
int pcmp(int *param_1,int *param_2)
{
int iVar1;
iVar1 = *param_2 - *param_1;
if (iVar1 == 0) {
iVar1 = (uint)*(ushort *)(param_1 + 2) - (uint)*(ushort *)((long)param_2 + 10);
}
return iVar1;
}
| |
9,438 | common_detokenize[abi:cxx11](llama_vocab const*, std::vector<int, std::allocator<int>> const&, bool) | monkey531[P]llama/common/common.cpp | std::string common_detokenize(const struct llama_vocab * vocab, const std::vector<llama_token> & tokens, bool special) {
std::string text;
text.resize(std::max(text.capacity(), tokens.size()));
int32_t n_chars = llama_detokenize(vocab, tokens.data(), (int32_t)tokens.size(), &text[0], (int32_t)text.size(), f... | O2 | cpp | common_detokenize[abi:cxx11](llama_vocab const*, std::vector<int, std::allocator<int>> const&, bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x8(%rdx), ... | _Z17common_detokenizeB5cxx11PK11llama_vocabRKSt6vectorIiSaIiEEb:
push rbp
push r15
push r14
push rbx
push rax
mov ebp, ecx
mov r15, rdx
mov r14, rsi
mov rbx, rdi
lea rax, [rdi+10h]
mov [rdi], rax
and qword ptr [rdi+8], 0
mov byte ptr [rdi+10h], 0
mov rax, [rdx+8]
sub ... | _QWORD * common_detokenize[abi:cxx11](_QWORD *a1, long long a2, _QWORD *a3, unsigned __int8 a4)
{
long long v4; // rax
long long v8; // rsi
int v9; // eax
long long v10; // rdx
long long v12; // r14
long long v13; // [rsp+0h] [rbp-28h]
long long v14; // [rsp+0h] [rbp-28h]
HIDWORD(v13) = HIDWORD(v4);
... | common_detokenize[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV EBP,ECX
MOV R15,RDX
MOV R14,RSI
MOV RBX,RDI
LEA RAX,[RDI + 0x10]
MOV qword ptr [RDI],RAX
AND qword ptr [RDI + 0x8],0x0
MOV byte ptr [RDI + 0x10],0x0
MOV RAX,qword ptr [RDX + 0x8]
SUB RAX,qword ptr [RDX]
SAR RAX,0x2
CMP RAX,0x10
PUSH 0xf
POP ... |
/* common_detokenize[abi:cxx11](llama_vocab const*, std::vector<int, std::allocator<int> > const&,
bool) */
llama_vocab * common_detokenize_abi_cxx11_(llama_vocab *param_1,vector *param_2,bool param_3)
{
int iVar1;
int8 in_RAX;
int4 uVar2;
int4 in_ECX;
int7 in_register_00000011;
long *plVar3;
ulong ... | |
9,439 | ma_pvio_tls_check_fp | eloqsql/libmariadb/libmariadb/ma_tls.c | my_bool ma_pvio_tls_check_fp(MARIADB_TLS *ctls, const char *fp, const char *fp_list)
{
unsigned int cert_fp_len= 64;
char *cert_fp= NULL;
my_bool rc=1;
MYSQL *mysql= ctls->pvio->mysql;
cert_fp= (char *)malloc(cert_fp_len);
if ((cert_fp_len= ma_tls_get_finger_print(ctls, cert_fp, cert_fp_len)) < 1)
got... | O3 | c | ma_pvio_tls_check_fp:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq 0x8(%rdi), %rax
movq 0x40(%rax), %rax
movq %rax, -0x138(%rbp)
movl $0x40, %ed... | ma_pvio_tls_check_fp:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 118h
mov rbx, rdx
mov r12, rsi
mov r15, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov rax, [rdi+8]
mov rax, [rax+40h]
mov [rbp+var_138], rax
mov edi, 40h ; '@'
... | long long ma_pvio_tls_check_fp(long long a1, long long a2, long long a3)
{
_BYTE *v3; // r13
long long v5; // r14
unsigned int finger_print; // eax
unsigned int v7; // r15d
unsigned int v8; // eax
long long v10; // rax
long long v11; // r12
long long v12; // rdx
long long v13; // rcx
_BYTE *v14; //... | ma_pvio_tls_check_fp:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x118
MOV RBX,RDX
MOV R12,RSI
MOV R15,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RDI + 0x8]
MOV RAX,qword ptr [RAX + 0x40]
MOV qword ptr [RBP + -0x138],RAX
MOV EDI,0x40
CALL 0x00137950... |
int4 ma_pvio_tls_check_fp(long param_1,char *param_2,long param_3)
{
int8 uVar1;
char cVar2;
int iVar3;
int4 uVar4;
void *__ptr;
size_t sVar5;
long lVar6;
long lVar7;
char *pcVar8;
int8 unaff_R13;
int7 uVar9;
long in_FS_OFFSET;
char local_138 [256];
long local_38;
local_38 = *(long *)... | |
9,440 | ftxui::Color::HSV(unsigned char, unsigned char, unsigned char) | Andrewchistyakov[P]flashcards_lyc/build_O1/_deps/ftxui-src/src/ftxui/screen/color.cpp | Color Color::HSV(uint8_t h, uint8_t s, uint8_t v) {
if (s == 0) {
return {0, 0, 0};
}
uint8_t region = h / 43; // NOLINT
uint8_t remainder = (h - (region * 43)) * 6; // NOLINT
uint8_t p = (v * (255 - s)) >> 8; // NOLI... | O1 | cpp | ftxui::Color::HSV(unsigned char, unsigned char, unsigned char):
pushq %rax
testl %esi, %esi
je 0x20e2a
movzbl %sil, %esi
movzbl %dil, %ecx
imull $0xbf, %ecx, %eax
shrl $0xd, %eax
imull $-0x2b, %eax, %edi
addb %dil, %cl
movzbl %cl, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,2), %edi
movzbl %dl, %ecx
movl $0xff, %edx
andl %edx... | _ZN5ftxui5Color3HSVEhhh:
push rax
test esi, esi
jz short loc_20E2A
movzx esi, sil
movzx ecx, dil
imul eax, ecx, 0BFh
shr eax, 0Dh
imul edi, eax, -2Bh
add cl, dil
movzx ecx, cl
add ecx, ecx
lea edi, [rcx+rcx*2]
movzx ecx, dl
mov edx, 0FFh
and edi, edx
mov r8d, edi
imu... | long long ftxui::Color::HSV(ftxui::Color *this, int a2, unsigned __int8 a3)
{
long long v3; // rax
long long v4; // rax
unsigned __int8 v5; // cl
int v6; // edi
unsigned int v7; // r9d
unsigned int v8; // r8d
unsigned int v9; // edi
unsigned __int8 v10; // al
unsigned __int8 v11; // si
unsigned int... | HSV:
PUSH RAX
TEST ESI,ESI
JZ 0x00120e2a
MOVZX ESI,SIL
MOVZX ECX,DIL
IMUL EAX,ECX,0xbf
SHR EAX,0xd
IMUL EDI,EAX,-0x2b
ADD CL,DIL
MOVZX ECX,CL
ADD ECX,ECX
LEA EDI,[RCX + RCX*0x2]
MOVZX ECX,DL
MOV EDX,0xff
AND EDI,EDX
MOV R8D,EDI
IMUL R8D,ESI
XOR EDI,EDX
IMUL EDI,ESI
MOV R9D,ESI
XOR R9D,EDX
IMUL R9D,ECX
SHR R9D,0x8
SHR R... |
/* ftxui::Color::HSV(unsigned char, unsigned char, unsigned char) */
ulong ftxui::Color::HSV(uchar param_1,uchar param_2,uchar param_3)
{
int8 in_RAX;
ulong uVar1;
int7 in_register_00000031;
uint local_4;
local_4 = (uint)((ulong)in_RAX >> 0x20);
if ((int)CONCAT71(in_register_00000031,param_2) != 0) {
... | |
9,441 | my_rw_unlock | eloqsql/mysys/thr_rwlock.c | int my_rw_unlock(my_rw_lock_t *rwp)
{
DBUG_PRINT("rw_unlock",
("state: %d waiters: %d", rwp->state, rwp->waiters));
pthread_mutex_lock(&rwp->lock);
DBUG_ASSERT(rwp->state != 0);
if (rwp->state == -1) /* writer releasing */
{
my_rw_lock_assert_write_owner(rwp);
rwp->state= 0; /* mark as avail... | O3 | c | my_rw_unlock:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x24510
movl 0x88(%rbx), %eax
cmpl $-0x1, %eax
je 0x27190
decl %eax
movl %eax, 0x88(%rbx)
jne 0x271b7
cmpl $0x0, 0x8c(%rbx)
jne 0x271a3
jmp 0x271b7
movl $0x0, 0x88(%rbx)
cmpl $0x0, 0x8c(%rbx)
je 0x271ae
leaq 0x58(%rbx), %rdi
callq 0x24... | my_rw_unlock:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
call _pthread_mutex_lock
mov eax, [rbx+88h]
cmp eax, 0FFFFFFFFh
jz short loc_27190
dec eax
mov [rbx+88h], eax
jnz short loc_271B7
cmp dword ptr [rbx+8Ch], 0
jnz short loc_271A3
jmp short loc_271B7... | long long my_rw_unlock(long long a1)
{
int v1; // eax
int v2; // eax
pthread_mutex_lock(a1);
v1 = *(_DWORD *)(a1 + 136);
if ( v1 == -1 )
{
*(_DWORD *)(a1 + 136) = 0;
if ( !*(_DWORD *)(a1 + 140) )
{
pthread_cond_broadcast(a1 + 40);
goto LABEL_8;
}
goto LABEL_6;
}
v2 = v1... | my_rw_unlock:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
CALL 0x00124510
MOV EAX,dword ptr [RBX + 0x88]
CMP EAX,-0x1
JZ 0x00127190
DEC EAX
MOV dword ptr [RBX + 0x88],EAX
JNZ 0x001271b7
CMP dword ptr [RBX + 0x8c],0x0
JNZ 0x001271a3
JMP 0x001271b7
LAB_00127190:
MOV dword ptr [RBX + 0x88],0x0
CMP dword ptr [RBX + ... |
int8 my_rw_unlock(pthread_mutex_t *param_1)
{
int iVar1;
pthread_mutex_lock(param_1);
if (*(int *)((long)param_1 + 0x88) == -1) {
*(int4 *)((long)param_1 + 0x88) = 0;
if (*(int *)((long)param_1 + 0x8c) == 0) {
pthread_cond_broadcast((pthread_cond_t *)(param_1 + 1));
goto LAB_001271b7;
... | |
9,442 | my_create_with_symlink | eloqsql/mysys/my_symlink2.c | File my_create_with_symlink(const char *linkname, const char *filename,
int createflags, int access_flags, myf MyFlags)
{
File file;
int tmp_errno;
/* Test if we should create a link */
int create_link;
char abs_linkname[FN_REFLEN];
DBUG_ENTER("my_create_with_symlink");
DBUG_PRINT("enter", ("linkna... | O0 | c | my_create_with_symlink:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp # imm = 0x250
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x220(%rbp)
movq %rsi, -0x228(%rbp)
movl %edx, -0x22c(%rbp)
movl %ecx, -0x230(%rbp)
movq %r8, -0x238(%rbp)
jmp 0xfbd6b
leaq 0xb9262a(%rip), %rax # 0xc8e39c
cmpb $0x0, (%... | my_create_with_symlink:
push rbp
mov rbp, rsp
sub rsp, 250h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_220], rdi
mov [rbp+var_228], rsi
mov [rbp+var_22C], edx
mov [rbp+var_230], ecx
mov [rbp+var_238], r8
jmp short $+2
loc_FBD6B:
lea rax, my_disable_symlinks
cmp ... | long long my_create_with_symlink(const char *a1, long long a2, unsigned int a3, int a4, long long a5)
{
bool v6; // [rsp+Bh] [rbp-245h]
int v7; // [rsp+Ch] [rbp-244h]
int v8; // [rsp+10h] [rbp-240h]
signed int v9; // [rsp+14h] [rbp-23Ch]
long long v13; // [rsp+28h] [rbp-228h]
_BYTE v15[520]; // [rsp+40h] [... | my_create_with_symlink:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x250
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x220],RDI
MOV qword ptr [RBP + -0x228],RSI
MOV dword ptr [RBP + -0x22c],EDX
MOV dword ptr [RBP + -0x230],ECX
MOV qword ptr [RBP + -0x238],R8
JMP 0x001fbd6b
LAB_001fbd6b:
LEA RAX,[... |
int my_create_with_symlink
(char *param_1,char *param_2,int4 param_3,int4 param_4,ulong param_5)
{
int4 uVar1;
int iVar2;
int *piVar3;
int4 *puVar4;
long in_FS_OFFSET;
bool bVar5;
int local_244;
char *local_230;
int local_21c;
char local_218 [520];
long local_10;
local_10 = *(... | |
9,443 | ftparser_call_deinitializer | eloqsql/storage/myisam/ft_parser.c | void ftparser_call_deinitializer(MI_INFO *info)
{
uint i, j, keys= info->s->state.header.keys;
free_root(&info->ft_memroot, MYF(0));
if (! info->ftparser_param)
return;
for (i= 0; i < keys; i++)
{
MI_KEYDEF *keyinfo= &info->s->keyinfo[i];
for (j=0; j < MAX_PARAM_NR; j++)
{
MYSQL_FTPARSER... | O3 | c | ftparser_call_deinitializer:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
movb 0x12(%rax), %r14b
addq $0x90, %rdi
xorl %esi, %esi
callq 0x5795b
cmpq $0x0, 0xd0(%rbx)
setne %al
testb %r14b, %r14b
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne ... | ftparser_call_deinitializer:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rdi
mov rax, [rdi]
mov r14b, [rax+12h]
add rdi, 90h
xor esi, esi
call free_root
cmp qword ptr [rbx+0D0h], 0
setnz al
test r14b, r14b
setnz cl
and ... | char ftparser_call_deinitializer(_QWORD *a1)
{
unsigned __int8 v1; // r14
int v2; // eax
long long v3; // r12
long long v4; // r13
char v5; // r15
unsigned long long v6; // r14
void ( *v7)(unsigned long long); // rax
bool v8; // zf
long long v10; // [rsp+0h] [rbp-30h]
v1 = *(_BYTE *)(*a1 + 18LL);
... | ftparser_call_deinitializer:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RAX,qword ptr [RDI]
MOV R14B,byte ptr [RAX + 0x12]
ADD RDI,0x90
XOR ESI,ESI
CALL 0x0015795b
CMP qword ptr [RBX + 0xd0],0x0
SETNZ AL
TEST R14B,R14B
SETNZ CL
AND CL,AL
CMP CL,0x1
JNZ 0x00143425
MOVZX EA... |
void ftparser_call_deinitializer(long *param_1)
{
byte bVar1;
code *pcVar2;
bool bVar3;
int iVar4;
ulong uVar5;
long lVar6;
long lVar7;
bool bVar8;
bVar1 = *(byte *)(*param_1 + 0x12);
free_root(param_1 + 0x12,0);
if (bVar1 != 0 && param_1[0x1a] != 0) {
uVar5 = 0;
do {
lVar6 = uV... | |
9,444 | mthd_stmt_flush_unbuffered | eloqsql/libmariadb/libmariadb/mariadb_stmt.c | void mthd_stmt_flush_unbuffered(MYSQL_STMT *stmt)
{
ulong packet_len;
int in_resultset= stmt->state > MYSQL_STMT_EXECUTED &&
stmt->state < MYSQL_STMT_FETCH_DONE;
while ((packet_len = ma_net_safe_read(stmt->mysql)) != packet_error)
{
uchar *pos= stmt->mysql->net.read_pos;
if (!in_resu... | O0 | c | mthd_stmt_flush_unbuffered:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl $0x2, 0x50(%rcx)
movb %al, -0x21(%rbp)
jbe 0x40489
movq -0x8(%rbp), %rax
cmpl $0x6, 0x50(%rax)
setb %al
movb %al, -0x21(%rbp)
movb -0x21(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
mov... | mthd_stmt_flush_unbuffered:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov rcx, [rbp+var_8]
xor eax, eax
cmp dword ptr [rcx+50h], 2
mov [rbp+var_21], al
jbe short loc_40489
mov rax, [rbp+var_8]
cmp dword ptr [rax+50h], 6
setb al
mov [rbp+var_21], al
loc_404... | long long mthd_stmt_flush_unbuffered(long long a1, long long a2, long long a3, long long a4, int a5, int a6)
{
long long v6; // rcx
long long result; // rax
bool v8; // [rsp+Fh] [rbp-21h]
unsigned __int8 *v9; // [rsp+10h] [rbp-20h] BYREF
int v10; // [rsp+1Ch] [rbp-14h]
unsigned long long v11; // [rsp+20h] ... | mthd_stmt_flush_unbuffered:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV RCX,qword ptr [RBP + -0x8]
XOR EAX,EAX
CMP dword ptr [RCX + 0x50],0x2
MOV byte ptr [RBP + -0x21],AL
JBE 0x00140489
MOV RAX,qword ptr [RBP + -0x8]
CMP dword ptr [RAX + 0x50],0x6
SETC AL
MOV byte ptr [RBP + -0x21],AL
LAB_0014... |
void mthd_stmt_flush_unbuffered(long param_1)
{
char cVar1;
bool local_29;
byte *local_28;
uint local_1c;
ulong local_18;
long local_10;
local_29 = false;
if (2 < *(uint *)(param_1 + 0x50)) {
local_29 = *(uint *)(param_1 + 0x50) < 6;
}
local_1c = (uint)local_29;
local_10 = param_1;
do {... | |
9,445 | mthd_stmt_flush_unbuffered | eloqsql/libmariadb/libmariadb/mariadb_stmt.c | void mthd_stmt_flush_unbuffered(MYSQL_STMT *stmt)
{
ulong packet_len;
int in_resultset= stmt->state > MYSQL_STMT_EXECUTED &&
stmt->state < MYSQL_STMT_FETCH_DONE;
while ((packet_len = ma_net_safe_read(stmt->mysql)) != packet_error)
{
uchar *pos= stmt->mysql->net.read_pos;
if (!in_resu... | O3 | c | mthd_stmt_flush_unbuffered:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl 0x50(%rdi), %r12d
movq 0x38(%rdi), %rdi
callq 0x26beb
movl $0xffffffff, %r14d # imm = 0xFFFFFFFF
cmpq %r14, %rax
je 0x2fe9a
addl $-0x3, %r12d
xorl %r15d, %r15d
cmpl $0x3, %r12d
s... | mthd_stmt_flush_unbuffered:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
sub rsp, 10h
mov rbx, rdi
mov r12d, [rdi+50h]
mov rdi, [rdi+38h]
call ma_net_safe_read
mov r14d, 0FFFFFFFFh
cmp rax, r14
jz loc_2FE9A
add r12d, 0FFFFFFFDh
xor r15d, r15d
cmp ... | char mthd_stmt_flush_unbuffered(long long a1, long long a2, long long a3, long long a4, unsigned long long a5, int a6)
{
int v7; // r12d
unsigned long long v8; // rax
long long v9; // rdx
long long v10; // rcx
unsigned long long v11; // r8
int v12; // r9d
BOOL v13; // r15d
long long v14; // rdi
long ... | mthd_stmt_flush_unbuffered:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV RBX,RDI
MOV R12D,dword ptr [RDI + 0x50]
MOV RDI,qword ptr [RDI + 0x38]
CALL 0x00126beb
MOV R14D,0xffffffff
CMP RAX,R14
JZ 0x0012fe9a
ADD R12D,-0x3
XOR R15D,R15D
CMP R12D,0x3
SETC R15B
LAB_0012fe1b:
MOV RDI,qword ptr [R... |
void mthd_stmt_flush_unbuffered(long param_1)
{
int iVar1;
char *pcVar2;
char cVar3;
ulong uVar4;
long lVar5;
bool bVar6;
ushort *local_30;
iVar1 = *(int *)(param_1 + 0x50);
uVar4 = ma_net_safe_read(*(int8 *)(param_1 + 0x38));
if (uVar4 != 0xffffffff) {
bVar6 = iVar1 - 3U < 3;
while( tr... | |
9,446 | CLI::App::get_subcommand(CLI::App const*) const | MikePodsytnik[P]TCRtrie/build_O3/_deps/cli11-src/include/CLI/impl/App_inl.hpp | CLI11_INLINE App *App::get_subcommand(const App *subcom) const {
if(subcom == nullptr)
throw OptionNotFound("nullptr passed");
for(const App_p &subcomptr : subcommands_)
if(subcomptr.get() == subcom)
return subcomptr.get();
throw OptionNotFound(subcom->get_name());
} | O3 | cpp | CLI::App::get_subcommand(CLI::App const*) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
testq %rsi, %rsi
je 0x181cd
movq %rsi, %r14
movq 0x280(%rdi), %rcx
movq 0x288(%rdi), %rdx
cmpq %rdx, %rcx
je 0x18178
movq (%rcx), %rax
cmpq %r14, %rax
je 0x1816d
addq $0x10, %rcx
jmp 0x1815a
addq $0x48, %rsp
po... | _ZNK3CLI3App14get_subcommandEPKS0_:
push rbp
push r15
push r14
push rbx
sub rsp, 48h
test rsi, rsi
jz loc_181CD
mov r14, rsi
mov rcx, [rdi+280h]
mov rdx, [rdi+288h]
loc_1815A:
cmp rcx, rdx
jz short loc_18178
mov rax, [rcx]
cmp rax, r14
jz short loc_1816D
add ... | const CLI::App * CLI::App::get_subcommand(CLI::App *this, const CLI::App *a2)
{
long long *i; // rcx
const CLI::App *result; // rax
void *v4; // rbx
void *exception; // rbx
int v6; // [rsp+0h] [rbp-68h]
void *v7; // [rsp+8h] [rbp-60h] BYREF
long long v8; // [rsp+18h] [rbp-50h] BYREF
long long *v9; // [r... | get_subcommand:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x48
TEST RSI,RSI
JZ 0x001181cd
MOV R14,RSI
MOV RCX,qword ptr [RDI + 0x280]
MOV RDX,qword ptr [RDI + 0x288]
LAB_0011815a:
CMP RCX,RDX
JZ 0x00118178
MOV RAX,qword ptr [RCX]
CMP RAX,R14
JZ 0x0011816d
ADD RCX,0x10
JMP 0x0011815a
LAB_0011816d:
ADD RSP,0x48
POP RBX... |
/* CLI::App::get_subcommand(CLI::App const*) const */
void __thiscall CLI::App::get_subcommand(App *this,App *param_1)
{
OptionNotFound *pOVar1;
long *plVar2;
int1 *local_60 [2];
int1 local_50 [16];
int1 *local_40 [2];
int1 local_30 [16];
if (param_1 == (App *)0x0) {
pOVar1 = (OptionNotFound *)_... | |
9,447 | my_strxfrm_pad_desc_and_reverse | eloqsql/strings/ctype-simple.c | size_t
my_strxfrm_pad_desc_and_reverse(CHARSET_INFO *cs,
uchar *str, uchar *frmend, uchar *strend,
uint nweights, uint flags, uint level)
{
if (nweights && frmend < strend && (flags & MY_STRXFRM_PAD_WITH_SPACE))
{
uint fill_length= MY_MIN((uint) (s... | O0 | c | my_strxfrm_pad_desc_and_reverse:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movl %r9d, -0x28(%rbp)
cmpl $0x0, -0x24(%rbp)
je 0xacd13
movq -0x18(%rbp), %rax
cmpq -0x20(%rbp), %rax
jae ... | my_strxfrm_pad_desc_and_reverse:
push rbp
mov rbp, rsp
sub rsp, 40h
mov eax, [rbp+arg_0]
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
mov [rbp+var_28], r9d
cmp [rbp+var_24], 0
jz loc_ACD13
mov rax, [rbp+v... | long long my_strxfrm_pad_desc_and_reverse(
long long a1,
long long a2,
unsigned long long a3,
unsigned long long a4,
int a5,
unsigned int a6,
unsigned int a7)
{
unsigned int v8; // [rsp+4h] [rbp-3Ch]
unsigned long long v11; // [rsp+28h] [rbp-18h]
v11 = a3;... | my_strxfrm_pad_desc_and_reverse:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV EAX,dword ptr [RBP + 0x10]
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
MOV dword ptr [RBP + -0x28],R9D
CMP dword ptr [RBP + -0x24],0x0... |
long my_strxfrm_pad_desc_and_reverse
(long param_1,long param_2,ulong param_3,ulong param_4,int param_5,uint param_6,
int4 param_7)
{
int4 local_44;
int8 local_20;
local_20 = param_3;
if (((param_5 != 0) && (param_3 < param_4)) && ((param_6 & 0x40) != 0)) {
if ((uint)((int... | |
9,448 | my_strxfrm_pad_desc_and_reverse | eloqsql/strings/ctype-simple.c | size_t
my_strxfrm_pad_desc_and_reverse(CHARSET_INFO *cs,
uchar *str, uchar *frmend, uchar *strend,
uint nweights, uint flags, uint level)
{
if (nweights && frmend < strend && (flags & MY_STRXFRM_PAD_WITH_SPACE))
{
uint fill_length= MY_MIN((uint) (s... | O3 | c | my_strxfrm_pad_desc_and_reverse:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %r13d
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, -0x30(%rbp)
movq %rdi, %r12
movl 0x10(%rbp), %ecx
testl %r8d, %r8d
sete %al
cmpq %r15, %rdx
setae %sil
testb $0x40, %r13b
sete %dl
orb... | my_strxfrm_pad_desc_and_reverse:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r13d, r9d
mov r15, rcx
mov r14, rdx
mov [rbp+var_30], rsi
mov r12, rdi
mov ecx, [rbp+arg_0]
test r8d, r8d
setz al
cmp rdx, r15
setnb sil
test r... | long long my_strxfrm_pad_desc_and_reverse(
long long a1,
long long a2,
unsigned long long a3,
unsigned long long a4,
int a5,
unsigned int a6,
unsigned int a7)
{
unsigned long long v9; // r14
long long v10; // rcx
long long v11; // rbx
v9 = a3;
v10 = a7... | my_strxfrm_pad_desc_and_reverse:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R13D,R9D
MOV R15,RCX
MOV R14,RDX
MOV qword ptr [RBP + -0x30],RSI
MOV R12,RDI
MOV ECX,dword ptr [RBP + 0x10]
TEST R8D,R8D
SETZ AL
CMP RDX,R15
SETNC SIL
TEST R13B,0x40
SETZ DL
OR DL,AL
OR DL,SIL
JNZ 0x00173df2
... |
long my_strxfrm_pad_desc_and_reverse
(long param_1,long param_2,ulong param_3,ulong param_4,int param_5,uint param_6,
int4 param_7)
{
uint uVar1;
uint uVar2;
if (((param_6 & 0x40) != 0 && param_5 != 0) && param_3 < param_4) {
uVar1 = (int)param_4 - (int)param_3;
uVar2 = ... | |
9,449 | JS_ResizeAtomHash | bluesky950520[P]quickjs/quickjs.c | static int JS_ResizeAtomHash(JSRuntime *rt, int new_hash_size)
{
JSAtomStruct *p;
uint32_t new_hash_mask, h, i, hash_next1, j, *new_hash;
assert((new_hash_size & (new_hash_size - 1)) == 0); /* power of two */
new_hash_mask = new_hash_size - 1;
new_hash = js_mallocz_rt(rt, sizeof(rt->atom_hash[0]) *... | O0 | c | JS_ResizeAtomHash:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movl %esi, 0x34(%rsp)
movl 0x34(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x24(%rsp)
movq 0x38(%rsp), %rdi
movslq 0x34(%rsp), %rsi
shlq $0x2, %rsi
callq 0x21b60
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x5c8c5
movl $0xffffffff, 0x44(%rsp) # imm = 0xFFFFFFFF
jm... | JS_ResizeAtomHash:
sub rsp, 48h
mov [rsp+48h+var_10], rdi
mov [rsp+48h+var_14], esi
mov eax, [rsp+48h+var_14]
sub eax, 1
mov [rsp+48h+var_24], eax
mov rdi, [rsp+48h+var_10]
movsxd rsi, [rsp+48h+var_14]
shl rsi, 2
call js_mallocz_rt
mov [rsp+48h+var_40], rax
cmp [rsp+48h+var_4... | long long JS_ResizeAtomHash(long long a1, int a2)
{
long long v3; // [rsp+8h] [rbp-40h]
unsigned int v4; // [rsp+14h] [rbp-34h]
unsigned int v5; // [rsp+18h] [rbp-30h]
unsigned int i; // [rsp+1Ch] [rbp-2Ch]
unsigned int j; // [rsp+20h] [rbp-28h]
long long v8; // [rsp+28h] [rbp-20h]
v3 = js_mallocz_rt(a1... | JS_ResizeAtomHash:
SUB RSP,0x48
MOV qword ptr [RSP + 0x38],RDI
MOV dword ptr [RSP + 0x34],ESI
MOV EAX,dword ptr [RSP + 0x34]
SUB EAX,0x1
MOV dword ptr [RSP + 0x24],EAX
MOV RDI,qword ptr [RSP + 0x38]
MOVSXD RSI,dword ptr [RSP + 0x34]
SHL RSI,0x2
CALL 0x00121b60
MOV qword ptr [RSP + 0x8],RAX
CMP qword ptr [RSP + 0x8],0x0... |
int4 JS_ResizeAtomHash(long param_1,int param_2)
{
uint uVar1;
long lVar2;
uint uVar3;
long lVar4;
int4 local_2c;
int4 local_28;
int4 local_4;
lVar4 = js_mallocz_rt(param_1,(long)param_2 << 2);
if (lVar4 == 0) {
local_4 = 0xffffffff;
}
else {
for (local_2c = 0; local_2c < *(uint *)(pa... | |
9,450 | JS_ResizeAtomHash | bluesky950520[P]quickjs/quickjs.c | static int JS_ResizeAtomHash(JSRuntime *rt, int new_hash_size)
{
JSAtomStruct *p;
uint32_t new_hash_mask, h, i, hash_next1, j, *new_hash;
assert((new_hash_size & (new_hash_size - 1)) == 0); /* power of two */
new_hash_mask = new_hash_size - 1;
new_hash = js_mallocz_rt(rt, sizeof(rt->atom_hash[0]) *... | O2 | c | JS_ResizeAtomHash:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
movslq %esi, %rsi
shlq $0x2, %rsi
callq 0x171a8
testq %rax, %rax
je 0x34628
movq %rax, %r15
leal -0x1(%rbx), %eax
andl $0x3fffffff, %eax # imm = 0x3FFFFFFF
movq 0x60(%r14), %rsi
xorl %ecx, %ecx
movl 0x50(%r14), %edx
cmpq %rdx, %rc... | JS_ResizeAtomHash:
push r15
push r14
push rbx
mov ebx, esi
mov r14, rdi
movsxd rsi, esi
shl rsi, 2
call js_mallocz_rt
test rax, rax
jz short loc_34628
mov r15, rax
lea eax, [rbx-1]
and eax, 3FFFFFFFh
mov rsi, [r14+60h]
xor ecx, ecx
loc_345D2:
mov edx, [r14+50h]
c... | long long JS_ResizeAtomHash(long long a1, int a2)
{
long long v4; // rax
long long v5; // r15
int v6; // eax
long long v7; // rsi
unsigned long long i; // rcx
unsigned int j; // edx
long long v10; // rdi
unsigned int v11; // r8d
long long v12; // r9
v4 = js_mallocz_rt(a1, 4LL * a2);
if ( !v4 )
... | JS_ResizeAtomHash:
PUSH R15
PUSH R14
PUSH RBX
MOV EBX,ESI
MOV R14,RDI
MOVSXD RSI,ESI
SHL RSI,0x2
CALL 0x001171a8
TEST RAX,RAX
JZ 0x00134628
MOV R15,RAX
LEA EAX,[RBX + -0x1]
AND EAX,0x3fffffff
MOV RSI,qword ptr [R14 + 0x60]
XOR ECX,ECX
LAB_001345d2:
MOV EDX,dword ptr [R14 + 0x50]
CMP RCX,RDX
JNC 0x0013460e
MOV EDX,dword... |
int8 JS_ResizeAtomHash(long param_1,int param_2)
{
uint uVar1;
long lVar2;
long lVar3;
long lVar4;
int8 uVar5;
ulong uVar6;
uint uVar7;
ulong uVar8;
lVar4 = js_mallocz_rt(param_1,(long)param_2 << 2);
if (lVar4 == 0) {
uVar5 = 0xffffffffffffffff;
}
else {
lVar2 = *(long *)(param_1 + ... | |
9,451 | string_from[abi:cxx11](std::vector<int, std::allocator<int>> const&) | monkey531[P]llama/common/common.cpp | std::string string_from(const std::vector<int> & values) {
std::stringstream buf;
buf << "[ ";
bool first = true;
for (auto e : values) {
if (first) {
first = false;
} else {
buf << ", ";
}
buf << std::to_string(e);
}
buf << " ]";
ret... | O2 | cpp | string_from[abi:cxx11](std::vector<int, std::allocator<int>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %rsi, %r15
movq %rdi, 0x8(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x24650
leaq 0x40(%rsp), %r14
leaq 0x600b7(%rip), %rsi # 0xb4b2f
movq %r... | _Z11string_fromB5cxx11RKSt6vectorIiSaIiEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 1B8h
mov r15, rsi
mov [rsp+1E8h+var_1E0], rdi
lea rdi, [rsp+1E8h+var_1B8]
call __ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev; std::basic_stringstream<char,std... | long long string_from[abi:cxx11](long long a1, int **a2)
{
int *v2; // r13
int *v3; // rbx
char v4; // al
int v5; // ebp
_BYTE v7[32]; // [rsp+10h] [rbp-1D8h] BYREF
_BYTE v8[16]; // [rsp+30h] [rbp-1B8h] BYREF
_BYTE v9[8]; // [rsp+40h] [rbp-1A8h] BYREF
_BYTE v10[416]; // [rsp+48h] [rbp-1A0h] BYREF
st... | string_from[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x1b8
MOV R15,RSI
MOV qword ptr [RSP + 0x8],RDI
LEA RDI,[RSP + 0x30]
CALL 0x00124650
LEA R14,[RSP + 0x40]
LAB_00154a71:
LEA RSI,[0x1b4b2f]
MOV RDI,R14
CALL 0x00124890
MOV R13,qword ptr [R15]
MOV RBX,qword ptr [R15 + 0x8]
MOV AL,0x1
LE... |
/* string_from[abi:cxx11](std::vector<int, std::allocator<int> > const&) */
vector * string_from_abi_cxx11_(vector *param_1)
{
int iVar1;
int *piVar2;
bool bVar3;
int8 *in_RSI;
int *piVar4;
__cxx11 local_1d8 [32];
stringstream local_1b8 [16];
ostream local_1a8 [376];
std::__cxx11::stringstream::... | |
9,452 | my_uca_coll_init_utf8mb3 | eloqsql/strings/ctype-uca.c | static my_bool
my_uca_coll_init_utf8mb3(struct charset_info_st *cs, MY_CHARSET_LOADER *loader)
{
if (my_coll_init_uca(cs, loader))
return TRUE;
if (my_uca_collation_can_optimize_no_contractions(cs))
my_uca_handler_map(cs, &my_uca_package_utf8mb3,
&my_uca_package_no_contractions_utf8mb... | O0 | c | my_uca_coll_init_utf8mb3:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x7d900
cmpb $0x0, %al
je 0x7ed97
movb $0x1, -0x1(%rbp)
jmp 0x7edbf
movq -0x10(%rbp), %rdi
callq 0x898f0
cmpb $0x0, %al
je 0x7edbb
movq -0x10(%rbp), %rd... | my_uca_coll_init_utf8mb3:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rdi, [rbp+var_10]
mov rsi, [rbp+var_18]
call my_coll_init_uca
cmp al, 0
jz short loc_7ED97
mov [rbp+var_1], 1
jmp short loc_7EDBF
loc_7ED97:
mov rdi, [rbp+var_1... | char my_uca_coll_init_utf8mb3(long long a1, long long a2)
{
if ( (unsigned __int8)my_coll_init_uca(a1, a2) )
return 1;
if ( (unsigned __int8)my_uca_collation_can_optimize_no_contractions(a1) )
my_uca_handler_map(a1, my_uca_package_utf8mb3, my_uca_package_no_contractions_utf8mb3);
return 0;
}
| my_uca_coll_init_utf8mb3:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RDI,qword ptr [RBP + -0x10]
MOV RSI,qword ptr [RBP + -0x18]
CALL 0x0017d900
CMP AL,0x0
JZ 0x0017ed97
MOV byte ptr [RBP + -0x1],0x1
JMP 0x0017edbf
LAB_0017ed97:
MOV RDI,qword ptr [RBP + -0x10]
... |
int1 my_uca_coll_init_utf8mb3(int8 param_1,int8 param_2)
{
char cVar1;
int1 local_9;
cVar1 = my_coll_init_uca(param_1,param_2);
if (cVar1 == '\0') {
cVar1 = my_uca_collation_can_optimize_no_contractions(param_1);
if (cVar1 != '\0') {
my_uca_handler_map(param_1,my_uca_package_utf8mb3,my_uca_pa... | |
9,453 | std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> nlohmann::json_abi_v3_11_3::detail::concat<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::... | monkey531[P]llama/common/json.hpp | inline OutStringType concat(Args && ... args)
{
OutStringType str;
str.reserve(concat_length(args...));
concat_into(str, std::forward<Args>(args)...);
return str;
} | O2 | cpp | std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> nlohmann::json_abi_v3_11_3::detail::concat<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::... | _ZN8nlohmann16json_abi_v3_11_36detail6concatINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJRA6_KcS8_RA12_S9_EEET_DpOT0_:
push r15
push r14
push r12
push rbx
push rax
mov r14, rcx
mov r15, rdx
mov r12, rsi
mov rbx, rdi
lea rax, [rdi+10h]
mov [rdi], rax
and qword ptr [rdi... | long long nlohmann::json_abi_v3_11_3::detail::concat<std::string,char const(&)[6],std::string,char const(&)[12]>(
long long a1,
long long a2,
long long a3,
long long a4)
{
long long v6; // rax
*(_QWORD *)a1 = a1 + 16;
*(_QWORD *)(a1 + 8) = 0LL;
*(_BYTE *)(a1 + 16) = 0;
v6 = n... | concat<std::__cxx11::string,char_const(&)[6],std::__cxx11::string,char_const(&)[12]>:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RCX
MOV R15,RDX
MOV R12,RSI
MOV RBX,RDI
LEA RAX,[RDI + 0x10]
MOV qword ptr [RDI],RAX
AND qword ptr [RDI + 0x8],0x0
MOV byte ptr [RDI + 0x10],0x0
LAB_0017f849:
MOV RDI,RSI
MOV RSI,RD... |
/* std::__cxx11::string nlohmann::json_abi_v3_11_3::detail::concat<std::__cxx11::string, char const
(&) [6], std::__cxx11::string, char const (&) [12]>(char const (&) [6], std::__cxx11::string&&,
char const (&) [12]) */
detail * __thiscall
nlohmann::json_abi_v3_11_3::detail::
concat<std::__cxx11::string,char_co... | |
9,454 | std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> nlohmann::json_abi_v3_11_3::detail::concat<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::... | monkey531[P]llama/common/json.hpp | inline OutStringType concat(Args && ... args)
{
OutStringType str;
str.reserve(concat_length(args...));
concat_into(str, std::forward<Args>(args)...);
return str;
} | O3 | cpp | std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> nlohmann::json_abi_v3_11_3::detail::concat<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::... | _ZN8nlohmann16json_abi_v3_11_36detail6concatINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJRA28_KcPS9_EEET_DpOT0_:
push r15
push r14
push r13
push r12
push rbx
mov r14, rdx
mov r15, rsi
mov rbx, rdi
lea r13, [rdi+10h]
mov [rdi], r13
mov qword ptr [rdi+8], 0
mov byte ptr... | long long nlohmann::json_abi_v3_11_3::detail::concat<std::string,char const(&)[28],char const*>(
long long a1,
long long a2,
_QWORD *a3)
{
long long v4; // r12
long long v5; // rax
*(_QWORD *)a1 = a1 + 16;
*(_QWORD *)(a1 + 8) = 0LL;
*(_BYTE *)(a1 + 16) = 0;
v4 = strlen(a2);
v5 = ... | concat<std::__cxx11::string,char_const(&)[28],char_const*>:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
LEA R13,[RDI + 0x10]
MOV qword ptr [RDI],R13
MOV qword ptr [RDI + 0x8],0x0
MOV byte ptr [RDI + 0x10],0x0
MOV RDI,RSI
CALL 0x0011b3f0
MOV R12,RAX
MOV RDI,qword ptr [R14]
CALL 0x001... |
/* std::__cxx11::string nlohmann::json_abi_v3_11_3::detail::concat<std::__cxx11::string, char const
(&) [28], char const*>(char const (&) [28], char const*&&) */
detail * __thiscall
nlohmann::json_abi_v3_11_3::detail::concat<std::__cxx11::string,char_const(&)[28],char_const*>
(detail *this,char *param_1,... | |
9,455 | common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int>> const&, bool) | llama.cpp/common/common.cpp | void common_batch_add(
struct llama_batch & batch,
llama_token id,
llama_pos pos,
const std::vector<llama_seq_id> & seq_ids,
bool logits) {
GGML_ASSERT(batch.seq_id[batch.n_tokens] && "llama_batch size exceed... | O3 | cpp | common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int>> const&, bool):
pushq %rax
movq 0x28(%rdi), %rax
movslq (%rdi), %r9
cmpq $0x0, (%rax,%r9,8)
je 0xb4b89
movq 0x8(%rdi), %r10
movl %esi, (%r10,%r9,4)
movq 0x18(%rdi), %rsi
movslq (%rdi), %r9
movl %edx, (%rsi,%r9,4)
movq (%rcx), %rdx
movq 0x8(%r... | _Z16common_batch_addR11llama_batchiiRKSt6vectorIiSaIiEEb:
push rax
mov rax, [rdi+28h]
movsxd r9, dword ptr [rdi]
cmp qword ptr [rax+r9*8], 0
jz short loc_B4B89
mov r10, [rdi+8]
mov [r10+r9*4], esi
mov rsi, [rdi+18h]
movsxd r9, dword ptr [rdi]
mov [rsi+r9*4], edx
mov rdx, [rcx]
mov ... | long long common_batch_add(int *a1, int a2, int a3, long long *a4, char a5)
{
long long v5; // rax
long long v6; // rax
long long v7; // r9
long long v8; // rdx
long long v9; // rsi
long long v10; // rcx
long long v11; // rcx
long long v12; // rsi
double v14; // xmm0_8
long long v15; // [rsp-8h] [r... | common_batch_add:
PUSH RAX
MOV RAX,qword ptr [RDI + 0x28]
MOVSXD R9,dword ptr [RDI]
CMP qword ptr [RAX + R9*0x8],0x0
JZ 0x001b4b89
MOV R10,qword ptr [RDI + 0x8]
MOV dword ptr [R10 + R9*0x4],ESI
MOV RSI,qword ptr [RDI + 0x18]
MOVSXD R9,dword ptr [RDI]
MOV dword ptr [RSI + R9*0x4],EDX
MOV RDX,qword ptr [RCX]
MOV RSI,qwor... |
/* common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int> > const&, bool) */
int8
common_batch_add(llama_batch *param_1,int param_2,int param_3,vector *param_4,bool param_5)
{
long lVar1;
long lVar2;
int8 in_RAX;
long lVar3;
long lVar4;
lVar1 = *(long *)(param_1 + 0x28);
if (*... | |
9,456 | reset_events_statements_history_long() | eloqsql/storage/perfschema/pfs_events_statements.cc | void reset_events_statements_history_long(void)
{
PFS_atomic::store_u32(&events_statements_history_long_index.m_u32, 0);
events_statements_history_long_full= false;
PFS_events_statements *pfs= events_statements_history_long_array;
PFS_events_statements *pfs_last= pfs + events_statements_history_long_size;
fo... | O3 | cpp | reset_events_statements_history_long():
xorl %eax, %eax
xchgl %eax, 0x38de2d(%rip) # 0x3d08c0
movb $0x0, 0x38dde6(%rip) # 0x3d0880
movq 0x38dcdf(%rip), %rax # 0x3d0780
testq %rax, %rax
jle 0x42ba0
pushq %rbp
movq %rsp, %rbp
movq 0x38de4b(%rip), %rcx # 0x3d0900
imulq $0x590, %rax, %rax # imm = 0x590
add... | _Z36reset_events_statements_history_longv:
xor eax, eax
xchg eax, cs:events_statements_history_long_index
mov cs:events_statements_history_long_full, 0
mov rax, cs:events_statements_history_long_size
test rax, rax
jle locret_42BA0
push rbp
mov rbp, rsp
mov rcx, cs:events_statements_hist... | unsigned long long reset_events_statements_history_long(void)
{
unsigned long long result; // rax
unsigned long long v1; // rax
unsigned long long v2; // rax
__m128i v3; // xmm0
_QWORD *v4; // rcx
unsigned long long v5; // rdx
__m128i si128; // xmm1
__m128i v7; // xmm2
__m128i v8; // xmm0
__m128i v9... | reset_events_statements_history_long:
XOR EAX,EAX
XCHG dword ptr [0x004d08c0],EAX
MOV byte ptr [0x004d0880],0x0
MOV RAX,qword ptr [0x004d0780]
TEST RAX,RAX
JLE 0x00142ba0
PUSH RBP
MOV RBP,RSP
MOV RCX,qword ptr [0x004d0900]
IMUL RAX,RAX,0x590
ADD RAX,RCX
LEA RDX,[RCX + 0x590]
CMP RAX,RDX
CMOVBE RAX,RDX
ADD RAX,-0x590
XO... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* reset_events_statements_history_long() */
void reset_events_statements_history_long(void)
{
long lVar1;
int1 auVar2 [16];
int1 auVar3 [16];
ulon... | |
9,457 | string_from[abi:cxx11](llama_context const*, std::vector<int, std::allocator<int>> const&) | monkey531[P]llama/common/common.cpp | std::string string_from(const struct llama_context * ctx, const std::vector<llama_token> & tokens) {
std::stringstream buf;
buf << "[ ";
bool first = true;
for (const auto & token : tokens) {
if (!first) {
buf << ", ";
} else {
first = false;
}
... | O1 | cpp | string_from[abi:cxx11](llama_context const*, std::vector<int, std::allocator<int>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp # imm = 0x1E8
movq %rdx, %rbx
movq %rsi, 0x58(%rsp)
movq %rdi, 0x48(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x184c0
leaq 0x70(%rsp), %r14
l... | _Z11string_fromB5cxx11PK13llama_contextRKSt6vectorIiSaIiEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 1E8h
mov rbx, rdx
mov [rsp+218h+var_1C0], rsi
mov [rsp+218h+var_1D0], rdi
lea rdi, [rsp+218h+var_1B8]
call __ZNSt7__cxx1118basic_stringstreamIcSt11char_trai... | long long string_from[abi:cxx11](long long a1, long long a2, unsigned int **a3)
{
unsigned int *v4; // r13
unsigned int v5; // ebx
long long model; // rax
long long vocab; // rax
char *v8; // r12
char *v9; // rbx
char *v10; // r14
long long v11; // rbp
char *v12; // r15
signed long long v13; // rax... | string_from[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x1e8
MOV RBX,RDX
MOV qword ptr [RSP + 0x58],RSI
MOV qword ptr [RSP + 0x48],RDI
LEA RDI,[RSP + 0x60]
CALL 0x001184c0
LEA R14,[RSP + 0x70]
LAB_0011df36:
LEA RSI,[0x1a9e75]
MOV EDX,0x2
MOV RDI,R14
CALL 0x00118770
MOV R13,qword ptr [RBX]... |
/* string_from[abi:cxx11](llama_context const*, std::vector<int, std::allocator<int> > const&) */
llama_context * string_from_abi_cxx11_(llama_context *param_1,vector *param_2)
{
byte *pbVar1;
byte bVar2;
uint uVar3;
uint uVar4;
llama_context *plVar5;
uint uVar6;
bool bVar7;
int iVar8;
uint uVar9;
... | |
9,458 | resolve_collation | eloqsql/mysys/charset.c | my_bool resolve_collation(const char *cl_name,
CHARSET_INFO *default_cl,
CHARSET_INFO **cl,
myf my_flags)
{
*cl= get_charset_by_name(cl_name, my_flags);
if (*cl == NULL)
{
*cl= default_cl;
return TRUE;
}
return FALSE;
} | O3 | c | resolve_collation:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xc0, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rsi
movq %fs:0x28, %rax
movq %rax, -0x18(%rbp)
leaq -0xc8(%rbp), %rdi
movb $0x0, (%rdi)
leaq -0x13af(%rip), %rax # 0x4d2f2
movq %rax, 0x80(%rdi)
leaq -0x13ae(%rip), %rax # 0x4d301
mov... | resolve_collation:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 0C0h
mov rbx, rdx
mov r14, rsi
mov rsi, rdi
mov rax, fs:28h
mov [rbp+var_18], rax
lea rdi, [rbp+var_C8]
mov byte ptr [rdi], 0
lea rax, my_once_alloc_c
mov [rdi+80h], rax
lea rax, my_malloc_c
mov ... | bool resolve_collation(long long a1, long long a2, long long *a3, long long a4)
{
long long v6; // rcx
bool result; // al
char v8[128]; // [rsp+8h] [rbp-C8h] BYREF
long long ( *v9)(long long); // [rsp+88h] [rbp-48h]
long long ( *v10)(long long, long long, long long, long long); // [rsp+90h] [rbp-40h]
long ... | resolve_collation:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0xc0
MOV RBX,RDX
MOV R14,RSI
MOV RSI,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
LEA RDI,[RBP + -0xc8]
MOV byte ptr [RDI],0x0
LEA RAX,[0x14d2f2]
MOV qword ptr [RDI + 0x80],RAX
LEA RAX,[0x14d301]
MOV qword ptr [RDI + 0x88],RAX
LEA RAX,... |
bool resolve_collation(int8 param_1,long param_2,long *param_3,int8 param_4)
{
long lVar1;
long in_FS_OFFSET;
int1 local_d0 [128];
code *local_50;
code *local_48;
code *local_40;
code *local_38;
int *local_30;
code *local_28;
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
local_d... | |
9,459 | testing::internal::FilePath::DirectoryExists() const | giladroyz[P]FindPeaks/build_O1/_deps/googletest-src/googletest/src/gtest-filepath.cc | bool FilePath::DirectoryExists() const {
bool result = false;
#ifdef GTEST_OS_WINDOWS
// Don't strip off trailing separator if path is a root directory on
// Windows (like "C:\\").
const FilePath& path(IsRootDirectory() ? *this
: RemoveTrailingPathSeparator());
#else
c... | O1 | cpp | testing::internal::FilePath::DirectoryExists() const:
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movl $0x90, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x82b0
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x8440
movl 0x18(%r14), %ecx
andl $0xf000, %ecx # imm = 0xF000
xorl $0x4000, %... | _ZNK7testing8internal8FilePath15DirectoryExistsEv:
push r14
push rbx
sub rsp, 98h
mov rbx, rdi
lea r14, [rsp+0A8h+var_A0]
mov edx, 90h
mov rdi, r14
xor esi, esi
call _memset
mov rdi, [rbx]
mov rsi, r14
call _stat
mov ecx, [r14+18h]
and ecx, 0F000h
xor ecx, 4000h
o... | bool testing::internal::FilePath::DirectoryExists(testing::internal::FilePath *this)
{
int v1; // eax
_BYTE v3[24]; // [rsp+8h] [rbp-A0h] BYREF
__int16 v4; // [rsp+20h] [rbp-88h]
memset(v3, 0LL, 144LL);
v1 = stat(*(_QWORD *)this, v3);
return (v1 | v4 & 0xF000 ^ 0x4000) == 0;
}
| DirectoryExists:
PUSH R14
PUSH RBX
SUB RSP,0x98
MOV RBX,RDI
LEA R14,[RSP + 0x8]
MOV EDX,0x90
MOV RDI,R14
XOR ESI,ESI
CALL 0x001082b0
MOV RDI,qword ptr [RBX]
MOV RSI,R14
CALL 0x00108440
MOV ECX,dword ptr [R14 + 0x18]
AND ECX,0xf000
XOR ECX,0x4000
OR ECX,EAX
SETZ AL
ADD RSP,0x98
POP RBX
POP R14
RET
|
/* testing::internal::FilePath::DirectoryExists() const */
int8 __thiscall testing::internal::FilePath::DirectoryExists(FilePath *this)
{
int iVar1;
int4 extraout_var;
stat local_a0;
memset(&local_a0,0,0x90);
iVar1 = stat(*(char **)this,&local_a0);
return CONCAT71((int7)(CONCAT44(extraout_var,iVar1) >... | |
9,460 | my_instr_simple | eloqsql/strings/ctype-simple.c | uint my_instr_simple(CHARSET_INFO *cs,
const char *b, size_t b_length,
const char *s, size_t s_length,
my_match_t *match, uint nmatch)
{
register const uchar *str, *search, *end, *search_end;
if (s_length <= b_length)
{
if (!s_length)
{
... | O3 | c | my_instr_simple:
xorl %eax, %eax
cmpq %rdx, %r8
ja 0x708f0
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl 0x10(%rbp), %r11d
testq %r8, %r8
je 0x708b6
addq %rsi, %rdx
subq %r8, %rdx
incq %rdx
movq %rsi, %r10
cmpq %rdx, %r10
je 0x708e6
movq %r10, %rbx
movq 0x58(%rdi), %r14
incq %r1... | my_instr_simple:
xor eax, eax
cmp r8, rdx
ja locret_708F0
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
mov r11d, [rbp+10h]
test r8, r8
jz loc_708B6
add rdx, rsi
sub rdx, r8
inc rdx
mov r10, rsi
loc_70836:
cmp r10, rdx
jz loc_7... | long long my_instr_simple(
long long a1,
unsigned __int8 *a2,
unsigned long long a3,
unsigned __int8 *a4,
unsigned long long a5,
_DWORD *a6,
int a7)
{
long long result; // rax
long long v8; // rdx
unsigned __int8 *v9; // r10
unsigned __int8 *v10; // rbx
... | my_instr_simple:
XOR EAX,EAX
CMP R8,RDX
JA 0x001708f0
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV R11D,dword ptr [RBP + 0x10]
TEST R8,R8
JZ 0x001708b6
ADD RDX,RSI
SUB RDX,R8
INC RDX
MOV R10,RSI
LAB_00170836:
CMP R10,RDX
JZ 0x001708e6
MOV RBX,R10
MOV R14,qword ptr [RDI + 0x58]
INC R10
MOVZX R15... |
int8
my_instr_simple(long param_1,byte *param_2,ulong param_3,byte *param_4,ulong param_5,
int4 *param_6,int param_7)
{
byte *pbVar1;
byte *pbVar2;
int8 uVar3;
long lVar4;
long lVar5;
int iVar6;
byte *pbVar7;
byte *pbVar8;
ulong uVar9;
uVar3 = 0;
if (param_5 <= param_3) {
i... | |
9,461 | bf_pow_ui_ui | bluesky950520[P]quickjs/libbf.c | static int bf_pow_ui_ui(bf_t *r, limb_t a1, limb_t b,
limb_t prec, bf_flags_t flags)
{
bf_t a;
int ret;
if (a1 == 10 && b <= LIMB_DIGITS) {
/* use precomputed powers. We do not round at this point
because we expect the caller to do it */
ret = bf_set_ui(r,... | O1 | c | bf_pow_ui_ui:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rdi, %r12
cmpq $0xa, %rsi
setne %al
cmpq $0x14, %rdx
setae %cl
orb %al, %cl
jne 0x88124
leaq 0x194a6(%rip), %rax # 0xa15b0
movq (%rax,%r14,8), %rsi
movq %r12, %rdi
addq $0x28, %rsp
... | bf_pow_ui_ui:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r15, rcx
mov r14, rdx
mov r12, rdi
cmp rsi, 0Ah
setnz al
cmp rdx, 14h
setnb cl
or cl, al
jnz short loc_88124
lea rax, mp_pow_dec
mov rsi, [rax+r14*8]
mov rdi, r12
add ... | long long bf_pow_ui_ui(_QWORD **a1, unsigned long long a2, unsigned long long a3, long long a4, unsigned int a5)
{
int v9; // ebp
unsigned int v10; // ebx
_QWORD *v11; // [rsp+0h] [rbp-58h] BYREF
int v12; // [rsp+8h] [rbp-50h]
unsigned long long v13; // [rsp+10h] [rbp-48h]
__int128 v14; // [rsp+18h] [rbp-4... | bf_pow_ui_ui:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV R15,RCX
MOV R14,RDX
MOV R12,RDI
CMP RSI,0xa
SETNZ AL
CMP RDX,0x14
SETNC CL
OR CL,AL
JNZ 0x00188124
LEA RAX,[0x1a15b0]
MOV RSI,qword ptr [RAX + R14*0x8]
MOV RDI,R12
ADD RSP,0x28
POP RBX
POP R12
POP R13
POP R14
POP R15
POP RBP
JMP 0x0018... |
ulong bf_pow_ui_ui(int8 *param_1,long param_2,ulong param_3,int8 param_4,
int4 param_5)
{
uint uVar1;
uint uVar2;
ulong uVar3;
int8 *local_58;
int4 local_50;
int8 local_48;
int8 local_40;
long lStack_38;
if (param_3 < 0x14 && param_2 == 10) {
uVar3 = bf_set_ui(param_1,*(int8... | |
9,462 | ftxui::TerminalInputParser::ParseESC() | Andrewchistyakov[P]flashcards_lyc/build_O0/_deps/ftxui-src/src/ftxui/component/terminal_input_parser.cpp | TerminalInputParser::Output TerminalInputParser::ParseESC() {
if (!Eat()) {
return UNCOMPLETED;
}
switch (Current()) {
case 'P':
return ParseDCS();
case '[':
return ParseCSI();
case ']':
return ParseOSC();
default:
if (!Eat()) {
return UNCOMPLETED;
} else ... | O0 | cpp | ftxui::TerminalInputParser::ParseESC():
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x20(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x72ab0
testb $0x1, %al
jne 0x72b22
movq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x73b90
jmp 0x72ba0
movq -0x10(%rbp)... | _ZN5ftxui19TerminalInputParser8ParseESCEv:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_20], rdi
mov [rbp+var_18], rdi
mov [rbp+var_8], rsi
mov rdi, [rbp+var_8]; this
mov [rbp+var_10], rdi
call _ZN5ftxui19TerminalInputParser3EatEv; ftxui::TerminalInputParser::Eat(void)
test al, 1... | ftxui::TerminalInputParser * ftxui::TerminalInputParser::ParseESC(
ftxui::TerminalInputParser *this,
ftxui::TerminalInputParser *a2)
{
char v2; // al
if ( ftxui::TerminalInputParser::Eat(a2) )
{
v2 = ftxui::TerminalInputParser::Current(a2);
switch ( v2 )
{
case 'P':
ftxu... | ParseESC:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x20],RDI
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x8],RSI
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RDI
CALL 0x00172ab0
TEST AL,0x1
JNZ 0x00172b22
MOV RDI,qword ptr [RBP + -0x20]
XOR ESI,ESI
CALL 0x00173b90
JMP 0x00172ba0
... |
/* ftxui::TerminalInputParser::ParseESC() */
Output * ftxui::TerminalInputParser::ParseESC(void)
{
char cVar1;
ulong uVar2;
TerminalInputParser *in_RSI;
Output *in_RDI;
uVar2 = Eat(in_RSI);
if ((uVar2 & 1) == 0) {
Output::Output(in_RDI,0);
}
else {
cVar1 = Current(in_RSI);
if (cVar1 ==... | |
9,463 | ma_clear_session_state | eloqsql/libmariadb/libmariadb/mariadb_lib.c | static void ma_clear_session_state(MYSQL *mysql)
{
uint i;
if (!mysql || !mysql->extension)
return;
for (i= SESSION_TRACK_BEGIN; i <= SESSION_TRACK_END; i++)
{
list_free(mysql->extension->session_state[i].list, 0);
}
memset(mysql->extension->session_state, 0, sizeof(struct st_mariadb_session_state... | O3 | c | ma_clear_session_state:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x1ae50
movq %rdi, %rbx
cmpq $0x0, 0x4f0(%rdi)
je 0x1ae50
movl $0x8, %r14d
movq 0x4f0(%rbx), %rax
movq (%rax,%r14), %rdi
xorl %esi, %esi
callq 0x1d85b
addq $0x10, %r14
cmpq $0x68, %r14
jne 0x1ae12
movq 0x4f0(%rbx), %rax
xorps %... | ma_clear_session_state:
push rbp
mov rbp, rsp
push r14
push rbx
test rdi, rdi
jz short loc_1AE50
mov rbx, rdi
cmp qword ptr [rdi+4F0h], 0
jz short loc_1AE50
mov r14d, 8
loc_1AE12:
mov rax, [rbx+4F0h]
mov rdi, [rax+r14]
xor esi, esi
call list_free
add r14, 10h
cmp... | long long ma_clear_session_state(long long a1)
{
long long i; // r14
long long result; // rax
if ( a1 && *(_QWORD *)(a1 + 1264) )
{
for ( i = 8LL; i != 104; i += 16LL )
list_free(*(_QWORD *)(*(_QWORD *)(a1 + 1264) + i), 0LL);
result = *(_QWORD *)(a1 + 1264);
*(_OWORD *)(result + 88) = 0LL;
... | ma_clear_session_state:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
TEST RDI,RDI
JZ 0x0011ae50
MOV RBX,RDI
CMP qword ptr [RDI + 0x4f0],0x0
JZ 0x0011ae50
MOV R14D,0x8
LAB_0011ae12:
MOV RAX,qword ptr [RBX + 0x4f0]
MOV RDI,qword ptr [RAX + R14*0x1]
XOR ESI,ESI
CALL 0x0011d85b
ADD R14,0x10
CMP R14,0x68
JNZ 0x0011ae12
MOV RAX,qw... |
void ma_clear_session_state(long param_1)
{
long lVar1;
if ((param_1 != 0) && (*(long *)(param_1 + 0x4f0) != 0)) {
lVar1 = 8;
do {
list_free(*(int8 *)(*(long *)(param_1 + 0x4f0) + lVar1),0);
lVar1 = lVar1 + 0x10;
} while (lVar1 != 0x68);
lVar1 = *(long *)(param_1 + 0x4f0);
*(int... | |
9,464 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | llama.cpp/common/json.hpp | const_reference at(KeyType && key) const
{
// at only works for objects
if (JSON_HEDLEY_UNLIKELY(!is_object()))
{
JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
}
auto it = m_data.m_value.object->find(std::forward... | O3 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA5_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERKSD_OSJ_:
push rbp; void *
push r15; int
push r1... | _ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA5_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERKSD_OSJ_:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SU... |
char * _ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA5_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERKSD_OSJ_
(basic_json<nlohmann::j... | ||
9,465 | quantize_row_tq2_0_ref | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-quants.c | void quantize_row_tq2_0_ref(const float * restrict x, block_tq2_0 * restrict y, int64_t k) {
assert(k % QK_K == 0);
const int64_t nb = k / QK_K;
for (int64_t i = 0; i < nb; i++) {
float amax = 0.0f; // absolute max
for (int j = 0; j < QK_K; j++) {
const float v = x[j];
... | O3 | c | quantize_row_tq2_0_ref:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, 0x10(%rsp)
testb %dl, %dl
jne 0x32ec4
sarq $0x8, %rdx
testq %rdx, %rdx
jle 0x32eb5
movq %rdi, %rbp
xorl %r8d, %r8d
movaps 0x192d9(%rip), %xmm2 # 0x4c020
movq %rdx, 0x8(%rsp)
xorl %eax, %eax
xorps %xm... | quantize_row_tq2_0_ref:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov [rsp+78h+var_68], rsi
test dl, dl
jnz loc_32EC4
sar rdx, 8
test rdx, rdx
jle loc_32EB5
mov rbp, rdi
xor r8d, r8d
movaps xmm2, cs:xmmword_4C020
mov [rsp+78h+var_70], rdx... | void quantize_row_tq2_0_ref(float *a1, long long a2, long long a3)
{
long long v3; // rdx
long long v5; // r8
long long v6; // rax
__m128 v7; // xmm0
__m128 v8; // rt1
float v9; // xmm3_4
unsigned int v10; // eax
float v11; // xmm0_4
unsigned int v12; // ecx
unsigned int v13; // edx
__m128i v14; ... | quantize_row_tq2_0_ref:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RSP + 0x10],RSI
TEST DL,DL
JNZ 0x00132ec4
SAR RDX,0x8
TEST RDX,RDX
JLE 0x00132eb5
MOV RBP,RDI
XOR R8D,R8D
MOVAPS XMM2,xmmword ptr [0x0014c020]
MOV qword ptr [RSP + 0x8],RDX
LAB_00132d4c:
XOR EAX,EAX
XORPS XMM0,XMM0... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void quantize_row_tq2_0_ref(float *param_1,long param_2,long param_3)
{
bool bVar1;
bool bVar2;
bool bVar3;
long lVar4;
long lVar5;
ushort uVar6;
float fVar7;
char cVar8;
float *pfVar9;
long lVar10;
ulong uVar1... | |
9,466 | evmone::(anonymous namespace)::set_option(evmc_vm*, char const*, char const*) | corpus-core[P]colibri-stateless/build_O2/_deps/evmone_external-src/lib/evmone/vm.cpp | evmc_set_option_result set_option(evmc_vm* c_vm, char const* c_name, char const* c_value) noexcept
{
const auto name = (c_name != nullptr) ? std::string_view{c_name} : std::string_view{};
const auto value = (c_value != nullptr) ? std::string_view{c_value} : std::string_view{};
auto& vm = *static_cast<VM*>(c... | O2 | cpp | evmone::(anonymous namespace)::set_option(evmc_vm*, char const*, char const*):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
je 0x2dd14
movq %r14, %rdi
callq 0x220d0
movq %rax, %r15
jmp 0x2dd17
xorl %r15d, %r15d
testq %r12, %r12
... | _ZN6evmone12_GLOBAL__N_110set_optionEP7evmc_vmPKcS4_:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 10h
mov r12, rdx
mov r14, rsi
mov rbx, rdi
test rsi, rsi
jz short loc_2DD14
mov rdi, r14
call _strlen
mov r15, rax
jmp short loc_2DD17
loc_2DD14:
xor r15d... | long long evmone::`anonymous namespace'::set_option(long long a1, long long a2, long long a3)
{
long long v4; // r15
long long v5; // r13
unsigned int v6; // ebx
long long *v8; // r14
long long v10; // [rsp+0h] [rbp-38h] BYREF
_BYTE v11[48]; // [rsp+8h] [rbp-30h] BYREF
if ( a2 )
v4 = strlen(a2);
e... | set_option:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV R12,RDX
MOV R14,RSI
MOV RBX,RDI
TEST RSI,RSI
JZ 0x0012dd14
MOV RDI,R14
CALL 0x001220d0
MOV R15,RAX
JMP 0x0012dd17
LAB_0012dd14:
XOR R15D,R15D
LAB_0012dd17:
TEST R12,R12
JZ 0x0012dd29
MOV RDI,R12
CALL 0x001220d0
MOV R13,RAX
JMP 0x0012dd2c
LAB_0012... |
/* evmone::(anonymous namespace)::set_option(evmc_vm*, char const*, char const*) */
int8 evmone::(anonymous_namespace)::set_option(evmc_vm *param_1,char *param_2,char *param_3)
{
bool bVar1;
size_t sVar2;
size_t sVar3;
evmone *peVar4;
evmone aeStack_38 [8];
evmone local_30 [8];
peVar4 = aeStack_38;
... | |
9,467 | MyCTX_nopad::init(evp_cipher_st const*, int, unsigned char const*, unsigned int, unsigned char const*, unsigned int) | eloqsql/mysys_ssl/my_crypt.cc | int init(const EVP_CIPHER *cipher, int encrypt, const uchar *key, uint klen,
const uchar *iv, uint ivlen)
{
compile_time_assert(MY_AES_CTX_SIZE >= sizeof(MyCTX_nopad));
this->key= key;
this->klen= klen;
this->source_tail_len= 0;
if (ivlen)
memcpy(oiv, iv, ivlen);
DBUG_ASSERT(i... | O0 | cpp | MyCTX_nopad::init(evp_cipher_st const*, int, unsigned char const*, unsigned int, unsigned char const*, unsigned int):
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq %r9, -0x30(%rbp)
... | _ZN11MyCTX_nopad4initEPK13evp_cipher_stiPKhjS4_j:
push rbp
mov rbp, rsp
sub rsp, 50h
mov eax, [rbp+arg_0]
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
mov [rbp+var_20], rcx
mov [rbp+var_24], r8d
mov [rbp+var_30], r9
mov rax, [rbp+var_8]
mov [rbp+var_40]... | long long MyCTX_nopad::init(
_QWORD *a1,
long long a2,
unsigned int a3,
long long a4,
unsigned int a5,
long long a6,
unsigned int a7)
{
unsigned int v8; // [rsp+1Ch] [rbp-34h]
a1[26] = a4;
a1[27] = a5;
if ( a7 )
memcpy(a1 + 28, a6, a7);
v8 = MyCTX:... | init:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV EAX,dword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV dword ptr [RBP + -0x24],R8D
MOV qword ptr [RBP + -0x30],R9
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x40],... |
/* MyCTX_nopad::init(evp_cipher_st const*, int, unsigned char const*, unsigned int, unsigned char
const*, unsigned int) */
int4 __thiscall
MyCTX_nopad::init(MyCTX_nopad *this,evp_cipher_st *param_1,int param_2,uchar *param_3,uint param_4,
uchar *param_5,uint param_6)
{
int4 uVar1;
*(uchar ... | |
9,468 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | monkey531[P]llama/common/json.hpp | token_type scan_string()
{
// reset token_buffer (ignore opening quote)
reset();
// we entered the function by reading an open quote
JSON_ASSERT(current == '\"');
while (true)
{
// get next character
switch (get())
{
... | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE11scan_stringEv:
push rbp
push r15
push r14
push r13
pus... | long long nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterat... | parse<std::__cxx11::string_const&>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xe8
MOV EBP,R8D
MOV R14D,ECX
MOV R13,RDX
MOV R12,RSI
MOV RBX,RDI
XOR ESI,ESI
CALL 0x0013e66e
MOV R15,qword ptr [R12]
MOV R12,qword ptr [R12 + 0x8]
LAB_0013e5ca:
MOV RDI,RSP
MOV RSI,R13
CALL 0x0013e70e
ADD R12,R15
LAB_0013... |
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void> nlohmann::json_abi_v3_11_3::bas... | |
9,469 | insert_dynamic | eloqsql/mysys/array.c | my_bool insert_dynamic(DYNAMIC_ARRAY *array, const void * element)
{
void *buffer;
if (array->elements == array->max_element)
{ /* Call only when necessary */
if (!(buffer=alloc_dynamic(array)))
return TRUE;
}
else
{
buffer=array->buffer+(array->elements * array->size_of_element);
arr... | O0 | c | insert_dynamic:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movl 0x8(%rax), %eax
movq -0x10(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jne 0xda94b
movq -0x10(%rbp), %rdi
callq 0xda9a0
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
jne 0xda949
movb $0x1, -0x1(%rbp)
jmp ... | insert_dynamic:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_10]
mov eax, [rax+8]
mov rcx, [rbp+var_10]
cmp eax, [rcx+0Ch]
jnz short loc_DA94B
mov rdi, [rbp+var_10]
call alloc_dynamic
mov [rbp+var_20], rax
cmp rax,... | char insert_dynamic(long long a1, long long a2)
{
long long v3; // [rsp+0h] [rbp-20h]
if ( *(_DWORD *)(a1 + 8) != *(_DWORD *)(a1 + 12) )
{
v3 = (unsigned int)(*(_DWORD *)(a1 + 20) * (*(_DWORD *)(a1 + 8))++) + *(_QWORD *)a1;
LABEL_6:
memcpy(v3, a2, *(unsigned int *)(a1 + 20));
return 0;
}
v3 = al... | insert_dynamic:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX + 0x8]
MOV RCX,qword ptr [RBP + -0x10]
CMP EAX,dword ptr [RCX + 0xc]
JNZ 0x001da94b
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x001da9a0
MOV qword ptr [RBP ... |
int1 insert_dynamic(long *param_1,void *param_2)
{
void *local_28;
if ((int)param_1[1] == *(int *)((long)param_1 + 0xc)) {
local_28 = (void *)alloc_dynamic(param_1);
if (local_28 == (void *)0x0) {
return 1;
}
}
else {
local_28 = (void *)(*param_1 + (ulong)(uint)((int)param_1[1] * *(in... | |
9,470 | list_reverse | eloqsql/libmariadb/libmariadb/ma_list.c | LIST *list_reverse(LIST *root)
{
LIST *last;
last=root;
while (root)
{
last=root;
root=root->next;
last->next=last->prev;
last->prev=root;
}
return last;
} | O3 | c | list_reverse:
testq %rdi, %rdi
je 0x1cfa8
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
movq (%rdi), %rcx
movq 0x8(%rdi), %rdi
movq %rcx, 0x8(%rax)
movq %rdi, (%rax)
testq %rdi, %rdi
jne 0x1cf90
popq %rbp
retq
xorl %eax, %eax
retq
| list_reverse:
test rdi, rdi
jz short loc_1CFA8
push rbp
mov rbp, rsp
loc_1CF90:
mov rax, rdi
mov rcx, [rdi]
mov rdi, [rdi+8]
mov [rax+8], rcx
mov [rax], rdi
test rdi, rdi
jnz short loc_1CF90
pop rbp
retn
loc_1CFA8:
xor eax, eax
retn
| _QWORD * list_reverse(_QWORD *a1)
{
_QWORD *result; // rax
long long v2; // rcx
if ( !a1 )
return 0LL;
do
{
result = a1;
v2 = *a1;
a1 = (_QWORD *)a1[1];
result[1] = v2;
*result = a1;
}
while ( a1 );
return result;
}
| list_reverse:
TEST RDI,RDI
JZ 0x0011cfa8
PUSH RBP
MOV RBP,RSP
LAB_0011cf90:
MOV RAX,RDI
MOV RCX,qword ptr [RDI]
MOV RDI,qword ptr [RDI + 0x8]
MOV qword ptr [RAX + 0x8],RCX
MOV qword ptr [RAX],RDI
TEST RDI,RDI
JNZ 0x0011cf90
POP RBP
RET
LAB_0011cfa8:
XOR EAX,EAX
RET
|
int8 * list_reverse(int8 *param_1)
{
int8 *puVar1;
int8 *puVar2;
if (param_1 == (int8 *)0x0) {
return (int8 *)0x0;
}
do {
puVar2 = param_1;
puVar1 = (int8 *)param_1[1];
param_1[1] = *param_1;
*param_1 = puVar1;
param_1 = puVar1;
} while (puVar1 != (int8 *)0x0);
return puVar2;
... | |
9,471 | blst_p2_affine_compress | corpus-core[P]colibri-stateless/build_O3/_deps/blst-src/src/e2.c | void blst_p2_affine_compress(unsigned char out[96], const POINTonE2_affine *in)
{
if (vec_is_zero(in->X, 2*sizeof(in->X))) {
bytes_zero(out, 96);
out[0] = 0xc0; /* compressed and infinity bits */
} else {
limb_t sign = POINTonE2_affine_Compress_BE(out, in);
out[0] |= (unsigned... | O3 | c | blst_p2_affine_compress:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl $0xc0, %esi
movq %r14, %rdi
callq 0x6e900
testq %rax, %rax
je 0x5a78a
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
movups %xmm0, 0x41(%rbx)
movups %xmm0, 0x31(%rbx)
movups %xmm0, 0x21(%rbx)
movups %xmm0, 0x11(%... | blst_p2_affine_compress:
push rbp
mov rbp, rsp
push r14
push rbx
mov r14, rsi
mov rbx, rdi
mov esi, 0C0h
mov rdi, r14
call vec_is_zero_16x
test rax, rax
jz short loc_5A78A
xorps xmm0, xmm0
movups xmmword ptr [rbx+50h], xmm0
movups xmmword ptr [rbx+41h], xmm0
movups xmmword p... | char blst_p2_affine_compress(long long a1, long long a2)
{
char result; // al
if ( vec_is_zero_16x(a2, 192LL) )
{
*(_OWORD *)(a1 + 80) = 0LL;
*(_OWORD *)(a1 + 65) = 0LL;
*(_OWORD *)(a1 + 49) = 0LL;
*(_OWORD *)(a1 + 33) = 0LL;
*(_OWORD *)(a1 + 17) = 0LL;
*(_OWORD *)(a1 + 1) = 0LL;
res... | blst_p2_affine_compress:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
MOV ESI,0xc0
MOV RDI,R14
CALL 0x0016e900
TEST RAX,RAX
JZ 0x0015a78a
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RBX + 0x50],XMM0
MOVUPS xmmword ptr [RBX + 0x41],XMM0
MOVUPS xmmword ptr [RBX + 0x31],XMM0
MOVUPS xmmword ptr [RBX + 0x21],XMM0
... |
void blst_p2_affine_compress(byte *param_1,int8 param_2)
{
long lVar1;
byte bVar2;
lVar1 = vec_is_zero_16x(param_2,0xc0);
if (lVar1 == 0) {
bVar2 = POINTonE2_affine_Compress_BE(param_1,param_2);
bVar2 = (bVar2 & 2) << 4 | *param_1 | 0x80;
}
else {
param_1[0x50] = 0;
param_1[0x51] = 0;
... | |
9,472 | uint256_mod_inverse | corpus-core[P]colibri-stateless/src/chains/eth/precompiles/precompiles_ec.c | static bool uint256_mod_inverse(uint256_t* result, const uint256_t* a, const uint256_t* modulus) {
// Check if a is 0
if (intx_is_zero(a)) {
intx_init(result);
return false;
}
uint256_t r0, r1, s0, s1, t0, t1, q, tmp1, tmp2;
// Initialize variables for extended Euclidean algorithm
intx_init(&r0);
... | O2 | c | uint256_mod_inverse:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x72f8c
testl %eax, %eax
je 0x4a7a8
movq %rbx, %rdi
callq 0x7232c
xorl %ebx, %ebx
jmp 0x4a9ad
movq %rbx, (%rsp)
leaq 0x3... | uint256_mod_inverse:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 158h
mov rbp, rdx
mov r15, rsi
mov rbx, rdi
mov rdi, rsi
call intx_is_zero
test eax, eax
jz short loc_4A7A8
mov rdi, rbx
call intx_init
xor ebx, ebx
jmp loc_4A9AD
loc_4A7A8... | long long uint256_mod_inverse(long long a1, long long a2, long long a3)
{
_BYTE *v4; // rbx
int v5; // eax
_BYTE v7[32]; // [rsp+18h] [rbp-170h] BYREF
_BYTE v8[32]; // [rsp+38h] [rbp-150h] BYREF
_BYTE v9[32]; // [rsp+58h] [rbp-130h] BYREF
_BYTE v10[32]; // [rsp+78h] [rbp-110h] BYREF
_BYTE v11[32]; // [rs... | uint256_mod_inverse:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x158
MOV RBP,RDX
MOV R15,RSI
MOV RBX,RDI
MOV RDI,RSI
CALL 0x00172f8c
TEST EAX,EAX
JZ 0x0014a7a8
MOV RDI,RBX
CALL 0x0017232c
XOR EBX,EBX
JMP 0x0014a9ad
LAB_0014a7a8:
MOV qword ptr [RSP],RBX
LEA RDI,[RSP + 0x38]
CALL 0x0017232c
LEA R12,[R... |
ulong uint256_mod_inverse(int8 param_1,int8 param_2,int8 param_3)
{
int iVar1;
ulong uVar2;
char local_170 [32];
int1 local_150 [32];
int1 local_130 [32];
int1 local_110 [32];
int1 local_f0 [32];
int1 local_d0 [32];
int1 local_b0 [32];
int1 local_90 [32];
int1 local_70 [32];
int1 local_50 [32]... | |
9,473 | uint256_mod_inverse | corpus-core[P]colibri-stateless/src/chains/eth/precompiles/precompiles_ec.c | static bool uint256_mod_inverse(uint256_t* result, const uint256_t* a, const uint256_t* modulus) {
// Check if a is 0
if (intx_is_zero(a)) {
intx_init(result);
return false;
}
uint256_t r0, r1, s0, s1, t0, t1, q, tmp1, tmp2;
// Initialize variables for extended Euclidean algorithm
intx_init(&r0);
... | O3 | c | uint256_mod_inverse:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x7fc26
testl %eax, %eax
je 0x527f3
movq %rbx, %rdi
callq 0x7ea10
xorl %ebx, %ebx
jmp 0x52a23
movq %rbx, 0x8(%rsp)
leaq ... | uint256_mod_inverse:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 158h
mov r12, rdx
mov r14, rsi
mov rbx, rdi
mov rdi, rsi
call intx_is_zero
test eax, eax
jz short loc_527F3
mov rdi, rbx
call intx_init
xor ebx, ebx
jmp loc_52A23
loc_527F3... | long long uint256_mod_inverse(long long a1, long long a2, long long a3)
{
_BYTE *v4; // rbx
int v5; // eax
_BYTE v7[32]; // [rsp+18h] [rbp-170h] BYREF
_BYTE v8[32]; // [rsp+38h] [rbp-150h] BYREF
_BYTE v9[32]; // [rsp+58h] [rbp-130h] BYREF
_BYTE v10[32]; // [rsp+78h] [rbp-110h] BYREF
_BYTE v11[32]; // [rs... | uint256_mod_inverse:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x158
MOV R12,RDX
MOV R14,RSI
MOV RBX,RDI
MOV RDI,RSI
CALL 0x0017fc26
TEST EAX,EAX
JZ 0x001527f3
MOV RDI,RBX
CALL 0x0017ea10
XOR EBX,EBX
JMP 0x00152a23
LAB_001527f3:
MOV qword ptr [RSP + 0x8],RBX
LEA R15,[RSP + 0x78]
MOV RDI,R15
CALL 0x0... |
ulong uint256_mod_inverse(int8 param_1,int8 param_2,int8 param_3)
{
int iVar1;
ulong uVar2;
char local_170 [32];
int1 local_150 [32];
int1 local_130 [32];
int1 local_110 [32];
int1 local_f0 [32];
int1 local_d0 [32];
int1 local_b0 [32];
int1 local_90 [32];
int1 local_70 [32];
int1 local_50 [32]... | |
9,474 | minja::Expression::evaluate(std::shared_ptr<minja::Context> const&) const | llama.cpp/common/minja/minja.hpp | Value evaluate(const std::shared_ptr<Context> & context) const {
try {
return do_evaluate(context);
} catch (const std::exception & e) {
std::ostringstream out;
out << e.what();
if (location.source) out << error_location_suffix(*location.source, location.p... | O3 | cpp | minja::Expression::evaluate(std::shared_ptr<minja::Context> const&) const:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
callq *(%rax)
movq %rbx, %rax
addq $0x1a0, %rsp # imm = 0x1A0
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, ... | _ZNK5minja10Expression8evaluateERKSt10shared_ptrINS_7ContextEE:
push rbp
push r14
push rbx
sub rsp, 1A0h
mov r14, rsi
mov rbx, rdi
mov rax, [rsi]
call qword ptr [rax]
mov rax, rbx
add rsp, 1A0h
pop rbx
pop r14
pop rbp
retn
mov rbx, rax
cmp edx, 1
jnz loc_97074... | long long minja::Expression::evaluate(long long a1, void (***a2)(void))
{
(**a2)();
return a1;
}
| evaluate:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x1a0
MOV R14,RSI
MOV RBX,RDI
MOV RAX,qword ptr [RSI]
LAB_00196f1e:
CALL qword ptr [RAX]
LAB_00196f20:
MOV RAX,RBX
ADD RSP,0x1a0
POP RBX
POP R14
POP RBP
RET
|
/* minja::Expression::evaluate(std::shared_ptr<minja::Context> const&) const */
Expression * __thiscall minja::Expression::evaluate(Expression *this,shared_ptr *param_1)
{
/* try { // try from 00196f1e to 00196f1f has its CatchHandler @ 00196f2f */
(*(code *)**(int8 **)param_1)();
return this... | |
9,475 | std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> CLI::detail::join<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>(std::vector<std::__cxx11::basic_st... | MikePodsytnik[P]TCRtrie/build_O0/_deps/cli11-src/include/CLI/StringTools.hpp | std::string join(const T &v, std::string delim = ",") {
std::ostringstream s;
auto beg = std::begin(v);
auto end = std::end(v);
if(beg != end)
s << *beg++;
while(beg != end) {
s << delim << *beg++;
}
return s.str();
} | O0 | cpp | std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> CLI::detail::join<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>(std::vector<std::__cxx11::basic_st... | _ZN3CLI6detail4joinISt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EEEES8_RKT_S8_:
push rbp
mov rbp, rsp
sub rsp, 1E0h
mov [rbp+var_1D8], rdx
mov [rbp+var_1D0], rdi
mov rax, rdi
mov [rbp+var_1C8], rax
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18]... | long long CLI::detail::join<std::vector<std::string>>(long long a1, long long a2, long long a3)
{
long long v3; // rax
long long v4; // rax
long long v6; // [rsp+0h] [rbp-1E0h]
long long v8; // [rsp+20h] [rbp-1C0h] BYREF
long long v9; // [rsp+38h] [rbp-1A8h] BYREF
long long v10; // [rsp+40h] [rbp-1A0h] BYR... | join<std::vector<std::__cxx11::string,std::allocator<std::__cxx11::string>>>:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x1e0
MOV qword ptr [RBP + -0x1d8],RDX
MOV qword ptr [RBP + -0x1d0],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0x1c8],RAX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
L... |
/* std::__cxx11::string CLI::detail::join<std::vector<std::__cxx11::string,
std::allocator<std::__cxx11::string > > >(std::vector<std::__cxx11::string,
std::allocator<std::__cxx11::string > > const&, std::__cxx11::string) */
detail * __thiscall
CLI::detail::join<std::vector<std::__cxx11::string,std::allocator<s... | |
9,476 | worldgen::is_generating(Dimension*, glm::vec<3, int, (glm::qualifier)0> const&) | untodesu[P]voxelius/game/server/worldgen.cc | bool worldgen::is_generating(Dimension *dimension, const chunk_pos &cpos)
{
auto dim_tasks = active_tasks.find(dimension);
if(dim_tasks == active_tasks.cend()) {
// No tasks for this dimension
return false;
}
auto it = dim_tasks->second.find(cpos);
if(it == dim_tasks->second.cend(... | O2 | cpp | worldgen::is_generating(Dimension*, glm::vec<3, int, (glm::qualifier)0> const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rsp, %rsi
movq %rdi, (%rsi)
leaq 0xdae48(%rip), %rdi # 0x10dea8
callq 0x331f6
movq %rax, %r14
movslq 0xdae59(%rip), %rax # 0x10dec8
imulq $0x38, %rax, %rax
addq 0xdae36(%rip), ... | _ZN8worldgen13is_generatingEP9DimensionRKN3glm3vecILi3EiLNS2_9qualifierE0EEE:
push r14
push rbx
push rax
mov rbx, rsi
mov rsi, rsp
mov [rsi], rdi
lea rdi, _ZL12active_tasks; active_tasks
call _ZN7emhash87HashMapIP9DimensionNS0_IN3glm3vecILi3EiLNS3_9qualifierE0EEESt13unordered_setIP7SessionSt... | bool worldgen::is_generating(long long a1, long long a2)
{
long long v2; // r14
long long v4; // [rsp-8h] [rbp-18h] BYREF
v4 = a1;
v2 = emhash8::HashMap<Dimension *,emhash8::HashMap<glm::vec<3,int,(glm::qualifier)0>,std::unordered_set<Session *>,std::hash<glm::vec<3,int,(glm::qualifier)0>>,std::equal_to<glm::... | is_generating:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RSI
MOV RSI,RSP
MOV qword ptr [RSI],RDI
LEA RDI,[0x20dea8]
CALL 0x001331f6
MOV R14,RAX
MOVSXD RAX,dword ptr [0x0020dec8]
IMUL RAX,RAX,0x38
ADD RAX,qword ptr [0x0020deb0]
CMP R14,RAX
JZ 0x001330a2
MOV RDI,R14
ADD RDI,0x8
MOV RSI,RBX
CALL 0x0013320c
MOVSXD RCX,dword ptr [... |
/* worldgen::is_generating(Dimension*, glm::vec<3, int, (glm::qualifier)0> const&) */
bool worldgen::is_generating(Dimension *param_1,vec *param_2)
{
long lVar1;
long lVar2;
bool bVar3;
Dimension *local_18;
local_18 = param_1;
lVar1 = emhash8::
HashMap<Dimension*,emhash8::HashMap<glm::vec<3,... | |
9,477 | worldgen::is_generating(Dimension*, glm::vec<3, int, (glm::qualifier)0> const&) | untodesu[P]voxelius/game/server/worldgen.cc | bool worldgen::is_generating(Dimension *dimension, const chunk_pos &cpos)
{
auto dim_tasks = active_tasks.find(dimension);
if(dim_tasks == active_tasks.cend()) {
// No tasks for this dimension
return false;
}
auto it = dim_tasks->second.find(cpos);
if(it == dim_tasks->second.cend(... | O3 | cpp | worldgen::is_generating(Dimension*, glm::vec<3, int, (glm::qualifier)0> const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rsp, %rsi
movq %rdi, (%rsi)
leaq 0xd3613(%rip), %rdi # 0x108e68
callq 0x36500
cmpl 0xd3628(%rip), %eax # 0x108e88
jne 0x35866
xorl %eax, %eax
jmp 0x3588d
cltq
movq 0xd3601(%rip... | _ZN8worldgen13is_generatingEP9DimensionRKN3glm3vecILi3EiLNS2_9qualifierE0EEE:
push r14
push rbx
push rax
mov rbx, rsi
mov rsi, rsp
mov [rsi], rdi
lea rdi, _ZL12active_tasks; active_tasks
call _ZNK7emhash87HashMapIP9DimensionNS0_IN3glm3vecILi3EiLNS3_9qualifierE0EEESt13unordered_setIP7SessionS... | bool worldgen::is_generating(long long a1, long long a2)
{
int filled; // eax
long long v4; // r14
long long v5; // [rsp-8h] [rbp-18h] BYREF
v5 = a1;
filled = emhash8::HashMap<Dimension *,emhash8::HashMap<glm::vec<3,int,(glm::qualifier)0>,std::unordered_set<Session *>,std::hash<glm::vec<3,int,(glm::qualifie... | is_generating:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RSI
MOV RSI,RSP
MOV qword ptr [RSI],RDI
LEA RDI,[0x208e68]
CALL 0x00136500
CMP EAX,dword ptr [0x00208e88]
JNZ 0x00135866
XOR EAX,EAX
JMP 0x0013588d
LAB_00135866:
CDQE
MOV RCX,qword ptr [0x00208e70]
IMUL RAX,RAX,0x38
LEA R14,[RCX + RAX*0x1]
ADD R14,0x8
MOV RDI,R14
MOV RS... |
/* worldgen::is_generating(Dimension*, glm::vec<3, int, (glm::qualifier)0> const&) */
int8 worldgen::is_generating(Dimension *param_1,vec *param_2)
{
long lVar1;
uint uVar2;
int4 extraout_var;
int8 uVar3;
Dimension *local_18;
local_18 = param_1;
uVar2 = emhash8::
HashMap<Dimension*,emhash8... | |
9,478 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::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... | llama.cpp/common/json.hpp | std::string get_token_string() const
{
// escape control characters
std::string result;
for (const auto c : token_string)
{
if (static_cast<unsigned char>(c) <= '\x1F')
{
// escape control characters
std::array<char, 9> cs{{}};
... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::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... | _ZNK8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE16get_token_stringEv:
push rbp
push r15
push r14
push r... | long long nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterat... | get_token_string:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
LEA R12,[RDI + 0x10]
MOV qword ptr [RDI],R12
MOV qword ptr [RDI + 0x8],0x0
MOV byte ptr [RDI + 0x10],0x0
MOV R13,qword ptr [RSI + 0x38]
MOV RBP,qword ptr [RSI + 0x40]
CMP R13,RBP
JZ 0x001ac407
LEA R14,[0x24238a]
LEA R15,[RS... |
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char... | |
9,479 | mysql_select_db | eloqsql/libmariadb/libmariadb/mariadb_lib.c | int STDCALL
mysql_select_db(MYSQL *mysql, const char *db)
{
int error;
if (!db)
return 1;
if ((error=ma_simple_command(mysql, COM_INIT_DB, db,
(uint) strlen(db),0,0)))
return(error);
free(mysql->db);
mysql->db=strdup(db);
return(0);
} | O0 | c | mysql_select_db:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x43e30
movl $0x1, -0x4(%rbp)
jmp 0x43ea5
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
callq 0x37400
movq -0x30(%rbp... | mysql_select_db:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
cmp [rbp+var_18], 0
jnz short loc_43E30
mov [rbp+var_4], 1
jmp short loc_43EA5
loc_43E30:
mov rax, [rbp+var_10]
mov [rbp+var_30], rax
mov rax, [rbp+var_18]
mov [rbp+var_28],... | long long mysql_select_db(long long a1, long long a2)
{
unsigned int v2; // eax
unsigned int v4; // [rsp+14h] [rbp-1Ch]
if ( a2 )
{
v2 = strlen(a2);
v4 = ma_simple_command(a1, 2u, a2, v2, 0, 0LL);
if ( v4 )
{
return v4;
}
else
{
free(*(_QWORD *)(a1 + 744));
*(_QWO... | mysql_select_db:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
CMP qword ptr [RBP + -0x18],0x0
JNZ 0x00143e30
MOV dword ptr [RBP + -0x4],0x1
JMP 0x00143ea5
LAB_00143e30:
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x18]
MO... |
int mysql_select_db(long param_1,char *param_2)
{
size_t sVar1;
char *pcVar2;
int4 local_c;
if (param_2 == (char *)0x0) {
local_c = 1;
}
else {
sVar1 = strlen(param_2);
local_c = ma_simple_command(param_1,2,param_2,sVar1 & 0xffffffff,0,0);
if (local_c == 0) {
free(*(void **)(param... | |
9,480 | my_strnncoll_binary | eloqsql/strings/ctype-bin.c | static int my_strnncoll_binary(CHARSET_INFO * cs __attribute__((unused)),
const uchar *s, size_t slen,
const uchar *t, size_t tlen,
my_bool t_is_prefix)
{
size_t len=MY_MIN(slen,tlen);
int cmp= memcmp(s,t,len);
return cmp... | O0 | c | my_strnncoll_binary:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %r9b, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movb %al, -0x29(%rbp)
movq -0x18(%rbp), %rax
cmpq -0x28(%rbp), %rax
jae 0x39496
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
j... | my_strnncoll_binary:
push rbp
mov rbp, rsp
sub rsp, 60h
mov al, r9b
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov [rbp+var_29], al
mov rax, [rbp+var_18]
cmp rax, [rbp+var_28]
jnb short loc_39496
mov ... | long long my_strnncoll_binary(
long long a1,
long long a2,
unsigned long long a3,
long long a4,
unsigned long long a5,
char a6)
{
int v7; // [rsp+8h] [rbp-58h]
unsigned long long v9; // [rsp+18h] [rbp-48h]
unsigned int v10; // [rsp+24h] [rbp-3Ch]
int v12; // [rsp... | my_strnncoll_binary:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV AL,R9B
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],R8
MOV byte ptr [RBP + -0x29],AL
MOV RAX,qword ptr [RBP + -0x18]
CMP RAX,qword ptr [RBP + -0x28]
JN... |
int my_strnncoll_binary(int8 param_1,void *param_2,ulong param_3,void *param_4,ulong param_5,
char param_6)
{
ulong local_60;
int local_54;
size_t local_50;
local_50 = param_5;
if (param_3 < param_5) {
local_50 = param_3;
}
local_54 = memcmp(param_2,param_4,local_50);
if ... | |
9,481 | ma_bitmap_free_full_pages | eloqsql/storage/maria/ma_bitmap.c | my_bool _ma_bitmap_free_full_pages(MARIA_HA *info, const uchar *extents,
uint count)
{
MARIA_FILE_BITMAP *bitmap= &info->s->bitmap;
my_bool res;
DBUG_ENTER("_ma_bitmap_free_full_pages");
for (; count--; extents+= ROW_EXTENT_SIZE)
{
pgcache_page_no_t page= uint5korr(ext... | O0 | c | ma_bitmap_free_full_pages:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
addq $0xa10, %rax # imm = 0xA10
movq %rax, -0x28(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, -0x1c(... | _ma_bitmap_free_full_pages:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_1C], edx
mov rax, [rbp+var_10]
mov rax, [rax]
add rax, 0A10h
mov [rbp+var_28], rax
loc_43ED4:
mov eax, [rbp+var_1C]
mov ecx, eax
add ecx, 0FFFFFFFFh
... | char ma_bitmap_free_full_pages(long long *a1, long long a2, int a3)
{
int v5; // [rsp+4h] [rbp-3Ch]
long long v6; // [rsp+8h] [rbp-38h]
char v7; // [rsp+17h] [rbp-29h]
long long v8; // [rsp+18h] [rbp-28h]
v8 = *a1 + 2576;
while ( a3-- )
{
v6 = uint5korr(a2);
v5 = *(_WORD *)(a2 + 5) & 0xBFFF;
... | _ma_bitmap_free_full_pages:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV dword ptr [RBP + -0x1c],EDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
ADD RAX,0xa10
MOV qword ptr [RBP + -0x28],RAX
LAB_00143ed4:
MOV EAX,dword ptr [RBP + -0x1c]
MOV ECX,EAX
AD... |
int1 _ma_bitmap_free_full_pages(long *param_1,long param_2,int param_3)
{
ushort uVar1;
long lVar2;
char cVar3;
long lVar4;
int local_24;
long local_20;
lVar2 = *param_1;
local_24 = param_3;
local_20 = param_2;
do {
if (local_24 == 0) {
return 0;
}
lVar4 = uint5korr(local_20);... | |
9,482 | js_setlike_get_keys | bluesky950520[P]quickjs/quickjs.c | static int js_setlike_get_keys(JSContext *ctx, JSValue setlike, JSValue *pout)
{
JSValue v;
v = JS_GetProperty(ctx, setlike, JS_ATOM_keys);
if (JS_IsException(v))
return -1;
if (JS_IsUndefined(v)) {
JS_ThrowTypeError(ctx, ".keys is undefined");
return -1;
}
if (!JS_IsFun... | O2 | c | js_setlike_get_keys:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r12
movq %rdi, %r14
pushq $0x30
popq %rcx
callq 0x1a4c7
movq %rdx, %r15
pushq $-0x1
popq %rbx
cmpl $0x6, %r15d
je 0x45a59
cmpl $0x3, %r15d
jne 0x45a18
leaq 0x400b6(%rip), %rsi # 0x85ac2
movq %r14, %rdi
xorl %eax, %eax
callq 0x1b... | js_setlike_get_keys:
push r15
push r14
push r13
push r12
push rbx
mov r12, rcx
mov r14, rdi
push 30h ; '0'
pop rcx
call JS_GetProperty
mov r15, rdx
push 0FFFFFFFFFFFFFFFFh
pop rbx
cmp r15d, 6
jz short loc_45A59
cmp r15d, 3
jnz short loc_45A18
lea rsi, aKe... | long long js_setlike_get_keys(
long long a1,
int a2,
int a3,
long long *a4,
__m128 a5,
__m128 a6,
__m128 a7,
__m128 a8,
double a9,
double a10,
__m128 a11,
__m128 a12)
{
long long Property; // rax
long long v14; // rdx
... | js_setlike_get_keys:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV R12,RCX
MOV R14,RDI
PUSH 0x30
POP RCX
CALL 0x0011a4c7
MOV R15,RDX
PUSH -0x1
POP RBX
CMP R15D,0x6
JZ 0x00145a59
CMP R15D,0x3
JNZ 0x00145a18
LEA RSI,[0x185ac2]
MOV RDI,R14
XOR EAX,EAX
CALL 0x0011bad1
JMP 0x00145a59
LAB_00145a18:
MOV R13,RAX
MOV RDI,R14... |
int4
js_setlike_get_keys(int8 param_1,int8 param_2,int8 param_3,
int1 (*param_4) [16])
{
int iVar1;
int4 uVar2;
int1 auVar3 [16];
auVar3 = JS_GetProperty();
uVar2 = 0xffffffff;
if (auVar3._8_4_ != 6) {
if (auVar3._8_4_ == 3) {
JS_ThrowTypeError(param_1,".keys is int");
... | |
9,483 | psi_rwlock_rdlock | eloqsql/mysys/my_thr_init.c | ATTRIBUTE_COLD
int psi_rwlock_rdlock(mysql_rwlock_t *that, const char *file, uint line)
{
PSI_rwlock_locker_state state;
PSI_rwlock_locker *locker= PSI_RWLOCK_CALL(start_rwlock_rdwait)
(&state, that->m_psi, PSI_RWLOCK_READLOCK, file, line);
int result= rw_rdlock(&that->m_rwlock);
if (locker)
PSI_RWLOCK_... | O0 | c | psi_rwlock_rdlock:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
leaq 0x1abd7e(%rip), %rax # 0x1dd8b8
movq (%rax), %rax
movq 0x1a0(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x90(%rcx), %rsi
movq -0x10(%rbp), %rcx
movl -0x14(%rbp), %r8d
leaq -0x48(%rbp), ... | psi_rwlock_rdlock:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
lea rax, PSI_server
mov rax, [rax]
mov rax, [rax+1A0h]
mov rcx, [rbp+var_8]
mov rsi, [rcx+90h]
mov rcx, [rbp+var_10]
mov r8d, [rbp+var_14]
lea rdi... | long long psi_rwlock_rdlock(long long a1, long long a2, unsigned int a3)
{
unsigned int v4; // [rsp+Ch] [rbp-54h]
long long v5; // [rsp+10h] [rbp-50h]
_BYTE v6[52]; // [rsp+18h] [rbp-48h] BYREF
unsigned int v7; // [rsp+4Ch] [rbp-14h]
long long v8; // [rsp+50h] [rbp-10h]
long long v9; // [rsp+58h] [rbp-8h]
... | psi_rwlock_rdlock:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
LEA RAX,[0x2dd8b8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x1a0]
MOV RCX,qword ptr [RBP + -0x8]
MOV RSI,qword ptr [RCX + 0x90]
MOV RCX,qword ptr [RBP + -0x10]
MOV... |
int4 psi_rwlock_rdlock(long param_1,int8 param_2,int4 param_3)
{
int4 uVar1;
long lVar2;
int1 local_50 [52];
int4 local_1c;
int8 local_18;
long local_10;
local_1c = param_3;
local_18 = param_2;
local_10 = param_1;
lVar2 = (**(code **)(PSI_server + 0x1a0))
(local_50,*(int8 *)... | |
9,484 | read_long_data2 | eloqsql/storage/maria/ma_blockrec.c | static my_bool read_long_data2(MARIA_HA *info, uchar *to, ulong length,
MARIA_EXTENT_CURSOR *extent,
uchar **data, uchar **end_of_data)
{
uint left_length= (uint) (*end_of_data - *data);
DBUG_ENTER("read_long_data2");
DBUG_PRINT("enter", ("length: %lu l... | O3 | c | read_long_data2:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r12
movq %r8, %r13
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, -0x30(%rbp)
movq (%r9), %rdi
movq (%r8), %rax
subq %rax, %rdi
movq %rcx, -0x38(%rbp)
cmpb $0x0, 0x34(%rcx)
setne %dl
movl %edi, %es... | read_long_data2:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r12, r9
mov r13, r8
mov r14, rdx
mov r15, rsi
mov [rbp+var_30], rdi
mov rdi, [r9]
mov rax, [r8]
sub rdi, rax
mov [rbp+var_38], rcx
cmp byte ptr [rcx+34h]... | long long read_long_data2(long long *a1, long long a2, unsigned long long a3, long long a4, long long *a5, long long *a6)
{
unsigned long long v8; // r14
long long next_extent; // rax
long long v11; // rdi
unsigned long long i; // rbx
unsigned long long v13; // rcx
long long v14; // r8
int v15; // r9d
... | read_long_data2:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R12,R9
MOV R13,R8
MOV R14,RDX
MOV R15,RSI
MOV qword ptr [RBP + -0x30],RDI
MOV RDI,qword ptr [R9]
MOV RAX,qword ptr [R8]
SUB RDI,RAX
MOV qword ptr [RBP + -0x38],RCX
CMP byte ptr [RCX + 0x34],0x0
SETNZ DL
MOV ESI,EDI
CMP R... |
int8
read_long_data2(int8 param_1,void *param_2,ulong param_3,long param_4,long *param_5,
long *param_6)
{
void *__src;
ulong uVar1;
__src = (void *)*param_5;
uVar1 = *param_6 - (long)__src;
if ((uVar1 & 0xffffffff) < param_3 && *(char *)(param_4 + 0x34) != '\0') {
*param_6 = (long)__s... | |
9,485 | Locked_tables_list::reopen_tables(THD*, bool) | eloqsql/sql/sql_base.cc | bool
Locked_tables_list::reopen_tables(THD *thd, bool need_reopen)
{
bool is_ok= thd->get_stmt_da()->is_ok();
Open_table_context ot_ctx(thd, !is_ok ? MYSQL_OPEN_REOPEN:
MYSQL_OPEN_IGNORE_KILLED | MYSQL_OPEN_REOPEN);
uint reopen_count= 0;
MYSQL_LOCK *lock;
MYSQL_LOCK *merged_l... | O0 | cpp | Locked_tables_list::reopen_tables(THD*, bool):
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movb %dl, %al
movq %fs:0x28, %rcx
movq %rcx, -0x8(%rbp)
movq %rdi, -0x50(%rbp)
movq %rsi, -0x58(%rbp)
andb $0x1, %al
movb %al, -0x59(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x58(%rbp), %rdi
callq 0x7ddd20
movq %... | _ZN18Locked_tables_list13reopen_tablesEP3THDb:
push rbp
mov rbp, rsp
sub rsp, 0B0h
mov al, dl
mov rcx, fs:28h
mov [rbp+var_8], rcx
mov [rbp+var_50], rdi
mov [rbp+var_58], rsi
and al, 1
mov [rbp+var_59], al
mov rax, [rbp+var_50]
mov [rbp+var_A0], rax
mov rdi, [rbp+var_5... | char Locked_tables_list::reopen_tables(Locked_tables_list *this, THD *a2, char a3)
{
Diagnostics_area *stmt_da; // rax
unsigned int v4; // edx
long long v5; // rax
unsigned int v6; // ecx
int v7; // edx
int v8; // ecx
int v9; // r8d
int v10; // r9d
long long v12; // [rsp+0h] [rbp-B0h] BYREF
Locked_... | __cxx_global_var_init.3:
PUSH RBP
MOV RBP,RSP
LEA RDI,[0x1dd196c]
MOV ESI,0x8
CALL 0x008db900
POP RBP
RET
|
void __cxx_global_var_init_3(void)
{
date_conv_mode_t::date_conv_mode_t((date_conv_mode_t *)&TIME_INTERVAL_hhmmssff,8);
return;
}
| |
9,486 | wait_for_readers | eloqsql/storage/maria/ma_pagecache.c | static inline void wait_for_readers(PAGECACHE *pagecache
__attribute__((unused)),
PAGECACHE_BLOCK_LINK *block
__attribute__((unused)))
{
struct st_my_thread_var *thread= my_thread_var;
DBUG_ASSERT(block->cond... | O0 | c | wait_for_readers:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
callq 0xf7440
movq %rax, -0x18(%rbp)
jmp 0x320fb
jmp 0x320fd
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
cmpl $0x0, 0x68(%rax)
je 0x32151
jmp 0x3210d
jmp 0x3210f
movq -0x18(%rbp), %rcx
addq $0x8, %rcx
movq -0x10(... | wait_for_readers:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
call _my_thread_var
mov [rbp+var_18], rax
jmp short $+2
loc_320FB:
jmp short $+2
loc_320FD:
mov rax, [rbp+var_10]
mov rax, [rax+20h]
cmp dword ptr [rax+68h], 0
jz short loc_... | long long wait_for_readers(long long a1, long long a2)
{
long long result; // rax
long long v3; // [rsp+8h] [rbp-18h]
v3 = my_thread_var();
result = *(_QWORD *)(a2 + 32);
if ( *(_DWORD *)(result + 104) )
{
*(_QWORD *)(a2 + 40) = v3 + 8;
inline_mysql_cond_wait(
v3 + 8,
a1 + 200,
(... | wait_for_readers:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
CALL 0x001f7440
MOV qword ptr [RBP + -0x18],RAX
JMP 0x001320fb
LAB_001320fb:
JMP 0x001320fd
LAB_001320fd:
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x20]
CMP dword ptr [RAX + 0x68],0x0
JZ 0x... |
void wait_for_readers(long param_1,long param_2)
{
long lVar1;
lVar1 = _my_thread_var();
if (*(int *)(*(long *)(param_2 + 0x20) + 0x68) != 0) {
*(long *)(param_2 + 0x28) = lVar1 + 8;
inline_mysql_cond_wait
(lVar1 + 8,param_1 + 200,
"/workspace/llm4binary/github2025/eloqsq... | |
9,487 | httplib::detail::case_ignore::to_lower(int) | hkr04[P]cpp-mcp/common/httplib.h | inline unsigned char to_lower(int c) {
const static unsigned char table[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 4... | O0 | c | httplib::detail::case_ignore::to_lower(int):
movl %edi, -0x4(%rsp)
movl -0x4(%rsp), %eax
movzbl %al, %eax
movl %eax, %ecx
leaq 0xc33bc(%rip), %rax # 0xe5390
movb (%rax,%rcx), %al
retq
nopl (%rax,%rax)
| _ZN7httplib6detail11case_ignore8to_lowerEi:
mov [rsp+var_4], edi
mov eax, [rsp+var_4]
movzx eax, al
mov ecx, eax
lea rax, _ZZN7httplib6detail11case_ignore8to_lowerEiE5table; httplib::detail::case_ignore::to_lower(int)::table
mov al, [rax+rcx]
retn
| char httplib::detail::case_ignore::to_lower(httplib::detail::case_ignore *this)
{
return httplib::detail::case_ignore::to_lower(int)::table[(unsigned __int8)this];
}
| to_lower:
MOV dword ptr [RSP + -0x4],EDI
MOV EAX,dword ptr [RSP + -0x4]
MOVZX EAX,AL
MOV ECX,EAX
LEA RAX,[0x1e5390]
MOV AL,byte ptr [RAX + RCX*0x1]
RET
|
/* httplib::detail::case_ignore::to_lower(int) */
int8 httplib::detail::case_ignore::to_lower(int param_1)
{
return CONCAT71(0x1e53,to_lower(int)::table[param_1 & 0xff]);
}
| |
9,488 | ma_write_abort_block_record | eloqsql/storage/maria/ma_blockrec.c | my_bool _ma_write_abort_block_record(MARIA_HA *info)
{
my_bool res= 0;
MARIA_BITMAP_BLOCKS *blocks= &info->cur_row.insert_blocks;
MARIA_BITMAP_BLOCK *block, *end;
LSN lsn= LSN_IMPOSSIBLE;
MARIA_SHARE *share= info->s;
DBUG_ENTER("_ma_write_abort_block_record");
_ma_bitmap_lock(share); /* Lock bitmap from... | O3 | c | ma_write_abort_block_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %r15
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq $0x0, -0x70(%rbp)
movq (%rdi), %rdi
movq %rdi, -0x60(%rbp)
callq 0x4f09b
movq 0x98(%r15), %rsi
movzbl %sil, %edx
shrq $0x8, %rsi... | _ma_write_abort_block_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88h
mov r15, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov [rbp+var_70], 0
mov rdi, [rdi]
mov [rbp+var_60], rdi
call _ma_bitmap_lock
mov rsi, [r15+98h]
movzx... | long long ma_write_abort_block_record(long long a1)
{
unsigned int v1; // r14d
long long *v2; // r15
unsigned long long v3; // rax
long long v4; // rbx
unsigned long long v5; // rcx
long long *v6; // rbx
char v7; // al
long long v8; // r12
long long v9; // r13
long long v10; // r14
int v11; // ea... | _ma_write_abort_block_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x88
MOV R15,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV qword ptr [RBP + -0x70],0x0
MOV RDI,qword ptr [RDI]
MOV qword ptr [RBP + -0x60],RDI
CALL 0x0014f09b
MOV RSI,qword ptr [R15 + 0x98]
MOVZ... |
ulong _ma_write_abort_block_record(long *param_1)
{
pthread_mutex_t *__mutex;
uint uVar1;
long lVar2;
long lVar3;
char cVar4;
int8 uVar5;
int iVar6;
long *plVar7;
long *plVar8;
int8 unaff_R14;
ulong uVar9;
ulong uVar10;
long in_FS_OFFSET;
int1 local_b8 [32];
int1 *local_98;
int8 local_... | |
9,489 | testing::TestInfo::Skip() | AlayaLite/build_O3/_deps/googletest-src/googletest/src/gtest.cc | void TestInfo::Skip() {
if (!should_run_) return;
UnitTest::GetInstance()->set_current_test_info(this);
TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater();
// Notifies the unit test event listeners that a test is about to start.
repeater->OnTestStart(*this);
const TestPartResu... | O3 | cpp | testing::TestInfo::Skip():
pushq %r14
pushq %rbx
subq $0x78, %rsp
cmpb $0x1, 0x80(%rdi)
jne 0x62ef9
movq %rdi, %rbx
callq 0x5a66a
leaq 0x51d87(%rip), %rdi # 0xb4ba8
movq %rbx, %rsi
callq 0x62d8a
callq 0x5a66a
movq 0x51db3(%rip), %rax # 0xb4be8
movq 0x268(%rax), %r14
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, ... | _ZN7testing8TestInfo4SkipEv:
push r14
push rbx
sub rsp, 78h
cmp byte ptr [rdi+80h], 1
jnz loc_62EF9
mov rbx, rdi
call _ZN7testing8UnitTest11GetInstanceEv; testing::UnitTest::GetInstance(void)
lea rdi, _ZZN7testing8UnitTest11GetInstanceEvE8instance; this
mov rsi, rbx; testing::TestInfo *... | void testing::TestInfo::Skip(testing::TestInfo *this)
{
testing::UnitTest *v1; // r14
int v2; // edx
int v3; // ecx
int v4; // r8d
int v5; // r9d
_QWORD *Value; // rax
_BYTE v7[8]; // [rsp+8h] [rbp-80h] BYREF
long long *v8; // [rsp+10h] [rbp-78h]
long long v9; // [rsp+20h] [rbp-68h] BYREF
long long... | Skip:
PUSH R14
PUSH RBX
SUB RSP,0x78
CMP byte ptr [RDI + 0x80],0x1
JNZ 0x00162ef9
MOV RBX,RDI
CALL 0x0015a66a
LEA RDI,[0x1b4ba8]
MOV RSI,RBX
CALL 0x00162d8a
CALL 0x0015a66a
MOV RAX,qword ptr [0x001b4be8]
MOV R14,qword ptr [RAX + 0x268]
MOV RAX,qword ptr [R14]
MOV RDI,R14
MOV RSI,RBX
CALL qword ptr [RAX + 0x40]
MOV RDX,... |
/* testing::TestInfo::Skip() */
void __thiscall testing::TestInfo::Skip(TestInfo *this)
{
long *plVar1;
int8 *puVar2;
TestPartResult local_80 [8];
long *local_78;
long local_68 [3];
long *local_50;
long local_40 [2];
long *local_30;
long local_20 [2];
if (this[0x80] == (TestInfo)0x1) {
Uni... | |
9,490 | LefDefParser::lefiCorrectionResistance::Init() | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiCrossTalk.cpp | void
lefiCorrectionResistance::Init()
{
numNums_ = 0;
numsAllocated_ = 1;
nums_ = (double*) lefMalloc(sizeof(double) * 1);
numVictims_ = 0;
victimsAllocated_ = 2;
victims_ = (lefiCorrectionVictim**) lefMalloc(sizeof(
lefiCorrectionVictim*) * 2);... | O3 | cpp | LefDefParser::lefiCorrectionResistance::Init():
pushq %rbx
movq %rdi, %rbx
movabsq $0x100000000, %rax # imm = 0x100000000
movq %rax, (%rdi)
movl $0x8, %edi
callq 0x24985
movq %rax, 0x8(%rbx)
movabsq $0x200000000, %rax # imm = 0x200000000
movq %rax, 0x10(%rbx)
movl $0x10, %edi
callq 0x24985
movq %rax, 0x18(%rb... | _ZN12LefDefParser24lefiCorrectionResistance4InitEv:
push rbx
mov rbx, rdi
mov rax, 100000000h
mov [rdi], rax
mov edi, offset byte_8; this
call _ZN12LefDefParser9lefMallocEm; LefDefParser::lefMalloc(ulong)
mov [rbx+8], rax
mov rax, 200000000h
mov [rbx+10h], rax
mov edi, offset word_... | long long LefDefParser::lefiCorrectionResistance::Init(
LefDefParser::lefiCorrectionResistance *this,
unsigned long long a2)
{
long long result; // rax
*(_QWORD *)this = 0x100000000LL;
*((_QWORD *)this + 1) = LefDefParser::lefMalloc((LefDefParser *)&byte_8, a2);
*((_QWORD *)this + 2) = 0x20000... | Init:
PUSH RBX
MOV RBX,RDI
MOV RAX,0x100000000
MOV qword ptr [RDI],RAX
MOV EDI,0x8
CALL 0x00124985
MOV qword ptr [RBX + 0x8],RAX
MOV RAX,0x200000000
MOV qword ptr [RBX + 0x10],RAX
MOV EDI,0x10
CALL 0x00124985
MOV qword ptr [RBX + 0x18],RAX
POP RBX
RET
|
/* LefDefParser::lefiCorrectionResistance::Init() */
void LefDefParser::lefiCorrectionResistance::Init(void)
{
int8 uVar1;
ulong in_RSI;
int8 *in_RDI;
*in_RDI = 0x100000000;
uVar1 = lefMalloc((LefDefParser *)0x8,in_RSI);
in_RDI[1] = uVar1;
in_RDI[2] = 0x200000000;
uVar1 = lefMalloc((LefDefParser *... | |
9,491 | warn_protocol_override | eloqsql/client/client_priv.h | static inline void warn_protocol_override(char *host,
uint *opt_protocol,
uint new_protocol)
{
DBUG_ASSERT(new_protocol == MYSQL_PROTOCOL_TCP
|| new_protocol == SOCKET_PROTOCOL_TO_FORCE);
if ((host == NULL
|| strncmp... | O0 | c | warn_protocol_override:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
jmp 0x3d635
cmpq $0x0, -0x8(%rbp)
je 0x3d656
movq -0x8(%rbp), %rdi
leaq 0x9dd0e(%rip), %rsi # 0xdb355
movl $0x9, %edx
callq 0x38240
cmpl $0x0, %eax
jne 0x3d6b5
movq -0x10(%rbp), %r... | warn_protocol_override:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
jmp short $+2
loc_3D635:
cmp [rbp+var_8], 0
jz short loc_3D656
mov rdi, [rbp+var_8]
lea rsi, aLocalhost; "localhost"
mov edx, 9
call _strncmp
cmp... | long long warn_protocol_override(long long a1, _DWORD *a2, int a3)
{
long long result; // rax
if ( !a1 || (result = strncmp(a1, "localhost", 9LL), !(_DWORD)result) )
{
result = (long long)a2;
if ( *a2 || a3 != 2 )
{
fprintf(
stderr,
"%s %s %s\n",
"WARNING: Forcing proto... | warn_protocol_override:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
JMP 0x0013d635
LAB_0013d635:
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0013d656
MOV RDI,qword ptr [RBP + -0x8]
LEA RSI,[0x1db355]
MOV EDX,0x9
CALL 0x00138240
CMP EAX,0x0
JNZ... |
void warn_protocol_override(char *param_1,int *param_2,int param_3)
{
int iVar1;
if (((param_1 == (char *)0x0) || (iVar1 = strncmp(param_1,"localhost",9), iVar1 == 0)) &&
((*param_2 != 0 || (param_3 != 2)))) {
fprintf(*(FILE **)PTR_stderr_00344fe0,"%s %s %s\n","WARNING: Forcing protocol to ",
... | |
9,492 | httplib::Server::read_content_core(httplib::Stream&, httplib::Request&, httplib::Response&, std::function<bool (char const*, unsigned long)>, std::function<bool (httplib::MultipartFormData const&)>, std::function<bool (char const*, unsigned long)>) const | hkr04[P]cpp-mcp/common/httplib.h | inline bool
Server::read_content_core(Stream &strm, Request &req, Response &res,
ContentReceiver receiver,
MultipartContentHeader multipart_header,
ContentReceiver multipart_receiver) const {
detail::MultipartFormDataParser multipart_form_d... | O2 | c | httplib::Server::read_content_core(httplib::Stream&, httplib::Request&, httplib::Response&, std::function<bool (char const*, unsigned long)>, std::function<bool (httplib::MultipartFormData const&)>, std::function<bool (char const*, unsigned long)>) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rb... | _ZNK7httplib6Server17read_content_coreERNS_6StreamERNS_7RequestERNS_8ResponseESt8functionIFbPKcmEES7_IFbRKNS_17MultipartFormDataEEESB_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 228h
mov r13, r9
mov rbp, r8
mov rbx, rcx
mov r14, rdx
mov [rsp+258h+var_210], ... | long long httplib::Server::read_content_core(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
long long a7)
{
int v11; // edx
int v12; // ecx
int v13; // r8d
int v14; // r9d
int v15; // edx
int v16; // ecx
int v17... | read_content_core:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x228
MOV R13,R9
MOV RBP,R8
MOV RBX,RCX
MOV R14,RDX
MOV qword ptr [RSP + 0x48],RSI
MOV R12,RDI
LEA RDI,[RSP + 0xc8]
CALL 0x00130562
XORPS XMM0,XMM0
MOVAPS xmmword ptr [RSP + 0x60],XMM0
MOVAPS xmmword ptr [RSP + 0x50],XMM0
LAB_001302db:
MOV... |
/* httplib::Server::read_content_core(httplib::Stream&, httplib::Request&, httplib::Response&,
std::function<bool (char const*, unsigned long)>, std::function<bool (httplib::MultipartFormData
const&)>, std::function<bool (char const*, unsigned long)>) const */
ulong __thiscall
httplib::Server::read_content_core... | |
9,493 | dequantize_row_iq2_xs | monkey531[P]llama/ggml/src/ggml-quants.c | void dequantize_row_iq2_xs(const block_iq2_xs * restrict x, float * restrict y, int64_t k) {
assert(k % QK_K == 0);
const int64_t nb = k / QK_K;
float db[2];
for (int i = 0; i < nb; i++) {
const float d = GGML_FP16_TO_FP32(x[i].d);
for (int ib32 = 0; ib32 < QK_K/32; ++ib32) {
... | O0 | c | dequantize_row_iq2_xs:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq 0x40(%rsp), %rax
movl $0x100, %ecx # imm = 0x100
cqto
idivq %rcx
movq %rax, 0x38(%rsp)
movl $0x0, 0x2c(%rsp)
movslq 0x2c(%rsp), %rax
cmpq 0x38(%rsp), %rax
jge 0x79897
movq 0x50(%rsp), %rax
movslq 0x... | dequantize_row_iq2_xs:
sub rsp, 58h
mov [rsp+58h+var_8], rdi
mov [rsp+58h+var_10], rsi
mov [rsp+58h+var_18], rdx
mov rax, [rsp+58h+var_18]
mov ecx, 100h
cqo
idiv rcx
mov [rsp+58h+var_20], rax
mov [rsp+58h+var_2C], 0
loc_7963F:
movsxd rax, [rsp+58h+var_2C]
cmp rax, [rsp+58h+var_20... | long long dequantize_row_iq2_xs(long long a1, long long a2, long long a3)
{
long long result; // rax
float v4; // [rsp+Ch] [rbp-4Ch]
int m; // [rsp+10h] [rbp-48h]
unsigned __int8 v6; // [rsp+17h] [rbp-41h]
char *v7; // [rsp+18h] [rbp-40h]
int k; // [rsp+20h] [rbp-38h]
int j; // [rsp+24h] [rbp-34h]
floa... | dequantize_row_iq2_xs:
SUB RSP,0x58
MOV qword ptr [RSP + 0x50],RDI
MOV qword ptr [RSP + 0x48],RSI
MOV qword ptr [RSP + 0x40],RDX
MOV RAX,qword ptr [RSP + 0x40]
MOV ECX,0x100
CQO
IDIV RCX
MOV qword ptr [RSP + 0x38],RAX
MOV dword ptr [RSP + 0x2c],0x0
LAB_0017963f:
MOVSXD RAX,dword ptr [RSP + 0x2c]
CMP RAX,qword ptr [RSP ... |
void dequantize_row_iq2_xs(long param_1,long param_2,long param_3)
{
byte bVar1;
ushort uVar2;
float fVar3;
float local_4c;
int local_48;
int local_38;
int local_34;
int local_2c;
float local_28 [2];
long local_20;
long local_18;
long local_10;
long local_8;
local_20 = param_3 / 0x100;
... | |
9,494 | diag | eloqsql/libmariadb/unittest/mytap/tap.c | void
diag(char const *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
fprintf(tapout, "# ");
vfprintf(tapout, fmt, ap);
emit_endl();
va_end(ap);
} | O3 | c | diag:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
leaq -0xe0(%rbp), %rdi
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %r8, 0x20(%rdi)
movq %r9, 0x28(%rdi)
testb %al, %al
je 0x18832
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2,... | diag:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
sub rsp, 0C8h
mov rbx, rdi
lea rdi, [rbp+var_E0]
mov [rdi+8], rsi
mov [rdi+10h], rdx
mov [rdi+18h], rcx
mov [rdi+20h], r8
mov [rdi+28h], r9
test al, al
jz short loc_18832
movaps [rbp+var_B0], xmm0
movaps [rb... | long long diag(
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 a14,
char a... | diag:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0xc8
MOV RBX,RDI
LEA RDI,[RBP + -0xe0]
MOV qword ptr [RDI + 0x8],RSI
MOV qword ptr [RDI + 0x10],RDX
MOV qword ptr [RDI + 0x18],RCX
MOV qword ptr [RDI + 0x20],R8
MOV qword ptr [RDI + 0x28],R9
TEST AL,AL
JZ 0x00118832
MOVAPS xmmword ptr [RBP + -0xb0],XMM0
MOVA... |
void diag(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,
int8 param_9,int8 param_10,int8 param_11,int8 param_12,
int8 param_13,int8 param_14)
{
int *puVar1;
char in_AL;
int1 local_e8 [8];
int8 local_e0;
int8 local_d8;
in... | |
9,495 | ColorBrightness | csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/rtextures.c | Color ColorBrightness(Color color, float factor)
{
Color result = color;
if (factor > 1.0f) factor = 1.0f;
else if (factor < -1.0f) factor = -1.0f;
float red = (float)color.r;
float green = (float)color.g;
float blue = (float)color.b;
if (factor < 0.0f)
{
factor = 1.0f + facto... | O3 | c | ColorBrightness:
movl %edi, %ecx
movl %edi, %eax
shll $0x8, %eax
movzbl %ch, %edx
orl %eax, %edx
movd %edx, %xmm1
movl %edi, %eax
shrl $0x10, %eax
ucomiss 0x36934(%rip), %xmm0 # 0xd3b1c
jbe 0x9d242
xorps %xmm0, %xmm0
punpcklbw %xmm0, %xmm1 # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3],x... | ColorBrightness:
mov ecx, edi
mov eax, edi
shl eax, 8
movzx edx, ch
or edx, eax
movd xmm1, edx
mov eax, edi
shr eax, 10h
ucomiss xmm0, cs:dword_D3B1C
jbe short loc_9D242
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
cvtdq2ps xmm1, xmm1
movzx eax, al
cvtsi2ss xmm3, eax
... | long long ColorBrightness(int a1, float a2)
{
__m128i v2; // xmm1
__m128 v3; // xmm1
float v4; // xmm3_4
float v5; // xmm5_4
float v6; // xmm4_4
float v7; // xmm1_4
float v8; // xmm2_4
float v9; // xmm2_4
float v10; // xmm2_4
v2 = _mm_cvtsi32_si128((a1 << 8) | (unsigned int)BYTE1(a1));
if ( a2 <... | ColorBrightness:
MOV ECX,EDI
MOV EAX,EDI
SHL EAX,0x8
MOVZX EDX,CH
OR EDX,EAX
MOVD XMM1,EDX
MOV EAX,EDI
SHR EAX,0x10
UCOMISS XMM0,dword ptr [0x001d3b1c]
JBE 0x0019d242
XORPS XMM0,XMM0
PUNPCKLBW XMM1,XMM0
PUNPCKLWD XMM1,XMM0
CVTDQ2PS XMM1,XMM1
MOVZX EAX,AL
CVTSI2SS XMM3,EAX
MOVSS XMM0,dword ptr [0x001d3b1c]
LAB_0019d207:... |
uint ColorBrightness(float param_1,uint param_2)
{
int1 auVar1 [13];
int1 auVar2 [13];
int1 auVar3 [13];
int1 auVar4 [13];
ushort uVar5;
byte bVar8;
uint uVar6;
float fVar7;
float fVar9;
float fVar10;
float fVar11;
uVar5 = (ushort)(param_2 >> 8) & 0xff;
bVar8 = (byte)(param_2 >> 8);
if ... | |
9,496 | testing::UnitTest::PushGTestTrace(testing::internal::TraceInfo const&) | giladroyz[P]FindPeaks/build_O3/_deps/googletest-src/googletest/src/gtest.cc | GTEST_LOCK_EXCLUDED_(mutex_) {
internal::MutexLock lock(&mutex_);
impl_->gtest_trace_stack().push_back(trace);
} | O3 | cpp | testing::UnitTest::PushGTestTrace(testing::internal::TraceInfo const&):
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x36cf4
movl $0x2b8, %edi # imm = 0x2B8
addq 0x40(%r15), %rdi
callq 0x37450
movq %rax, %rdi
movq %r14, %rsi
callq 0x34af4
movq %r... | _ZN7testing8UnitTest14PushGTestTraceERKNS_8internal9TraceInfoE:
push r15
push r14
push rbx
mov r14, rsi
mov r15, rdi
lea rbx, [rdi+8]
mov rdi, rbx; this
call _ZN7testing8internal9MutexBase4LockEv; testing::internal::MutexBase::Lock(void)
mov edi, 2B8h
add rdi, [r15+40h]
call _ZNK7... | long long testing::UnitTest::PushGTestTrace(long long a1, long long a2)
{
int v2; // edx
int v3; // ecx
int v4; // r8d
int v5; // r9d
long long Value; // rax
testing::internal::MutexBase::Lock((testing::internal::MutexBase *)(a1 + 8));
Value = testing::internal::ThreadLocal<std::vector<testing::internal... | PushGTestTrace:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RSI
MOV R15,RDI
LEA RBX,[RDI + 0x8]
MOV RDI,RBX
CALL 0x00136cf4
MOV EDI,0x2b8
ADD RDI,qword ptr [R15 + 0x40]
LAB_0012d974:
CALL 0x00137450
MOV RDI,RAX
MOV RSI,R14
CALL 0x00134af4
LAB_0012d984:
MOV RDI,RBX
CALL 0x00136d92
POP RBX
POP R14
POP R15
RET
|
/* testing::UnitTest::PushGTestTrace(testing::internal::TraceInfo const&) */
void __thiscall testing::UnitTest::PushGTestTrace(UnitTest *this,TraceInfo *param_1)
{
vector<testing::internal::TraceInfo,std::allocator<testing::internal::TraceInfo>> *this_00;
internal::MutexBase::Lock((MutexBase *)(this + 8));
... | |
9,497 | test_unary::grad_expect() | monkey531[P]llama/tests/test-backend-ops.cpp | std::vector<float> grad_expect() override {
if (op == GGML_UNARY_OP_ABS) {
return {-1.0f, 1.0f};
}
if (op == GGML_UNARY_OP_SGN || op == GGML_UNARY_OP_STEP) {
return {0.0f};
}
if (op == GGML_UNARY_OP_RELU) {
return {0.0f, 1.0f};
}
... | O1 | cpp | test_unary::grad_expect():
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl 0x38(%rsi), %eax
cmpq $0x6, %rax
ja 0x1a870
leaq 0x2aace(%rip), %rcx # 0x452e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x8(%rsp), %rsi
movl $0x0, (%rsi)
leaq 0x7(%rsp), %rcx
movl $0x1, %edx
jmp 0x1a85f
movsd 0x2a9ce(%rip)... | _ZN10test_unary11grad_expectEv:
push rbx
sub rsp, 10h
mov rbx, rdi
mov eax, [rsi+38h]
cmp rax, 6; switch 7 cases
ja short def_1A821; jumptable 000000000001A821 default case, cases 2,4,5
lea rcx, jpt_1A821
movsxd rax, ds:(jpt_1A821 - 452E8h)[rcx+rax*4]
add rax, rcx
jmp rax; switch ju... | test_unary * test_unary::grad_expect(test_unary *this, long long a2)
{
long long v2; // rdx
long long v3; // xmm0_8
char v5; // [rsp+7h] [rbp-11h] BYREF
long long v6; // [rsp+8h] [rbp-10h] BYREF
switch ( *(_DWORD *)(a2 + 56) )
{
case 0:
v3 = 0x3F800000BF800000LL;
goto LABEL_5;
case 1:
... | grad_expect:
PUSH RBX
SUB RSP,0x10
MOV RBX,RDI
MOV EAX,dword ptr [RSI + 0x38]
CMP RAX,0x6
JA 0x0011a870
LEA RCX,[0x1452e8]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_1:
LEA RSI,[RSP + 0x8]
MOV dword ptr [RSI],0x0
LEA RCX,[RSP + 0x7]
MOV EDX,0x1
JMP 0x0011a85f
caseD_0:
MOVSD XMM0,qword ptr [... |
/* test_unary::grad_expect() */
void test_unary::grad_expect(void)
{
long in_RSI;
int8 *in_RDI;
switch(*(int4 *)(in_RSI + 0x38)) {
case 0:
break;
case 1:
case 3:
break;
default:
*in_RDI = 0;
in_RDI[1] = 0;
in_RDI[2] = 0;
return;
case 6:
}
std::vector<float,std::allocato... | |
9,498 | my_mutex_init | eloqsql/mysys/thr_mutex.c | void my_mutex_init()
{
/* Initialize mutex attributes */
#ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP
/*
Set mutex type to "fast" a.k.a "adaptive"
In this case the thread may steal the mutex from some other thread
that is waiting for the same mutex. This will save us some
context switches but may ... | O3 | c | my_mutex_init:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0x33dc7b(%rip), %rbx # 0x367900
movq %rbx, %rdi
callq 0x24060
movq %rbx, %rdi
movl $0x3, %esi
callq 0x24500
leaq 0x33dc63(%rip), %rbx # 0x367904
movq %rbx, %rdi
callq 0x24060
movq %rbx, %rdi
movl $0x2, %esi
addq $0x8, %rsp
popq %rbx
popq %rbp
jm... | my_mutex_init:
push rbp
mov rbp, rsp
push rbx
push rax
lea rbx, my_fast_mutexattr
mov rdi, rbx
call _pthread_mutexattr_init
mov rdi, rbx
mov esi, 3
call _pthread_mutexattr_settype
lea rbx, my_errorcheck_mutexattr
mov rdi, rbx
call _pthread_mutexattr_init
mov rdi, rbx
mo... | long long my_mutex_init()
{
pthread_mutexattr_init(&my_fast_mutexattr);
pthread_mutexattr_settype(&my_fast_mutexattr, 3LL);
pthread_mutexattr_init(&my_errorcheck_mutexattr);
return pthread_mutexattr_settype(&my_errorcheck_mutexattr, 2LL);
}
| my_mutex_init:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
LEA RBX,[0x467900]
MOV RDI,RBX
CALL 0x00124060
MOV RDI,RBX
MOV ESI,0x3
CALL 0x00124500
LEA RBX,[0x467904]
MOV RDI,RBX
CALL 0x00124060
MOV RDI,RBX
MOV ESI,0x2
ADD RSP,0x8
POP RBX
POP RBP
JMP 0x00124500
|
void my_mutex_init(void)
{
pthread_mutexattr_init((pthread_mutexattr_t *)&my_fast_mutexattr);
pthread_mutexattr_settype((pthread_mutexattr_t *)&my_fast_mutexattr,3);
pthread_mutexattr_init((pthread_mutexattr_t *)&my_errorcheck_mutexattr);
pthread_mutexattr_settype((pthread_mutexattr_t *)&my_errorcheck_mutexat... | |
9,499 | c4_verify | corpus-core[P]colibri-stateless/src/verifier/verify.c | c4_status_t c4_verify(verify_ctx_t* ctx) {
// make sure the state is clean
if (ctx->state.error) return C4_ERROR;
if (c4_state_get_pending_request(&ctx->state)) return C4_PENDING;
// verify the proof
if (!handle_verification(ctx))
ctx->state.error = bprintf(NULL, "verification for proof of chain %l is no... | O3 | c | c4_verify:
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
cmpq $0x0, 0x78(%rdi)
je 0x236b5
retq
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x70(%rdi), %rbx
movq %rbx, %rdi
callq 0x56962
movq %rax, %rcx
movl $0x2, %eax
testq %rcx, %rcx
jne 0x23724
movq %r14, %rdi
callq 0x23828
testb %al, %al
je 0x236e7
movq ... | c4_verify:
mov eax, 0FFFFFFFFh
cmp qword ptr [rdi+78h], 0
jz short loc_236B5
retn
loc_236B5:
push r14
push rbx
push rax
mov r14, rdi
lea rbx, [rdi+70h]
mov rdi, rbx
call c4_state_get_pending_request
mov rcx, rax
mov eax, 2
test rcx, rcx
jnz short loc_23724
mov rdi... | long long c4_verify(long long a1)
{
long long result; // rax
long long pending_request; // rcx
int v3; // ecx
int v4; // r8d
int v5; // r9d
long long v6; // rcx
result = 0xFFFFFFFFLL;
if ( !*(_QWORD *)(a1 + 120) )
{
pending_request = c4_state_get_pending_request(a1 + 112);
result = 2LL;
... | c4_verify:
MOV EAX,0xffffffff
CMP qword ptr [RDI + 0x78],0x0
JZ 0x001236b5
RET
LAB_001236b5:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RDI
LEA RBX,[RDI + 0x70]
MOV RDI,RBX
CALL 0x00156962
MOV RCX,RAX
MOV EAX,0x2
TEST RCX,RCX
JNZ 0x00123724
MOV RDI,R14
CALL 0x00123828
TEST AL,AL
JZ 0x001236e7
MOV RCX,qword ptr [R14 + 0x78]
JMP... |
int c4_verify(long param_1)
{
char cVar1;
int iVar2;
long lVar3;
if (*(long *)(param_1 + 0x78) != 0) {
return -1;
}
lVar3 = c4_state_get_pending_request(param_1 + 0x70);
iVar2 = 2;
if (lVar3 == 0) {
cVar1 = c4_eth_verify(param_1);
if (cVar1 == '\0') {
lVar3 = bprintf(0,"verificati... |
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.