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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
12,900 | common_sampler_init(llama_model const*, common_params_sampling const&) | monkey531[P]llama/common/sampling.cpp | struct common_sampler * common_sampler_init(const struct llama_model * model, const struct common_params_sampling & params) {
const llama_vocab * vocab = llama_model_get_vocab(model);
llama_sampler_chain_params lparams = llama_sampler_chain_default_params();
lparams.no_perf = params.no_perf;
std::vec... | O1 | cpp | common_sampler_init(llama_model const*, common_params_sampling const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, 0x58(%rsp)
callq 0x1e900
movq %rax, 0x8(%rsp)
callq 0x1e2d0
movb 0x61(%rbx), %bpl
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %rdi
movaps %xmm0, (... | _Z19common_sampler_initPK11llama_modelRK22common_params_sampling:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 68h
mov rbx, rsi
mov [rsp+98h+var_40], rdi
call _llama_model_get_vocab
mov [rsp+98h+var_90], rax
call _llama_sampler_chain_default_params
mov bpl, ... | long long common_sampler_init(long long a1, unsigned int *a2)
{
unsigned __int8 v3; // bp
void **v4; // r15
void **i; // r13
long long v6; // rsi
long long inited; // rax
long long v8; // r12
long long v9; // r14
int v10; // eax
unsigned long long v11; // rsi
long long v12; // r12
unsigned int v1... | common_sampler_init:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x68
MOV RBX,RSI
MOV qword ptr [RSP + 0x58],RDI
CALL 0x0011e900
MOV qword ptr [RSP + 0x8],RAX
CALL 0x0011e2d0
MOV BPL,byte ptr [RBX + 0x61]
XORPS XMM0,XMM0
LEA RDI,[RSP + 0x30]
MOVAPS xmmword ptr [RDI],XMM0
MOV qword ptr [RDI + 0x10],0x0... |
/* common_sampler_init(llama_model const*, common_params_sampling const&) */
common_params_sampling * common_sampler_init(llama_model *param_1,common_params_sampling *param_2)
{
common_params_sampling cVar1;
int8 *puVar2;
int iVar3;
int4 uVar4;
int8 uVar5;
int8 uVar6;
common_params_sampling *this;
in... | |
12,901 | nlohmann::json_abi_v3_11_3::detail::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_serializer, std::vect... | monkey531[P]llama/common/json.hpp | std::string exception_message(const token_type expected, const std::string& context)
{
std::string error_msg = "syntax error ";
if (!context.empty())
{
error_msg += concat("while parsing ", context, ' ');
}
error_msg += "- ";
if (last_token == token_typ... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::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_serializer, std::vect... | _ZN8nlohmann16json_abi_v3_11_36detail6parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE17exception_messageENS1_10lexer_baseISF_E10token_typeERKSB_:
push ... | _QWORD * nlohmann::json_abi_v3_11_3::detail::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>,nlohmann::json_abi_v3_11_3::detail::iterato... | exception_message:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV R15,RCX
MOV EBP,EDX
MOV R14,RSI
MOV RBX,RDI
LEA R12,[RDI + 0x10]
MOV qword ptr [RDI],R12
LEA RSI,[0x1ed721]
LEA RDX,[0x1ed72e]
CALL 0x00122338
MOV RSI,qword ptr [R15 + 0x8]
TEST RSI,RSI
JZ 0x0015afe6
LEA R13,[RSP + 0x18]
MOV qword... |
/* nlohmann::json_abi_v3_11_3::detail::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::allocator<unsigned
cha... | |
12,902 | c4_get_validators | corpus-core[P]colibri-stateless/src/chains/eth/verifier/sync_committee_state.c | INTERNAL const c4_status_t c4_get_validators(verify_ctx_t* ctx, uint32_t period, c4_sync_state_t* target_state) {
c4_sync_state_t sync_state = get_validators_from_cache(ctx, period);
if (sync_state.validators.data == NULL) {
if (sync_state.last_period == 0) { // there is nothing we can start syncing from
... | O1 | c | c4_get_validators:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
leaq 0xb0(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x11ea0
cmpq $0x0, 0x10(%r15)
je 0x11aa3
movups 0xb0(%rsp), %xmm0
mo... | c4_get_validators:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 158h
mov rbx, rdx
mov ebp, esi
mov r14, rdi
lea r15, [rsp+188h+var_D8]
mov rdi, r15
mov rsi, r14
mov edx, ebp
call get_validators_from_cache
cmp qword ptr [r15+10h], 0
jz short... | long long c4_get_validators(long long a1, unsigned int a2, _OWORD *a3)
{
__int128 v6; // xmm0
unsigned int v7; // r12d
char v9; // al
unsigned int v10; // edx
int v11; // ecx
int v12; // r8d
int v13; // r9d
long long chain_state; // r12
long long v15; // rax
long long v16; // rcx
long long v17; /... | c4_get_validators:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x158
MOV RBX,RDX
MOV EBP,ESI
MOV R14,RDI
LEA R15,[RSP + 0xb0]
MOV RDI,R15
MOV RSI,R14
MOV EDX,EBP
CALL 0x00111ea0
CMP qword ptr [R15 + 0x10],0x0
JZ 0x00111aa3
LAB_00111a74:
MOVUPS XMM0,xmmword ptr [RSP + 0xb0]
MOVUPS XMM1,xmmword ptr [RSP... |
ulong c4_get_validators(long param_1,int4 param_2,int8 *param_3,int8 param_4,
int8 param_5,int8 param_6)
{
int4 uVar1;
bool bVar2;
char cVar3;
byte bVar4;
uint uVar5;
void *__ptr;
long lVar6;
char *pcVar7;
long lVar8;
int iVar9;
ulong *puVar10;
ulong uVar11;
int8 *puVa... | |
12,903 | c4_get_validators | corpus-core[P]colibri-stateless/src/chains/eth/verifier/sync_committee_state.c | INTERNAL const c4_status_t c4_get_validators(verify_ctx_t* ctx, uint32_t period, c4_sync_state_t* target_state) {
c4_sync_state_t sync_state = get_validators_from_cache(ctx, period);
if (sync_state.validators.data == NULL) {
if (sync_state.last_period == 0) { // there is nothing we can start syncing from
... | O2 | c | c4_get_validators:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
leaq 0xb0(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x10f5a
cmpq $0x0, 0x10(%r15)
je 0x10b95
movups 0xb0(%rsp), %xmm0
mo... | c4_get_validators:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 188h
mov rbx, rdx
mov ebp, esi
mov r14, rdi
lea r15, [rsp+1B8h+var_108]
mov rdi, r15
mov rsi, r14
mov edx, ebp
call get_validators_from_cache
cmp qword ptr [r15+10h], 0
jz shor... | long long c4_get_validators(long long a1, unsigned int a2, _OWORD *a3)
{
long long v6; // rdx
long long v7; // rcx
__int128 v8; // xmm0
unsigned int v9; // r12d
long long chain_state; // rax
unsigned int v12; // edx
int v13; // ecx
int v14; // r8d
int v15; // r9d
long long v16; // r12
unsigned in... | c4_get_validators:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x188
MOV RBX,RDX
MOV EBP,ESI
MOV R14,RDI
LEA R15,[RSP + 0xb0]
MOV RDI,R15
MOV RSI,R14
MOV EDX,EBP
CALL 0x00110f5a
CMP qword ptr [R15 + 0x10],0x0
JZ 0x00110b95
LAB_00110b66:
MOVUPS XMM0,xmmword ptr [RSP + 0xb0]
MOVUPS XMM1,xmmword ptr [RSP... |
ulong c4_get_validators(long param_1,int4 param_2,int8 *param_3,int8 param_4,
int8 param_5,int8 param_6)
{
int4 uVar1;
int8 *puVar2;
char cVar3;
byte bVar4;
int iVar5;
uint uVar6;
ulong uVar7;
void *__ptr;
long lVar8;
char *pcVar9;
long lVar10;
int8 *puVar11;
ulong *pu... | |
12,904 | my_strnxfrm_uca_padn | eloqsql/strings/ctype-uca.c | static uchar *
my_strnxfrm_uca_padn(uchar *dst, uchar *de, uint nweights, int weight)
{
uint count= MY_MIN((uint) (de - dst) / 2, nweights);
for (; count ; count--)
{
*dst++= weight >> 8;
*dst++= weight & 0xFF;
}
return dst;
} | O0 | c | my_strnxfrm_uca_padn:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
shrl %eax
cmpl -0x14(%rbp), %eax
jae 0x61d66
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
shrl %eax
mov... | my_strnxfrm_uca_padn:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
mov [rbp+var_18], ecx
mov rax, [rbp+var_10]
mov rcx, [rbp+var_8]
sub rax, rcx
shr eax, 1
cmp eax, [rbp+var_14]
jnb short loc_61D66
mov rax, [rbp+var_10]
mov ... | _BYTE * my_strnxfrm_uca_padn(_BYTE *a1, int a2, unsigned int a3, __int16 a4)
{
_BYTE *v4; // rax
unsigned int v6; // [rsp+0h] [rbp-20h]
unsigned int i; // [rsp+4h] [rbp-1Ch]
_BYTE *v8; // [rsp+18h] [rbp-8h]
v8 = a1;
if ( (unsigned int)(a2 - (_DWORD)a1) >> 1 >= a3 )
v6 = a3;
else
v6 = (unsigned in... | my_strnxfrm_uca_padn:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV dword ptr [RBP + -0x18],ECX
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RBP + -0x8]
SUB RAX,RCX
SHR EAX,0x1
CMP EAX,dword ptr [RBP + -0x14]
JNC 0x00161d66
MOV RAX,qword pt... |
int1 * my_strnxfrm_uca_padn(int1 *param_1,int param_2,uint param_3,int4 param_4)
{
int1 *puVar1;
uint local_28;
uint local_24;
int1 *local_10;
local_28 = param_3;
if ((uint)(param_2 - (int)param_1) >> 1 < param_3) {
local_28 = (uint)(param_2 - (int)param_1) >> 1;
}
local_10 = param_1;
for (lo... | |
12,905 | intern_filename | eloqsql/mysys/mf_pack.c | char *intern_filename(char *to, const char *from)
{
size_t length, to_length;
char buff[FN_REFLEN + 1];
if (from == to)
{ /* Dirname may destroy from */
(void) strnmov(buff, from, FN_REFLEN);
from=buff;
}
length= dirname_part(to, from, &to_length); /* Copy dirname & fix chars */
(void) strnmo... | O0 | c | intern_filename:
pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp # imm = 0x240
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x218(%rbp)
movq %rsi, -0x220(%rbp)
movq -0x220(%rbp), %rax
cmpq -0x218(%rbp), %rax
jne 0x32cfc
leaq -0x210(%rbp), %rdi
movq -0x220(%rbp), %rsi
movl $0x200, %edx # imm ... | intern_filename:
push rbp
mov rbp, rsp
sub rsp, 240h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_218], rdi
mov [rbp+var_220], rsi
mov rax, [rbp+var_220]
cmp rax, [rbp+var_218]
jnz short loc_32CFC
lea rdi, [rbp+var_210]
mov rsi, [rbp+var_220]
mov edx, 200h
call ... | long long intern_filename(long long a1, _BYTE *a2)
{
long long v3; // [rsp+10h] [rbp-230h] BYREF
long long v4; // [rsp+18h] [rbp-228h]
_BYTE *v5; // [rsp+20h] [rbp-220h]
long long v6; // [rsp+28h] [rbp-218h]
_BYTE v7[520]; // [rsp+30h] [rbp-210h] BYREF
unsigned long long v8; // [rsp+238h] [rbp-8h]
v8 = ... | intern_filename:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x240
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 RAX,qword ptr [RBP + -0x220]
CMP RAX,qword ptr [RBP + -0x218]
JNZ 0x00132cfc
LEA RDI,[RBP + -0x210]
MOV RSI,qword ptr [RBP + -0x220]
MOV ED... |
int1 * intern_filename(int1 *param_1,int1 *param_2)
{
long in_FS_OFFSET;
long local_238;
long local_230;
int1 *local_228;
int1 *local_220;
int1 local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_228 = param_2;
local_220 = param_1;
if (param_2 == param_1) {
st... | |
12,906 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | hkr04[P]cpp-mcp/common/json.hpp | basic_json(const JsonRef& ref) : basic_json(ref.moved_or_copied()) {} | O1 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2INS0_6detail8json_refISD_EETnNSt9enable_ifIXsr6detail11conjunctionINSF_11is_json_refIT_EESt7is_sameINSK_10value_typeESD_EEE5valueEiE4typeELi0EEERKSK_:
push ... | long long ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2INS0_6detail8json_refISD_EETnNSt9enable_ifIXsr6detail11conjunctionINSF_11is_json_refIT_EESt7is_sameINSK_10value_typeESD_EEE5valueEiE4typeELi0EEERK... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2INS0_6detail8json_refISD_EETnNSt9enable_ifIXsr6detail11conjunctionINSF_11is_json_refIT_EESt7is_sameINSK_10value_typeESD_EEE5valueEiE4typeELi0EEERKSK_:
PUSH ... |
void _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2INS0_6detail8json_refISD_EETnNSt9enable_ifIXsr6detail11conjunctionINSF_11is_json_refIT_EESt7is_sameINSK_10value_typeESD_EEE5valueEiE4typeELi0EEERKSK_
... | |
12,907 | mysql_stat_start_internal | eloqsql/libmariadb/libmariadb/mariadb_async.c | static void
mysql_stat_start_internal(void *d)
{
MK_ASYNC_INTERNAL_BODY(
mysql_stat,
(parms->mysql),
parms->mysql,
const char *,
r_const_ptr)
} | O0 | c | mysql_stat_start_internal:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x480(%rax), %rax
movq 0x28(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x219d0
movq %rax, -0x18(%... | mysql_stat_start_internal:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rax, [rbp+var_10]
mov rax, [rax]
mov rax, [rax+480h]
mov rax, [rax+28h]
mov [rbp+var_20], rax
mov rax, [rbp+var_10]
mov rdi, [rax]
call ... | long long mysql_stat_start_internal(long long *a1)
{
long long result; // rax
long long v2; // [rsp+0h] [rbp-20h]
v2 = *(_QWORD *)(*(_QWORD *)(*a1 + 1152) + 40LL);
*(_QWORD *)(v2 + 8) = mysql_stat(*a1);
result = v2;
*(_DWORD *)v2 = 0;
return result;
}
| mysql_stat_start_internal:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x480]
MOV RAX,qword ptr [RAX + 0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ... |
void mysql_stat_start_internal(long *param_1)
{
int4 *puVar1;
int8 uVar2;
puVar1 = *(int4 **)(*(long *)(*param_1 + 0x480) + 0x28);
uVar2 = mysql_stat(*param_1);
*(int8 *)(puVar1 + 2) = uVar2;
*puVar1 = 0;
return;
}
| |
12,908 | my_instr_bin | eloqsql/strings/ctype-bin.c | static
uint my_instr_bin(CHARSET_INFO *cs __attribute__((unused)),
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)
{
if (nmatch)
{
... | O3 | c | my_instr_bin:
xorl %eax, %eax
cmpq %rdx, %r8
ja 0x3802e
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
movl 0x10(%rbp), %r10d
testq %r8, %r8
je 0x37ff9
addq %rsi, %rdx
subq %r8, %rdx
incq %rdx
movq %rsi, %rdi
cmpq %rdx, %rdi
je 0x38028
movq %rdi, %r11
incq %rdi
movb (%r11), %bl
cmpb (%rcx), %bl
jne 0x37f90... | my_instr_bin:
xor eax, eax
cmp r8, rdx
ja locret_3802E
push rbp
mov rbp, rsp
push r15
push r14
push rbx
mov r10d, [rbp+10h]
test r8, r8
jz short loc_37FF9
add rdx, rsi
sub rdx, r8
inc rdx
mov rdi, rsi
loc_37F90:
cmp rdi, rdx
jz loc_38028
mov r11, rdi... | long long my_instr_bin(
long long a1,
_BYTE *a2,
unsigned long long a3,
_BYTE *a4,
unsigned long long a5,
_DWORD *a6,
int a7)
{
long long result; // rax
long long v8; // rdx
_BYTE *v9; // rdi
_BYTE *v10; // r11
long long v11; // rbx
bool v12; // zf
... | my_instr_bin:
XOR EAX,EAX
CMP R8,RDX
JA 0x0013802e
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
MOV R10D,dword ptr [RBP + 0x10]
TEST R8,R8
JZ 0x00137ff9
ADD RDX,RSI
SUB RDX,R8
INC RDX
MOV RDI,RSI
LAB_00137f90:
CMP RDI,RDX
JZ 0x00138028
MOV R11,RDI
INC RDI
MOV BL,byte ptr [R11]
CMP BL,byte ptr [RCX]
JNZ 0x00137f90
MO... |
int8
my_instr_bin(int8 param_1,char *param_2,ulong param_3,char *param_4,ulong param_5,
int4 *param_6,int param_7)
{
char *pcVar1;
char *pcVar2;
int8 uVar3;
long lVar4;
long lVar5;
ulong uVar6;
int iVar7;
char *pcVar8;
char *pcVar9;
uVar3 = 0;
if (param_5 <= param_3) {
if (par... | |
12,909 | normalize_dirname | eloqsql/mysys/mf_pack.c | size_t normalize_dirname(char *to, const char *from)
{
size_t length;
char buff[FN_REFLEN + 1];
DBUG_ENTER("normalize_dirname");
/*
Despite the name, this actually converts the name to the system's
format (TODO: name this properly).
*/
(void) intern_filename(buff, from);
length= strlen(buff); /... | O0 | c | normalize_dirname:
pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp # imm = 0x230
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x218(%rbp)
movq %rsi, -0x220(%rbp)
leaq -0x210(%rbp), %rdi
movq -0x220(%rbp), %rsi
callq 0xe82a0
leaq -0x210(%rbp), %rdi
callq 0x2a340
movq %rax, -0x228(%rbp)
cmpq $0x0, -0x228... | normalize_dirname:
push rbp
mov rbp, rsp
sub rsp, 230h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_218], rdi
mov [rbp+var_220], rsi
lea rdi, [rbp+var_210]
mov rsi, [rbp+var_220]
call intern_filename
lea rdi, [rbp+var_210]
call _strlen
mov [rbp+var_228], rax
cmp ... | long long normalize_dirname(long long a1, _BYTE *a2)
{
unsigned long long v3; // [rsp+8h] [rbp-228h]
long long v4; // [rsp+18h] [rbp-218h]
_BYTE v5[520]; // [rsp+20h] [rbp-210h] BYREF
unsigned long long v6; // [rsp+228h] [rbp-8h]
v6 = __readfsqword(0x28u);
v4 = a1;
intern_filename((long long)v5, a2);
... | normalize_dirname:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x230
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x218],RDI
MOV qword ptr [RBP + -0x220],RSI
LEA RDI,[RBP + -0x210]
MOV RSI,qword ptr [RBP + -0x220]
CALL 0x001e82a0
LEA RDI,[RBP + -0x210]
CALL 0x0012a340
MOV qword ptr [RBP + -0x228],R... |
int8 normalize_dirname(int8 param_1,int8 param_2)
{
int8 uVar1;
long in_FS_OFFSET;
size_t local_230;
int8 local_220;
char local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_220 = param_1;
intern_filename(local_218,param_2);
local_230 = strlen(local_218);
if (((lo... | |
12,910 | normalize_dirname | eloqsql/mysys/mf_pack.c | size_t normalize_dirname(char *to, const char *from)
{
size_t length;
char buff[FN_REFLEN + 1];
DBUG_ENTER("normalize_dirname");
/*
Despite the name, this actually converts the name to the system's
format (TODO: name this properly).
*/
(void) intern_filename(buff, from);
length= strlen(buff); /... | O3 | c | normalize_dirname:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x210, %rsp # imm = 0x210
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x18(%rbp)
leaq -0x220(%rbp), %r14
movq %r14, %rdi
callq 0x9aa61
movq %r14, %rdi
callq 0x29340
testq %rax, %rax
je 0x9adb7
cmpb $0x2f, -0x1(%rax,%r14)
je 0x9adb7... | normalize_dirname:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 210h
mov rbx, rdi
mov rax, fs:28h
mov [rbp+var_18], rax
lea r14, [rbp+var_220]
mov rdi, r14
call intern_filename
mov rdi, r14
call _strlen
test rax, rax
jz short loc_9ADB7
cmp byte ptr [rax+r14... | long long normalize_dirname(long long a1, _BYTE *a2)
{
unsigned long long v2; // rax
long long v3; // rcx
unsigned __int8 v5[520]; // [rsp+0h] [rbp-220h] BYREF
unsigned long long v6; // [rsp+208h] [rbp-18h]
v6 = __readfsqword(0x28u);
intern_filename((long long)v5, a2);
v2 = strlen(v5);
if ( v2 && v5[v... | normalize_dirname:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x210
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
LEA R14,[RBP + -0x220]
MOV RDI,R14
CALL 0x0019aa61
MOV RDI,R14
CALL 0x00129340
TEST RAX,RAX
JZ 0x0019adb7
CMP byte ptr [RAX + R14*0x1 + -0x1],0x2f
JZ 0x0019adb7
MOV ECX,0x1ff
C... |
void normalize_dirname(int8 param_1)
{
size_t sVar1;
size_t sVar2;
long in_FS_OFFSET;
int8 uStack_230;
char local_228 [520];
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
uStack_230 = (code *)0x19ad8c;
intern_filename(local_228);
uStack_230 = (code *)0x19ad94;
sVar1 = strlen(local... | |
12,911 | unlock_io_cache | eloqsql/mysys/mf_iocache.c | static void unlock_io_cache(IO_CACHE *cache)
{
IO_CACHE_SHARE *cshare= cache->share;
DBUG_ENTER("unlock_io_cache");
DBUG_PRINT("io_cache_share", ("%s: %p pos: %lu running: %u",
(cache == cshare->source_cache) ?
"writer" : "reader",
... | O3 | c | unlock_io_cache:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl 0xdc(%rdi), %eax
movl %eax, 0xd8(%rdi)
leaq 0x48(%rdi), %r14
movq 0x78(%rdi), %rdi
testq %rdi, %rdi
jne 0xb2b67
movq %r14, %rdi
callq 0x2a7a0
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
jne 0xb2b79
movq %rbx, %rdi
popq %rbx
popq %r14
popq... | unlock_io_cache:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdi
mov eax, [rdi+0DCh]
mov [rdi+0D8h], eax
lea r14, [rdi+48h]
mov rdi, [rdi+78h]
test rdi, rdi
jnz short loc_B2B67
loc_B2B4A:
mov rdi, r14
call _pthread_cond_broadcast
mov rdi, [rbx+40h]
test rdi, rd... | long long unlock_io_cache(long long a1)
{
*(_DWORD *)(a1 + 216) = *(_DWORD *)(a1 + 220);
if ( *(_QWORD *)(a1 + 120) )
PSI_server[47]();
pthread_cond_broadcast(a1 + 72);
if ( *(_QWORD *)(a1 + 64) )
PSI_server[44]();
return pthread_mutex_unlock(a1);
}
| unlock_io_cache:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDI
MOV EAX,dword ptr [RDI + 0xdc]
MOV dword ptr [RDI + 0xd8],EAX
LEA R14,[RDI + 0x48]
MOV RDI,qword ptr [RDI + 0x78]
TEST RDI,RDI
JNZ 0x001b2b67
LAB_001b2b4a:
MOV RDI,R14
CALL 0x0012a7a0
MOV RDI,qword ptr [RBX + 0x40]
TEST RDI,RDI
JNZ 0x001b2b79
LAB_001b2... |
void unlock_io_cache(pthread_mutex_t *param_1)
{
*(int4 *)((long)param_1 + 0xd8) = *(int4 *)((long)param_1 + 0xdc);
if (param_1[3].__align != 0) {
(**(code **)(PSI_server + 0x178))();
}
pthread_cond_broadcast((pthread_cond_t *)((long)param_1 + 0x48));
if (*(long *)((long)param_1 + 0x40) != 0) {
(**(... | |
12,912 | stbi__out_gif_code(stbi__gif*, unsigned short) | monkey531[P]llama/examples/llava/../../common/stb_image.h | static void stbi__out_gif_code(stbi__gif *g, stbi__uint16 code)
{
stbi_uc *p, *c;
int idx;
// recurse to decode the prefixes, since the linked-list is backwards,
// and working backwards through an interleaved image would be nasty
if (g->codes[code].prefix >= 0)
stbi__out_gif_code(g, g->codes[code... | O3 | c | stbi__out_gif_code(stbi__gif*, unsigned short):
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %esi, %r14d
movzwl 0x834(%rdi,%r14,4), %eax
testw %ax, %ax
js 0x3fbc5
movzwl %ax, %esi
movq %rbx, %rdi
callq 0x3fba2
movslq 0x8860(%rbx), %rcx
cmpl 0x8858(%rbx), %ecx
jge 0x3fca8
movslq 0x885c(%rbx), %rax
addq %rcx, %r... | _ZL18stbi__out_gif_codeP9stbi__gift:
push r14
push rbx
push rax
mov rbx, rdi
mov r14d, esi
movzx eax, word ptr [rdi+r14*4+834h]
test ax, ax
js short loc_3FBC5
movzx esi, ax
mov rdi, rbx
call _ZL18stbi__out_gif_codeP9stbi__gift; stbi__out_gif_code(stbi__gif *,ushort)
loc_3FBC5:
movsxd... | long long stbi__out_gif_code(long long a1, unsigned int a2, long long a3, long long a4, long long a5, long long a6)
{
long long result; // rax
long long v7; // rcx
long long v8; // rax
long long v9; // rcx
long long v10; // rdx
long long v11; // rsi
int v12; // ecx
int v13; // ecx
int v14; // edx
i... | stbi__out_gif_code:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV R14D,ESI
MOVZX EAX,word ptr [RDI + R14*0x4 + 0x834]
TEST AX,AX
JS 0x0013fbc5
MOVZX ESI,AX
MOV RDI,RBX
CALL 0x0013fba2
LAB_0013fbc5:
MOVSXD RCX,dword ptr [RBX + 0x8860]
CMP ECX,dword ptr [RBX + 0x8858]
JGE 0x0013fca8
MOVSXD RAX,dword ptr [RBX + 0x885c]
ADD R... |
/* stbi__out_gif_code(stbi__gif*, unsigned short) */
void stbi__out_gif_code(stbi__gif *param_1,ushort param_2)
{
long lVar1;
long lVar2;
long lVar3;
int iVar4;
int iVar5;
int6 in_register_00000032;
ulong uVar6;
uVar6 = CONCAT62(in_register_00000032,param_2) & 0xffffffff;
if (-1 < (short)*(ushor... | |
12,913 | OpenSubdiv::v3_6_0::Vtr::internal::StackBuffer<int, 16u, false>::allocate(unsigned int) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/../vtr/stackBuffer.h | inline void
StackBuffer<TYPE,SIZE,POD_TYPE>::allocate(size_type capacity) {
// Again, is alignment an issue here? C++ spec says new will return pointer
// "suitably aligned" for conversion to pointers of other types, which implies
// at least an alignment of 16.
_dynamicData = static_cast<char*>(::... | O0 | c | OpenSubdiv::v3_6_0::Vtr::internal::StackBuffer<int, 16u, false>::allocate(unsigned int):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movl -0xc(%rbp), %eax
movl %eax, %edi
shlq $0x0, %rdi
callq 0xcd100
movq %rax, %rcx
movq -0x18(%rb... | _ZN10OpenSubdiv6v3_6_03Vtr8internal11StackBufferINS2_9FVarLevel8ValueTagELj64ELb0EE8allocateEj:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov rax, [rbp+var_8]
mov [rbp+var_18], rax
mov eax, [rbp+var_C]
mov edi, eax
shl rdi, 0; unsigned __int64
ca... | long long OpenSubdiv::v3_6_0::Vtr::internal::StackBuffer<OpenSubdiv::v3_6_0::Vtr::internal::FVarLevel::ValueTag,64u,false>::allocate(
long long a1,
unsigned int a2)
{
long long v2; // rcx
long long result; // rax
v2 = operator new(a2);
result = a1;
*(_QWORD *)(a1 + 80) = v2;
*(_QWORD *)a1 ... | allocate:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x18],RAX
MOV EAX,dword ptr [RBP + -0xc]
MOV EDI,EAX
SHL RDI,0x0
CALL 0x001cd100
MOV RCX,RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX + 0x50],RCX
MOV R... |
/* OpenSubdiv::v3_6_0::Vtr::internal::StackBuffer<OpenSubdiv::v3_6_0::Vtr::internal::FVarLevel::ValueTag,
64u, false>::allocate(unsigned int) */
void __thiscall
OpenSubdiv::v3_6_0::Vtr::internal::
StackBuffer<OpenSubdiv::v3_6_0::Vtr::internal::FVarLevel::ValueTag,64u,false>::allocate
(StackBuffer<OpenSub... | |
12,914 | OpenSubdiv::v3_6_0::Vtr::internal::StackBuffer<int, 16u, false>::allocate(unsigned int) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/../vtr/stackBuffer.h | inline void
StackBuffer<TYPE,SIZE,POD_TYPE>::allocate(size_type capacity) {
// Again, is alignment an issue here? C++ spec says new will return pointer
// "suitably aligned" for conversion to pointers of other types, which implies
// at least an alignment of 16.
_dynamicData = static_cast<char*>(::... | O2 | c | OpenSubdiv::v3_6_0::Vtr::internal::StackBuffer<int, 16u, false>::allocate(unsigned int):
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq 0x52790
movq %rax, 0x50(%r14)
movq %rax, (%r14)
movl %ebx, 0xc(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
| _ZN10OpenSubdiv6v3_6_03Vtr8internal11StackBufferINS2_9FVarLevel8ValueTagELj64ELb0EE8allocateEj:
push r14
push rbx
push rax
mov ebx, esi
mov r14, rdi
mov edi, esi; unsigned __int64
call __Znwm; operator new(ulong)
mov [r14+50h], rax
mov [r14], rax
mov [r14+0Ch], ebx
add rsp, 8
pop... | long long OpenSubdiv::v3_6_0::Vtr::internal::StackBuffer<OpenSubdiv::v3_6_0::Vtr::internal::FVarLevel::ValueTag,64u,false>::allocate(
long long a1,
unsigned int a2)
{
long long result; // rax
result = operator new(a2);
*(_QWORD *)(a1 + 80) = result;
*(_QWORD *)a1 = result;
*(_DWORD *)(a1 + 1... | allocate:
PUSH R14
PUSH RBX
PUSH RAX
MOV EBX,ESI
MOV R14,RDI
MOV EDI,ESI
CALL 0x00152790
MOV qword ptr [R14 + 0x50],RAX
MOV qword ptr [R14],RAX
MOV dword ptr [R14 + 0xc],EBX
ADD RSP,0x8
POP RBX
POP R14
RET
|
/* OpenSubdiv::v3_6_0::Vtr::internal::StackBuffer<OpenSubdiv::v3_6_0::Vtr::internal::FVarLevel::ValueTag,
64u, false>::allocate(unsigned int) */
void __thiscall
OpenSubdiv::v3_6_0::Vtr::internal::
StackBuffer<OpenSubdiv::v3_6_0::Vtr::internal::FVarLevel::ValueTag,64u,false>::allocate
(StackBuffer<OpenSub... | |
12,915 | ma_ft_segiterator | eloqsql/storage/maria/ma_ft_update.c | uint _ma_ft_segiterator(register FT_SEG_ITERATOR *ftsi)
{
DBUG_ENTER("_ma_ft_segiterator");
if (!ftsi->num)
DBUG_RETURN(0);
ftsi->num--;
if (!ftsi->seg)
DBUG_RETURN(1);
ftsi->seg--;
if (ftsi->seg->null_bit &&
(ftsi->rec[ftsi->seg->null_pos] & ftsi->seg->null_bit))
{
ftsi->pos=0;
... | O0 | c | ma_ft_segiterator:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
jne 0x8d903
jmp 0x8d8f7
movl $0x0, -0x4(%rbp)
jmp 0x8da92
movq -0x10(%rbp), %rax
movl (%rax), %ecx
addl $-0x1, %ecx
movl %ecx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x8d927
jmp... | _ma_ft_segiterator:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov rax, [rbp+var_10]
cmp dword ptr [rax], 0
jnz short loc_8D903
jmp short $+2
loc_8D8F7:
mov [rbp+var_4], 0
jmp loc_8DA92
loc_8D903:
mov rax, [rbp+var_10]
mov ecx, [rax]
add ecx, 0FFFFFFFFh
m... | long long ma_ft_segiterator(long long a1)
{
int v2; // [rsp+8h] [rbp-18h]
unsigned int v3; // [rsp+Ch] [rbp-14h]
if ( *(_DWORD *)a1 )
{
--*(_DWORD *)a1;
if ( *(_QWORD *)(a1 + 8) )
{
*(_QWORD *)(a1 + 8) -= 32LL;
if ( *(_BYTE *)(*(_QWORD *)(a1 + 8) + 25LL)
&& (*(_BYTE *)(*(_QWORD... | _ma_ft_segiterator:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV RAX,qword ptr [RBP + -0x10]
CMP dword ptr [RAX],0x0
JNZ 0x0018d903
JMP 0x0018d8f7
LAB_0018d8f7:
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0018da92
LAB_0018d903:
MOV RAX,qword ptr [RBP + -0x10]
MOV ECX,dword ptr [RAX]
ADD ECX,-0x1
MOV d... |
int4 _ma_ft_segiterator(int *param_1)
{
byte bVar1;
int iVar2;
uint local_20;
int4 local_c;
if (*param_1 == 0) {
local_c = 0;
}
else {
*param_1 = *param_1 + -1;
if (*(long *)(param_1 + 2) == 0) {
local_c = 1;
}
else {
*(long *)(param_1 + 2) = *(long *)(param_1 + 2) + -... | |
12,916 | Cache::printInfo(bool) | DanielDanyang[P]CSC3050-2025-Spring-Project-4/src/Cache.cpp | void Cache::printInfo(bool verbose) {
printf("---------- Cache Info -----------\n");
printf("Cache Size: %d bytes\n", this->policy.cacheSize);
printf("Block Size: %d bytes\n", this->policy.blockSize);
printf("Block Num: %d\n", this->policy.blockNum);
printf("Associativiy: %d\n", this->policy.associativity);
... | O0 | cpp | Cache::printInfo(bool):
subq $0x38, %rsp
movb %sil, %al
movq %rdi, 0x30(%rsp)
andb $0x1, %al
movb %al, 0x2f(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x336c(%rip), %rdi # 0x82bf
movb $0x0, %al
callq 0x2040
movq 0x18(%rsp), %rax
movl 0x38(%rax), %esi
leaq 0x3379(%rip), %rdi # 0x82e2
movb $0x0, %al... | _ZN5Cache9printInfoEb:
sub rsp, 38h
mov al, sil
mov [rsp+38h+var_8], rdi
and al, 1
mov [rsp+38h+var_9], al
mov rax, [rsp+38h+var_8]
mov [rsp+38h+var_20], rax
lea rdi, aCacheInfo; "---------- Cache Info -----------\n"
mov al, 0
call _printf
mov rax, [rsp+38h+var_20]
mov esi... | long long Cache::printInfo(Cache *this, char a2)
{
long long result; // rax
unsigned long long v3; // rcx
const char *v4; // r8
const char *v5; // r9
long long v6; // [rsp+20h] [rbp-18h]
int i; // [rsp+28h] [rbp-10h]
printf("---------- Cache Info -----------\n");
printf("Cache Size: %d bytes\n", *((_D... | printInfo:
SUB RSP,0x38
MOV AL,SIL
MOV qword ptr [RSP + 0x30],RDI
AND AL,0x1
MOV byte ptr [RSP + 0x2f],AL
MOV RAX,qword ptr [RSP + 0x30]
MOV qword ptr [RSP + 0x18],RAX
LEA RDI,[0x1082bf]
MOV AL,0x0
CALL 0x00102040
MOV RAX,qword ptr [RSP + 0x18]
MOV ESI,dword ptr [RAX + 0x38]
LEA RDI,[0x1082e2]
MOV AL,0x0
CALL 0x0010204... |
/* Cache::printInfo(bool) */
void __thiscall Cache::printInfo(Cache *this,bool param_1)
{
ulong uVar1;
byte *pbVar2;
char *pcVar3;
char *pcVar4;
uint local_10;
printf("---------- Cache Info -----------\n");
printf("Cache Size: %d bytes\n",(ulong)*(uint *)(this + 0x38));
printf("Block Size: %d byte... | |
12,917 | Cache::printInfo(bool) | DanielDanyang[P]CSC3050-2025-Spring-Project-4/src/Cache.cpp | void Cache::printInfo(bool verbose) {
printf("---------- Cache Info -----------\n");
printf("Cache Size: %d bytes\n", this->policy.cacheSize);
printf("Block Size: %d bytes\n", this->policy.blockSize);
printf("Block Num: %d\n", this->policy.blockNum);
printf("Associativiy: %d\n", this->policy.associativity);
... | O2 | cpp | Cache::printInfo(bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x1a6c(%rip), %rdi # 0x5495
callq 0x2220
movl 0x38(%rbx), %esi
leaq 0x188f(%rip), %rdi # 0x52c7
xorl %eax, %eax
callq 0x2040
movl 0x3c(%rbx), %esi
leaq 0x1894(%rip), %rdi ... | _ZN5Cache9printInfoEb:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov ebp, esi
mov rbx, rdi
lea rdi, aCacheInfo; "---------- Cache Info -----------"
call _puts
mov esi, [rbx+38h]
lea rdi, aCacheSizeDByte; "Cache Size: %d bytes\n"
xor eax, eax
call _... | unsigned long long Cache::printInfo(Cache *this, int a2)
{
unsigned long long result; // rax
long long v3; // rbp
unsigned long long i; // r15
long long v5; // rsi
const char *v6; // r8
const char *v7; // r9
puts("---------- Cache Info -----------");
printf("Cache Size: %d bytes\n", *((_DWORD *)this +... | printInfo:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV EBP,ESI
MOV RBX,RDI
LEA RDI,[0x105495]
CALL 0x00102220
MOV ESI,dword ptr [RBX + 0x38]
LEA RDI,[0x1052c7]
XOR EAX,EAX
CALL 0x00102040
MOV ESI,dword ptr [RBX + 0x3c]
LEA RDI,[0x1052dd]
XOR EAX,EAX
CALL 0x00102040
MOV ESI,dword ptr [RBX + 0x40]
... |
/* Cache::printInfo(bool) */
void __thiscall Cache::printInfo(Cache *this,bool param_1)
{
long lVar1;
int8 in_RAX;
long lVar2;
int7 in_register_00000031;
char *pcVar3;
char *pcVar4;
ulong uVar5;
puts("---------- Cache Info -----------");
printf("Cache Size: %d bytes\n",(ulong)*(uint *)(this + 0x... | |
12,918 | Cache::printInfo(bool) | DanielDanyang[P]CSC3050-2025-Spring-Project-4/src/Cache.cpp | void Cache::printInfo(bool verbose) {
printf("---------- Cache Info -----------\n");
printf("Cache Size: %d bytes\n", this->policy.cacheSize);
printf("Block Size: %d bytes\n", this->policy.blockSize);
printf("Block Num: %d\n", this->policy.blockNum);
printf("Associativiy: %d\n", this->policy.associativity);
... | O3 | cpp | Cache::printInfo(bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x1790(%rip), %rdi # 0x54a5
callq 0x2220
movl 0x38(%rbx), %esi
leaq 0x15b3(%rip), %rdi # 0x52d7
xorl %eax, %eax
callq 0x2050
movl 0x3c(%rbx), %esi
leaq 0x15b8(%rip), %rdi ... | _ZN5Cache9printInfoEb:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov ebp, esi
mov rbx, rdi
lea rdi, aCacheInfo; "---------- Cache Info -----------"
call _puts
mov esi, [rbx+38h]
lea rdi, aCacheSizeDByte; "Cache Size: %d bytes\n"
xor eax, eax
call _... | long long Cache::printInfo(Cache *this, int a2)
{
long long result; // rax
long long v3; // rbp
unsigned long long v4; // r15
const char *v5; // r8
const char *v6; // r9
puts("---------- Cache Info -----------");
printf("Cache Size: %d bytes\n", *((_DWORD *)this + 14));
printf("Block Size: %d bytes\n"... | printInfo:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV EBP,ESI
MOV RBX,RDI
LEA RDI,[0x1054a5]
CALL 0x00102220
MOV ESI,dword ptr [RBX + 0x38]
LEA RDI,[0x1052d7]
XOR EAX,EAX
CALL 0x00102050
MOV ESI,dword ptr [RBX + 0x3c]
LEA RDI,[0x1052ed]
XOR EAX,EAX
CALL 0x00102050
MOV ESI,dword ptr [RBX + 0x40]
... |
/* Cache::printInfo(bool) */
void __thiscall Cache::printInfo(Cache *this,bool param_1)
{
int8 in_RAX;
long lVar1;
ulong uVar2;
long lVar3;
int7 in_register_00000031;
char *pcVar4;
char *pcVar5;
ulong uVar6;
puts("---------- Cache Info -----------");
printf("Cache Size: %d bytes\n",(ulong)*(ui... | |
12,919 | strmake | eloqsql/strings/strmake.c | char *strmake(register char *dst, register const char *src, size_t length)
{
while (length--)
{
if (! (*dst++ = *src++))
{
#ifdef EXTRA_DEBUG
/*
'length' is the maximum length of the string; the buffer needs
to be one character larger to accommodate the terminating
'\0'. This ... | O3 | c | strmake:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
xorl %edi, %edi
movq %rdi, %rcx
cmpq %rdi, %rdx
je 0xd71fc
movb (%rsi,%rcx), %r8b
movb %r8b, (%rax,%rcx)
leaq 0x1(%rcx), %rdi
testb %r8b, %r8b
jne 0xd71e1
jmp 0xd7200
movb $0x0, (%rax,%rcx)
addq %rcx, %rax
popq %rbp
retq
nopl (%rax)
| strmake:
push rbp
mov rbp, rsp
mov rax, rdi
xor edi, edi
loc_D71E1:
mov rcx, rdi
cmp rdx, rdi
jz short loc_D71FC
mov r8b, [rsi+rcx]
mov [rax+rcx], r8b
lea rdi, [rcx+1]
test r8b, r8b
jnz short loc_D71E1
jmp short loc_D7200
loc_D71FC:
mov byte ptr [rax+rcx], 0
loc_D7... | long long strmake(long long a1, long long a2, long long a3)
{
long long v4; // rdi
long long v5; // rcx
char v6; // r8
v4 = 0LL;
while ( 1 )
{
v5 = v4;
if ( a3 == v4 )
break;
v6 = *(_BYTE *)(a2 + v4);
*(_BYTE *)(a1 + v4++) = v6;
if ( !v6 )
return v5 + a1;
}
*(_BYTE *)(a... | strmake:
PUSH RBP
MOV RBP,RSP
MOV RAX,RDI
XOR EDI,EDI
LAB_001d71e1:
MOV RCX,RDI
CMP RDX,RDI
JZ 0x001d71fc
MOV R8B,byte ptr [RSI + RCX*0x1]
MOV byte ptr [RAX + RCX*0x1],R8B
LEA RDI,[RCX + 0x1]
TEST R8B,R8B
JNZ 0x001d71e1
JMP 0x001d7200
LAB_001d71fc:
MOV byte ptr [RAX + RCX*0x1],0x0
LAB_001d7200:
ADD RAX,RCX
POP RBP
RET
|
long strmake(long param_1,long param_2,long param_3)
{
char cVar1;
long lVar2;
long lVar3;
lVar2 = 0;
do {
lVar3 = lVar2;
if (param_3 == lVar3) {
*(int1 *)(param_1 + lVar3) = 0;
break;
}
cVar1 = *(char *)(param_2 + lVar3);
*(char *)(param_1 + lVar3) = cVar1;
lVar2 = lV... | |
12,920 | nglog::DumpStackTrace(int, void (*)(char const*, void*), void*) | ng-log[P]ng-log/src/utilities.cc | static void DumpStackTrace(int skip_count, DebugWriter* writerfn, void* arg) {
// Print stack trace
void* stack[32];
int depth = GetStackTrace(stack, ARRAYSIZE(stack), skip_count + 1);
for (int i = 0; i < depth; i++) {
# if defined(HAVE_SYMBOLIZE)
if (FLAGS_symbolize_stacktrace) {
DumpPCAndSymbol(wri... | O2 | cpp | nglog::DumpStackTrace(int, void (*)(char const*, void*), void*):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x918, %rsp # imm = 0x918
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x10(%rsp), %rdi
pushq $0x20
popq %rsi
pushq $0x2
popq %rdx
callq 0x1dc54
movl %eax, %r15d
xorl %eax, %eax
te... | _ZN5nglogL14DumpStackTraceEiPFvPKcPvES2_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 918h
mov rbx, rsi
mov r14, rdi
lea rdi, [rsp+948h+var_938]; this
push 20h ; ' '
pop rsi; void **
push 2
pop rdx; int
call _ZN5nglog5tools13GetStackTraceEPPvii; nglo... | long long nglog::DumpStackTrace(nglog *this, long long a2, void (*a3)(const char *, void *), void *a4)
{
long long v4; // r8
long long v5; // r9
long long StackTrace; // r15
long long result; // rax
long long v8; // rbp
const void *v9; // r13
bool v10; // zf
const char *v11; // rax
int v12; // [rsp+0... | DumpStackTrace:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x918
MOV RBX,RSI
MOV R14,RDI
LEA RDI,[RSP + 0x10]
PUSH 0x20
POP RSI
PUSH 0x2
POP RDX
CALL 0x0011dc54
MOV R15D,EAX
XOR EAX,EAX
TEST R15D,R15D
CMOVLE R15D,EAX
LEA R12,[RSP + 0x510]
XOR EBP,EBP
MOV qword ptr [RSP + 0x8],R15
LAB_0011ec30:
CMP R1... |
/* nglog::DumpStackTrace(int, void (*)(char const*, void*), void*) */
void nglog::DumpStackTrace(int param_1,_func_void_char_ptr_void_ptr *param_2,void *param_3)
{
void *pvVar1;
char cVar2;
uint uVar3;
char *pcVar4;
ulong uVar5;
int4 in_register_0000003c;
void *local_938 [32];
char local_838 [1024];
... | |
12,921 | lunasvg::SVGMarkerElement::markerSize() const | dmazzella[P]pylunasvg/lunasvg/source/svgelement.cpp | Size SVGMarkerElement::markerSize() const
{
LengthContext lengthContext(this);
const Size markerSize = {
lengthContext.valueForLength(m_markerWidth),
lengthContext.valueForLength(m_markerHeight)
};
return markerSize;
} | O1 | cpp | lunasvg::SVGMarkerElement::markerSize() const:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
movq %rdi, (%r14)
movb $0x0, 0x8(%r14)
leaq 0xe4(%rdi), %rsi
movzbl 0xe1(%rdi), %edx
movq %r14, %rdi
callq 0x1f7ea
movaps %xmm0, (%rsp)
movzbl 0xf9(%rbx), %edx
addq $0xfc, %rbx
movq %r14, %rdi
mov... | _ZNK7lunasvg16SVGMarkerElement10markerSizeEv:
push r14
push rbx
sub rsp, 28h
mov rbx, rdi
lea r14, [rsp+38h+var_20]
mov [r14], rdi
mov byte ptr [r14+8], 0
lea rsi, [rdi+0E4h]
movzx edx, byte ptr [rdi+0E1h]
mov rdi, r14
call _ZNK7lunasvg13LengthContext14valueForLengthERKNS_6LengthE... | __m128 lunasvg::SVGMarkerElement::markerSize(lunasvg::SVGMarkerElement *this, __m128 a2)
{
__m128 v3; // [rsp+0h] [rbp-38h]
lunasvg::SVGMarkerElement *v4; // [rsp+18h] [rbp-20h] BYREF
char v5; // [rsp+20h] [rbp-18h]
v4 = this;
v5 = 0;
*(double *)a2.m128_u64 = lunasvg::LengthContext::valueForLength(
... | markerSize:
PUSH R14
PUSH RBX
SUB RSP,0x28
MOV RBX,RDI
LEA R14,[RSP + 0x18]
MOV qword ptr [R14],RDI
MOV byte ptr [R14 + 0x8],0x0
LEA RSI,[RDI + 0xe4]
MOVZX EDX,byte ptr [RDI + 0xe1]
MOV RDI,R14
CALL 0x0011f7ea
MOVAPS xmmword ptr [RSP],XMM0
MOVZX EDX,byte ptr [RBX + 0xf9]
ADD RBX,0xfc
MOV RDI,R14
MOV RSI,RBX
CALL 0x0011... |
/* lunasvg::SVGMarkerElement::markerSize() const */
int8 __thiscall lunasvg::SVGMarkerElement::markerSize(SVGMarkerElement *this)
{
int4 uVar1;
int4 uVar2;
SVGMarkerElement *local_20;
int1 local_18;
local_18 = 0;
local_20 = this;
uVar1 = LengthContext::valueForLength((LengthContext *)&local_20,this ... | |
12,922 | lunasvg::SVGMarkerElement::markerSize() const | dmazzella[P]pylunasvg/lunasvg/source/svgelement.cpp | Size SVGMarkerElement::markerSize() const
{
LengthContext lengthContext(this);
const Size markerSize = {
lengthContext.valueForLength(m_markerWidth),
lengthContext.valueForLength(m_markerHeight)
};
return markerSize;
} | O3 | cpp | lunasvg::SVGMarkerElement::markerSize() const:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
movq %rdi, (%r14)
movb $0x0, 0x8(%r14)
leaq 0xe4(%rdi), %rsi
movzbl 0xe1(%rdi), %edx
movq %r14, %rdi
callq 0x1f696
movaps %xmm0, (%rsp)
movzbl 0xf9(%rbx), %edx
addq $0xfc, %rbx
movq %r14, %rdi
mov... | _ZNK7lunasvg16SVGMarkerElement10markerSizeEv:
push r14
push rbx
sub rsp, 28h
mov rbx, rdi
lea r14, [rsp+38h+var_20]
mov [r14], rdi
mov byte ptr [r14+8], 0
lea rsi, [rdi+0E4h]
movzx edx, byte ptr [rdi+0E1h]
mov rdi, r14
call _ZNK7lunasvg13LengthContext14valueForLengthERKNS_6LengthE... | __m128 lunasvg::SVGMarkerElement::markerSize(lunasvg::SVGMarkerElement *this, __m128 a2)
{
__m128 v3; // [rsp+0h] [rbp-38h]
lunasvg::SVGMarkerElement *v4; // [rsp+18h] [rbp-20h] BYREF
char v5; // [rsp+20h] [rbp-18h]
v4 = this;
v5 = 0;
*(double *)a2.m128_u64 = lunasvg::LengthContext::valueForLength(
... | markerSize:
PUSH R14
PUSH RBX
SUB RSP,0x28
MOV RBX,RDI
LEA R14,[RSP + 0x18]
MOV qword ptr [R14],RDI
MOV byte ptr [R14 + 0x8],0x0
LEA RSI,[RDI + 0xe4]
MOVZX EDX,byte ptr [RDI + 0xe1]
MOV RDI,R14
CALL 0x0011f696
MOVAPS xmmword ptr [RSP],XMM0
MOVZX EDX,byte ptr [RBX + 0xf9]
ADD RBX,0xfc
MOV RDI,R14
MOV RSI,RBX
CALL 0x0011... |
/* lunasvg::SVGMarkerElement::markerSize() const */
int8 __thiscall lunasvg::SVGMarkerElement::markerSize(SVGMarkerElement *this)
{
int4 uVar1;
int4 uVar2;
SVGMarkerElement *local_20;
int1 local_18;
local_18 = 0;
local_20 = this;
uVar1 = LengthContext::valueForLength((LengthContext *)&local_20,this ... | |
12,923 | JS_NewCFunctionData | bluesky950520[P]quickjs/quickjs.c | JSValue JS_NewCFunctionData(JSContext *ctx, JSCFunctionData *func,
int length, int magic, int data_len,
JSValue *data)
{
JSCFunctionDataRecord *s;
JSValue func_obj;
int i;
func_obj = JS_NewObjectProtoClass(ctx, ctx->function_proto,
... | O2 | c | JS_NewCFunctionData:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r12
movl %r8d, %r13d
movl %ecx, (%rsp)
movl %edx, 0x4(%rsp)
movq %rsi, %rbp
movq %rdi, %r15
movq 0x48(%rdi), %rsi
movq 0x50(%rdi), %rdx
pushq $0xf
popq %rcx
callq 0x1ec19
movq %rax, %r14
movq %rdx, %rbx
cmpl $0x... | JS_NewCFunctionData:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r12, r9
mov r13d, r8d
mov [rsp+38h+var_38], ecx
mov [rsp+38h+var_34], edx
mov rbp, rsi
mov r15, rdi
mov rsi, [rdi+48h]
mov rdx, [rdi+50h]
push 0Fh
pop rcx
call JS_NewObj... | unsigned long long JS_NewCFunctionData(
long long a1,
long long a2,
unsigned int a3,
__int16 a4,
unsigned int a5,
long long a6)
{
long long v7; // r13
long long v8; // r14
long long v9; // rdx
long long v10; // rbx
long long v11; // rax
long long v12; // rcx
... | JS_NewCFunctionData:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R12,R9
MOV R13D,R8D
MOV dword ptr [RSP],ECX
MOV dword ptr [RSP + 0x4],EDX
MOV RBP,RSI
MOV R15,RDI
MOV RSI,qword ptr [RDI + 0x48]
MOV RDX,qword ptr [RDI + 0x50]
PUSH 0xf
POP RCX
CALL 0x0011ec19
MOV R14,RAX
MOV RBX,RDX
CMP EBX,0x6
JZ ... |
int1 [16]
JS_NewCFunctionData(long param_1,int8 param_2,int1 param_3,int2 param_4,
uint param_5,long param_6)
{
int *piVar1;
int8 uVar2;
int8 *puVar3;
long lVar4;
ulong uVar5;
ulong uVar6;
int1 auVar7 [16];
int1 auVar8 [16];
auVar7 = JS_NewObjectProtoClass
... | |
12,924 | ma_set_connect_attrs | eloqsql/libmariadb/libmariadb/mariadb_lib.c | static my_bool
ma_set_connect_attrs(MYSQL *mysql, const char *host)
{
char buffer[255];
int rc= 0;
rc= mysql_options(mysql, MYSQL_OPT_CONNECT_ATTR_DELETE, "_client_name") +
mysql_options(mysql, MYSQL_OPT_CONNECT_ATTR_DELETE, "_client_version") +
mysql_options(mysql, MYSQL_OPT_CONNECT_ATTR_DELETE, "_o... | O0 | c | ma_set_connect_attrs:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp # imm = 0x150
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x118(%rbp)
movq %rsi, -0x120(%rbp)
movl $0x0, -0x124(%rbp)
movq -0x118(%rbp), %rdi
movl $0x22, %esi
leaq 0x2f029(%rip), %rdx # 0x4bcec
callq 0x21970
movl %eax, -0x140(%r... | ma_set_connect_attrs:
push rbp
mov rbp, rsp
sub rsp, 150h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_118], rdi
mov [rbp+var_120], rsi
mov [rbp+var_124], 0
mov rdi, [rbp+var_118]
mov esi, 22h ; '"'
lea rdx, aClientName; "_client_name"
call mysql_options
mov [rbp+v... | bool ma_set_connect_attrs(long long a1, _BYTE *a2)
{
int v2; // eax
int v4; // [rsp+10h] [rbp-140h]
int v5; // [rsp+14h] [rbp-13Ch]
int v6; // [rsp+18h] [rbp-138h]
int v7; // [rsp+1Ch] [rbp-134h]
int v8; // [rsp+20h] [rbp-130h]
int v9; // [rsp+24h] [rbp-12Ch]
int v10; // [rsp+28h] [rbp-128h]
int v11;... | ma_set_connect_attrs:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x118],RDI
MOV qword ptr [RBP + -0x120],RSI
MOV dword ptr [RBP + -0x124],0x0
MOV RDI,qword ptr [RBP + -0x118]
MOV ESI,0x22
LEA RDX,[0x14bcec]
CALL 0x00121970
MOV dword ptr [RBP + -0x... |
int8 ma_set_connect_attrs(int8 param_1,char *param_2)
{
int iVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
int iVar6;
int iVar7;
int iVar8;
int iVar9;
__pid_t _Var10;
long in_FS_OFFSET;
int local_12c;
char local_118 [264];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
... | |
12,925 | my_wc_mb_euc_jp | eloqsql/strings/ctype-ujis.c | static int
my_wc_mb_euc_jp(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t wc, uchar *s, uchar *e)
{
int jp;
if ((int) wc < 0x80) /* ASCII [00-7F] */
{
if (s >= e)
return MY_CS_TOOSMALL;
*s= (uchar) wc;
return 1;
}
if (wc > 0xFFFF)
return MY_CS_ILUNI;
if ((jp= uni... | O3 | c | my_wc_mb_euc_jp:
cmpl $0x7f, %esi
jg 0x6fcea
movl $0xffffff9b, %eax # imm = 0xFFFFFF9B
cmpq %rcx, %rdx
jae 0x6fd1f
movb %sil, (%rdx)
movl $0x1, %eax
retq
xorl %eax, %eax
cmpq $0xffff, %rsi # imm = 0xFFFF
ja 0x6fd1f
leaq 0x249154(%rip), %rdi # 0x2b8e50
movzwl (%rdi,%rsi,2), %edi
testw %di, %di
je 0x6f... | my_wc_mb_euc_jp:
cmp esi, 7Fh
jg short loc_6FCEA
mov eax, 0FFFFFF9Bh
cmp rdx, rcx
jnb short locret_6FD1F
mov [rdx], sil
mov eax, 1
retn
loc_6FCEA:
xor eax, eax
cmp rsi, 0FFFFh
ja short locret_6FD1F
lea rdi, unicode_to_jisx0208_eucjp
movzx edi, word ptr [rdi+rsi*2]
test ... | long long my_wc_mb_euc_jp(long long a1, unsigned long long a2, unsigned long long a3, unsigned long long a4)
{
long long result; // rax
__int16 v5; // di
__int16 v6; // bx
if ( (int)a2 > 127 )
{
result = 0LL;
if ( a2 <= 0xFFFF )
{
v5 = unicode_to_jisx0208_eucjp[a2];
if ( v5 )
{... | my_wc_mb_euc_jp:
CMP ESI,0x7f
JG 0x0016fcea
MOV EAX,0xffffff9b
CMP RDX,RCX
JNC 0x0016fd1f
MOV byte ptr [RDX],SIL
MOV EAX,0x1
RET
LAB_0016fcea:
XOR EAX,EAX
CMP RSI,0xffff
JA 0x0016fd1f
LEA RDI,[0x3b8e50]
MOVZX EDI,word ptr [RDI + RSI*0x2]
TEST DI,DI
JZ 0x0016fd20
LEA RSI,[RDX + 0x2]
MOV EAX,0xffffff9a
CMP RSI,RCX
JA 0x0... |
int8 my_wc_mb_euc_jp(int8 param_1,ulong param_2,ushort *param_3,ushort *param_4)
{
ushort uVar1;
short sVar2;
int8 uVar3;
if ((int)param_2 < 0x80) {
uVar3 = 0xffffff9b;
if (param_3 < param_4) {
*(char *)param_3 = (char)param_2;
return 1;
}
}
else {
uVar3 = 0;
if (param_2... | |
12,926 | DepthAnything::determineBatchDimensions(std::vector<cv::Mat, std::allocator<cv::Mat>> const&) | Depths-CPP/include/depth_anything.hpp | cv::Size DepthAnything::determineBatchDimensions(const std::vector<cv::Mat> &images)
{
if (images.empty())
{
return inputImageShape;
}
if (!isDynamicInputShape)
{
return inputImageShape;
}
// Find maximum dimensions across all images
int maxWidth = 0;
int ma... | O0 | cpp | DepthAnything::determineBatchDimensions(std::vector<cv::Mat, std::allocator<cv::Mat>> const&):
subq $0x68, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, %rax
movq %rax, 0x10(%rsp)
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rdi
callq 0x212d0
tes... | _ZN13DepthAnything24determineBatchDimensionsERKSt6vectorIN2cv3MatESaIS2_EE:
sub rsp, 68h
mov [rsp+68h+var_60], rdi
mov rax, rdi
mov [rsp+68h+var_58], rax
mov [rsp+68h+var_8], rdi
mov [rsp+68h+var_10], rsi
mov [rsp+50h], rdx
mov rax, [rsp+68h+var_10]
mov [rsp+68h+var_50], rax
mov ... | long long DepthAnything::determineBatchDimensions(long long a1, long long a2, long long a3)
{
int v3; // edx
int v4; // edx
unsigned int v6; // [rsp+20h] [rbp-48h]
unsigned int v7; // [rsp+24h] [rbp-44h]
long long v8; // [rsp+28h] [rbp-40h]
long long v9; // [rsp+30h] [rbp-38h] BYREF
_QWORD v10[2]; // [rs... | determineBatchDimensions:
SUB RSP,0x68
MOV qword ptr [RSP + 0x8],RDI
MOV RAX,RDI
MOV qword ptr [RSP + 0x10],RAX
MOV qword ptr [RSP + 0x60],RDI
MOV qword ptr [RSP + 0x58],RSI
MOV qword ptr [RSP + 0x50],RDX
MOV RAX,qword ptr [RSP + 0x58]
MOV qword ptr [RSP + 0x18],RAX
MOV RDI,qword ptr [RSP + 0x50]
CALL 0x001212d0
TEST A... |
/* DepthAnything::determineBatchDimensions(std::vector<cv::Mat, std::allocator<cv::Mat> > const&) */
vector * DepthAnything::determineBatchDimensions(vector *param_1)
{
bool bVar1;
int iVar2;
int iVar3;
ulong uVar4;
long lVar5;
int *piVar6;
vector<cv::Mat,std::allocator<cv::Mat>> *in_RDX;
long in_RSI... | |
12,927 | my_mb_wc_gbk | eloqsql/strings/ctype-gbk.c | static int
my_mb_wc_gbk(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t *pwc, const uchar *s, const uchar *e)
{
int hi;
if (s >= e)
return MY_CS_TOOSMALL;
hi=s[0];
if (hi<0x80)
{
pwc[0]=hi;
return 1;
}
if (s+2>e)
return MY_CS_TOOSMALL2;
if (!IS_MB2_CHAR(hi, s[1]... | O3 | c | my_mb_wc_gbk:
pushq %rbp
movq %rsp, %rbp
movl $0xffffff9b, %eax # imm = 0xFFFFFF9B
cmpq %rcx, %rdx
jae 0xb2879
movsbq (%rdx), %rdi
testq %rdi, %rdi
js 0xb27fd
movq %rdi, (%rsi)
movl $0x1, %eax
jmp 0xb2879
leaq 0x2(%rdx), %r8
movl $0xffffff9a, %eax # imm = 0xFFFFFF9A
cmpq %rcx, %r8
ja 0xb2879
movzbl %dil, %e... | my_mb_wc_gbk:
push rbp
mov rbp, rsp
mov eax, 0FFFFFF9Bh
cmp rdx, rcx
jnb loc_B2879
movsx rdi, byte ptr [rdx]
test rdi, rdi
js short loc_B27FD
mov [rsi], rdi
mov eax, 1
jmp short loc_B2879
loc_B27FD:
lea r8, [rdx+2]
mov eax, 0FFFFFF9Ah
cmp r8, rcx
ja short loc_B2... | long long my_mb_wc_gbk(long long a1, long long *a2, char *a3, unsigned long long a4)
{
long long result; // rax
long long v5; // rdi
int v6; // edx
unsigned int v7; // eax
long long v8; // rcx
result = 4294967195LL;
if ( (unsigned long long)a3 < a4 )
{
v5 = *a3;
if ( v5 >= 0 )
{
*a2 ... | my_mb_wc_gbk:
PUSH RBP
MOV RBP,RSP
MOV EAX,0xffffff9b
CMP RDX,RCX
JNC 0x001b2879
MOVSX RDI,byte ptr [RDX]
TEST RDI,RDI
JS 0x001b27fd
MOV qword ptr [RSI],RDI
MOV EAX,0x1
JMP 0x001b2879
LAB_001b27fd:
LEA R8,[RDX + 0x2]
MOV EAX,0xffffff9a
CMP R8,RCX
JA 0x001b2879
MOVZX ECX,DIL
XOR EAX,EAX
CMP ECX,0x80
JZ 0x001b2879
CMP EC... |
int8 my_mb_wc_gbk(int8 param_1,ulong *param_2,byte *param_3,byte *param_4)
{
byte bVar1;
byte bVar2;
ushort uVar3;
uint uVar4;
int8 uVar5;
uVar5 = 0xffffff9b;
if (param_3 < param_4) {
bVar1 = *param_3;
if ((long)(char)bVar1 < 0) {
uVar5 = 0xffffff9a;
if ((((param_3 + 2 <= param_4)... | |
12,928 | my_load_defaults | eloqsql/mysys/my_default.c | int my_load_defaults(const char *conf_file, const char **groups, int *argc,
char ***argv, const char ***default_directories)
{
DYNAMIC_ARRAY args;
int args_used= 0;
int error= 0;
MEM_ROOT alloc;
char *ptr,**res;
const char **dirs;
DBUG_ENTER("my_load_defaults");
init_alloc_root(key... | O3 | c | my_load_defaults:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r8, -0xa8(%rbp)
movq %rcx, %r12
movq %rdx, -0x30(%rbp)
movq %rsi, %r13
movq %rdi, -0xb0(%rbp)
leaq 0x36bbb7(%rip), %rbx # 0x3d04d8
movl (%rbx), %edi
leaq -0xf0(%rbp), %r15
movl $0x200, %edx ... | my_load_defaults:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0D8h
mov [rbp+var_A8], r8
mov r12, rcx
mov [rbp+var_30], rdx
mov r13, rsi
mov [rbp+var_B0], rdi
lea rbx, key_memory_defaults
mov edi, [rbx]
lea r15, [rbp+var_F0]
mov ... | long long my_load_defaults(long long a1, _QWORD *a2, int *a3, long long *a4, _QWORD *a5)
{
int defaults_options; // r14d
unsigned int v7; // r14d
_DWORD *v9; // rcx
long long v10; // rax
_OWORD *v11; // r15
const char **v12; // r12
long long v13; // rbx
long long v14; // rax
int *v15; // r13
const ... | my_load_defaults:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xd8
MOV qword ptr [RBP + -0xa8],R8
MOV R12,RCX
MOV qword ptr [RBP + -0x30],RDX
MOV R13,RSI
MOV qword ptr [RBP + -0xb0],RDI
LEA RBX,[0x4d04d8]
MOV EDI,dword ptr [RBX]
LEA R15,[RBP + -0xf0]
MOV EDX,0x200
MOV RSI,R15
XOR ECX,ECX
X... |
int8
my_load_defaults(int8 param_1,long *param_2,int *param_3,long *param_4,int8 *param_5)
{
int4 *__dest;
long lVar1;
int *piVar2;
char cVar3;
int iVar4;
uint uVar5;
int4 *puVar6;
size_t sVar7;
long *plVar8;
size_t __n;
void *__dest_00;
int8 *puVar9;
char *pcVar10;
ulong uVar11;
long lV... | |
12,929 | gguf_set_val_u32 | Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp | void gguf_set_val_u32(struct gguf_context * ctx, const char * key, uint32_t val) {
gguf_check_reserved_keys(key, val);
gguf_remove_key(ctx, key);
ctx->kv.emplace_back(key, val);
} | O1 | cpp | gguf_set_val_u32:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
movl %edx, 0x4(%rsp)
leaq 0x10(%rsp), %r14
leaq 0x3(%rsp), %rdx
movq %r14, %rdi
callq 0x18d70
movl 0x4(%rsp), %ebp
leaq 0x1d509(%rip), %rsi # 0x5d061
movq %r14, %rdi
callq 0x18220
testl %eax, %eax
jne 0x3fb99
mo... | gguf_set_val_u32:
push rbp
push r14
push rbx
sub rsp, 30h
mov rbx, rdi
mov [rsp+48h+var_40], rsi
mov [rsp+48h+var_44], edx
lea r14, [rsp+48h+var_38]
lea rdx, [rsp+48h+var_45]
mov rdi, r14
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_; std::string::ba... | long long gguf_set_val_u32(long long a1, long long a2, unsigned int a3)
{
unsigned int v3; // ebp
int v4; // r8d
int v5; // r9d
unsigned int v6; // ebp
char v8; // [rsp+3h] [rbp-45h] BYREF
unsigned int v9; // [rsp+4h] [rbp-44h] BYREF
long long v10; // [rsp+8h] [rbp-40h] BYREF
void *v11[2]; // [rsp+10h]... | gguf_set_val_u32:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV RBX,RDI
MOV qword ptr [RSP + 0x8],RSI
MOV dword ptr [RSP + 0x4],EDX
LEA R14,[RSP + 0x10]
LEA RDX,[RSP + 0x3]
MOV RDI,R14
CALL 0x00118d70
MOV EBP,dword ptr [RSP + 0x4]
LEA RSI,[0x15d061]
MOV RDI,R14
CALL 0x00118220
TEST EAX,EAX
JNZ 0x0013fb99
MOV EAX,EBP
SHR ... |
void gguf_set_val_u32(long param_1,char *param_2,uint param_3)
{
int iVar1;
uint uVar2;
allocator local_45;
uint local_44;
char *local_40;
long *local_38 [2];
long local_28 [2];
local_44 = param_3;
local_40 = param_2;
std::__cxx11::string::string<std::allocator<char>>((string *)local_38,param_2... | |
12,930 | gguf_set_val_u32 | Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp | void gguf_set_val_u32(struct gguf_context * ctx, const char * key, uint32_t val) {
gguf_check_reserved_keys(key, val);
gguf_remove_key(ctx, key);
ctx->kv.emplace_back(key, val);
} | O3 | cpp | gguf_set_val_u32:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, 0x10(%rsp)
movl %edx, 0xc(%rsp)
leaq 0x18(%rsp), %r15
leaq 0xb(%rsp), %rdx
movq %r15, %rdi
callq 0x17d60
leaq 0x1e35d(%rip), %rsi # 0x5d551
movq %r15, %rdi
callq 0x17210
testl %e... | gguf_set_val_u32:
push rbp
push r15
push r14
push rbx
sub rsp, 38h
mov ebp, edx
mov r14, rsi
mov rbx, rdi
mov [rsp+58h+var_48], rsi
mov [rsp+58h+var_4C], edx
lea r15, [rsp+58h+var_40]
lea rdx, [rsp+58h+var_4D]
mov rdi, r15
call __ZNSt7__cxx1112basic_stringIcSt11char_tr... | long long gguf_set_val_u32(long long a1, long long a2, unsigned int a3)
{
int v4; // r8d
int v5; // r9d
unsigned int v6; // ebp
char v8; // [rsp+Bh] [rbp-4Dh] BYREF
unsigned int v9; // [rsp+Ch] [rbp-4Ch] BYREF
long long v10; // [rsp+10h] [rbp-48h] BYREF
void *v11[2]; // [rsp+18h] [rbp-40h] BYREF
long l... | gguf_set_val_u32:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x38
MOV EBP,EDX
MOV R14,RSI
MOV RBX,RDI
MOV qword ptr [RSP + 0x10],RSI
MOV dword ptr [RSP + 0xc],EDX
LEA R15,[RSP + 0x18]
LEA RDX,[RSP + 0xb]
MOV RDI,R15
CALL 0x00117d60
LEA RSI,[0x15d551]
MOV RDI,R15
CALL 0x00117210
TEST EAX,EAX
JNZ 0x0013f235
MOV EAX,EBP
... |
void gguf_set_val_u32(long param_1,char *param_2,uint param_3)
{
int iVar1;
uint uVar2;
allocator local_4d;
uint local_4c;
char *local_48;
long *local_40 [2];
long local_30 [2];
local_4c = param_3;
local_48 = param_2;
std::__cxx11::string::string<std::allocator<char>>((string *)local_40,param_2... | |
12,931 | OpenSubdiv::v3_6_0::Tmr::TopologyMap::insertIrregularFace(OpenSubdiv::v3_6_0::Tmr::SubdivisionPlan**, int) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/tmr/topologyMap.cpp | inline Index
TopologyMap::insertIrregularFace(SubdivisionPlan** plans, int numPlans) {
assert(numPlans > 0);
Index planIndex = appendPlan(plans[0], false);
// only the neighborhoods of the plan for the first sub-face of an irregular
// face need to be hashed; the rest is just appeneded in sequential... | O2 | cpp | OpenSubdiv::v3_6_0::Tmr::TopologyMap::insertIrregularFace(OpenSubdiv::v3_6_0::Tmr::SubdivisionPlan**, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testl %edx, %edx
jle 0xb9cf7
movl %edx, %r15d
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
xorl %edx, %edx
callq 0x52920
movl %eax, %ebp
movq %r14, %rdi... | _ZN10OpenSubdiv6v3_6_03Tmr11TopologyMap19insertIrregularFaceEPPNS1_15SubdivisionPlanEi:
push rbp
push r15
push r14
push r12
push rbx
test edx, edx
jle short loc_B9CF7
mov r15d, edx
mov rbx, rsi
mov r14, rdi
mov rsi, [rsi]; OpenSubdiv::v3_6_0::Tmr::SubdivisionPlan *
xor edx, edx... | long long OpenSubdiv::v3_6_0::Tmr::TopologyMap::insertIrregularFace(
OpenSubdiv::v3_6_0::Tmr::TopologyMap *this,
OpenSubdiv::v3_6_0::Tmr::SubdivisionPlan **a2,
int a3)
{
unsigned int appended; // ebp
long long i; // r12
if ( a3 <= 0 )
__assert_fail(
"numPlans > 0",
"/work... | insertIrregularFace:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
TEST EDX,EDX
JLE 0x001b9cf7
MOV R15D,EDX
MOV RBX,RSI
MOV R14,RDI
MOV RSI,qword ptr [RSI]
XOR EDX,EDX
CALL 0x00152920
MOV EBP,EAX
MOV RDI,R14
MOV ESI,EAX
CALL 0x00153a00
MOV R15D,R15D
PUSH 0x1
POP R12
LAB_001b9cd4:
CMP R15,R12
JZ 0x001b9cec
MOV RSI,qword ... |
/* OpenSubdiv::v3_6_0::Tmr::TopologyMap::insertIrregularFace(OpenSubdiv::v3_6_0::Tmr::SubdivisionPlan**,
int) */
int __thiscall
OpenSubdiv::v3_6_0::Tmr::TopologyMap::insertIrregularFace
(TopologyMap *this,SubdivisionPlan **param_1,int param_2)
{
int iVar1;
ulong uVar2;
if (0 < param_2) {
iV... | |
12,932 | mi_base_info_write | eloqsql/storage/myisam/mi_open.c | uint mi_base_info_write(File file, MI_BASE_INFO *base)
{
uchar buff[MI_BASE_INFO_SIZE], *ptr=buff;
mi_sizestore(ptr,base->keystart); ptr +=8;
mi_sizestore(ptr,base->max_data_file_length); ptr +=8;
mi_sizestore(ptr,base->max_key_file_length); ptr +=8;
mi_rowstore(ptr,base->records); ptr +=8;
mi_rowsto... | O3 | c | mi_base_info_write:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xc0, %rsp
movl %edi, %ebx
movq %fs:0x28, %rax
movq %rax, -0x18(%rbp)
movq (%rsi), %rax
bswapq %rax
movq %rax, -0x80(%rbp)
movq 0x8(%rsi), %rax
bswapq %rax
movq %rax, -0x78(%rbp)
movq 0x10(%rsi), %rax
bswapq %rax
movq %rax, -0x70(%rbp)
movq 0x20... | mi_base_info_write:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 0C0h
mov ebx, edi
mov rax, fs:28h
mov [rbp+var_18], rax
mov rax, [rsi]
bswap rax
mov [rbp+var_80], rax
mov rax, [rsi+8]
bswap rax
mov [rbp+var_78], rax
mov rax, [rsi+10h]
bswap rax
mov [rbp+va... | bool mi_base_info_write(unsigned int a1, const __m128i *a2)
{
__m128i v2; // xmm0
__m128i v3; // xmm0
long long v4; // rax
long long v5; // rcx
_BYTE v8[72]; // [rsp+0h] [rbp-D0h] BYREF
long long v9; // [rsp+48h] [rbp-88h] BYREF
_QWORD v10[5]; // [rsp+50h] [rbp-80h] BYREF
unsigned __int32 v11; // [rsp+... | mi_base_info_write:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0xc0
MOV EBX,EDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RSI]
BSWAP RAX
MOV qword ptr [RBP + -0x80],RAX
MOV RAX,qword ptr [RSI + 0x8]
BSWAP RAX
MOV qword ptr [RBP + -0x78],RAX
MOV RAX,qword ptr [RSI + 0x10]
BSWAP R... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
bool mi_base_info_write(int4 param_1,ulong *param_2)
{
uint uVar1;
ulong uVar2;
char cVar3;
short sVar7;
short sVar8;
short sVar9;
long lVar10;
long in_FS_OFFSET;
ushort uVar11;
short sVar12;
ushort uVar15;
u... | |
12,933 | mi_read_rnd_pack_record | eloqsql/storage/myisam/mi_packrec.c | int _mi_read_rnd_pack_record(MI_INFO *info, uchar *buf,
register my_off_t filepos,
my_bool skip_deleted_blocks)
{
uint b_type;
MI_BLOCK_INFO block_info;
MYISAM_SHARE *share=info->s;
DBUG_ENTER("_mi_read_rnd_pack_record");
if (filepos >= info->state->data_file_length)
{
my_errno= HA_ERR_... | O3 | c | mi_read_rnd_pack_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq 0x8(%rdi), %rax
cmpq %rdx, 0x28(%rax)
jbe 0x88011
movl %ecx, %r12d
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
testb $0x2, 0x1c8(%rdi)
jne 0x880... | _mi_read_rnd_pack_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0B8h
mov rax, fs:28h
mov [rbp+var_30], rax
mov rax, [rdi+8]
cmp [rax+28h], rdx
jbe short loc_88011
mov r12d, ecx
mov r15, rdx
mov rbx, rsi
mov r14, rdi
test... | long long mi_read_rnd_pack_record(long long a1, const char *a2, unsigned long long a3, char a4)
{
long long v6; // rbx
_QWORD *v7; // r14
_QWORD *v8; // rcx
unsigned int v9; // r8d
const char *v11; // r13
const char *v12; // r12
long long v13; // rax
long long v14; // r13
long long v15; // rax
char... | _mi_read_rnd_pack_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xb8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RDI + 0x8]
CMP qword ptr [RAX + 0x28],RDX
JBE 0x00188011
MOV R12D,ECX
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
TEST byte ptr [RDI + 0x1c8],0x... |
ulong _mi_read_rnd_pack_record(long *param_1,int8 param_2,ulong param_3,char param_4)
{
int iVar1;
int4 *puVar2;
uint *puVar3;
long lVar4;
ulong uVar5;
int4 uVar6;
long lVar7;
long lVar8;
long in_FS_OFFSET;
int1 local_e8 [72];
long local_a0;
int4 local_94;
int1 local_90 [24];
long local_78... | |
12,934 | common_sampler_sample_and_accept_n(common_sampler*, llama_context*, std::vector<int, std::allocator<int>> const&, std::vector<int, std::allocator<int>> const&, bool) | monkey531[P]llama/common/sampling.cpp | std::vector<llama_token> common_sampler_sample_and_accept_n(struct common_sampler * gsmpl, struct llama_context * ctx, const std::vector<int> & idxs, const llama_tokens & draft, bool grammar_first) {
GGML_ASSERT(idxs.size() == draft.size() + 1 && "idxs.size() must be draft.size() + 1");
std::vector<llama_token... | O3 | cpp | common_sampler_sample_and_accept_n(common_sampler*, llama_context*, std::vector<int, std::allocator<int>> const&, std::vector<int, std::allocator<int>> const&, bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, %r14
movq 0x8(%rcx), %rsi
subq (%rcx)... | _Z34common_sampler_sample_and_accept_nP14common_samplerP13llama_contextRKSt6vectorIiSaIiEES7_b:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov [rsp+48h+var_38], rdx
mov r14, rsi
mov rsi, [rcx+8]
sub rsi, [rcx]
mov rax, [r8+8]
sub rax, [r8]
sar rs... | long long * common_sampler_sample_and_accept_n(
long long *a1,
_QWORD *a2,
long long a3,
_QWORD *a4,
long long *a5,
unsigned __int8 a6)
{
long long v6; // rbx
long long v11; // rax
unsigned long long v12; // r15
_DWORD *v13; // rsi
unsigned int v14; // edx
lon... | common_sampler_sample_and_accept_n:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDX
MOV R14,RSI
MOV RSI,qword ptr [RCX + 0x8]
SUB RSI,qword ptr [RCX]
MOV RAX,qword ptr [R8 + 0x8]
SUB RAX,qword ptr [R8]
SAR RSI,0x2
SAR RAX,0x2
INC RAX
CMP RSI,RAX
JNZ 0x001f0bbf
MOV EBP,R... |
/* common_sampler_sample_and_accept_n(common_sampler*, llama_context*, std::vector<int,
std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, bool) */
common_sampler *
common_sampler_sample_and_accept_n
(common_sampler *param_1,llama_context *param_2,vector *param_3,vector *param_4... | |
12,935 | ma_bitmap_set | eloqsql/storage/maria/ma_bitmap.c | my_bool _ma_bitmap_set(MARIA_HA *info, pgcache_page_no_t page, my_bool head,
uint empty_space)
{
MARIA_FILE_BITMAP *bitmap= &info->s->bitmap;
uint bits;
my_bool res;
DBUG_ENTER("_ma_bitmap_set");
DBUG_PRINT("enter", ("page: %lu head: %d empty_space: %u",
(ulong)... | O3 | c | ma_bitmap_set:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %r13
leaq 0xa98(%r13), %rdi
cmpq $0x0, 0xad8(%r13)
jne 0x50e41
callq 0x291d0
leaq 0xa10(%r13), %rsi
testb %r12b, %r12b
je 0x50dde
mov... | _ma_bitmap_set:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15d, ecx
mov r12d, edx
mov r14, rsi
mov rbx, rdi
mov r13, [rdi]
lea rdi, [r13+0A98h]
cmp qword ptr [r13+0AD8h], 0
jnz loc_50E41
call _pthread_mutex_lock
loc_50D9A:... | long long ma_bitmap_set(long long *a1, unsigned long long a2, char a3, unsigned int a4)
{
long long v7; // r13
long long v8; // rdi
unsigned int v9; // ecx
unsigned int v10; // eax
unsigned int v11; // r14d
long long v12; // rbx
long long v13; // rdi
v7 = *a1;
v8 = *a1 + 2712;
if ( *(_QWORD *)(v7 ... | _ma_bitmap_set:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15D,ECX
MOV R12D,EDX
MOV R14,RSI
MOV RBX,RDI
MOV R13,qword ptr [RDI]
LEA RDI,[R13 + 0xa98]
CMP qword ptr [R13 + 0xad8],0x0
JNZ 0x00150e41
CALL 0x001291d0
LAB_00150d9a:
LEA RSI,[R13 + 0xa10]
TEST R12B,R12B
JZ 0x00150dde
MOV E... |
int4 _ma_bitmap_set(long *param_1,int8 param_2,char param_3,uint param_4)
{
long lVar1;
int4 uVar2;
char cVar3;
lVar1 = *param_1;
if (*(long *)(lVar1 + 0xad8) == 0) {
pthread_mutex_lock((pthread_mutex_t *)(lVar1 + 0xa98));
}
else {
psi_mutex_lock((pthread_mutex_t *)(lVar1 + 0xa98),
... | |
12,936 | ma_report_error | eloqsql/storage/maria/ma_info.c | void _ma_report_error(int errcode, const LEX_STRING *name, myf flags)
{
size_t length;
const char *file_name= name->str;
DBUG_ENTER("_ma_report_error");
DBUG_PRINT("enter",("error: %d table: '%s'", errcode, file_name));
if ((length= name->length) > 64)
{
/* we first remove the directory */
size_t ... | O0 | c | ma_report_error:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x34b00
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x40, %rax
jbe 0x34b52
movq -0x28(%rbp), %... | _ma_report_error:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_4], edi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_10]
mov rax, [rax]
mov [rbp+var_28], rax
jmp short $+2
loc_34B00:
mov rax, [rbp+var_10]
mov rax, [rax+8]
mov [rbp+var_20], rax
cmp ... | long long ma_report_error(int a1, long long *a2, int a3, long long a4, long long a5, int a6)
{
long long v7; // [rsp+0h] [rbp-30h]
long long v8; // [rsp+8h] [rbp-28h]
unsigned long long v9; // [rsp+10h] [rbp-20h]
unsigned long long v10; // [rsp+10h] [rbp-20h]
v8 = *a2;
v9 = a2[1];
if ( v9 > 0x40 )
{
... | _ma_report_error:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x4],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x28],RAX
JMP 0x00134b00
LAB_00134b00:
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX +... |
void _ma_report_error(int4 param_1,long *param_2,int8 param_3)
{
long lVar1;
ulong uVar2;
long local_30;
local_30 = *param_2;
uVar2 = param_2[1];
if (0x40 < uVar2) {
lVar1 = dirname_length(local_30);
local_30 = lVar1 + local_30;
uVar2 = uVar2 - lVar1;
if (0x40 < uVar2) {
local_30 ... | |
12,937 | isogeny_map_to_E1 | corpus-core[P]colibri-stateless/build_O0/_deps/blst-src/src/map_to_g1.c | static void isogeny_map_to_E1(POINTonE1 *out, const POINTonE1 *p)
{
/*
* x = x_num / x_den, where
* x_num = k_(1,11) * x'^11 + k_(1,10) * x'^10 + k_(1,9) * x'^9 +
* ... + k_(1,0)
* ...
*/
static const vec384 isogeny_map_x_num[] = { /* (k_(1,*)<<384) % P */
{ TO_LIMB_T(0x... | O0 | c | isogeny_map_to_E1:
pushq %rbp
movq %rsp, %rbp
subq $0x670, %rsp # imm = 0x670
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x2e0(%rbp), %rdi
addq $0x2a0, %rdi # imm = 0x2A0
movq -0x10(%rbp), %rsi
addq $0x60, %rsi
callq 0x2d0b0
leaq -0x2e0(%rbp), %rdi
addq $0x270, %rdi # imm = 0x27... | isogeny_map_to_E1:
push rbp
mov rbp, rsp
sub rsp, 670h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
lea rdi, [rbp+var_2E0]
add rdi, 2A0h
mov rsi, [rbp+var_10]
add rsi, 60h ; '`'
call sqr_fp
lea rdi, [rbp+var_2E0]
add rdi, 270h
lea rsi, [rbp+var_2E0]
add rsi, 2A0h
call... | long long isogeny_map_to_E1(long long a1, long long a2)
{
_BYTE v3[48]; // [rsp+0h] [rbp-670h] BYREF
_BYTE v4[48]; // [rsp+30h] [rbp-640h] BYREF
_BYTE v5[48]; // [rsp+60h] [rbp-610h] BYREF
_BYTE v6[48]; // [rsp+90h] [rbp-5E0h] BYREF
_BYTE v7[432]; // [rsp+C0h] [rbp-5B0h] BYREF
long long v8; // [rsp+270h] [... | isogeny_map_to_E1:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x670
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
LEA RDI,[RBP + -0x2e0]
ADD RDI,0x2a0
MOV RSI,qword ptr [RBP + -0x10]
ADD RSI,0x60
CALL 0x0012d0b0
LEA RDI,[RBP + -0x2e0]
ADD RDI,0x270
LEA RSI,[RBP + -0x2e0]
ADD RSI,0x2a0
CALL 0x0012d0b0
LEA RDI,[RBP + ... |
void isogeny_map_to_E1(long param_1,long param_2)
{
int1 local_678 [48];
int1 local_648 [48];
int1 local_618 [48];
int1 local_5e8 [48];
int1 local_5b8 [432];
int1 auStack_408 [48];
int1 auStack_3d8 [192];
int1 auStack_318 [48];
int1 local_2e8 [48];
int1 auStack_2b8 [48];
int1 auStack_288 [48];
... | |
12,938 | main | seiftnesse[P]memoryallocator/tests/zero_on_free_test.cpp | int main() {
std::cout << "Zero-on-Free Test Program" << std::endl;
std::cout << "=======================" << std::endl;
// Enable debug mode for detailed logging
HeapEnableDebug(1);
// Test each zeroing depth with different allocation sizes
bool all_passed = true;
all_passed &= test_zero... | O1 | cpp | main:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x5261(%rip), %rbx # 0x7fc8
leaq 0x24bd(%rip), %rsi # 0x522b
movl $0x19, %edx
movq %rbx, %rdi
callq 0x2150
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq ... | main:
push rbp
push r15
push r14
push r12
push rbx
mov rbx, cs:_ZSt4cout_ptr
lea rsi, aZeroOnFreeTest; "Zero-on-Free Test Program"
mov edx, 19h
mov rdi, rbx
call __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l; std::__ostream_insert<char,std::char_traits<... | int main(int argc, const char **argv, const char **envp)
{
std::ostream *v3; // rbx
char v4; // al
std::ostream *v5; // rax
char v6; // al
std::ostream *v7; // rax
int v8; // ebp
char v9; // r14
char v10; // r15
char v11; // r14
char v12; // r12
char v13; // r14
char v14; // al
std::ostream *... | main:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV RBX,qword ptr [0x00107fc8]
LEA RSI,[0x10522b]
MOV EDX,0x19
MOV RDI,RBX
CALL 0x00102150
MOV RAX,qword ptr [RBX]
MOV RDI,qword ptr [RAX + -0x18]
ADD RDI,RBX
MOV ESI,0xa
CALL 0x00102120
MOVSX ESI,AL
MOV RDI,RBX
CALL 0x00102030
MOV RDI,RAX
CALL 0x001020c0
LEA RSI,[0x10... |
bool main(void)
{
char cVar1;
int *puVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
long *plVar8;
bool bVar9;
puVar2 = PTR_cout_00107fc8;
std::__ostream_insert<char,std::char_traits<char>>
((ostream *)PTR_cout_00107fc8,"Zero-on-Free Test Program",0x19);
cVar1 ... | |
12,939 | minja::ExpressionTemplateToken::~ExpressionTemplateToken() | monkey531[P]llama/common/minja.hpp | ExpressionTemplateToken(const Location & location, SpaceHandling pre, SpaceHandling post, std::shared_ptr<Expression> && e) : TemplateToken(Type::Expression, location, pre, post), expr(std::move(e)) {} | O1 | cpp | minja::ExpressionTemplateToken::~ExpressionTemplateToken():
pushq %rbx
movq %rdi, %rbx
leaq 0x94249(%rip), %rax # 0x12db08
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x38(%rdi), %rdi
testq %rdi, %rdi
je 0x998d4
callq 0x6e160
leaq 0x93a1d(%rip), %rax # 0x12d2f8
addq $0x10, %rax
movq %rax, (%rbx)
movq 0x18(%rbx), %r... | _ZN5minja23ExpressionTemplateTokenD0Ev:
push rbx
mov rbx, rdi
lea rax, _ZTVN5minja23ExpressionTemplateTokenE; `vtable for'minja::ExpressionTemplateToken
add rax, 10h
mov [rdi], rax
mov rdi, [rdi+38h]
test rdi, rdi
jz short loc_998D4
call _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_poli... | void minja::ExpressionTemplateToken::~ExpressionTemplateToken(minja::ExpressionTemplateToken *this)
{
volatile signed __int32 *v2; // rdi
volatile signed __int32 *v3; // rdi
*(_QWORD *)this = &`vtable for'minja::ExpressionTemplateToken + 2;
v2 = (volatile signed __int32 *)*((_QWORD *)this + 7);
if ( v2 )
... | ~ExpressionTemplateToken:
PUSH RBX
MOV RBX,RDI
LEA RAX,[0x22db08]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
MOV RDI,qword ptr [RDI + 0x38]
TEST RDI,RDI
JZ 0x001998d4
CALL 0x0016e160
LAB_001998d4:
LEA RAX,[0x22d2f8]
ADD RAX,0x10
MOV qword ptr [RBX],RAX
MOV RDI,qword ptr [RBX + 0x18]
TEST RDI,RDI
JZ 0x001998f0
CALL 0x0016e160... |
/* minja::ExpressionTemplateToken::~ExpressionTemplateToken() */
void __thiscall
minja::ExpressionTemplateToken::~ExpressionTemplateToken(ExpressionTemplateToken *this)
{
*(int ***)this = &PTR__ExpressionTemplateToken_0022db18;
if (*(_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> **)(this + 0x38) !=
(_Sp_cou... | |
12,940 | ma_zlib_decompress | eloqsql/libmariadb/plugins/compress/c_zlib.c | my_bool ma_zlib_decompress(ma_compress_ctx *ctx, void *dst, size_t *dst_len,
void *source, size_t *source_len)
{
int rc;
if (!ctx)
return 1;
rc= uncompress((Bytef*) dst, (uLongf *)dst_len, (Bytef*) source, (uLongf)*source_len);
if (rc != Z_OK)
return 1;
return 0;
} | O0 | c | ma_zlib_decompress:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x5b619
movb $0x1, -0x1(%rbp)
jmp 0x5b644
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq... | ma_zlib_decompress:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
mov [rbp+var_30], r8
cmp [rbp+var_10], 0
jnz short loc_5B619
mov [rbp+var_1], 1
jmp short loc_5B644
loc_5B619:
mov rdi, [rbp+v... | bool ma_zlib_decompress(long long a1, long long a2, long long a3, long long a4, _QWORD *a5)
{
return !a1 || (unsigned int)uncompress(a2, a3, a4, *a5) != 0;
}
| ma_zlib_decompress:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x28],RCX
MOV qword ptr [RBP + -0x30],R8
CMP qword ptr [RBP + -0x10],0x0
JNZ 0x0015b619
MOV byte ptr [RBP + -0x1],0x1
JMP 0x0015b644
LAB_0015b619:
M... |
int1
ma_zlib_decompress(long param_1,int8 param_2,int8 param_3,int8 param_4,
int8 *param_5)
{
int iVar1;
int1 local_9;
if (param_1 == 0) {
local_9 = 1;
}
else {
iVar1 = uncompress(param_2,param_3,param_4,*param_5);
if (iVar1 == 0) {
local_9 = 0;
}
else {
... | |
12,941 | ImPlot3DPlot::ImPlot3DPlot() | zkingston[P]unknot/build_O1/_deps/implot3d-src/implot3d_internal.h | ImPlot3DPlot() {
PreviousFlags = Flags = ImPlot3DFlags_None;
JustCreated = true;
Initialized = false;
InitialRotation = ImPlot3DQuat(-0.513269f, -0.212596f, -0.318184f, 0.76819f);
Rotation = ImPlot3DQuat(0.0f, 0.0f, 0.0f, 1.0f);
RotationCond = ImPlot3DCond_None;
f... | O1 | c | ImPlot3DPlot::ImPlot3DPlot():
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
leaq 0x10(%rdi), %rax
movq %rax, 0x20(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, 0x24(%rdi)
movups %xmm0, 0x34(%rdi)
movups %xmm0, 0x44(%rdi)
movups %xmm0, 0x50(%rdi)
leaq 0x64(%rdi), %r... | _ZN12ImPlot3DPlotC2Ev:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0B8h
lea rax, [rdi+10h]
mov [rsp+0E8h+var_C8], rax
xorps xmm0, xmm0
movups xmmword ptr [rdi+10h], xmm0
movups xmmword ptr [rdi+24h], xmm0
movups xmmword ptr [rdi+34h], xmm0
movups xmmword ptr [rdi+4... | void ImPlot3DPlot::ImPlot3DPlot(ImPlot3DPlot *this, __int128 *a2)
{
char *v2; // rax
long long i; // rcx
char *v4; // r15
long long j; // r14
ImGui *v6; // rdi
int v7; // eax
int v8; // ebx
long long v9; // rax
long long v10; // rbp
void *v11; // rsi
__int128 v12; // xmm0
_OWORD *v14; // [rsp+2... | ImPlot3DPlot:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xb8
LEA RAX,[RDI + 0x10]
MOV qword ptr [RSP + 0x20],RAX
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI + 0x10],XMM0
MOVUPS xmmword ptr [RDI + 0x24],XMM0
MOVUPS xmmword ptr [RDI + 0x34],XMM0
MOVUPS xmmword ptr [RDI + 0x44],XMM0
MOVUPS xmmword ptr [RDI... |
/* WARNING: Removing unreachable block (ram,0x00156519) */
/* WARNING: Removing unreachable block (ram,0x00156586) */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* ImPlot3DPlot::ImPlot3DPlot() */
void __thiscall ImPlot3DPlot::ImPlot3DPlot(ImPlot3DPlot *this)
{
int iVar1;
... | |
12,942 | 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 0x9e800
testl %eax, %eax
jne 0x71c8a
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 0x0019e800
TEST EAX,EAX
JNZ 0x00171c8a
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... | |
12,943 | my_string_metadata_get | eloqsql/strings/ctype.c | void
my_string_metadata_get(MY_STRING_METADATA *metadata,
CHARSET_INFO *cs, const char *str, size_t length)
{
if (cs->mbmaxlen == 1 && !(cs->state & MY_CS_NONASCII))
{
metadata->char_length= length;
metadata->repertoire= my_string_repertoire_8bit(cs, str, (ulong)length);
}
else
... | O3 | c | my_string_metadata_get:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
cmpl $0x1, 0x9c(%rsi)
jne 0x74645
testb $0x20, 0xd(%r12)
jne 0x74645
movq %r14, (%rbx)
movl $0x3, %eax
testq %r14, %r14
je 0x74625
movl $0x... | my_string_metadata_get:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rcx
mov r15, rdx
mov r12, rsi
mov rbx, rdi
cmp dword ptr [rsi+9Ch], 1
jnz short loc_74645
test byte ptr [r12+0Dh], 20h
jnz short loc_74645
mov [rbx], r... | long long my_string_metadata_get(long long a1, long long a2, char *a3, long long a4)
{
long long result; // rax
char *v5; // r15
unsigned long long v6; // r14
unsigned long long v7[6]; // [rsp+0h] [rbp-30h] BYREF
v7[0] = result;
v5 = a3;
if ( *(_DWORD *)(a2 + 156) != 1 || (*(_BYTE *)(a2 + 13) & 0x20) !=... | my_string_metadata_get:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RCX
MOV R15,RDX
MOV R12,RSI
MOV RBX,RDI
CMP dword ptr [RSI + 0x9c],0x1
JNZ 0x00174645
TEST byte ptr [R12 + 0xd],0x20
JNZ 0x00174645
MOV qword ptr [RBX],R14
MOV EAX,0x3
TEST R14,R14
JZ 0x00174625
MOV ECX,0x2000
AND... |
void my_string_metadata_get(long *param_1,long param_2,char *param_3,long param_4)
{
int4 uVar1;
uint uVar2;
ulong in_RAX;
char *pcVar3;
ulong local_38;
if ((*(int *)(param_2 + 0x9c) == 1) && ((*(byte *)(param_2 + 0xd) & 0x20) == 0)) {
*param_1 = param_4;
uVar1 = 3;
if ((param_4 == 0) || ((... | |
12,944 | cpool_add | bluesky950520[P]quickjs/quickjs.c | static int cpool_add(JSParseState *s, JSValue val)
{
JSFunctionDef *fd = s->cur_func;
if (js_resize_array(s->ctx, (void *)&fd->cpool, sizeof(fd->cpool[0]),
&fd->cpool_size, fd->cpool_count + 1))
return -1;
fd->cpool[fd->cpool_count++] = val;
return fd->cpool_count - 1;
} | O1 | c | cpool_add:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq 0x90(%rdi), %r15
movl 0x190(%r15), %r8d
cmpl %r8d, 0x194(%r15)
jle 0x6457d
movq 0x188(%r15), %rax
movslq 0x190(%r15), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x190(%r15)
shlq $0x4, %rcx
movq %r14, (%rax,%rcx)
movq %rbx, 0x8(%rax,%rcx)
movl 0x... | cpool_add:
push r15
push r14
push rbx
mov rbx, rdx
mov r14, rsi
mov r15, [rdi+90h]
mov r8d, [r15+190h]
cmp [r15+194h], r8d
jle short loc_6457D
loc_64549:
mov rax, [r15+188h]
movsxd rcx, dword ptr [r15+190h]
lea edx, [rcx+1]
mov [r15+190h], edx
shl rcx, 4
mov [rax+rc... | long long cpool_add(long long *a1, long long a2, long long a3)
{
long long v4; // r15
int v5; // r8d
long long v6; // rax
long long v7; // rcx
long long result; // rax
int v9; // ecx
v4 = a1[18];
v5 = *(_DWORD *)(v4 + 400);
if ( *(_DWORD *)(v4 + 404) > v5
|| (v9 = js_realloc_array(*a1, (long lon... | cpool_add:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RDX
MOV R14,RSI
MOV R15,qword ptr [RDI + 0x90]
MOV R8D,dword ptr [R15 + 0x190]
CMP dword ptr [R15 + 0x194],R8D
JLE 0x0016457d
LAB_00164549:
MOV RAX,qword ptr [R15 + 0x188]
MOVSXD RCX,dword ptr [R15 + 0x190]
LEA EDX,[RCX + 0x1]
MOV dword ptr [R15 + 0x190],EDX
SHL RCX,0x4
MOV... |
int cpool_add(int8 *param_1,int8 param_2,int8 param_3)
{
long lVar1;
long lVar2;
int iVar3;
long lVar4;
lVar1 = param_1[0x12];
if ((*(int *)(lVar1 + 0x194) <= *(int *)(lVar1 + 400)) &&
(iVar3 = js_realloc_array(*param_1,lVar1 + 0x188,0x10,lVar1 + 0x194,*(int *)(lVar1 + 400) + 1),
iVar3 != 0))... | |
12,945 | dtoa_alloc | eloqsql/strings/dtoa.c | static char *dtoa_alloc(int i, Stack_alloc *alloc)
{
char *rv;
int aligned_size= MY_ALIGN(i, SIZEOF_CHARP);
if (alloc->free + aligned_size <= alloc->end)
{
rv= alloc->free;
alloc->free+= aligned_size;
}
else
rv= malloc(i);
return rv;
} | O0 | c | dtoa_alloc:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movl -0x4(%rbp), %eax
addl $0x8, %eax
subl $0x1, %eax
andl $-0x8, %eax
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0x1c(%rbp), %rcx
addq %rcx, %rax
movq -0x10(%rbp), %rcx
cmpq 0x10(%rcx), ... | dtoa_alloc:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_4], edi
mov [rbp+var_10], rsi
mov eax, [rbp+var_4]
add eax, 8
sub eax, 1
and eax, 0FFFFFFF8h
mov [rbp+var_1C], eax
mov rax, [rbp+var_10]
mov rax, [rax+8]
movsxd rcx, [rbp+var_1C]
add rax, rcx
mov rcx, [rb... | long long dtoa_alloc(int a1, long long a2)
{
signed int v3; // [rsp+4h] [rbp-1Ch]
long long v4; // [rsp+8h] [rbp-18h]
v3 = (a1 + 7) & 0xFFFFFFF8;
if ( (unsigned long long)(v3 + *(_QWORD *)(a2 + 8)) > *(_QWORD *)(a2 + 16) )
return malloc(a1);
v4 = *(_QWORD *)(a2 + 8);
*(_QWORD *)(a2 + 8) = v3 + v4;
r... | dtoa_alloc:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x4],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV EAX,dword ptr [RBP + -0x4]
ADD EAX,0x8
SUB EAX,0x1
AND EAX,0xfffffff8
MOV dword ptr [RBP + -0x1c],EAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOVSXD RCX,dword ptr [RBP + -0x1c]
ADD RAX,... |
void * dtoa_alloc(int param_1,long param_2)
{
uint uVar1;
int8 local_20;
uVar1 = param_1 + 7U & 0xfffffff8;
if (*(ulong *)(param_2 + 0x10) < (ulong)(*(long *)(param_2 + 8) + (long)(int)uVar1)) {
local_20 = malloc((long)param_1);
}
else {
local_20 = *(void **)(param_2 + 8);
*(long *)(param_2... | |
12,946 | parse_device_list(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | llama.cpp/common/arg.cpp | static std::vector<ggml_backend_dev_t> parse_device_list(const std::string & value) {
std::vector<ggml_backend_dev_t> devices;
auto dev_names = string_split<std::string>(value, ',');
if (dev_names.empty()) {
throw std::invalid_argument("no devices specified");
}
if (dev_names.size() == 1 && ... | O3 | cpp | parse_device_list(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movl $0x2c, %edx
callq 0x5b... | _ZL17parse_device_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 40h
mov rbx, rdi
xorps xmm0, xmm0
movups xmmword ptr [rdi], xmm0
mov qword ptr [rdi+10h], 0
lea r15, [rsp+68h+var_60]
mov rdi, r15; int
mov edx, 2... | void parse_device_list(long long a1, long long a2)
{
_QWORD *v2; // r14
_QWORD *v3; // r12
long long v4; // rax
long long *v5; // rsi
void *v6; // r15
int v7; // ecx
int v8; // r8d
int v9; // r9d
std::invalid_argument *exception; // r15
long long v11; // [rsp+0h] [rbp-68h] BYREF
int v12[2]; // [r... | parse_device_list:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x40
MOV RBX,RDI
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI],XMM0
MOV qword ptr [RDI + 0x10],0x0
LEA R15,[RSP + 0x8]
MOV RDI,R15
MOV EDX,0x2c
CALL 0x0015bad2
MOV R14,qword ptr [R15]
MOV R12,qword ptr [R15 + 0x8]
CMP R14,R12
JZ 0x0016036f
MOV RAX,R12
S... |
/* parse_device_list(std::__cxx11::string const&) */
void parse_device_list(string *param_1)
{
long *plVar1;
char *pcVar2;
int iVar3;
invalid_argument *piVar4;
char in_SIL;
char *pcVar5;
long local_68;
char *local_60;
char *local_58;
ggml_backend_device *local_48 [4];
*(int8 *)param_1 = 0;
... | |
12,947 | nglog::ShellEscape(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | ng-log[P]ng-log/src/logging.cc | static string ShellEscape(const string& src) {
string result;
if (!src.empty() && // empty string needs quotes
src.find_first_not_of(kDontNeedShellEscapeChars) == string::npos) {
// only contains chars that don't need quotes; it's fine
result.assign(src);
} else if (src.find_first_of('\'') == strin... | O0 | cpp | nglog::ShellEscape(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x40(%rbp)
movq %rdi, %rax
movq %rax, -0x38(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
callq 0x9a60
movq -0x10(%rbp), %rdi
cal... | _ZN5nglogL11ShellEscapeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_40], rdi
mov rax, rdi
mov [rbp+var_38], rax
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_11], 0
call __ZNSt7__cxx1112basic_stringIcSt11char_tra... | long long nglog::ShellEscape(long long a1, long long a2)
{
int v3; // [rsp+4h] [rbp-4Ch]
unsigned long long i; // [rsp+20h] [rbp-30h]
std::string::basic_string(a1);
if ( (std::string::empty(a2) & 1) != 0
|| std::string::find_first_not_of(
a2,
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqr... | ShellEscape:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x40],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0x38],RAX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV byte ptr [RBP + -0x11],0x0
CALL 0x00109a60
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x00109c30
TEST AL,0x1
JNZ 0x001163c9
MOV RDI,qwor... |
/* WARNING: Removing unreachable block (ram,0x001164e7) */
/* nglog::ShellEscape(std::__cxx11::string const&) */
nglog * __thiscall nglog::ShellEscape(nglog *this,string *param_1)
{
char cVar1;
ulong uVar2;
long lVar3;
char *pcVar4;
int8 local_38;
std::__cxx11::string::string((string *)this);
uVar2 ... | |
12,948 | js_os_readlink | bluesky950520[P]quickjs/quickjs-libc.c | static JSValue js_os_readlink(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
const char *path;
char buf[PATH_MAX];
int err;
ssize_t res;
path = JS_ToCString(ctx, argv[0]);
if (!path)
return JS_EXCEPTION;
res = readlink(path, buf, sizeof(bu... | O2 | c | js_os_readlink:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1000, %rsp # imm = 0x1000
movq %rdi, %rbx
movq (%r8), %rsi
movq 0x8(%r8), %rdx
callq 0x11a6c
testq %rax, %rax
je 0x1499d
movq %rax, %r14
movq %rsp, %rsi
movl $0xfff, %edx # imm = 0xFFF
movq %rax, %rdi
callq 0xe1b0
testq %rax, %rax
js 0x149a4
... | js_os_readlink:
push rbp
push r14
push rbx
sub rsp, 1000h
mov rbx, rdi
mov rsi, [r8]
mov rdx, [r8+8]
call JS_ToCString
test rax, rax
jz short loc_1499D
mov r14, rax
mov rsi, rsp
mov edx, 0FFFh
mov rdi, rax
call _readlink
test rax, rax
js short loc_149A4
mov... | long long js_os_readlink(long long a1, long long a2, long long a3, long long a4, long long *a5)
{
long long v6; // rax
long long v7; // r14
long long v8; // rdi
long long v9; // rax
unsigned int v10; // ebp
_BYTE v12[4120]; // [rsp+0h] [rbp-1018h] BYREF
v6 = JS_ToCString(a1, *a5, a5[1]);
if ( !v6 )
... | js_os_readlink:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x1000
MOV RBX,RDI
MOV RSI,qword ptr [R8]
MOV RDX,qword ptr [R8 + 0x8]
CALL 0x00111a6c
TEST RAX,RAX
JZ 0x0011499d
MOV R14,RAX
MOV RSI,RSP
MOV EDX,0xfff
MOV RDI,RAX
CALL 0x0010e1b0
TEST RAX,RAX
JS 0x001149a4
MOV byte ptr [RSP + RAX*0x1],0x0
XOR EBP,EBP
JMP 0x001149af
LA... |
int8 js_os_readlink(int8 param_1)
{
char *__path;
ssize_t sVar1;
int *piVar2;
int8 uVar3;
int iVar4;
int8 *in_R8;
char local_1018 [4096];
__path = (char *)JS_ToCString(param_1,*in_R8,in_R8[1]);
if (__path == (char *)0x0) {
uVar3 = 0;
}
else {
sVar1 = readlink(__path,local_1018,0xfff);... | |
12,949 | ft_linearize | eloqsql/storage/myisam/ft_parser.c | FT_WORD * ft_linearize(TREE *wtree, MEM_ROOT *mem_root)
{
FT_WORD *wlist,*p;
FT_DOCSTAT docstat;
DBUG_ENTER("ft_linearize");
if ((wlist=(FT_WORD *) alloc_root(mem_root, sizeof(FT_WORD)*
(1+wtree->elements_in_tree))))
{
docstat.list=wlist;
docstat.uniq=wtree->elemen... | O0 | c | ft_linearize:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rax
movl 0x20c(%rax), %eax
addl $0x1, %eax
movl %eax, %eax
imulq $0x18, %rax, %rsi
callq 0xed460
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0xa1b29
movq -0x20(%rbp), %rax
movq... | ft_linearize:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rdi, [rbp+var_18]
mov rax, [rbp+var_10]
mov eax, [rax+20Ch]
add eax, 1
mov eax, eax
imul rsi, rax, 18h
call alloc_root
mov [rbp+var_20], rax
cmp rax, 0
jz short loc_... | long long ft_linearize(long long a1, long long a2)
{
_QWORD *v3; // [rsp+0h] [rbp-40h] BYREF
int v4; // [rsp+8h] [rbp-38h]
double v5; // [rsp+10h] [rbp-30h]
long long i; // [rsp+18h] [rbp-28h]
long long v7; // [rsp+20h] [rbp-20h]
long long v8; // [rsp+28h] [rbp-18h]
long long v9; // [rsp+30h] [rbp-10h]
... | ft_linearize:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RDI,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX + 0x20c]
ADD EAX,0x1
MOV EAX,EAX
IMUL RSI,RAX,0x18
CALL 0x001ed460
MOV qword ptr [RBP + -0x20],RAX
CMP RAX,0x0
JZ 0x001a1... |
long * ft_linearize(long param_1,int8 param_2)
{
long *local_48;
uint local_40;
double local_38;
long *local_30;
long *local_28;
int8 local_20;
long local_18;
long *local_10;
local_20 = param_2;
local_18 = param_1;
local_28 = (long *)alloc_root(param_2,(ulong)(*(int *)(param_1 + 0x20c) + 1) *... | |
12,950 | LefDefParser::lefwMacroPinFallthresh(double) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefwWriter.cpp | int
lefwMacroPinFallthresh(double capacitance)
{
lefwObsoleteNum = LEFW_MACRO_FALLTHRESH;
if (!lefwFile)
return LEFW_UNINITIALIZED;
if (!lefwDidInit)
return LEFW_BAD_ORDER;
if (!lefwIsMacroPin)
return LEFW_BAD_ORDER;
if (versionNum >= 5.4)
return LEFW_OBSOLETE;
if... | O3 | cpp | LefDefParser::lefwMacroPinFallthresh(double):
movl $0x26, 0x104fb(%rip) # 0x24d48
leaq 0x105ac(%rip), %rax # 0x24e00
movq (%rax), %rdi
testq %rdi, %rdi
je 0x148aa
leaq 0x107f1(%rip), %rax # 0x25054
cmpl $0x0, (%rax)
movl $0x2, %eax
je 0x148da
leaq 0x1082c(%rip), %rcx # 0x250a0
cmpl $0x0, (%rcx)
je 0x148d... | _ZN12LefDefParser22lefwMacroPinFallthreshEd:
mov cs:_ZN12LefDefParserL15lefwObsoleteNumE, 26h ; '&'; LefDefParser::lefwObsoleteNum
lea rax, _ZN12LefDefParser8lefwFileE; LefDefParser::lefwFile
mov rdi, [rax]
test rdi, rdi
jz short loc_148AA
lea rax, _ZN12LefDefParser11lefwDidInitE; LefDefParser::... | long long LefDefParser::lefwMacroPinFallthresh(
LefDefParser *this,
double a2,
long long a3,
int a4,
long long a5,
int a6,
int a7)
{
long long result; // rax
LefDefParser::lefwObsoleteNum = 38;
if ( !*(_QWORD *)&LefDefParser::lefwFile )
return 1LL;
r... | lefwMacroPinFallthresh:
MOV dword ptr [0x00124d48],0x26
LEA RAX,[0x124e00]
MOV RDI,qword ptr [RAX]
TEST RDI,RDI
JZ 0x001148aa
LEA RAX,[0x125054]
CMP dword ptr [RAX],0x0
MOV EAX,0x2
JZ 0x001148da
LEA RCX,[0x1250a0]
CMP dword ptr [RCX],0x0
JZ 0x001148da
MOVSD XMM1,qword ptr [0x00124d40]
MOV EAX,0x7
UCOMISD XMM1,qword ptr... |
/* LefDefParser::lefwMacroPinFallthresh(double) */
int8 LefDefParser::lefwMacroPinFallthresh(double param_1)
{
int8 uVar1;
lefwObsoleteNum = 0x26;
if (lefwFile != (_IO_FILE *)0x0) {
uVar1 = 2;
if ((lefwDidInit != 0) && (lefwIsMacroPin != 0)) {
uVar1 = 7;
if (versionNum < DAT_00119118) {
... | |
12,951 | LefDefParser::lefiLayer::parseLayerType(int) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiLayer.cpp | void
lefiLayer::parseLayerType(int index)
{
char *wrkingStr = strdup(values_[index]);
char *value;
char msg[1024];
const char *div = " \n\t";
value = strtok(wrkingStr, div);
if (strcmp(value, "TYPE") != 0) { // Unknown value
sprintf(msg, "Incorrect LEF58_TYPE pr... | O0 | cpp | LefDefParser::lefiLayer::parseLayerType(int):
subq $0x438, %rsp # imm = 0x438
movq %rdi, 0x430(%rsp)
movl %esi, 0x42c(%rsp)
movq 0x430(%rsp), %rax
movq %rax, (%rsp)
movq 0x360(%rax), %rax
movslq 0x42c(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2470
movq %rax, 0x420(%rsp)
leaq 0x5181d(%rip), %rax # 0x96... | _ZN12LefDefParser9lefiLayer14parseLayerTypeEi:
sub rsp, 438h
mov [rsp+438h+var_8], rdi
mov [rsp+438h+var_C], esi
mov rax, [rsp+438h+var_8]
mov [rsp+438h+var_438], rax
mov rax, [rax+360h]
movsxd rcx, [rsp+438h+var_C]
mov rdi, [rax+rcx*8]
call _strdup
mov [rsp+438h+var_18], rax
lea ... | long long LefDefParser::lefiLayer::parseLayerType(LefDefParser::lefiLayer *this, long long a2, long long a3)
{
const char *v3; // rdx
long long v5; // rdx
const char *v6; // rdx
const char *v7; // rdx
const char *v8; // rdx
const char *v9; // rdx
int v10[258]; // [rsp+10h] [rbp-428h] BYREF
char *v11; /... | parseLayerType:
SUB RSP,0x438
MOV qword ptr [RSP + 0x430],RDI
MOV dword ptr [RSP + 0x42c],ESI
MOV RAX,qword ptr [RSP + 0x430]
MOV qword ptr [RSP],RAX
MOV RAX,qword ptr [RAX + 0x360]
MOVSXD RCX,dword ptr [RSP + 0x42c]
MOV RDI,qword ptr [RAX + RCX*0x8]
CALL 0x00102470
MOV qword ptr [RSP + 0x420],RAX
LEA RAX,[0x1963e6]
MO... |
/* LefDefParser::lefiLayer::parseLayerType(int) */
void __thiscall LefDefParser::lefiLayer::parseLayerType(lefiLayer *this,int param_1)
{
int iVar1;
char local_428 [1032];
char *local_20;
char *local_18;
int local_c;
lefiLayer *local_8;
local_c = param_1;
local_8 = this;
local_18 = strdup(*(char... | |
12,952 | coro::semaphore::notify_waiters() | AlayaLite/build_O3/_deps/libcoro-src/src/semaphore.cpp | auto semaphore::notify_waiters() noexcept -> void
{
m_notify_all_set.exchange(true, std::memory_order::release);
while (true)
{
std::unique_lock lk{m_waiter_mutex};
if (m_acquire_waiters != nullptr)
{
acquire_operation* to_resume = m_acquire_waiters;
m_acquire... | O3 | cpp | coro::semaphore::notify_waiters():
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movb $0x1, %al
xchgb %al, 0x40(%rdi)
leaq 0x10(%rdi), %r15
leaq 0x8(%rsp), %r14
movq %r15, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
movq %r14, %rdi
callq 0x3732
movb $0x1, 0x10(%rsp)
movq 0x38(%rbx), %r12
testq %r12, ... | _ZN4coro9semaphore14notify_waitersEv:
push r15
push r14
push r12
push rbx
sub rsp, 18h
mov rbx, rdi
mov al, 1
xchg al, [rdi+40h]
lea r15, [rdi+10h]
lea r14, [rsp+38h+var_30]
loc_34E8:
mov [rsp+38h+var_30], r15
mov [rsp+38h+var_28], 0
mov rdi, r14
call _ZNSt11unique_lock... | long long coro::semaphore::notify_waiters(coro::semaphore *this)
{
long long v1; // r12
char *v3; // [rsp+8h] [rbp-30h] BYREF
char v4; // [rsp+10h] [rbp-28h]
*((_BYTE *)this + 64) = 1;
while ( 1 )
{
v3 = (char *)this + 16;
v4 = 0;
std::unique_lock<std::mutex>::lock(&v3);
v4 = 1;
v1 = *... | notify_waiters:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
MOV AL,0x1
XCHG byte ptr [RDI + 0x40],AL
LEA R15,[RDI + 0x10]
LEA R14,[RSP + 0x8]
LAB_001034e8:
MOV qword ptr [RSP + 0x8],R15
MOV byte ptr [RSP + 0x10],0x0
LAB_001034f2:
MOV RDI,R14
CALL 0x00103732
MOV byte ptr [RSP + 0x10],0x1
MOV R12,qword p... |
/* coro::semaphore::notify_waiters() */
void __thiscall coro::semaphore::notify_waiters(semaphore *this)
{
long lVar1;
semaphore *local_30;
int1 local_28;
LOCK();
this[0x40] = (semaphore)0x1;
UNLOCK();
while( true ) {
local_28 = 0;
local_30 = this + 0x10;
/* try { // try ... | |
12,953 | testing::internal::GetPrefixUntilComma[abi:cxx11](char const*) | seiftnesse[P]memoryallocator/build_O2/_deps/googletest-src/googletest/include/gtest/internal/gtest-internal.h | inline std::string GetPrefixUntilComma(const char* str) {
const char* comma = strchr(str, ',');
return comma == nullptr ? str : std::string(str, comma);
} | O2 | c | testing::internal::GetPrefixUntilComma[abi:cxx11](char const*):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
pushq $0x2c
popq %rsi
movq %r14, %rdi
callq 0x91e0
testq %rax, %rax
je 0x2a517
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xe654
jmp 0x2a527... | _ZN7testing8internal19GetPrefixUntilCommaB5cxx11EPKc:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
push 2Ch ; ','
pop rsi
mov rdi, r14
call _strchr
test rax, rax
jz short loc_2A517
lea rcx, [rbx+10h]
mov [rbx], rcx
mov rdi, rbx
mov rsi, r14
mov rdx, rax... | _QWORD * testing::internal::GetPrefixUntilComma[abi:cxx11](_QWORD *a1, _BYTE *a2)
{
long long v2; // rax
v2 = strchr(a2, 44LL);
if ( v2 )
{
*a1 = a1 + 2;
std::string::_M_construct<char const*>((long long)a1, a2, v2);
}
else
{
std::string::basic_string<std::allocator<char>>(a1, (long long)a2);... | GetPrefixUntilComma[abi:cxx11]:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
PUSH 0x2c
POP RSI
MOV RDI,R14
CALL 0x001091e0
TEST RAX,RAX
JZ 0x0012a517
LEA RCX,[RBX + 0x10]
MOV qword ptr [RBX],RCX
MOV RDI,RBX
MOV RSI,R14
MOV RDX,RAX
CALL 0x0010e654
JMP 0x0012a527
LAB_0012a517:
LEA RDX,[RSP + 0x7]
MOV RDI,RBX
MOV RS... |
/* testing::internal::GetPrefixUntilComma[abi:cxx11](char const*) */
internal * __thiscall
testing::internal::GetPrefixUntilComma_abi_cxx11_(internal *this,char *param_1)
{
char *pcVar1;
allocator local_11;
pcVar1 = strchr(param_1,0x2c);
if (pcVar1 == (char *)0x0) {
std::__cxx11::string::string<std::a... | |
12,954 | js_os_rename | bluesky950520[P]quickjs/quickjs-libc.c | static JSValue js_os_rename(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
const char *oldpath, *newpath;
int ret;
oldpath = JS_ToCString(ctx, argv[0]);
if (!oldpath)
return JS_EXCEPTION;
newpath = JS_ToCString(ctx, argv[1]);
if (!newpath) {
... | O0 | c | js_os_rename:
subq $0x78, %rsp
movq %rsi, 0x38(%rsp)
movq %rdx, 0x40(%rsp)
movq %rdi, 0x30(%rsp)
movl %ecx, 0x2c(%rsp)
movq %r8, 0x20(%rsp)
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
callq 0x147e0
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x18775
movl $0x0, 0x48(%rsp)
movq ... | js_os_rename:
sub rsp, 78h
mov [rsp+78h+var_40], rsi
mov [rsp+78h+var_38], rdx
mov [rsp+78h+var_48], rdi
mov [rsp+78h+var_4C], ecx
mov [rsp+78h+var_58], r8
mov rdi, [rsp+78h+var_48]
mov rax, [rsp+78h+var_58]
mov rsi, [rax]
mov rdx, [rax+8]
call JS_ToCString
mov [rsp+78h+va... | long long js_os_rename(long long a1, long long a2, long long a3, long long a4, long long *a5)
{
int v5; // eax
int errno; // [rsp+Ch] [rbp-6Ch]
long long v8; // [rsp+10h] [rbp-68h]
long long v9; // [rsp+18h] [rbp-60h]
long long v11; // [rsp+48h] [rbp-30h]
long long v12; // [rsp+68h] [rbp-10h]
v9 = JS_To... | js_os_rename:
SUB RSP,0x78
MOV qword ptr [RSP + 0x38],RSI
MOV qword ptr [RSP + 0x40],RDX
MOV qword ptr [RSP + 0x30],RDI
MOV dword ptr [RSP + 0x2c],ECX
MOV qword ptr [RSP + 0x20],R8
MOV RDI,qword ptr [RSP + 0x30]
MOV RAX,qword ptr [RSP + 0x20]
MOV RSI,qword ptr [RAX]
MOV RDX,qword ptr [RAX + 0x8]
CALL 0x001147e0
MOV qwo... |
int1 [16] js_os_rename(int8 param_1)
{
int1 auVar1 [16];
int iVar2;
char *__old;
char *__new;
int8 *in_R8;
int4 local_30;
int4 uStack_2c;
int8 local_28;
int4 uStack_c;
__old = (char *)JS_ToCString(param_1,*in_R8,in_R8[1]);
if (__old == (char *)0x0) {
local_30 = 0;
local_28 = 6;
}
... | |
12,955 | js_os_rename | bluesky950520[P]quickjs/quickjs-libc.c | static JSValue js_os_rename(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
const char *oldpath, *newpath;
int ret;
oldpath = JS_ToCString(ctx, argv[0]);
if (!oldpath)
return JS_EXCEPTION;
newpath = JS_ToCString(ctx, argv[1]);
if (!newpath) {
... | O1 | c | js_os_rename:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r13
movq %rdi, %rbx
movq (%r8), %rdx
movq 0x8(%r8), %rcx
xorl %r12d, %r12d
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x20bf7
movl $0x6, %r15d
testq %rax, %rax
je 0x18d9e
movq %rax, %r14
movq 0x10(%r13), %rdx
movq 0x18(%r13... | js_os_rename:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r13, r8
mov rbx, rdi
mov rdx, [r8]
mov rcx, [r8+8]
xor r12d, r12d
xor esi, esi
xor r8d, r8d
call JS_ToCStringLen2
mov r15d, 6
test rax, rax
jz short loc_18D9E
mov r14, rax... | long long js_os_rename(long long a1, long long a2, long long a3, long long a4, _QWORD *a5)
{
long long v6; // r12
long long v7; // rax
long long v8; // r14
long long v9; // rax
long long v10; // r12
unsigned int v11; // ebp
v6 = 0LL;
v7 = JS_ToCStringLen2(a1, 0LL, *a5, a5[1], 0LL);
if ( v7 )
{
... | js_os_rename:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R13,R8
MOV RBX,RDI
MOV RDX,qword ptr [R8]
MOV RCX,qword ptr [R8 + 0x8]
XOR R12D,R12D
XOR ESI,ESI
XOR R8D,R8D
CALL 0x00120bf7
MOV R15D,0x6
TEST RAX,RAX
JZ 0x00118d9e
MOV R14,RAX
MOV RDX,qword ptr [R13 + 0x10]
MOV RCX,qword ptr [R13 + 0x18]
... |
int js_os_rename(int8 param_1)
{
int iVar1;
char *__old;
char *__new;
int *piVar2;
int8 *in_R8;
iVar1 = 0;
__old = (char *)JS_ToCStringLen2(param_1,0,*in_R8,in_R8[1],0);
if (__old != (char *)0x0) {
__new = (char *)JS_ToCStringLen2(param_1,0,in_R8[2],in_R8[3],0);
if (__new == (char *)0x0) {
... | |
12,956 | sqrt_align_fp2 | corpus-core[P]colibri-stateless/build_O3/_deps/blst-src/src/sqrt.c | static bool_t sqrt_align_fp2(vec384x out, const vec384x ret,
const vec384x sqrt, const vec384x inp)
{
static const vec384x sqrt_minus_1 = { { 0 }, { ONE_MONT_P } };
static const vec384x sqrt_sqrt_minus_1 = {
/*
* "magic" number is ±2^((p-3)/4)%p, which is "1/sqrt(2)",
... | O3 | c | sqrt_align_fp2:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp # imm = 0x138
movq %rcx, %r13
movq %rsi, -0x40(%rbp)
movq %rdi, -0x38(%rbp)
leaq 0x25374(%rip), %rbx # 0x8cca0
leaq -0xa0(%rbp), %r14
movabsq $-0x760c000300030003, %rcx # imm = 0x89F3FFFCFF... | sqrt_align_fp2:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 138h
mov r13, rcx
mov [rbp+var_40], rsi
mov [rbp+var_38], rdi
lea rbx, BLS12_381_P
lea r14, [rbp+var_A0]
mov rcx, 89F3FFFCFFFCFFFDh
mov rdi, r14
mov rsi, rdx
mov rdx,... | long long sqrt_align_fp2(long long a1, long long a2, long long a3, long long a4)
{
long long is_zero_16x; // r14
long long v6; // rbx
long long v7; // r14
long long v8; // rbx
long long v9; // r14
_BYTE v11[96]; // [rsp+0h] [rbp-160h] BYREF
_BYTE v12[48]; // [rsp+60h] [rbp-100h] BYREF
_BYTE v13[48]; //... | sqrt_align_fp2:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x138
MOV R13,RCX
MOV qword ptr [RBP + -0x40],RSI
MOV qword ptr [RBP + -0x38],RDI
LEA RBX,[0x18cca0]
LEA R14,[RBP + -0xa0]
MOV RCX,-0x760c000300030003
MOV RDI,R14
MOV RSI,RDX
MOV RDX,RBX
CALL 0x00173ce0
LEA R15,[RBP + -0x100]
MOV ... |
ulong sqrt_align_fp2(int8 param_1,int8 param_2,int8 param_3,long param_4)
{
ulong uVar1;
ulong uVar2;
long lVar3;
int8 *puVar4;
int8 *puVar5;
byte bVar6;
int8 local_168 [12];
int1 local_108 [48];
int1 local_d8 [48];
int1 local_a8 [48];
int1 local_78 [48];
int8 local_48;
int8 local_40;
ulon... | |
12,957 | flush_log_for_bitmap | eloqsql/storage/maria/ma_bitmap.c | static my_bool
flush_log_for_bitmap(PAGECACHE_IO_HOOK_ARGS *args __attribute__ ((unused)))
{
#ifdef DBUG_ASSERT_EXISTS
const MARIA_SHARE *share= (MARIA_SHARE*)args->data;
#endif
DBUG_ENTER("flush_log_for_bitmap");
DBUG_ASSERT(share->now_transactional);
/*
WAL imposes that UNDOs reach disk before bitmap is f... | O3 | c | flush_log_for_bitmap:
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
callq 0x4720c
movq %rax, %rdi
popq %rbp
jmp 0x483ff
| flush_log_for_bitmap:
push rbp
mov rbp, rsp
xor eax, eax
call translog_get_horizon
mov rdi, rax
pop rbp
jmp translog_flush
| long long flush_log_for_bitmap()
{
long long horizon; // rax
horizon = translog_get_horizon();
return translog_flush(horizon);
}
| flush_log_for_bitmap:
PUSH RBP
MOV RBP,RSP
XOR EAX,EAX
CALL 0x0014720c
MOV RDI,RAX
POP RBP
JMP 0x001483ff
|
void flush_log_for_bitmap(void)
{
int8 uVar1;
uVar1 = translog_get_horizon();
translog_flush(uVar1);
return;
}
| |
12,958 | cpu_get_num_math() | monkey531[P]llama/common/common.cpp | int32_t cpu_get_num_math() {
#if defined(__x86_64__) && defined(__linux__) && !defined(__ANDROID__)
int n_cpu = sysconf(_SC_NPROCESSORS_ONLN);
if (n_cpu < 1) {
return cpu_get_num_physical_cores();
}
if (is_hybrid_cpu()) {
cpu_set_t affinity;
if (!pthread_getaffinity_np(pthread_se... | O0 | cpp | cpu_get_num_math():
subq $0x98, %rsp
movl $0x54, %edi
callq 0x5ea20
movl %eax, 0x90(%rsp)
cmpl $0x1, 0x90(%rsp)
jge 0xfc4a0
callq 0xfc160
movl %eax, 0x94(%rsp)
jmp 0xfc512
callq 0xfc530
testb $0x1, %al
jne 0xfc4ab
jmp 0xfc506
callq 0x5ecc0
movq %rax, %rdi
movl $0x80, %esi
leaq 0x10(%rsp), %rdx
callq 0x5f470
cmpl $0x0, ... | _Z16cpu_get_num_mathv:
sub rsp, 98h
mov edi, 54h ; 'T'
call _sysconf
mov [rsp+98h+var_8], eax
cmp [rsp+98h+var_8], 1
jge short loc_FC4A0
call _Z26cpu_get_num_physical_coresv; cpu_get_num_physical_cores(void)
mov [rsp+98h+var_4], eax
jmp short loc_FC512
loc_FC4A0:
call _ZL13is_hybrid... | long long cpu_get_num_math(void)
{
long long v0; // rax
long long v1; // rax
int v3; // [rsp+Ch] [rbp-8Ch]
_BYTE v4[128]; // [rsp+10h] [rbp-88h] BYREF
int v5; // [rsp+90h] [rbp-8h]
v5 = sysconf(84LL);
if ( v5 >= 1 )
{
if ( (is_hybrid_cpu() & 1) == 0 )
return (unsigned int)cpu_get_num_physical... | cpu_get_num_math:
SUB RSP,0x98
MOV EDI,0x54
CALL 0x0015ea20
MOV dword ptr [RSP + 0x90],EAX
CMP dword ptr [RSP + 0x90],0x1
JGE 0x001fc4a0
CALL 0x001fc160
MOV dword ptr [RSP + 0x94],EAX
JMP 0x001fc512
LAB_001fc4a0:
CALL 0x001fc530
TEST AL,0x1
JNZ 0x001fc4ab
JMP 0x001fc506
LAB_001fc4ab:
CALL 0x0015ecc0
MOV RDI,RAX
MOV ESI... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* cpu_get_num_math() */
int cpu_get_num_math(void)
{
int iVar1;
long lVar2;
ulong uVar3;
pthread_t pVar4;
cpu_set_t local_88;
int local_8;
int local_4;
lVar2 = sysconf(0x54);
local_8 = (int)lVar2;
if (local_8 < 1) {
... | |
12,959 | cpu_get_num_math() | monkey531[P]llama/common/common.cpp | int32_t cpu_get_num_math() {
#if defined(__x86_64__) && defined(__linux__) && !defined(__ANDROID__)
int n_cpu = sysconf(_SC_NPROCESSORS_ONLN);
if (n_cpu < 1) {
return cpu_get_num_physical_cores();
}
if (is_hybrid_cpu()) {
cpu_set_t affinity;
if (!pthread_getaffinity_np(pthread_se... | O1 | cpp | cpu_get_num_math():
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x100, %rsp # imm = 0x100
movl $0x54, %edi
callq 0x1b5d0
movq %rax, %rbx
testl %ebx, %ebx
jle 0x76b1c
movl $0x7, %eax
xorl %ecx, %ecx
movq %rbx, %rsi
cpuid
xchgq %rbx, %rsi
testw %dx, %dx
jns 0x76b1c
callq 0x1b800
movq %rax, %r1... | _Z16cpu_get_num_mathv:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 100h
mov edi, 54h ; 'T'
call _sysconf
mov rbx, rax
test ebx, ebx
jle loc_76B1C
mov eax, 7
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rsi, rbx
test dx, dx
jns loc_76B1C
call _pthread_self
... | long long cpu_get_num_math()
{
int v0; // ebp
long long v1; // rbx
long long v3; // rsi
long long v8; // rbx
long long v9; // rsi
long long v10; // rt0
long long v11; // r14
bool v12; // al
unsigned int v13; // r15d
long long v14; // rcx
long long v15; // r8
long long v16; // r9
long long v18... | cpu_get_num_math:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x100
MOV EDI,0x54
CALL 0x0011b5d0
MOV RBX,RAX
TEST EBX,EBX
JLE 0x00176b1c
MOV EAX,0x7
XOR ECX,ECX
MOV RSI,RBX
CPUID
XCHG RBX,RSI
TEST DX,DX
JNS 0x00176b1c
CALL 0x0011b800
MOV R14,RAX
LEA RDX,[RSP + 0x80]
MOV ESI,0x80
MOV RDI,RAX
CALL 0x0011c020
TES... |
/* WARNING: Removing unreachable block (ram,0x00176ad2) */
/* WARNING: Removing unreachable block (ram,0x00176a2e) */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* cpu_get_num_math() */
int cpu_get_num_math(void)
{
bool bVar1;
long lVar2;
uint *puVar3;
uint uVar4;
int iVar... | |
12,960 | ma_ft_add | eloqsql/storage/maria/ma_ft_update.c | int _ma_ft_add(MARIA_HA *info, uint keynr, uchar *keybuf, const uchar *record,
my_off_t pos)
{
int error= -1;
FT_WORD *wlist;
DBUG_ENTER("_ma_ft_add");
DBUG_PRINT("enter",("keynr: %d",keynr));
if ((wlist= _ma_ft_parserecord(info, keynr, record, &info->ft_memroot)))
error= _ma_ft_store(info,keynr,... | O0 | c | ma_ft_add:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl $0xffffffff, -0x2c(%rbp) # imm = 0xFFFFFFFF
jmp 0x73404
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movq -0x20(%rbp), %rdx
movq -0x8(%rbp), %rcx
add... | _ma_ft_add:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov [rbp+var_2C], 0FFFFFFFFh
jmp short $+2
loc_73404:
mov rdi, [rbp+var_8]
mov esi, [rbp+var_C]
mov rdx, [rbp+var_2... | long long ma_ft_add(_QWORD *a1, unsigned int a2, _BYTE *a3, long long a4, long long a5)
{
_QWORD *v6; // [rsp+8h] [rbp-38h]
unsigned int v7; // [rsp+14h] [rbp-2Ch]
v7 = -1;
v6 = (_QWORD *)ma_ft_parserecord(a1, a2, a4, (long long)(a1 + 101));
if ( v6 )
v7 = ma_ft_store((long long)a1, a2, a3, v6, a5);
f... | _ma_ft_add:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV dword ptr [RBP + -0x2c],0xffffffff
JMP 0x00173404
LAB_00173404:
MOV RDI,qword ptr [RBP + -0x8]
MOV ESI,dword ptr ... |
int4
_ma_ft_add(long param_1,int4 param_2,int8 param_3,int8 param_4,int8 param_5)
{
long lVar1;
int4 local_34;
local_34 = 0xffffffff;
lVar1 = _ma_ft_parserecord(param_1,param_2,param_4,param_1 + 0x328);
if (lVar1 != 0) {
local_34 = _ma_ft_store(param_1,param_2,param_3,lVar1,param_5);
}
free_root(... | |
12,961 | js_array_fill | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_fill(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue obj;
int64_t len, start, end;
obj = JS_ToObject(ctx, this_val);
if (js_get_length64(ctx, &len, obj))
goto exception;
start = 0;
if (argc > 1 && !JS_IsUndefined... | O0 | c | js_array_fill:
subq $0x98, %rsp
movq %rsi, 0x78(%rsp)
movq %rdx, 0x80(%rsp)
movq %rdi, 0x70(%rsp)
movl %ecx, 0x6c(%rsp)
movq %r8, 0x60(%rsp)
movq 0x70(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq 0x80(%rsp), %rdx
callq 0x37770
movq %rax, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x30(%... | js_array_fill:
sub rsp, 98h
mov [rsp+98h+var_20], rsi
mov [rsp+98h+var_18], rdx
mov [rsp+98h+var_28], rdi
mov [rsp+98h+var_2C], ecx
mov [rsp+98h+var_38], r8
mov rdi, [rsp+98h+var_28]
mov rsi, [rsp+98h+var_20]
mov rdx, [rsp+98h+var_18]
call JS_ToObject
mov [rsp+98h+var_70], rax... | _DWORD * js_array_fill(
long long a1,
_DWORD *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)
{
long ... | js_array_fill:
SUB RSP,0x98
MOV qword ptr [RSP + 0x78],RSI
MOV qword ptr [RSP + 0x80],RDX
MOV qword ptr [RSP + 0x70],RDI
MOV dword ptr [RSP + 0x6c],ECX
MOV qword ptr [RSP + 0x60],R8
MOV RDI,qword ptr [RSP + 0x70]
MOV RSI,qword ptr [RSP + 0x78]
MOV RDX,qword ptr [RSP + 0x80]
CALL 0x00137770
MOV qword ptr [RSP + 0x28],RA... |
int1 [16]
js_array_fill(int8 param_1,int8 param_2,int8 param_3,int param_4,
int8 *param_5)
{
long lVar1;
int8 uVar2;
int iVar3;
int1 auVar4 [16];
long local_60;
long local_58;
long local_50;
int1 local_48 [16];
int8 *local_38;
int local_2c;
int8 local_28;
int8 local_20;
int8 lo... | |
12,962 | js_array_fill | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_fill(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue obj;
int64_t len, start, end;
obj = JS_ToObject(ctx, this_val);
if (js_get_length64(ctx, &len, obj))
goto exception;
start = 0;
if (argc > 1 && !JS_IsUndefined... | O1 | c | js_array_fill:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r15
movl %ecx, %ebp
movq %rdi, %r12
callq 0x26ddd
movq %rax, %r14
movq %rdx, %rbx
leaq 0x18(%rsp), %rsi
movq %r12, %rdi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x22adc
testl %eax, %eax
je 0x756f9
movq 0x18(%r12), ... | js_array_fill:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r15, r8
mov ebp, ecx
mov r12, rdi
call JS_ToObject
mov r14, rax
mov rbx, rdx
lea rsi, [rsp+58h+var_40]
mov rdi, r12
mov rdx, rax
mov rcx, rbx
call js_get_length64
test ... | _DWORD * js_array_fill(
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)
{
int... | |||
12,963 | js_array_fill | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_fill(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue obj;
int64_t len, start, end;
obj = JS_ToObject(ctx, this_val);
if (js_get_length64(ctx, &len, obj))
goto exception;
start = 0;
if (argc > 1 && !JS_IsUndefined... | O2 | c | js_array_fill:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r15
movl %ecx, %ebp
movq %rdi, %r12
callq 0x20b92
movq %rax, %r14
movq %rdx, %rbx
leaq 0x20(%rsp), %rsi
movq %r12, %rdi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x1cc43
testl %eax, %eax
je 0x62c78
movq %r12, %rdi
m... | js_array_fill:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r15, r8
mov ebp, ecx
mov r12, rdi
call JS_ToObject
mov r14, rax
mov rbx, rdx
lea rsi, [rsp+58h+var_38]
mov rdi, r12
mov rdx, rax
mov rcx, rbx
call js_get_length64
test ... | long long js_array_fill(
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)
{
i... | js_array_fill:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV R15,R8
MOV EBP,ECX
MOV R12,RDI
CALL 0x00120b92
MOV R14,RAX
MOV RBX,RDX
LEA RSI,[RSP + 0x20]
MOV RDI,R12
MOV RDX,RAX
MOV RCX,RBX
CALL 0x0011cc43
TEST EAX,EAX
JZ 0x00162c78
LAB_00162c4f:
MOV RDI,R12
MOV RSI,R14
MOV RDX,RBX
CALL 0x001180... |
int1 [16]
js_array_fill(int8 param_1,int8 param_2,int8 param_3,int param_4,
int8 *param_5)
{
int iVar1;
int8 uVar2;
int8 uVar3;
long lVar4;
int1 auVar5 [16];
long local_48;
long local_40;
long local_38;
auVar5 = JS_ToObject();
uVar3 = auVar5._8_8_;
uVar2 = auVar5._0_8_;
iVar1 ... | |
12,964 | my_hrtime | eloqsql/mysys/my_getsystime.c | my_hrtime_t my_hrtime()
{
my_hrtime_t hrtime;
#if defined(_WIN32)
ulonglong newtime;
GetSystemTimePreciseAsFileTime((FILETIME*)&newtime);
hrtime.val= (newtime - OFFSET_TO_EPOC)/10;
#elif defined(HAVE_CLOCK_GETTIME)
struct timespec tp;
clock_gettime(CLOCK_REALTIME, &tp);
hrtime.val= tp.tv_sec*1000000ULL+tp... | O3 | c | my_hrtime:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
leaq -0x18(%rbp), %rbx
xorl %edi, %edi
movq %rbx, %rsi
callq 0x33280
imulq $0xf4240, (%rbx), %rcx # imm = 0xF4240
movq 0x8(%rbx), %rax
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rdx # imm = 0x20C49BA5E353F7CF
mulq %rdx
shrq $0x4, %rdx
addq %rdx, %rcx... | my_hrtime:
push rbp
mov rbp, rsp
push rbx
sub rsp, 18h
lea rbx, [rbp+var_18]
xor edi, edi
mov rsi, rbx
call _clock_gettime
imul rcx, [rbx], 0F4240h
mov rax, [rbx+8]
shr rax, 3
mov rdx, 20C49BA5E353F7CFh
mul rdx
shr rdx, 4
add rcx, rdx
mov rax, rcx
add rsp,... | unsigned long long my_hrtime()
{
long long v1; // [rsp+8h] [rbp-18h] BYREF
unsigned long long v2; // [rsp+10h] [rbp-10h]
clock_gettime(0LL, &v1);
return v2 / 0x3E8 + 1000000 * v1;
}
| my_hrtime:
PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x18
LEA RBX,[RBP + -0x18]
XOR EDI,EDI
MOV RSI,RBX
CALL 0x00133280
IMUL RCX,qword ptr [RBX],0xf4240
MOV RAX,qword ptr [RBX + 0x8]
SHR RAX,0x3
MOV RDX,0x20c49ba5e353f7cf
MUL RDX
SHR RDX,0x4
ADD RCX,RDX
MOV RAX,RCX
ADD RSP,0x18
POP RBX
POP RBP
RET
|
long my_hrtime(void)
{
timespec local_20;
clock_gettime(0,&local_20);
return local_20.tv_sec * 1000000 + (ulong)local_20.tv_nsec / 1000;
}
| |
12,965 | spdlog::details::D_formatter<spdlog::details::null_scoped_padder>::format(spdlog::details::log_msg const&, tm const&, fmt::v10::basic_memory_buffer<char, 250ul, std::allocator<char>>&) | AlayaLite/build_O0/_deps/spdlog-src/include/spdlog/pattern_formatter-inl.h | void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
const size_t field_size = 10;
ScopedPadder p(field_size, padinfo_, dest);
fmt_helper::pad2(tm_time.tm_mon + 1, dest);
dest.push_back('/');
fmt_helper::pad2(tm_time.tm_mday, dest);
... | O0 | c | spdlog::details::D_formatter<spdlog::details::null_scoped_padder>::format(spdlog::details::log_msg const&, tm const&, fmt::v10::basic_memory_buffer<char, 250ul, std::allocator<char>>&):
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq 0x30(%rsp), %rdx
movq $0... | _ZN6spdlog7details11D_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1019basic_memory_bufferIcLm250ESaIcEEE:
sub rsp, 38h
mov [rsp+38h+var_8], rdi
mov [rsp+38h+var_10], rsi
mov [rsp+38h+var_18], rdx
mov [rsp+38h+var_20], rcx
mov rdx, [rsp+38h+var_8]
mov [rsp+38h+var_... | long long spdlog::details::D_formatter<spdlog::details::null_scoped_padder>::format(
long long a1,
long long a2,
int *a3,
long long a4)
{
char v5; // [rsp+Dh] [rbp-2Bh] BYREF
char v6; // [rsp+Eh] [rbp-2Ah] BYREF
long long v7; // [rsp+10h] [rbp-28h]
long long v8; // [rsp+18h] [rb... | format:
SUB RSP,0x38
MOV qword ptr [RSP + 0x30],RDI
MOV qword ptr [RSP + 0x28],RSI
MOV qword ptr [RSP + 0x20],RDX
MOV qword ptr [RSP + 0x18],RCX
MOV RDX,qword ptr [RSP + 0x30]
MOV qword ptr [RSP + 0x10],0xa
ADD RDX,0x8
MOV RCX,qword ptr [RSP + 0x18]
LEA RDI,[RSP + 0xf]
MOV ESI,0xa
CALL 0x0018eaa0
MOV RAX,qword ptr [RSP... |
/* spdlog::details::D_formatter<spdlog::details::null_scoped_padder>::format(spdlog::details::log_msg
const&, tm const&, fmt::v10::basic_memory_buffer<char, 250ul, std::allocator<char> >&) */
void __thiscall
spdlog::details::D_formatter<spdlog::details::null_scoped_padder>::format
(D_formatter<spdlog::de... | |
12,966 | linenoiseHistorySave | monkey531[P]llama/examples/run/linenoise.cpp/linenoise.cpp | int linenoiseHistorySave(const char *filename) {
mode_t old_umask = umask(S_IXUSR|S_IRWXG|S_IRWXO);
File file;
file.open(filename, "w");
umask(old_umask);
if (file.file == NULL) {
return -1;
}
chmod(filename,S_IRUSR|S_IWUSR);
for (int j = 0; j < history_len; ++j) {
fpri... | O3 | cpp | linenoiseHistorySave:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movl $0x7f, %edi
callq 0x19e30
movl %eax, %ebp
movq $0x0, 0x8(%rsp)
movl $0xffffffff, 0x10(%rsp) # imm = 0xFFFFFFFF
leaq 0x18(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rbx, %rsi
callq 0x20a94
leaq 0x28(%rsp), %r14
movq -0x10... | linenoiseHistorySave:
push rbp
push r15
push r14
push rbx
sub rsp, 38h
mov rbx, rdi
mov edi, 7Fh
call _umask
mov ebp, eax
mov [rsp+58h+var_50], 0
mov [rsp+58h+var_48], 0FFFFFFFFh
lea rdi, [rsp+58h+var_40]
lea rdx, [rsp+58h+var_51]
mov rsi, rbx
call _ZNSt7__cxx1112ba... | long long linenoiseHistorySave(long long a1)
{
unsigned int v1; // ebp
unsigned int v2; // ebx
long long v3; // r15
long long v5; // [rsp+8h] [rbp-50h] BYREF
int v6; // [rsp+10h] [rbp-48h]
long long *v7; // [rsp+18h] [rbp-40h] BYREF
long long v8; // [rsp+28h] [rbp-30h] BYREF
v1 = umask(127LL);
v6 = ... | linenoiseHistorySave:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x38
MOV RBX,RDI
MOV EDI,0x7f
CALL 0x00119e30
MOV EBP,EAX
MOV qword ptr [RSP + 0x8],0x0
MOV dword ptr [RSP + 0x10],0xffffffff
LAB_0014c99e:
LEA RDI,[RSP + 0x18]
LEA RDX,[RSP + 0x7]
MOV RSI,RBX
CALL 0x00120a94
LAB_0014c9b0:
LEA R14,[RSP + 0x28]
MOV RDI,qw... |
int8 linenoiseHistorySave(char *param_1)
{
__mode_t __mask;
int8 uVar1;
long lVar2;
allocator local_51;
FILE *local_50;
int4 local_48;
long *local_40 [2];
long local_30 [2];
__mask = umask(0x7f);
local_50 = (FILE *)0x0;
local_48 = 0xffffffff;
/* try { // try from 0014c99e ... | |
12,967 | eprint | eloqsql/storage/maria/ma_recovery_util.c | void eprint(FILE *trace_file __attribute__ ((unused)),
const char *format __attribute__ ((unused)), ...)
{
va_list args;
va_start(args, format);
DBUG_PRINT("error", ("%s", format));
if (!trace_file)
trace_file= stderr;
if (procent_printed)
{
procent_printed= 0;
/* In silent mode, pr... | O3 | c | eprint:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0xf0(%rbp), %r15
movq %rdx, 0x10(%r15)
movq %rcx, 0x18(%r15)
movq %r8, 0x20(%r15)
movq %r9, 0x28(%r15)
testb %al, %al
je 0x51645
movaps %xmm0, -0xc0(%rbp)
movaps %xmm1, -0xb0(... | eprint:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0C8h
mov r14, rsi
mov rbx, rdi
lea r15, [rbp+var_F0]
mov [r15+10h], rdx
mov [r15+18h], rcx
mov [r15+20h], r8
mov [r15+28h], r9
test al, al
jz short loc_51645
movaps [rbp+var... | long long eprint(
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... | eprint:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xc8
MOV R14,RSI
MOV RBX,RDI
LEA R15,[RBP + -0xf0]
MOV qword ptr [R15 + 0x10],RDX
MOV qword ptr [R15 + 0x18],RCX
MOV qword ptr [R15 + 0x20],R8
MOV qword ptr [R15 + 0x28],R9
TEST AL,AL
JZ 0x00151645
MOVAPS xmmword ptr [RBP + -0xc0],XMM0
MO... |
void eprint(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,FILE *param_9
,int8 param_10,int8 param_11,int8 param_12,int8 param_13,
int8 param_14)
{
int *puVar1;
char in_AL;
int1 local_f8 [16];
int8 local_e8;
int8 loca... | |
12,968 | get_rowpos_in_head_or_tail_page | eloqsql/storage/maria/ma_blockrec.c | static my_bool get_rowpos_in_head_or_tail_page(MARIA_HA *info,
const MARIA_BITMAP_BLOCK *block,
uchar *buff, uint length,
uint page_type,
... | O3 | c | get_rowpos_in_head_or_tail_page:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, -0x40(%rbp)
movl %ecx, -0x2c(%rbp)
movq %rdi, %r14
movq (%rdi), %rbx
movl 0x7bc(%rbx), %r12d
cmpb $0x0, 0x15(%rsi)
je 0x6119c
movl %r8d, -0x30(%rbp)
leaq -0x60(%rbp), %r15
movl $... | get_rowpos_in_head_or_tail_page:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov [rbp+var_40], r9
mov [rbp+var_2C], ecx
mov r14, rdi
mov rbx, [rdi]
mov r12d, [rbx+7BCh]
cmp byte ptr [rsi+15h], 0
jz loc_6119C
mov [rbp+var_30],... | char get_rowpos_in_head_or_tail_page(
long long *a1,
long long a2,
_BYTE *a3,
unsigned int a4,
int a5,
long long a6,
long long a7)
{
long long v8; // rbx
long long v9; // r12
long long v10; // r13
long long *v11; // rdi
long long v12; // rdx
long long... | get_rowpos_in_head_or_tail_page:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RBP + -0x40],R9
MOV dword ptr [RBP + -0x2c],ECX
MOV R14,RDI
MOV RBX,qword ptr [RDI]
MOV R12D,dword ptr [RBX + 0x7bc]
CMP byte ptr [RSI + 0x15],0x0
JZ 0x0016119c
MOV dword ptr [RBP + -0x30],R8D
... |
int8
get_rowpos_in_head_or_tail_page
(long *param_1,int8 *param_2,long param_3,int4 param_4,int param_5,
ulong param_6,long *param_7)
{
uint uVar1;
ulong uVar2;
char cVar3;
uint uVar4;
int4 *puVar5;
int4 uVar6;
long lVar7;
int1 local_68 [8];
int4 local_60;
char local_58;
int1... | |
12,969 | my_error_unregister_all | eloqsql/mysys/my_error.c | void my_error_unregister_all(void)
{
struct my_err_head *cursor, *saved_next;
for (cursor= my_errmsgs_globerrs.meh_next; cursor != NULL; cursor= saved_next)
{
/* We need this ptr, but we're about to free its container, so save it. */
saved_next= cursor->meh_next;
my_free(cursor);
}
my_errmsgs_gl... | O0 | c | my_error_unregister_all:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x19e6d1(%rip), %rax # 0x1cc980
movq %rax, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x2e2d8
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x25ed0
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x2e2b3
... | my_error_unregister_all:
push rbp
mov rbp, rsp
sub rsp, 10h
mov rax, cs:my_errmsgs_globerrs
mov [rbp+var_8], rax
loc_2E2B3:
cmp [rbp+var_8], 0
jz short loc_2E2D8
mov rax, [rbp+var_8]
mov rax, [rax]
mov [rbp+var_10], rax
mov rdi, [rbp+var_8]
call my_free
mov rax, [rbp+v... | long long *my_error_unregister_all()
{
long long *result; // rax
_QWORD *v1; // [rsp+0h] [rbp-10h]
_QWORD *i; // [rsp+8h] [rbp-8h]
for ( i = (_QWORD *)my_errmsgs_globerrs; i; i = v1 )
{
v1 = (_QWORD *)*i;
my_free((long long)i);
}
my_errmsgs_globerrs = 0LL;
result = &my_errmsgs_globerrs;
my_er... | my_error_unregister_all:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV RAX,qword ptr [0x002cc980]
MOV qword ptr [RBP + -0x8],RAX
LAB_0012e2b3:
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0012e2d8
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x10],RAX
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x00125ed0
MOV RA... |
void my_error_unregister_all(void)
{
int8 *puVar1;
int8 *local_10;
local_10 = my_errmsgs_globerrs;
while (local_10 != (int8 *)0x0) {
puVar1 = (int8 *)*local_10;
my_free(local_10);
local_10 = puVar1;
}
my_errmsgs_globerrs = (int8 *)0x0;
my_errmsgs_list = (int *)&my_errmsgs_globerrs;
retu... | |
12,970 | nlohmann::json_abi_v3_11_3::detail::iter_impl<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::v... | monkey531[P]llama/common/json.hpp | IteratorType erase(IteratorType pos)
{
// make sure iterator fits the current value
if (JSON_HEDLEY_UNLIKELY(this != pos.m_object))
{
JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", this));
}
IteratorType result = end();
s... | O1 | cpp | nlohmann::json_abi_v3_11_3::detail::iter_impl<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::v... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE5eraseINS0_6detail9iter_implISD_EETnNSt9enable_ifIXoosr3std7is_sameIT_SH_EE5valuesr3std7is_sameISJ_NSG_IKSD_EEEE5valueEiE4typeELi0EEESJ_SJ_:
push rbp; int
... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE5eraseINS0_6detail9iter_implISD_EETnNSt9enable_ifIXoosr3std7is_sameIT_SH_EE5valuesr3std7is_sameISJ_NSG_IKSD_EEEE5valueEiE4typeELi0EEESJ_SJ_:
PUSH RBP
PUSH R15... |
long _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE5eraseINS0_6detail9iter_implISD_EETnNSt9enable_ifIXoosr3std7is_sameIT_SH_EE5valuesr3std7is_sameISJ_NSG_IKSD_EEEE5valueEiE4typeELi0EEESJ_SJ_
... | ||
12,971 | ggml_fp32_to_bf16 | ngxson[P]ggml-easy/ggml/src/ggml.c | ggml_bf16_t ggml_fp32_to_bf16(float x) {
#define ggml_fp32_to_bf16 do_not_use__ggml_fp32_to_bf16__in_ggml
return GGML_FP32_TO_BF16(x);
} | O3 | c | ggml_fp32_to_bf16:
movd %xmm0, %ecx
movl %ecx, %edx
andl $0x7fffffff, %edx # imm = 0x7FFFFFFF
movl %ecx, %eax
shrl $0x10, %eax
cmpl $0x7f800001, %edx # imm = 0x7F800001
jb 0x1910f
orl $0x40, %eax
retq
andl $0x1, %eax
addl %ecx, %eax
addl $0x7fff, %eax # imm = 0x7FFF
shrl $0x10, %eax
retq
| ggml_fp32_to_bf16:
movd ecx, xmm0
mov edx, ecx
and edx, 7FFFFFFFh
mov eax, ecx
shr eax, 10h
cmp edx, 7F800001h
jb short loc_1910F
or eax, 40h
retn
loc_1910F:
and eax, 1
add eax, ecx
add eax, 7FFFh
shr eax, 10h
retn
| long long ggml_fp32_to_bf16(__m128i a1)
{
unsigned int v1; // ecx
v1 = _mm_cvtsi128_si32(a1);
if ( (v1 & 0x7FFFFFFF) < 0x7F800001 )
return (v1 + (BYTE2(v1) & 1) + 0x7FFF) >> 16;
else
return HIWORD(v1) | 0x40;
}
| ggml_fp32_to_bf16:
MOVD ECX,XMM0
MOV EDX,ECX
AND EDX,0x7fffffff
MOV EAX,ECX
SHR EAX,0x10
CMP EDX,0x7f800001
JC 0x0011910f
OR EAX,0x40
RET
LAB_0011910f:
AND EAX,0x1
ADD EAX,ECX
ADD EAX,0x7fff
SHR EAX,0x10
RET
|
uint ggml_fp32_to_bf16(uint param_1)
{
if (0x7f800000 < (param_1 & 0x7fffffff)) {
return param_1 >> 0x10 | 0x40;
}
return (param_1 >> 0x10 & 1) + param_1 + 0x7fff >> 0x10;
}
| |
12,972 | ggml_backend_register | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-backend-reg.cpp | void ggml_backend_register(ggml_backend_reg_t reg) {
get_reg().register_backend(reg);
} | O3 | cpp | ggml_backend_register:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
callq 0x6dd3
leaq 0x8(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x96fc(%rip), %rdi # 0x10498
movq %rbx, %rsi
callq 0x6640
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6db3
callq 0x6420
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
tes... | ggml_backend_register:
push rbx
sub rsp, 10h
mov rbx, rdi
call _ZL7get_regv; get_reg(void)
lea rdx, [rsp+18h+var_10]
mov qword ptr [rdx], 0
lea rdi, _ZZL7get_regvE3reg; get_reg(void)::reg
mov rsi, rbx
call __ZN21ggml_backend_registry16register_backendEP16ggml_backend_regSt10unique_ptrIv... | long long ggml_backend_register(int a1)
{
int v1; // ecx
int v2; // r8d
int v3; // r9d
long long result; // rax
long long v5; // [rsp+8h] [rbp-10h] BYREF
get_reg();
v5 = 0LL;
result = ggml_backend_registry::register_backend((unsigned int)&get_reg(void)::reg, a1, (unsigned int)&v5, v1, v2, v3);
if ( ... | ggml_backend_register:
PUSH RBX
SUB RSP,0x10
MOV RBX,RDI
CALL 0x00106dd3
LEA RDX,[RSP + 0x8]
MOV qword ptr [RDX],0x0
LAB_00106d95:
LEA RDI,[0x110498]
MOV RSI,RBX
CALL 0x00106640
LAB_00106da4:
MOV RDI,qword ptr [RSP + 0x8]
TEST RDI,RDI
JZ 0x00106db3
CALL 0x00106420
LAB_00106db3:
ADD RSP,0x10
POP RBX
RET
|
/* WARNING: Removing unreachable block (ram,0x00106dae) */
void ggml_backend_register(int8 param_1)
{
get_reg();
/* try { // try from 00106d95 to 00106da3 has its CatchHandler @ 00106db9 */
ggml_backend_registry::register_backend((ggml_backend_registry *)&get_reg()::reg,param_1);
return;
}
... | |
12,973 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | reference operator[](size_type idx)
{
// implicitly convert null value to an empty array
if (is_null())
{
m_data.m_type = value_t::array;
m_data.m_value.array = create<array_t>();
assert_invariant();
}
// operator[] only works for arrays
... | O2 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixEm:
push rbp; char
push r14; int
push rbx; int
sub rsp, 30h
mov r14, rsi
mov rbx, rdi
mov al, [rdi]
test al, al
jnz short lo... | long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::operator[](
long long a1,
unsigned long long a2)
{
char v3; // al... | operator[]:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV R14,RSI
MOV RBX,RDI
MOV AL,byte ptr [RDI]
TEST AL,AL
JNZ 0x00199511
MOV byte ptr [RBX],0x2
CALL 0x00164ee2
MOV qword ptr [RBX + 0x8],RAX
PUSH 0x1
POP RSI
MOV RDI,RBX
CALL 0x00164da8
MOV AL,byte ptr [RBX]
LAB_00199511:
CMP AL,0x2
JNZ 0x0019955a
MOV RDI,qword ptr [R... |
/* 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>::operator[](unsigned long) */
... | |
12,974 | ftxui::(anonymous namespace)::Dim::Render(ftxui::Screen&) | Andrewchistyakov[P]flashcards_lyc/build_O0/_deps/ftxui-src/src/ftxui/dom/dim.cpp | void Render(Screen& screen) override {
Node::Render(screen);
for (int y = box_.y_min; y <= box_.y_max; ++y) {
for (int x = box_.x_min; x <= box_.x_max; ++x) {
screen.PixelAt(x, y).dim = true;
}
}
} | O0 | cpp | ftxui::(anonymous namespace)::Dim::Render(ftxui::Screen&):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
movq -0x10(%rbp), %rsi
callq 0x446a0
movq -0x20(%rbp), %rax
movl 0x54(%rax), %eax
movl %eax, -0x14(%rbp)
movq -0x20(%rbp), %rcx... | _ZN5ftxui12_GLOBAL__N_13Dim6RenderERNS_6ScreenE:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rdi, [rbp+var_8]; this
mov [rbp+var_20], rdi
mov rsi, [rbp+var_10]; ftxui::Screen *
call _ZN5ftxui4Node6RenderERNS_6ScreenE; ftxui::Node::Render(ftxui::Scr... | long long ftxui::`anonymous namespace'::Dim::Render(
ftxui::_anonymous_namespace_::Dim *this,
ftxui::Screen *a2)
{
long long result; // rax
_BYTE *v3; // rax
int j; // [rsp+8h] [rbp-18h]
int i; // [rsp+Ch] [rbp-14h]
ftxui::Node::Render(this, a2);
for ( i = *((_DWORD *)this + 21); ; ++i )
... | Render:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x20],RDI
MOV RSI,qword ptr [RBP + -0x10]
CALL 0x001446a0
MOV RAX,qword ptr [RBP + -0x20]
MOV EAX,dword ptr [RAX + 0x54]
MOV dword ptr [RBP + -0x14],EAX
LAB_00181... |
/* ftxui::(anonymous namespace)::Dim::Render(ftxui::Screen&) */
void __thiscall ftxui::(anonymous_namespace)::Dim::Render(Dim *this,Screen *param_1)
{
byte *pbVar1;
int local_20;
int local_1c;
Node::Render((Node *)this,param_1);
for (local_1c = *(int *)(this + 0x54); local_1c <= *(int *)(this + 0x58); l... | |
12,975 | 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... | O3 | 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)
{
long long v2; // rax
_BYTE v4[1048]; // [rsp+40h] [rbp-418h] BYREF
snprintf(
v4,
1024LL,
"\trepeat_last_n = %d, repeat_penalty = %.3f, frequency_penalty = %.3f, presence_penalty = %.3f\n"
"\tdry_multiplier = %.3f, dry_b... | 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;
long *in_RDI;
char local_418 [1032];
snprintf(local_418,0x400,
"\trepeat_last_n = %d, repeat_penalty = %.3f, frequency_penalty = %.3f, presence_penalty = %.3f\n\tdry_multipl... | |
12,976 | evmone::instr::core::codecopy(evmone::StackTop, long, evmone::ExecutionState&) | corpus-core[P]colibri-stateless/build_O3/_deps/evmone_external-src/lib/evmone/instructions.hpp | inline Result codecopy(StackTop stack, int64_t gas_left, ExecutionState& state) noexcept
{
// TODO: Similar to calldatacopy().
const auto& mem_index = stack.pop();
const auto& input_index = stack.pop();
const auto& size = stack.pop();
if (!check_memory(gas_left, state.memory, mem_index, size))
... | O3 | cpp | evmone::instr::core::codecopy(evmone::StackTop, long, evmone::ExecutionState&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r8
movq %rdi, %r12
movdqu -0x40(%rdi), %xmm0
movdqu -0x30(%rdi), %xmm1
por %xmm0, %xmm1
leaq 0x8(%rdx), %r9
ptest %xmm1, %xmm1
je 0x41f... | _ZN6evmone5instr4core8codecopyENS_8StackTopElRNS_14ExecutionStateE:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15, rdx
mov r8, rsi
mov r12, rdi
movdqu xmm0, xmmword ptr [rdi-40h]
movdqu xmm1, xmmword ptr [rdi-30h]
por xmm1, xmm0
lea r9, [rdx+8]
ptest ... | long long evmone::instr::core::codecopy(const __m128i *a1, evmone *a2, _QWORD *a3)
{
long long v4; // r8
__m128i v6; // xmm1
evmone::Memory *v7; // r9
unsigned int v8; // ebp
evmone::Memory *v9; // rdx
evmone::Memory *v10; // rbx
char *v11; // rax
long long v12; // rax
long long v13; // rcx
long lo... | codecopy:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDX
MOV R8,RSI
MOV R12,RDI
MOVDQU XMM0,xmmword ptr [RDI + -0x40]
MOVDQU XMM1,xmmword ptr [RDI + -0x30]
POR XMM1,XMM0
LEA R9,[RDX + 0x8]
PTEST XMM1,XMM1
JZ 0x00141f6d
MOV RAX,qword ptr [R12 + -0x30]
OR RAX,qword ptr [R12 + -0x28]
MOV EBP,0x... |
/* evmone::instr::core::codecopy(evmone::StackTop, long, evmone::ExecutionState&) */
int1 [16] evmone::instr::core::codecopy(ulong *param_1,long param_2,long param_3)
{
ulong uVar1;
bool bVar2;
bool bVar3;
ulong uVar4;
ulong uVar5;
ulong uVar6;
int8 uVar7;
ulong uVar8;
ulong uVar9;
int1 auVar10 ... | |
12,977 | my_casedn_utf32 | eloqsql/strings/ctype-ucs2.c | static size_t
my_casedn_utf32(CHARSET_INFO *cs, const char *src, size_t srclen,
char *dst, size_t dstlen)
{
my_wc_t wc;
int res;
const char *srcend= src + srclen;
char *dstend= dst + dstlen;
MY_UNICASE_INFO *uni_plane= cs->caseinfo;
DBUG_ASSERT(srclen <= dstlen);
while ((res= my_utf32_uni... | O3 | c | my_casedn_utf32:
movq %rdx, %rax
cmpq $0x4, %rdx
jl 0xcb675
pushq %rbp
movq %rsp, %rbp
pushq %rbx
leaq (%rsi,%rax), %rdx
addq %rcx, %r8
movq 0x78(%rdi), %rdi
addq $0x4, %rcx
movzbl (%rsi), %r9d
shll $0x18, %r9d
movzbl 0x1(%rsi), %r10d
shll $0x10, %r10d
orl %r9d, %r10d
cmpl $0x10ffff, %r10d # imm = 0x10FFFF
ja 0x... | my_casedn_utf32:
mov rax, rdx
cmp rdx, 4
jl locret_CB675
push rbp
mov rbp, rsp
push rbx
lea rdx, [rsi+rax]
add r8, rcx
mov rdi, [rdi+78h]
add rcx, 4
loc_CB5EB:
movzx r9d, byte ptr [rsi]
shl r9d, 18h
movzx r10d, byte ptr [rsi+1]
shl r10d, 10h
or r10d, r9d
cmp r... | long long my_casedn_utf32(long long a1, unsigned __int8 *a2, long long a3, long long a4, long long a5)
{
long long result; // rax
unsigned __int8 *v6; // rdx
unsigned long long v7; // r8
unsigned long long *v8; // rdi
unsigned long long v9; // rcx
long long v10; // r10
long long v11; // r9
unsigned lon... | my_casedn_utf32:
MOV RAX,RDX
CMP RDX,0x4
JL 0x001cb675
PUSH RBP
MOV RBP,RSP
PUSH RBX
LEA RDX,[RSI + RAX*0x1]
ADD R8,RCX
MOV RDI,qword ptr [RDI + 0x78]
ADD RCX,0x4
LAB_001cb5eb:
MOVZX R9D,byte ptr [RSI]
SHL R9D,0x18
MOVZX R10D,byte ptr [RSI + 0x1]
SHL R10D,0x10
OR R10D,R9D
CMP R10D,0x10ffff
JA 0x001cb673
MOVZX EBX,byte ... |
void my_casedn_utf32(long param_1,byte *param_2,long param_3,long param_4,long param_5)
{
byte *pbVar1;
byte *pbVar2;
ulong *puVar3;
long lVar4;
ulong uVar5;
ulong uVar6;
uint uVar7;
if (3 < param_3) {
pbVar2 = param_2 + param_3;
puVar3 = *(ulong **)(param_1 + 0x78);
uVar5 = param_4 + 4... | |
12,978 | trnman_init_tmp_trn_for_logging_trid | eloqsql/storage/maria/trnman.c | void trnman_init_tmp_trn_for_logging_trid(TRN *trn)
{
*trn= dummy_transaction_object;
/* Avoid logging short_id */
trn->short_id= 1;
/* Trid gets logged in translog_write_record */
trn->first_undo_lsn= 0;
/* Get next free trid */
trn->trid= trnman_get_min_safe_trid();
} | O3 | c | trnman_init_tmp_trn_for_logging_trid:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x3a29f3(%rip), %rsi # 0x3fefc0
movl $0xb0, %edx
callq 0x29080
movw $0x1, 0xac(%rbx)
movq $0x0, 0xa0(%rbx)
callq 0x5cad7
movq %rax, 0x78(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
| trnman_init_tmp_trn_for_logging_trid:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
lea rsi, dummy_transaction_object
mov edx, 0B0h
call _memcpy
mov word ptr [rbx+0ACh], 1
mov qword ptr [rbx+0A0h], 0
call trnman_get_min_safe_trid
mov [rbx+78h], rax
add rsp, 8
pop ... | long long trnman_init_tmp_trn_for_logging_trid(long long a1)
{
long long result; // rax
memcpy(a1, dummy_transaction_object, 176LL);
*(_WORD *)(a1 + 172) = 1;
*(_QWORD *)(a1 + 160) = 0LL;
result = trnman_get_min_safe_trid(a1);
*(_QWORD *)(a1 + 120) = result;
return result;
}
| trnman_init_tmp_trn_for_logging_trid:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
LEA RSI,[0x4fefc0]
MOV EDX,0xb0
CALL 0x00129080
MOV word ptr [RBX + 0xac],0x1
MOV qword ptr [RBX + 0xa0],0x0
CALL 0x0015cad7
MOV qword ptr [RBX + 0x78],RAX
ADD RSP,0x8
POP RBX
POP RBP
RET
|
void trnman_init_tmp_trn_for_logging_trid(void *param_1)
{
int8 uVar1;
memcpy(param_1,dummy_transaction_object,0xb0);
*(int2 *)((long)param_1 + 0xac) = 1;
*(int8 *)((long)param_1 + 0xa0) = 0;
uVar1 = trnman_get_min_safe_trid();
*(int8 *)((long)param_1 + 0x78) = uVar1;
return;
}
| |
12,979 | minja::IfNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const | llama.cpp/common/minja/minja.hpp | void do_render(std::ostringstream & out, const std::shared_ptr<Context> & context) const override {
for (const auto& branch : cascade) {
auto enter_branch = true;
if (branch.first) {
enter_branch = branch.first->evaluate(context).to_bool();
}
if (enter_branch) {... | O3 | cpp | minja::IfNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, (%rsp)
movq 0x20(%rdi), %r13
movq 0x28(%rdi), %rbp
cmpq %rbp, %r13... | _ZNK5minja6IfNode9do_renderERNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_7ContextEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov [rsp+88h+var_88], rsi
mov r13, [rdi+20h]
mov rbp, [rdi+28h]
cmp r13, rbp
jz loc_F0110
... | void minja::IfNode::do_render(long long a1)
{
long long v1; // r13
long long v2; // rbp
char v3; // r12
long long v4; // rdi
signed __int32 v5; // eax
long long ( ***v6)(_QWORD); // rdi
std::runtime_error *exception; // rbx
_BYTE v8[8]; // [rsp+8h] [rbp-80h] BYREF
long long v9; // [rsp+10h] [rbp-78h]... | do_render:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV qword ptr [RSP],RSI
MOV R13,qword ptr [RDI + 0x20]
MOV RBP,qword ptr [RDI + 0x28]
CMP R13,RBP
JZ 0x001f0110
MOV RBX,RDX
LEA R15,[RSP + 0x48]
LEA R14,[RSP + 0x8]
LAB_001f005e:
MOV RSI,qword ptr [R13]
TEST RSI,RSI
JZ 0x001f00fb
MOV RDI,R14
... |
/* minja::IfNode::do_render(std::__cxx11::ostringstream&, std::shared_ptr<minja::Context> const&)
const */
void minja::IfNode::do_render(ostringstream *param_1,shared_ptr *param_2)
{
int *piVar1;
int8 *puVar2;
char cVar3;
int iVar4;
runtime_error *this;
int8 *puVar5;
Expression local_80 [8];
long ... | |
12,980 | SetupViewport | csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/rcore.c | void SetupViewport(int width, int height)
{
CORE.Window.render.width = width;
CORE.Window.render.height = height;
// Set viewport width and height
// NOTE: We consider render size (scaled) and offset in case black bars are required and
// render area does not match full display area (this situation... | O1 | c | SetupViewport:
pushq %rbx
movl %esi, %ecx
movl %edi, %edx
movl %edi, 0xcc597(%rip) # 0x141bf4
movl %esi, 0xcc595(%rip) # 0x141bf8
movl 0xcc593(%rip), %eax # 0x141bfc
movl %eax, %edi
shrl $0x1f, %edi
addl %eax, %edi
sarl %edi
movl 0xcc588(%rip), %eax # 0x141c00
movl %eax, %esi
shrl $0x1f, %esi
addl %eax,... | SetupViewport:
push rbx
mov ecx, esi
mov edx, edi
mov dword ptr cs:qword_141BF4, edi
mov dword ptr cs:qword_141BF4+4, esi
mov eax, dword ptr cs:qword_141BFC
mov edi, eax
shr edi, 1Fh
add edi, eax
sar edi, 1
mov eax, dword ptr cs:qword_141BFC+4
mov esi, eax
shr esi, 1Fh... | __int128 * SetupViewport(unsigned int a1, unsigned int a2)
{
long long v2; // rcx
long long v3; // rdx
long long v4; // rdi
long long v5; // rsi
long long v6; // rdx
long long v7; // rcx
long long v8; // r8
long long v9; // r9
__int128 *result; // rax
v2 = a2;
v3 = a1;
LODWORD(qword_141BF4) = a... | SetupViewport:
PUSH RBX
MOV ECX,ESI
MOV EDX,EDI
MOV dword ptr [0x00241bf4],EDI
MOV dword ptr [0x00241bf8],ESI
MOV EAX,dword ptr [0x00241bfc]
MOV EDI,EAX
SHR EDI,0x1f
ADD EDI,EAX
SAR EDI,0x1
MOV EAX,dword ptr [0x00241c00]
MOV ESI,EAX
SHR ESI,0x1f
ADD ESI,EAX
SAR ESI,0x1
CALL qword ptr [0x002410e0]
LEA RAX,[0x241198]
MOV... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void SetupViewport(uint param_1,uint param_2)
{
DAT_00241bf4 = param_1;
DAT_00241bf8 = param_2;
(*glad_glViewport)(DAT_00241bfc / 2,DAT_00241c00 / 2,param_1,param_2);
DAT_00241150 = &DAT_00241198;
DAT_0024114c = 0x1701;
... | |
12,981 | ggml_visit_parents | monkey531[P]llama/ggml/src/ggml.c | static void ggml_visit_parents(struct ggml_cgraph * cgraph, struct ggml_tensor * node) {
// check if already visited
if (ggml_hash_insert(&cgraph->visited_hash_set, node) == GGML_HASHSET_ALREADY_EXISTS) {
return;
}
for (int i = 0; i < GGML_MAX_SRC; ++i) {
const int k =
(cgra... | O0 | c | ggml_visit_parents:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
addq $0x30, %rdi
movq 0x18(%rsp), %rsi
callq 0x57c80
cmpq $-0x2, %rax
jne 0x59eec
jmp 0x5a0ce
movl $0x0, 0x14(%rsp)
cmpl $0xa, 0x14(%rsp)
jge 0x59f89
movq 0x20(%rsp), %rax
cmpl $0x0, 0x48(%rax)
jne 0x59f14
movl 0x14(%... | ggml_visit_parents:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov [rsp+28h+var_10], rsi
mov rdi, [rsp+28h+var_8]
add rdi, 30h ; '0'
mov rsi, [rsp+28h+var_10]
call ggml_hash_insert
cmp rax, 0FFFFFFFFFFFFFFFEh
jnz short loc_59EEC
jmp loc_5A0CE
loc_59EEC:
mov [rsp+28h+var_14], 0
loc_... | long long ggml_visit_parents(
long long a1,
long long a2,
__m128 a3,
__m128 a4,
__m128 a5,
__m128 a6,
double a7,
double a8,
__m128 a9,
__m128 a10)
{
long long result; // rax
long long v11; // rcx
long long v12; // r8
long long v13;... | ggml_visit_parents:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV qword ptr [RSP + 0x18],RSI
MOV RDI,qword ptr [RSP + 0x20]
ADD RDI,0x30
MOV RSI,qword ptr [RSP + 0x18]
CALL 0x00157c80
CMP RAX,-0x2
JNZ 0x00159eec
JMP 0x0015a0ce
LAB_00159eec:
MOV dword ptr [RSP + 0x14],0x0
LAB_00159ef4:
CMP dword ptr [RSP + 0x14],0xa
J... |
void ggml_visit_parents(int *param_1,long param_2)
{
long lVar1;
size_t sVar2;
int local_20;
int local_1c;
int local_14;
lVar1 = ggml_hash_insert(param_1 + 0xc,param_2);
if (lVar1 != -2) {
for (local_14 = 0; local_14 < 10; local_14 = local_14 + 1) {
if (param_1[0x12] == 0) {
local_1... | |
12,982 | mysql_close_cont | eloqsql/libmariadb/libmariadb/mariadb_async.c | int STDCALL
mysql_close_cont(MYSQL *sock, int ready_status)
{
int res;
res= mysql_close_slow_part_cont(sock, ready_status);
if (res)
return res;
mysql_close(sock);
return 0;
} | O3 | c | mysql_close_cont:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x30a3b
movl %eax, %r14d
testl %eax, %eax
jne 0x30b71
movq %rbx, %rdi
callq 0x20d0c
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
| mysql_close_cont:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdi
call mysql_close_slow_part_cont
mov r14d, eax
test eax, eax
jnz short loc_30B71
mov rdi, rbx
call mysql_close
loc_30B71:
mov eax, r14d
pop rbx
pop r14
pop rbp
retn
| long long mysql_close_cont(long long a1, unsigned int a2)
{
unsigned int v2; // r14d
v2 = mysql_close_slow_part_cont(a1, a2);
if ( !v2 )
mysql_close(a1);
return v2;
}
| mysql_close_cont:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDI
CALL 0x00130a3b
MOV R14D,EAX
TEST EAX,EAX
JNZ 0x00130b71
MOV RDI,RBX
CALL 0x00120d0c
LAB_00130b71:
MOV EAX,R14D
POP RBX
POP R14
POP RBP
RET
|
int mysql_close_cont(int8 param_1)
{
int iVar1;
iVar1 = mysql_close_slow_part_cont();
if (iVar1 == 0) {
mysql_close(param_1);
}
return iVar1;
}
| |
12,983 | minja::Value::operator>(minja::Value const&) const | monkey531[P]llama/common/minja.hpp | bool operator>(const Value & other) const {
if (is_null())
throw std::runtime_error("Undefined value or reference");
if (is_number() && other.is_number()) return get<double>() > other.get<double>();
if (is_string() && other.is_string()) return get<std::string>() > other.get<std::string>();
throw s... | O0 | cpp | minja::Value::operator>(minja::Value const&) const:
subq $0x138, %rsp # imm = 0x138
movq %rdi, 0x128(%rsp)
movq %rsi, 0x120(%rsp)
movq 0x128(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xa2830
testb $0x1, %al
jne 0xe69df
jmp 0xe6a3d
movl $0x10, %edi
callq 0x50540
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x18(%... | _ZNK5minja5ValuegtERKS0_:
sub rsp, 138h
mov [rsp+138h+var_10], rdi
mov [rsp+138h+var_18], rsi
mov rdi, [rsp+138h+var_10]; this
mov [rsp+138h+var_118], rdi; __int16
call _ZNK5minja5Value7is_nullEv; minja::Value::is_null(void)
test al, 1
jnz short loc_E69DF
jmp short loc_E6A3D
loc_E69DF:... | char minja::Value::operator>(minja::Value *a1, minja::Value *a2)
{
void *v3; // [rsp+8h] [rbp-130h]
std::runtime_error *exception; // [rsp+18h] [rbp-120h]
_BYTE v5[32]; // [rsp+30h] [rbp-108h] BYREF
_BYTE v6[32]; // [rsp+50h] [rbp-E8h] BYREF
_BYTE v7[32]; // [rsp+70h] [rbp-C8h] BYREF
_BYTE v8[32]; // [rsp+... | operator>:
SUB RSP,0x138
MOV qword ptr [RSP + 0x128],RDI
MOV qword ptr [RSP + 0x120],RSI
MOV RDI,qword ptr [RSP + 0x128]
MOV qword ptr [RSP + 0x20],RDI
CALL 0x001a2830
TEST AL,0x1
JNZ 0x001e69df
JMP 0x001e6a3d
LAB_001e69df:
MOV EDI,0x10
CALL 0x00150540
MOV RDI,RAX
MOV RAX,RDI
MOV qword ptr [RSP + 0x18],RAX
LAB_001e69f4... |
/* minja::Value::TEMPNAMEPLACEHOLDERVALUE(minja::Value const&) const */
ulong __thiscall minja::Value::operator>(Value *this,Value *param_1)
{
ulong uVar1;
int8 extraout_RAX;
int7 uVar3;
int7 extraout_var;
runtime_error *prVar2;
double dVar4;
double dVar5;
int1 local_108 [32];
int1 local_e8 [32];
... | |
12,984 | minja::Value::operator>(minja::Value const&) const | monkey531[P]llama/common/minja.hpp | bool operator>(const Value & other) const {
if (is_null())
throw std::runtime_error("Undefined value or reference");
if (is_number() && other.is_number()) return get<double>() > other.get<double>();
if (is_string() && other.is_string()) return get<std::string>() > other.get<std::string>();
throw s... | O2 | cpp | minja::Value::operator>(minja::Value const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, %r15
callq 0x3d1f0
testb %al, %al
jne 0x529cb
movb 0x40(%r15), %al
leal -0x5(%rax), %ecx
cmpb $0x2, %cl
ja 0x52967
movb 0x40(%r14), %al
addb $-0x5, %al
cmpb $0x2, %al
ja 0x529fb
mo... | _ZNK5minja5ValuegtERKS0_:
push rbp
push r15
push r14
push rbx
sub rsp, 0A8h
mov r14, rsi
mov r15, rdi
call _ZNK5minja5Value7is_nullEv; minja::Value::is_null(void)
test al, al
jnz loc_529CB
mov al, [r15+40h]
lea ecx, [rax-5]
cmp cl, 2
ja short loc_52967
mov al, [r14... | long long minja::Value::operator>(minja::Value *a1, minja::Value *a2)
{
unsigned int v2; // ebx
char v3; // al
std::runtime_error *exception; // rbx
void *v6; // rbx
_BYTE v7[32]; // [rsp+8h] [rbp-C0h] BYREF
_QWORD v8[4]; // [rsp+28h] [rbp-A0h] BYREF
_QWORD v9[4]; // [rsp+48h] [rbp-80h] BYREF
_BYTE v10... | operator>:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0xa8
MOV R14,RSI
MOV R15,RDI
CALL 0x0013d1f0
TEST AL,AL
JNZ 0x001529cb
MOV AL,byte ptr [R15 + 0x40]
LEA ECX,[RAX + -0x5]
CMP CL,0x2
JA 0x00152967
MOV AL,byte ptr [R14 + 0x40]
ADD AL,0xfb
CMP AL,0x2
JA 0x001529fb
MOV RDI,R15
CALL 0x0013c75a
MOVSD qword ptr [RSP],XMM... |
/* minja::Value::TEMPNAMEPLACEHOLDERVALUE(minja::Value const&) const */
ulong __thiscall minja::Value::operator>(Value *this,Value *param_1)
{
char cVar1;
bool bVar2;
int7 extraout_var;
runtime_error *prVar3;
int8 unaff_RBX;
ulong uVar4;
double dVar5;
double dVar6;
string local_c0 [32];
string lo... | |
12,985 | list_delete | eloqsql/mysys/list.c | LIST *list_delete(LIST *root, LIST *element)
{
if (element->prev)
element->prev->next=element->next;
else
root=element->next;
if (element->next)
element->next->prev=element->prev;
return root;
} | O0 | c | list_delete:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0xdf16b
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rcx
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rcx, 0x8(%rax)
jmp 0xdf177
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x8(%rbp)... | list_delete:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_10]
cmp qword ptr [rax], 0
jz short loc_DF16B
mov rax, [rbp+var_10]
mov rcx, [rax+8]
mov rax, [rbp+var_10]
mov rax, [rax]
mov [rax+8], rcx
jmp short loc_DF177
loc_DF16B:
mo... | long long list_delete(long long a1, _QWORD *a2)
{
if ( *a2 )
*(_QWORD *)(*a2 + 8LL) = a2[1];
else
a1 = a2[1];
if ( a2[1] )
*(_QWORD *)a2[1] = *a2;
return a1;
}
| list_delete:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
CMP qword ptr [RAX],0x0
JZ 0x001df16b
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RAX + 0x8],RCX
JMP 0... |
long list_delete(long param_1,long *param_2)
{
long local_10;
if (*param_2 == 0) {
local_10 = param_2[1];
}
else {
*(long *)(*param_2 + 8) = param_2[1];
local_10 = param_1;
}
if (param_2[1] != 0) {
*(long *)param_2[1] = *param_2;
}
return local_10;
}
| |
12,986 | ma_pvio_start_ssl | eloqsql/libmariadb/libmariadb/ma_pvio.c | my_bool ma_pvio_start_ssl(MARIADB_PVIO *pvio)
{
if (!pvio || !pvio->mysql)
return 1;
CLEAR_CLIENT_ERROR(pvio->mysql);
if (!(pvio->ctls= ma_pvio_tls_init(pvio->mysql)))
{
return 1;
}
if (ma_pvio_tls_connect(pvio->ctls))
{
free(pvio->ctls);
pvio->ctls= NULL;
return 1;
}
/* default b... | O0 | c | ma_pvio_start_ssl:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x28c2e
movq -0x10(%rbp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x28c37
movb $0x1, -0x1(%rbp)
jmp 0x28df9
jmp 0x28c39
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x0, 0x90(%rax)
movq -0x10(%rbp), %rax
movq 0x... | ma_pvio_start_ssl:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_10], rdi
cmp [rbp+var_10], 0
jz short loc_28C2E
mov rax, [rbp+var_10]
cmp qword ptr [rax+40h], 0
jnz short loc_28C37
loc_28C2E:
mov [rbp+var_1], 1
jmp loc_28DF9
loc_28C37:
jmp short $+2
loc_28C39:
mov ... | bool ma_pvio_start_ssl(long long a1)
{
long long v1; // rax
if ( !a1 || !*(_QWORD *)(a1 + 64) )
return 1;
*(_DWORD *)(*(_QWORD *)(a1 + 64) + 144LL) = 0;
strcpy(*(_QWORD *)(a1 + 64) + 663LL, "00000");
*(_BYTE *)(*(_QWORD *)(a1 + 64) + 151LL) = 0;
if ( *(_QWORD *)(*(_QWORD *)(a1 + 64) + 672LL) )
*(_... | ma_pvio_start_ssl:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x10],RDI
CMP qword ptr [RBP + -0x10],0x0
JZ 0x00128c2e
MOV RAX,qword ptr [RBP + -0x10]
CMP qword ptr [RAX + 0x40],0x0
JNZ 0x00128c37
LAB_00128c2e:
MOV byte ptr [RBP + -0x1],0x1
JMP 0x00128df9
LAB_00128c37:
JMP 0x00128c39
LAB_00128c39:
MOV RAX,q... |
int1 ma_pvio_start_ssl(long param_1)
{
char cVar1;
int iVar2;
long lVar3;
int1 local_9;
if ((param_1 == 0) || (*(long *)(param_1 + 0x40) == 0)) {
local_9 = 1;
}
else {
*(int4 *)(*(long *)(param_1 + 0x40) + 0x90) = 0;
strcpy((char *)(*(long *)(param_1 + 0x40) + 0x297),"00000");
*(int1 ... | |
12,987 | my_mb_wc_utf8mb4_no_range | eloqsql/strings/ctype-utf8.c | static int
my_mb_wc_utf8mb4_no_range(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t *pwc, const uchar *s)
{
uchar c;
c= s[0];
if (c < 0x80)
{
*pwc = c;
return 1;
}
if (c < 0xc2)
return MY_CS_ILSEQ;
if (c < 0xe0)
{
if (!IS_CONTINUATION_BYTE(s[1]))
ret... | O0 | c | my_mb_wc_utf8mb4_no_range:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x20(%rbp), %rax
movb (%rax), %al
movb %al, -0x21(%rbp)
movzbl -0x21(%rbp), %eax
cmpl $0x80, %eax
jge 0x68efd
movzbl -0x21(%rbp), %eax
movl %eax, %ecx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)... | my_mb_wc_utf8mb4_no_range:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov rax, [rbp+var_20]
mov al, [rax]
mov [rbp+var_21], al
movzx eax, [rbp+var_21]
cmp eax, 80h
jge short loc_68EFD
movzx eax, [rbp+var_21]
mov ecx, eax
mov ... | long long my_mb_wc_utf8mb4_no_range(long long a1, unsigned long long *a2, unsigned __int8 *a3)
{
unsigned __int8 v4; // [rsp+1h] [rbp-21h]
v4 = *a3;
if ( *a3 >= 0x80u )
{
if ( v4 >= 0xC2u )
{
if ( v4 >= 0xE0u )
{
if ( v4 >= 0xF0u )
{
if ( v4 >= 0xF5u )
{... | my_mb_wc_utf8mb4_no_range:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV RAX,qword ptr [RBP + -0x20]
MOV AL,byte ptr [RAX]
MOV byte ptr [RBP + -0x21],AL
MOVZX EAX,byte ptr [RBP + -0x21]
CMP EAX,0x80
JGE 0x00168efd
MOVZX EAX,byte ptr [RBP + -0x21... |
int4 my_mb_wc_utf8mb4_no_range(int8 param_1,ulong *param_2,byte *param_3)
{
byte bVar1;
int4 local_c;
bVar1 = *param_3;
if (bVar1 < 0x80) {
*param_2 = (ulong)bVar1;
local_c = 1;
}
else if (bVar1 < 0xc2) {
local_c = 0;
}
else if (bVar1 < 0xe0) {
if ((param_3[1] ^ 0x80) < 0x40) {
... | |
12,988 | google::protobuf::internal::InternalSerializeMapEntry(google::protobuf::FieldDescriptor const*, google::protobuf::MapKey const&, google::protobuf::MapValueConstRef const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/wire_format.cc | static uint8_t* InternalSerializeMapEntry(const FieldDescriptor* field,
const MapKey& key,
const MapValueConstRef& value,
uint8_t* target,
io::EpsCopyOu... | O0 | cpp | google::protobuf::internal::InternalSerializeMapEntry(google::protobuf::FieldDescriptor const*, google::protobuf::MapKey const&, google::protobuf::MapValueConstRef const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*):
subq $0x68, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq... | _ZN6google8protobuf8internalL25InternalSerializeMapEntryEPKNS0_15FieldDescriptorERKNS0_6MapKeyERKNS0_16MapValueConstRefEPhPNS0_2io19EpsCopyOutputStreamE:
sub rsp, 68h
mov [rsp+68h+var_28], rdi
mov [rsp+68h+var_30], rsi
mov [rsp+68h+var_38], rdx
mov [rsp+68h+var_40], rcx
mov [rsp+68h+var_48], r8
... | long long google::protobuf::internal::InternalSerializeMapEntry(
google::protobuf::internal *this,
const google::protobuf::FieldDescriptor *a2,
const google::protobuf::MapKey *a3,
const google::protobuf::MapValueConstRef *a4,
google::protobuf::io::EpsCopyOutputStream *a5,
... | operator():
SUB RSP,0x58
MOV qword ptr [RSP + 0x48],RSI
MOV qword ptr [RSP + 0x50],RDX
MOV qword ptr [RSP + 0x40],RDI
MOV RAX,qword ptr [RSP + 0x40]
MOV RCX,qword ptr [RSP + 0x48]
MOV qword ptr [RSP + 0x8],RCX
MOV RCX,qword ptr [RAX]
MOV qword ptr [RSP + 0x10],RCX
MOV RSI,qword ptr [RAX + 0x8]
LEA RDI,[RSP + 0x30]
MOV ... |
/* YAML::detail::node_data::get<char [15]>(char const (&) [15],
std::shared_ptr<YAML::detail::memory_holder>)::{lambda(std::pair<YAML::detail::node*,
YAML::detail::node*>)#1}::TEMPNAMEPLACEHOLDERVALUE(std::pair<YAML::detail::node*,
YAML::detail::node*>) const */
ulong __thiscall
YAML::detail::node_data::
get... | |
12,989 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/./json.hpp | basic_json(initializer_list_t init,
bool type_deduction = true,
value_t manual_type = value_t::array)
{
// check if each element is an array with two elements whose first
// element is a string
bool is_an_object = std::all_of(init.begin(), init.end(),
... | O0 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2ESt16initializer_listINS0_6detail8json_refISD_EEEbNSF_7value_tE:
sub rsp, 128h
mov al, r8b
mov qword ptr [rsp+128h+var_10], rsi
mov [rsp+128... | long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::basic_json(
long long a1,
long long a2,
long long a3,
... | basic_json:
SUB RSP,0x128
MOV AL,R8B
MOV qword ptr [RSP + 0x118],RSI
MOV qword ptr [RSP + 0x120],RDX
MOV qword ptr [RSP + 0x110],RDI
AND CL,0x1
MOV byte ptr [RSP + 0x10f],CL
MOV byte ptr [RSP + 0x10e],AL
MOV RDI,qword ptr [RSP + 0x110]
MOV qword ptr [RSP + 0x50],RDI
MOV RAX,RDI
MOV qword ptr [RSP + 0x58],RAX
XORPS XMM0... |
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >,
void>::basic_json(std::initializer... | |
12,990 | testing::internal::FilePath::GetCurrentDir() | seiftnesse[P]memoryallocator/build_O0/_deps/googletest-src/googletest/src/gtest-filepath.cc | FilePath FilePath::GetCurrentDir() {
#if GTEST_OS_WINDOWS_MOBILE || GTEST_OS_WINDOWS_PHONE || \
GTEST_OS_WINDOWS_RT || GTEST_OS_ESP8266 || GTEST_OS_ESP32 || \
GTEST_OS_XTENSA
// These platforms do not have a current directory, so we just return
// something reasonable.
return FilePath(kCurrentDire... | O0 | cpp | testing::internal::FilePath::GetCurrentDir():
pushq %rbp
movq %rsp, %rbp
subq $0x1080, %rsp # imm = 0x1080
movq %rdi, -0x1060(%rbp)
movq %rdi, %rax
movq %rax, -0x1058(%rbp)
movq %rdi, -0x8(%rbp)
leaq -0x1010(%rbp), %rdi
xorl %esi, %esi
movl $0x1001, %edx # imm = 0x1001
callq 0xb370
leaq -0x1010(%rbp... | _ZN7testing8internal8FilePath13GetCurrentDirEv:
push rbp
mov rbp, rsp
sub rsp, 1080h
mov [rbp+var_1060], rdi
mov rax, rdi
mov [rbp+var_1058], rax
mov [rbp+var_8], rdi
lea rdi, [rbp+var_1010]
xor esi, esi
mov edx, 1001h
call _memset
lea rdi, [rbp+var_1010]
mov esi, 1001h... | testing::internal::FilePath * testing::internal::FilePath::GetCurrentDir(testing::internal::FilePath *this)
{
char *v2; // [rsp+18h] [rbp-1068h]
char v3; // [rsp+47h] [rbp-1039h] BYREF
_BYTE v4[32]; // [rsp+48h] [rbp-1038h] BYREF
_BYTE v6[4104]; // [rsp+70h] [rbp-1010h] BYREF
testing::internal::FilePath *v7; ... | GetCurrentDir:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x1080
MOV qword ptr [RBP + -0x1060],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0x1058],RAX
MOV qword ptr [RBP + -0x8],RDI
LEA RDI,[RBP + -0x1010]
XOR ESI,ESI
MOV EDX,0x1001
CALL 0x0010b370
LEA RDI,[RBP + -0x1010]
MOV ESI,0x1001
CALL 0x0010b340
MOV qword ptr [RBP + -0x1018],RAX
CM... |
/* testing::internal::FilePath::GetCurrentDir() */
FilePath * __thiscall testing::internal::FilePath::GetCurrentDir(FilePath *this)
{
char *local_1070;
allocator local_1041;
string local_1040 [32];
char *local_1020;
char local_1018 [4104];
FilePath *local_10;
local_10 = this;
memset(local_1018,0,0... | |
12,991 | moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent, moodycamel::ConcurrentQueueDefaultTraits>::add_blocks_to_free_list(moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent, moodycamel::ConcurrentQueueDefaultTraits>::Block*) | angrymouse[P]emittra/include/concurrentqueue.h | inline void add_blocks_to_free_list(Block* block)
{
while (block != nullptr) {
auto next = block->next;
add_block_to_free_list(block);
block = next;
}
} | O1 | c | moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent, moodycamel::ConcurrentQueueDefaultTraits>::add_blocks_to_free_list(moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent, moodycamel::ConcurrentQueueDefaultTraits>::Block*):
testq %rsi, %rsi
je 0xa495
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %r... | _ZN10moodycamel15ConcurrentQueueIN7emittra7Emittra11QueuedEventENS_28ConcurrentQueueDefaultTraitsEE23add_blocks_to_free_listEPNS5_5BlockE:
test rsi, rsi
jz short locret_A495
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
loc_A42F:
mov rdi, r14
mov r14, [r14+500h]
cmp byte ptr ... | signed long long moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent,moodycamel::ConcurrentQueueDefaultTraits>::add_blocks_to_free_list(
long long a1,
signed long long a2)
{
signed long long result; // rax
signed long long v3; // r14
signed long long v5; // rdi
signed long long v6; // rtt... | add_blocks_to_free_list:
TEST RSI,RSI
JZ 0x0010a495
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
LAB_0010a42f:
MOV RDI,R14
MOV R14,qword ptr [R14 + 0x500]
CMP byte ptr [RDI + 0x540],0x1
JNZ 0x0010a449
CALL 0x00103310
JMP 0x0010a489
LAB_0010a449:
MOV EAX,0x80000000
XADD.LOCK dword ptr [RDI + 0x530],EAX
TEST EAX,EA... |
/* moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent,
moodycamel::ConcurrentQueueDefaultTraits>::add_blocks_to_free_list(moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent,
moodycamel::ConcurrentQueueDefaultTraits>::Block*) */
void __thiscall
moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEv... | |
12,992 | moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent, moodycamel::ConcurrentQueueDefaultTraits>::add_blocks_to_free_list(moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent, moodycamel::ConcurrentQueueDefaultTraits>::Block*) | angrymouse[P]emittra/include/concurrentqueue.h | inline void add_blocks_to_free_list(Block* block)
{
while (block != nullptr) {
auto next = block->next;
add_block_to_free_list(block);
block = next;
}
} | O3 | c | moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent, moodycamel::ConcurrentQueueDefaultTraits>::add_blocks_to_free_list(moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent, moodycamel::ConcurrentQueueDefaultTraits>::Block*):
testq %rsi, %rsi
je 0xa2b7
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %r... | _ZN10moodycamel15ConcurrentQueueIN7emittra7Emittra11QueuedEventENS_28ConcurrentQueueDefaultTraitsEE23add_blocks_to_free_listEPNS5_5BlockE:
test rsi, rsi
jz short locret_A2B7
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
loc_A251:
mov rdi, r14
mov r14, [r14+500h]
cmp byte ptr ... | signed long long moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent,moodycamel::ConcurrentQueueDefaultTraits>::add_blocks_to_free_list(
long long a1,
signed long long a2)
{
signed long long result; // rax
signed long long v3; // r14
signed long long v5; // rdi
signed long long v6; // rtt... | add_blocks_to_free_list:
TEST RSI,RSI
JZ 0x0010a2b7
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
LAB_0010a251:
MOV RDI,R14
MOV R14,qword ptr [R14 + 0x500]
CMP byte ptr [RDI + 0x540],0x1
JNZ 0x0010a26b
CALL 0x00103310
JMP 0x0010a2ab
LAB_0010a26b:
MOV EAX,0x80000000
XADD.LOCK dword ptr [RDI + 0x530],EAX
TEST EAX,EA... |
/* moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent,
moodycamel::ConcurrentQueueDefaultTraits>::add_blocks_to_free_list(moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEvent,
moodycamel::ConcurrentQueueDefaultTraits>::Block*) */
void __thiscall
moodycamel::ConcurrentQueue<emittra::Emittra::QueuedEv... | |
12,993 | lunasvg::FontFaceCache::addFontFace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool, lunasvg::FontFace const&) | dmazzella[P]pylunasvg/lunasvg/source/graphics.cpp | bool FontFaceCache::addFontFace(const std::string& family, bool bold, bool italic, const FontFace& face)
{
if(!face.isNull())
m_table[family].emplace_back(bold, italic, face);
return !face.isNull();
} | O1 | cpp | lunasvg::FontFaceCache::addFontFace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool, lunasvg::FontFace const&):
pushq %rbx
subq $0x10, %rsp
movq %r8, %rbx
movb %dl, 0xf(%rsp)
movb %cl, 0xe(%rsp)
cmpq $0x0, (%r8)
je 0xd4d2
callq 0xe1a4
leaq 0xf(%rsp), %rsi
leaq 0xe(%rsp)... | _ZN7lunasvg13FontFaceCache11addFontFaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbbRKNS_8FontFaceE:
push rbx
sub rsp, 10h
mov rbx, r8
mov [rsp+18h+var_9], dl
mov [rsp+18h+var_A], cl
cmp qword ptr [r8], 0
jz short loc_D4D2
call _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_tra... | bool lunasvg::FontFaceCache::addFontFace(long long a1, long long a2, char a3, char a4, _QWORD *a5)
{
long long v6; // rax
char v8; // [rsp+Eh] [rbp-Ah] BYREF
_BYTE v9[9]; // [rsp+Fh] [rbp-9h] BYREF
v9[0] = a3;
v8 = a4;
if ( *a5 )
{
v6 = std::map<std::string,std::vector<std::tuple<bool,bool,lunasvg::... | addFontFace:
PUSH RBX
SUB RSP,0x10
MOV RBX,R8
MOV byte ptr [RSP + 0xf],DL
MOV byte ptr [RSP + 0xe],CL
CMP qword ptr [R8],0x0
JZ 0x0010d4d2
CALL 0x0010e1a4
LEA RSI,[RSP + 0xf]
LEA RDX,[RSP + 0xe]
MOV RDI,RAX
MOV RCX,RBX
CALL 0x0010e220
LAB_0010d4d2:
CMP qword ptr [RBX],0x0
SETNZ AL
ADD RSP,0x10
POP RBX
RET
|
/* lunasvg::FontFaceCache::addFontFace(std::__cxx11::string const&, bool, bool, lunasvg::FontFace
const&) */
bool __thiscall
lunasvg::FontFaceCache::addFontFace
(FontFaceCache *this,string *param_1,bool param_2,bool param_3,FontFace *param_4)
{
vector<std::tuple<bool,bool,lunasvg::FontFace>,std::alloc... | |
12,994 | st_select_lex_unit::join_union_item_types(THD*, List<Item>&, unsigned int) | eloqsql/sql/sql_union.cc | bool st_select_lex_unit::join_union_item_types(THD *thd_arg,
List<Item> &types,
uint count)
{
DBUG_ENTER("st_select_lex_unit::join_union_select_list_types");
SELECT_LEX *first_sl= first_select();
Type_holder *holders;
... | O0 | cpp | st_select_lex_unit::join_union_item_types(THD*, List<Item>&, unsigned int):
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp # imm = 0x150
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
callq 0x4bc0a0
movq %rax, -0x30(%rbp... | _ZN18st_select_lex_unit21join_union_item_typesEP3THDR4ListI4ItemEj:
push rbp
mov rbp, rsp
sub rsp, 150h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_24], ecx
mov rdi, [rbp+var_10]; this
mov [rbp+var_D8], rdi
call _ZN18st_select_lex_unit12first_sele... | bool st_select_lex_unit::join_union_item_types(
st_select_lex_unit *a1,
THD *a2,
base_list *a3,
unsigned int a4)
{
long long v4; // rdi
THD *v6; // [rsp+0h] [rbp-150h]
Type_handler *v7; // [rsp+10h] [rbp-140h]
base_list *v8; // [rsp+18h] [rbp-138h]
Item_type_holder *v9; // [rs... | to_longlong:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RDI
CALL 0x005b1880
TEST AL,0x1
JNZ 0x006a758f
JMP 0x006a759e
LAB_006a758f:
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x00d364d0
MOV qword ptr [RBP + -0x18],RAX
JMP 0x006a75a6
LAB_006a759e... |
/* Datetime::to_longlong() const */
int8 __thiscall Datetime::to_longlong(Datetime *this)
{
ulong uVar1;
int8 local_20;
uVar1 = is_valid_datetime(this);
if ((uVar1 & 1) == 0) {
local_20 = 0;
}
else {
local_20 = TIME_to_ulonglong_datetime(this);
}
return local_20;
}
| |
12,995 | pagecache_file_set_null_hooks | eloqsql/storage/maria/ma_pagecache.c | void pagecache_file_set_null_hooks(PAGECACHE_FILE *file)
{
file->pre_read_hook= null_pre_hook;
file->post_read_hook= null_post_read_hook;
file->pre_write_hook= null_pre_hook;
file->post_write_hook= null_post_write_hook;
file->flush_log_callback= null_pre_hook;
file->callback_data= NULL;
file->head_blocks=... | O3 | c | pagecache_file_set_null_hooks:
pushq %rbp
movq %rsp, %rbp
leaq 0x32(%rip), %rax # 0x73040
movq %rax, 0x18(%rdi)
leaq 0x2f(%rip), %rcx # 0x73048
movq %rcx, 0x20(%rdi)
movq %rax, 0x28(%rdi)
leaq 0x2b(%rip), %rcx # 0x73053
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movq $0x0, 0x40(%rdi)
xorps %xmm0, ... | pagecache_file_set_null_hooks:
push rbp
mov rbp, rsp
lea rax, null_pre_hook
mov [rdi+18h], rax
lea rcx, null_post_read_hook
mov [rdi+20h], rcx
mov [rdi+28h], rax
lea rcx, null_post_write_hook
mov [rdi+30h], rcx
mov [rdi+38h], rax
mov qword ptr [rdi+40h], 0
xorps xmm0, xmm0
m... | long long ( * pagecache_file_set_null_hooks(long long a1))()
{
long long ( *result)(); // rax
result = null_pre_hook;
*(_QWORD *)(a1 + 24) = null_pre_hook;
*(_QWORD *)(a1 + 32) = null_post_read_hook;
*(_QWORD *)(a1 + 40) = null_pre_hook;
*(_QWORD *)(a1 + 48) = null_post_write_hook;
*(_QWORD *)(a1 + 56) =... | pagecache_file_set_null_hooks:
PUSH RBP
MOV RBP,RSP
LEA RAX,[0x173040]
MOV qword ptr [RDI + 0x18],RAX
LEA RCX,[0x173048]
MOV qword ptr [RDI + 0x20],RCX
MOV qword ptr [RDI + 0x28],RAX
LEA RCX,[0x173053]
MOV qword ptr [RDI + 0x30],RCX
MOV qword ptr [RDI + 0x38],RAX
MOV qword ptr [RDI + 0x40],0x0
XORPS XMM0,XMM0
MOVUPS xm... |
void pagecache_file_set_null_hooks(int8 *param_1)
{
param_1[3] = null_pre_hook;
param_1[4] = null_post_read_hook;
param_1[5] = null_pre_hook;
param_1[6] = null_post_write_hook;
param_1[7] = null_pre_hook;
param_1[8] = 0;
*param_1 = 0;
param_1[1] = 0;
return;
}
| |
12,996 | protocol::utils::make_disconnect(char const*, unsigned int) | untodesu[P]voxelius/game/shared/protocol.cc | ENetPacket *protocol::utils::make_disconnect(const char *reason, enet_uint32 flags)
{
protocol::Disconnect packet;
packet.reason = std::string(reason);
return protocol::encode(packet, flags);
} | O2 | cpp | protocol::utils::make_disconnect(char const*, unsigned int):
pushq %rbp
pushq %r14
pushq %rbx
subq $0x60, %rsp
movl %esi, %ebp
movq %rdi, %rsi
leaq 0x40(%rsp), %rbx
andq $0x0, -0x8(%rbx)
leaq 0xc594d(%rip), %rax # 0x106750
movq %rax, -0x10(%rbx)
leaq 0x50(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
mov... | _ZN8protocol5utils15make_disconnectEPKcj:
push rbp
push r14
push rbx
sub rsp, 60h
mov ebp, esi
mov rsi, rdi
lea rbx, [rsp+78h+var_38]
and qword ptr [rbx-8], 0
lea rax, off_106750
mov [rbx-10h], rax
lea rax, [rsp+78h+var_28]
mov [rax-10h], rax
and qword ptr [rax-8], 0
mov... | long long protocol::utils::make_disconnect(protocol::utils *this, const char *a2)
{
long long v2; // r14
_QWORD v4[4]; // [rsp+10h] [rbp-68h] BYREF
_QWORD v5[2]; // [rsp+30h] [rbp-48h] BYREF
_QWORD v6[2]; // [rsp+40h] [rbp-38h] BYREF
char v7; // [rsp+50h] [rbp-28h] BYREF
v5[1] = 0LL;
v5[0] = off_106750;... | make_disconnect:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x60
MOV EBP,ESI
MOV RSI,RDI
LEA RBX,[RSP + 0x40]
AND qword ptr [RBX + -0x8],0x0
LEA RAX,[0x206750]
MOV qword ptr [RBX + -0x10],RAX
LEA RAX,[RSP + 0x50]
MOV qword ptr [RAX + -0x10],RAX
AND qword ptr [RAX + -0x8],0x0
MOV byte ptr [RAX],0x0
LAB_00140e18:
LEA RDI,[RSP + ... |
/* protocol::utils::make_disconnect(char const*, unsigned int) */
int8 protocol::utils::make_disconnect(char *param_1,uint param_2)
{
int8 uVar1;
allocator local_69;
string local_68 [32];
int **local_48;
int8 local_40;
int1 *local_38;
int8 local_30;
int1 local_28 [16];
local_40 = 0;
local_48 =... | |
12,997 | check_duplicates() | eloqsql/sql/gen_lex_hash.cc | int check_duplicates()
{
SYMBOL *cur1, *cur2, *s_end, *f_end;
s_end= symbols + array_elements(symbols);
f_end= sql_functions + array_elements(sql_functions);
for (cur1= symbols; cur1<s_end; cur1++)
{
for (cur2= cur1+1; cur2<s_end; cur2++)
{
if (check_dup_symbols(cur1,cur2))
return 1;
}
... | O3 | cpp | check_duplicates():
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
xorl %r12d, %r12d
leaq 0x4319(%rip), %r13 # 0xf040
leaq (%r12,%r13), %r14
movq %r12, %rbx
cmpq $0x40f7, %r12 # imm = 0x40F7
ja 0xad5c
leaq (%rbx,%r13), %rsi
addq $0x18, %rsi
movq %r14, %rdi
ca... | _Z16check_duplicatesv:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
xor r12d, r12d
lea r13, symbols
loc_AD27:
lea r14, [r12+r13]
mov rbx, r12
cmp r12, 40F7h
ja short loc_AD5C
loc_AD37:
lea rsi, [rbx+r13]
add rsi, 18h
mov rdi, r... | long long check_duplicates(void)
{
unsigned long long v0; // r12
unsigned long long v1; // rbx
unsigned long long v2; // r15
unsigned int v3; // ebx
bool v4; // cf
unsigned long long v5; // r12
unsigned long long v6; // r15
bool v7; // cc
v0 = 0LL;
LABEL_2:
v1 = v0;
if ( v0 > 0x40F7 )
{
LABEL_5... | check_duplicates:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
XOR R12D,R12D
LEA R13,[0x10f040]
LAB_0010ad27:
LEA R14,[R12 + R13*0x1]
MOV RBX,R12
CMP R12,0x40f7
JA 0x0010ad5c
LAB_0010ad37:
LEA RSI,[RBX + R13*0x1]
ADD RSI,0x18
MOV RDI,R14
CALL 0x0010acc4
TEST EAX,EAX
JNZ 0x0010adfd
ADD RBX,... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* check_duplicates() */
int8 check_duplicates(void)
{
int iVar1;
ulong uVar2;
ulong uVar3;
bool bVar4;
uVar3 = 0;
do {
for (uVar2 = uVar3; uVar2 < 0x40f8; uVar2 = uVar2 + 0x18) {
iVar1 = check_dup_symbols((st_symbo... | |
12,998 | testing::internal::ColoredPrintf(testing::internal::(anonymous namespace)::GTestColor, char const*, ...) | AlayaLite/build_O3/_deps/googletest-src/googletest/src/gtest.cc | static void ColoredPrintf(GTestColor color, const char* fmt, ...) {
va_list args;
va_start(args, fmt);
static const bool in_color_mode =
// We don't condition this on GTEST_HAS_FILE_SYSTEM because we still need
// to be able to detect terminal I/O regardless.
ShouldUseColor(posix::IsATTY(posix:... | O3 | cpp | testing::internal::ColoredPrintf(testing::internal::(anonymous namespace)::GTestColor, char const*, ...):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x20(%rsp), %rsi
movq %rdx, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
movq %r8, 0x20(%rsi)
movq %r9, 0x28(%rsi)
te... | _ZN7testing8internalL13ColoredPrintfENS0_12_GLOBAL__N_110GTestColorEPKcz:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 0D0h
mov rbx, rsi
mov ebp, edi
lea rsi, [rsp+0F8h+var_D8]; bool
mov [rsi+10h], rdx
mov [rsi+18h], rcx
mov [rsi+20h], r8
mov [rsi+28h], r9
test ... | long long testing::internal::ColoredPrintf(
int a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m1... | ColoredPrintf:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0xd0
MOV RBX,RSI
MOV EBP,EDI
LEA RSI,[RSP + 0x20]
MOV qword ptr [RSI + 0x10],RDX
MOV qword ptr [RSI + 0x18],RCX
MOV qword ptr [RSI + 0x20],R8
MOV qword ptr [RSI + 0x28],R9
TEST AL,AL
JZ 0x00163c1d
MOVAPS xmmword ptr [RSP + 0x50],XMM0
MOVAPS xmmword ptr... |
/* testing::internal::ColoredPrintf(testing::internal::(anonymous namespace)::GTestColor, char
const*, ...) */
void testing::internal::ColoredPrintf
(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,
int param_9,ch... | |
12,999 | ModbusClientPort::reportServerID(ModbusObject*, unsigned char, unsigned char*, unsigned char*) | serhmarch[P]ModbusBridge/modbus/src/ModbusClientPort.cpp | Modbus::StatusCode ModbusClientPort::reportServerID(ModbusObject *client, uint8_t unit, uint8_t *count, uint8_t *data)
{
ModbusClientPortPrivate *d = d_ModbusClientPort(d_ptr);
const uint16_t szBuff = 300;
uint8_t buff[szBuff];
Modbus::StatusCode r;
uint16_t szOutBuff;
ModbusClientP... | O2 | cpp | ModbusClientPort::reportServerID(ModbusObject*, unsigned char, unsigned char*, unsigned char*):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x168, %rsp # imm = 0x168
movq %r8, %r14
movq %rcx, %r15
movq 0x8(%rdi), %rbx
movq 0x78(%rbx), %rax
testq %rax, %rax
je 0xb102
movl $0x80000000, %ebp # imm =... | _ZN16ModbusClientPort14reportServerIDEP12ModbusObjecthPhS2_:
push rbp
push r15
push r14
push rbx
sub rsp, 168h
mov r14, r8
mov r15, rcx
mov rbx, [rdi+8]
mov rax, [rbx+78h]
test rax, rax
jz short loc_B102
mov ebp, 80000000h
cmp rax, rsi
jnz short loc_B162
jmp short... | long long ModbusClientPort::reportServerID(
ModbusClientPort *this,
ModbusObject *a2,
unsigned __int8 a3,
unsigned __int8 *a4,
unsigned __int8 *a5)
{
long long v7; // rbx
ModbusObject *v8; // rax
unsigned int v9; // ebp
long long v10; // rdx
unsigned __int16 v12; // [r... | reportServerID:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x168
MOV R14,R8
MOV R15,RCX
MOV RBX,qword ptr [RDI + 0x8]
MOV RAX,qword ptr [RBX + 0x78]
TEST RAX,RAX
JZ 0x0010b102
MOV EBP,0x80000000
CMP RAX,RSI
JNZ 0x0010b162
JMP 0x0010b106
LAB_0010b102:
MOV qword ptr [RBX + 0x78],RSI
LAB_0010b106:
LEA RAX,[RSP + 0xc]
MOV... |
/* ModbusClientPort::reportServerID(ModbusObject*, unsigned char, unsigned char*, unsigned char*) */
int __thiscall
ModbusClientPort::reportServerID
(ModbusClientPort *this,ModbusObject *param_1,uchar param_2,uchar *param_3,uchar *param_4)
{
long lVar1;
int iVar2;
ushort local_17c;
allocator local_... |
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.