name string | code string | asm string | file string |
|---|---|---|---|
leveldb::(anonymous namespace)::PosixEnv::LockFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, leveldb::FileLock**) | Status LockFile(const std::string& filename, FileLock** lock) override {
*lock = nullptr;
int fd = ::open(filename.c_str(), O_RDWR | O_CREAT | kOpenBaseFlags, 0644);
if (fd < 0) {
return PosixError(filename, errno);
}
if (!locks_.Insert(filename)) {
::close(fd);
return Status::IO... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %rbx
andq $0x0, (%rcx)
movq (%rdx), %rdi
movl $0x80042, %esi # imm = 0x80042
movl $0x1a4, %edx # imm = 0x1A4
xorl %eax, %eax
callq 0x62f0
testl %eax, %eax
js ... | /CDDSCLab[P]leveldb/util/env_posix.cc |
leveldb::(anonymous namespace)::PosixEnv::NewLogger(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, leveldb::Logger**) | Status NewLogger(const std::string& filename, Logger** result) override {
int fd = ::open(filename.c_str(),
O_APPEND | O_WRONLY | O_CREAT | kOpenBaseFlags, 0644);
if (fd < 0) {
*result = nullptr;
return PosixError(filename, errno);
}
std::FILE* fp = ::fdopen(fd, "w");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r15
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rdi
movl $0x80441, %esi # imm = 0x80441
movl $0x1a4, %edx # imm = 0x1A4
xorl %eax, %eax
callq 0x62f0
testl %eax, %eax
js 0x1fae5
movl %eax, %ebp
leaq 0xa219(%rip), %rsi # 0x29cc9... | /CDDSCLab[P]leveldb/util/env_posix.cc |
leveldb::(anonymous namespace)::PosixSequentialFile::Read(unsigned long, leveldb::Slice*, char*) | Status Read(size_t n, Slice* result, char* scratch) override {
Status status;
while (true) {
::ssize_t read_size = ::read(fd_, scratch, n);
if (read_size < 0) { // Read error.
if (errno == EINTR) {
continue; // Retry
}
status = PosixError(filename_, errno);
... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r8, %r12
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
andq $0x0, (%rdi)
movl 0x8(%r14), %edi
movq %r12, %rsi
movq %r13, %rdx
callq 0x6580
testq %rax, %rax
jns 0x1fc67
callq 0x6050
movl (%rax), %edx
cmpl $0x4, %edx
je 0x1fc2... | /CDDSCLab[P]leveldb/util/env_posix.cc |
leveldb::(anonymous namespace)::PosixMmapReadableFile::Read(unsigned long, unsigned long, leveldb::Slice*, char*) const | Status Read(uint64_t offset, size_t n, Slice* result,
char* scratch) const override {
if (offset + n > length_) {
*result = Slice();
return PosixError(filename_, EINVAL);
}
*result = Slice(mmap_base_ + offset, n);
return Status::OK();
} | pushq %rbx
movq %rdi, %rbx
leaq (%rcx,%rdx), %rax
cmpq 0x10(%rsi), %rax
jbe 0x1fef6
leaq 0x489e(%rip), %rax # 0x2477b
movq %rax, (%r8)
andq $0x0, 0x8(%r8)
addq $0x20, %rsi
pushq $0x16
popq %rdx
movq %rbx, %rdi
callq 0x1fb33
jmp 0x1ff05
addq 0x8(%rsi), %rdx
movq %rdx, (%r8)
movq %rcx, 0x8(%r8)
andq $0x0, (%rbx)
mov... | /CDDSCLab[P]leveldb/util/env_posix.cc |
leveldb::(anonymous namespace)::InMemoryEnv::NewAppendableFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, leveldb::WritableFile**) | Status NewAppendableFile(const std::string& fname,
WritableFile** result) override {
MutexLock lock(&mutex_);
FileState** sptr = &file_map_[fname];
FileState* file = *sptr;
if (file == nullptr) {
file = new FileState();
file->Ref();
}
*result = new Writable... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
leaq 0x10(%rsi), %rbx
movq %rbx, %rdi
callq 0xff50
addq $0x38, %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x219d6
movq (%rax), %r12
testq %r12, %r12
jne 0x213f2
pushq $0x78
popq %rdi
callq 0x63d0
movq ... | /CDDSCLab[P]leveldb/helpers/memenv/memenv.cc |
leveldb::(anonymous namespace)::InMemoryEnv::GetChildren(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocat... | Status GetChildren(const std::string& dir,
std::vector<std::string>* result) override {
MutexLock lock(&mutex_);
result->clear();
for (const auto& kvp : file_map_) {
const std::string& filename = kvp.first;
if (filename.size() >= dir.size() + 1 && filename[dir.size()] == '... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, 0x10(%rsp)
leaq 0x10(%rsi), %rdi
movq %rdi, 0x8(%rsp)
callq 0xff50
movq %r15, %rdi
callq 0x20600
movq 0x50(%r13), %rbp
addq $0x40, %r13
leaq 0x28(%rsp), %rbx
cmpq %r13, %rbp
je 0... | /CDDSCLab[P]leveldb/helpers/memenv/memenv.cc |
leveldb::Block::Block(leveldb::BlockContents const&) | Block::Block(const BlockContents& contents)
: data_(contents.data.data()),
size_(contents.data.size()),
owned_(contents.heap_allocated) {
if (size_ < sizeof(uint32_t)) {
size_ = 0; // Error marker
} else {
size_t max_restarts_allowed = (size_ - sizeof(uint32_t)) / sizeof(uint32_t);
if (... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rsi), %rax
movq %rax, (%rdi)
movq 0x8(%rsi), %r14
movq %r14, 0x8(%rdi)
movb 0x11(%rsi), %al
movb %al, 0x14(%rdi)
cmpq $0x3, %r14
jbe 0x22c14
addq $-0x4, %r14
shrq $0x2, %r14
movq %rbx, %rdi
callq 0x22db4
movl %eax, %eax
cmpq %rax, %r14
jae 0x22c1b
andq $0x0, 0x8(%... | /CDDSCLab[P]leveldb/table/block.cc |
for_each_test() | void for_each_test()
{
// test regular cases
auto r = brigand::for_each<brigand::list<char, short, int, double>>(value_printer{});
assert(r.res == 64);
assert(r.i == 4);
// test with custom list
auto r2 = brigand::for_each<custom_list<char, short, int, double>>(value_printer{});
assert(r2.r... | retq
nopl (%rax)
| /edouarda[P]brigand/test/for_each.cpp |
real_test() | void real_test()
{
// test single cases
assert( static_cast<float>(single_zero()) == 0.f);
assert( static_cast<float>(single_one()) == 1.f);
assert( is_nan(static_cast<float>(single_nan())) );
// test double
assert( static_cast<double>(double_zero()) == 0.);
assert( static_cast<double>(double_one()) ==... | retq
nopl (%rax)
| /edouarda[P]brigand/test/real.cpp |
raptor::RefCountedPtr<raptor::Status> raptor::MakeStatusFromFormat<char const (&) [21], char const*&>(char const (&) [21], char const*&) | inline RefCountedPtr<Status> MakeStatusFromFormat(Args&&... args) {
char* message = nullptr;
raptor_asprintf(&message, std::forward<Args>(args)...);
if (!message) {
return nullptr;
}
RefCountedPtr<Status> obj = MakeRefCounted<Status>(message);
raptor::Free(message);
return obj;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq $0x0, (%r14)
movq (%rdx), %rdx
movq %r14, %rdi
xorl %eax, %eax
callq 0xdd49
movq (%r14), %r15
testq %r15, %r15
je 0xd0e7
movl $0x30, %edi
callq 0x63c0
movq %rax, %r14
leaq 0x10(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r15, %rsi
ca... | /shadow-yuan[P]raptor/util/status.h |
raptor_sockaddr_to_string(char**, raptor_resolved_address const*, int) | int raptor_sockaddr_to_string(char** out,
const raptor_resolved_address* resolved_addr,
int normalize) {
const raptor_sockaddr* addr;
const int save_errno = errno;
raptor_resolved_address addr_normalized;
char ntop_buf[INET6_ADDRSTRLEN];
co... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r14
callq 0x6040
movq %rax, %rbx
movl (%rax), %r13d
movq $0x0, (%r14)
testl %ebp, %ebp
je 0xd394
leaq 0x44(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xd148
testl %eax, %eax
cmovneq %r12... | /shadow-yuan[P]raptor/core/socket_util.cc |
raptor_string_to_sockaddr(raptor_resolved_address*, char*, int) | void raptor_string_to_sockaddr(raptor_resolved_address* out, char* addr, int port) {
memset(out, 0, sizeof(raptor_resolved_address));
raptor_sockaddr_in6* addr6 = (raptor_sockaddr_in6*)out->addr;
raptor_sockaddr_in* addr4 = (raptor_sockaddr_in*)out->addr;
if (inet_pton(AF_INET6, addr, &addr6->sin6_addr)... | pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movl $0x84, %edx
xorl %esi, %esi
callq 0x6210
leaq 0x8(%r14), %rdx
movl $0xa, %edi
movq %r15, %rsi
callq 0x6690
cmpl $0x1, %eax
jne 0xd4d1
movl $0x1c, %eax
movw $0xa, %cx
jmp 0xd4f0
leaq 0x4(%r14), %rdx
movl $0x2, %edi
movq %r15, %rsi
call... | /shadow-yuan[P]raptor/core/socket_util.cc |
raptor_sockaddr_set_port(raptor_resolved_address const*, int) | int raptor_sockaddr_set_port(
const raptor_resolved_address* resolved_addr, int port) {
const raptor_sockaddr* addr =
reinterpret_cast<const raptor_sockaddr*>(resolved_addr->addr);
if (!(port >= 0 && port < 65536)) {
log_error("Invalid port number: %d", port);
return 0;
}
sw... | pushq %rbx
movl %esi, %eax
cmpl $0x10000, %esi # imm = 0x10000
jae 0xd55f
movzwl (%rdi), %r8d
cmpl $0xa, %r8d
je 0xd550
cmpl $0x2, %r8d
jne 0xd57e
rolw $0x8, %ax
movw %ax, 0x2(%rdi)
movl $0x1, %ebx
jmp 0xd59f
leaq 0x398e(%rip), %rdi # 0x10ef4
leaq 0x3ab4(%rip), %rcx # 0x11021
xorl %ebx, %ebx
movl $0x... | /shadow-yuan[P]raptor/core/socket_util.cc |
raptor_sockaddr_get_port(raptor_resolved_address const*) | int raptor_sockaddr_get_port(const raptor_resolved_address* resolved_addr) {
const raptor_sockaddr* addr =
reinterpret_cast<const raptor_sockaddr*>(resolved_addr->addr);
switch (addr->sa_family) {
case AF_INET:
return ntohs(((raptor_sockaddr_in*)addr)->sin_port);
case AF_INET6:
r... | movzwl (%rdi), %r8d
cmpl $0x1, %r8d
je 0xd5f0
cmpl $0xa, %r8d
je 0xd5bd
cmpl $0x2, %r8d
jne 0xd5c9
movzwl 0x2(%rdi), %r8d
rolw $0x8, %r8w
jmp 0xd5f0
pushq %rax
leaq 0x3923(%rip), %rdi # 0x10ef4
leaq 0x3a14(%rip), %rcx # 0x10fec
movl $0xf1, %esi
movl $0x2, %edx
xorl %eax, %eax
callq 0xd742
xorl %r8d, %r8d
addq... | /shadow-yuan[P]raptor/core/socket_util.cc |
raptor::Malloc(unsigned long) | void* Malloc(size_t size) {
if (size > 0) {
void* ptr = ::malloc(size);
if (!ptr) {
abort();
}
return ptr;
}
return nullptr;
} | pushq %rax
testq %rdi, %rdi
je 0xd60d
callq 0x64d0
testq %rax, %rax
jne 0xd60f
callq 0x6220
xorl %eax, %eax
popq %rcx
retq
| /shadow-yuan[P]raptor/util/alloc.cc |
raptor::ZeroAlloc(unsigned long) | void* ZeroAlloc(size_t size) {
if (size > 0) {
void* p = ::calloc(size, 1);
if (!p) {
abort();
}
return p;
}
return nullptr;
} | pushq %rax
testq %rdi, %rdi
je 0xd62b
movl $0x1, %esi
callq 0x6270
testq %rax, %rax
jne 0xd62d
callq 0x6220
xorl %eax, %eax
popq %rcx
retq
| /shadow-yuan[P]raptor/util/alloc.cc |
raptor::Realloc(void*, unsigned long) | void* Realloc(void* ptr, size_t size) {
if ((size == 0) && (ptr == nullptr)) {
return nullptr;
}
ptr = ::realloc(ptr, size);
if (!ptr) {
abort();
}
return ptr;
} | pushq %rax
movq %rdi, %rax
orq %rsi, %rax
jne 0xd63c
xorl %eax, %eax
jmp 0xd646
callq 0x6600
testq %rax, %rax
je 0xd648
popq %rcx
retq
callq 0x6220
| /shadow-yuan[P]raptor/util/alloc.cc |
raptor_list_pop_front | list_entry* raptor_list_pop_front(list_entry* head) {
list_entry* second = 0;
list_entry* removed = 0;
if (RAPTOR_LIST_IS_EMPTY(head)) {
return 0;
}
removed = head->next;
second = removed->next;
head->next = second;
second->prev = head;
return removed;
} | movq 0x8(%rdi), %rax
cmpq %rdi, %rax
je 0xd6ce
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq %rdi, (%rcx)
retq
xorl %eax, %eax
retq
| /shadow-yuan[P]raptor/util/list_entry.cc |
raptor_list_pop_back | list_entry* raptor_list_pop_back(list_entry* head) {
list_entry* second = 0;
list_entry* removed = 0;
if (RAPTOR_LIST_IS_EMPTY(head)) {
return 0;
}
removed = head->prev;
second = removed->prev;
second->next = head;
head->prev = second;
return removed;
} | cmpq %rdi, 0x8(%rdi)
je 0xd6e5
movq (%rdi), %rax
movq (%rax), %rcx
movq %rdi, 0x8(%rcx)
movq %rcx, (%rdi)
retq
xorl %eax, %eax
retq
| /shadow-yuan[P]raptor/util/list_entry.cc |
testing::internal::StreamingListener::OnTestProgramStart(testing::UnitTest const&) | void OnTestProgramStart(const UnitTest& /* unit_test */) {
SendLn("event=TestProgramStart");
} | pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x7537(%rip), %rsi # 0x40cce
leaq 0x7546(%rip), %rdx # 0x40ce4
leaq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x3b06c
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x3ac0c... | /trinerdi[P]icpc-notebook/lib/googletest/src/gtest-internal-inl.h |
npf_utoa_rev(unsigned long, char*, unsigned char, char) | static NPF_NOINLINE int npf_utoa_rev(
npf_uint_t val, char *buf, uint_fast8_t base, char case_adj) {
uint_fast8_t n = 0;
do {
int_fast8_t const d = (int_fast8_t)(val % base);
*buf++ = (char)(((d < 10) ? '0' : ('A' - 10 + case_adj)) + d);
++n;
val /= base;
} while (val);
return (int)n;
} | movl %edx, %r8d
addb $0x37, %cl
xorl %r9d, %r9d
movzbl %cl, %ecx
movl $0x30, %r10d
movq %rdi, %rax
xorl %edx, %edx
divq %r8
cmpq $0xa, %rdx
movl %ecx, %r11d
cmovbl %r10d, %r11d
addb %dl, %r11b
movb %r11b, (%rsi,%r9)
incq %r9
cmpq %r8, %rdi
movq %rax, %rdi
jae 0x5c53
movzbl %r9b, %eax
retq
| /charlesnicholson[P]nanoprintf/tests/../nanoprintf.h |
doctest::String doctest::detail::stringifyBinaryExpr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char const*, std::__... | String stringifyBinaryExpr(const DOCTEST_REF_WRAP(L) lhs, const char* op,
const DOCTEST_REF_WRAP(R) rhs) {
return (DOCTEST_STRINGIFY(lhs)) + op + (DOCTEST_STRINGIFY(rhs));
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
callq 0x9ae1
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0xa54a
leaq 0x48(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0xaa6e
movq %rsp, %rdi
movq %r14, %rsi
callq 0x9ae1
leaq 0x48(%r... | /charlesnicholson[P]nanoprintf/tests/doctest.h |
doctest::detail::TestCase::operator<(doctest::detail::TestCase const&) const | bool TestCase::operator<(const TestCase& other) const {
// this will be used only to differentiate between test cases - not relevant for sorting
if(m_line != other.m_line)
return m_line < other.m_line;
const int name_cmp = strcmp(m_name, other.m_name);
if(name_cmp != 0)
... | movl 0x18(%rsi), %eax
cmpl %eax, 0x18(%rdi)
jne 0xc9ce
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %rdi
movq 0x20(%rsi), %rsi
callq 0x44b0
testl %eax, %eax
je 0xc9d2
shrl $0x1f, %eax
jmp 0xca08
setb %al
retq
cmpb $0x0, 0x17(%rbx)
movq %rbx, %rsi
jns 0xc9de
movq (%rbx), %rsi
cmpb $0... | /charlesnicholson[P]nanoprintf/tests/doctest.h |
doctest::AssertData::AssertData(doctest::assertType::Enum, char const*, int, char const*, char const*, doctest::AssertData::StringContains const&) | AssertData::AssertData(assertType::Enum at, const char* file, int line, const char* expr,
const char* exception_type, const StringContains& exception_string)
: m_test_case(g_cs->currentTest), m_at(at), m_file(file), m_line(line), m_expr(expr),
m_failed(true), m_threw(false), m_threw_as(false), m_exceptio... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rsp), %r14
movq 0x1c5a9(%rip), %rax # 0x293a8
movq 0x20(%rax), %rax
movq %rax, (%rdi)
movl %esi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movl %ecx, 0x18(%rdi)
movq %r8, 0x20(%rdi)
movw $0x1, 0x28(%rdi)
movb $0x0, 0x30(%rdi)
movw $0x17, %ax
movw %ax, 0x47(%rdi)
mov... | /charlesnicholson[P]nanoprintf/tests/doctest.h |
doctest::detail::ResultBuilder::ResultBuilder(doctest::assertType::Enum, char const*, int, char const*, char const*, doctest::Contains const&) | ResultBuilder::ResultBuilder(assertType::Enum at, const char* file, int line, const char* expr,
const char* exception_type, const Contains& exception_string)
: AssertData(at, file, line, expr, exception_type, exception_string) { } | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movl %esi, %r12d
movq %rdi, %r13
movq 0x90(%rsp), %rbx
cmpb $0x0, 0x17(%rbx)
js 0xcfab
movq 0x10(%rbx), %rax
movq %rax, 0x20(%rsp)
movups (%rbx), %xmm0
movaps %xmm0, 0x10(%rsp)
jmp 0xcfd0
mo... | /charlesnicholson[P]nanoprintf/tests/doctest.h |
doctest::detail::MessageBuilder::log() | bool MessageBuilder::log() {
if (!logged) {
m_string = tlssPop();
logged = true;
}
DOCTEST_ITERATE_THROUGH_REPORTERS(log_message, *this);
const bool isWarn = m_severity & assertType::is_warn;
// warn is just a message in this context s... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpb $0x0, 0x30(%rdi)
jne 0xd8d0
movq %rsp, %r14
movq %r14, %rdi
callq 0xa385
cmpq %rbx, %r14
je 0xd8b7
cmpb $0x0, 0x17(%rbx)
jns 0xd89e
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xd89e
callq 0x4460
movq 0x10(%rsp), %rax
movq %rax, 0x10(%rbx)
movu... | /charlesnicholson[P]nanoprintf/tests/doctest.h |
doctest::Context::Context(int, char const* const*) | Context::Context(int argc, const char* const* argv)
: p(new detail::ContextState) {
parseArgs(argc, argv, true);
if(argc)
p->binary_name = argv[0];
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
movl $0x1190, %edi # imm = 0x1190
callq 0x4380
movq %rax, %r15
xorl %eax, %eax
movq %rax, (%r15)
movb %al, 0x8(%r15)
movb $0x17, %cl
movb %cl, 0x1f(%r15)
movq %rax, 0x20(%r15)
movb %al, 0x28... | /charlesnicholson[P]nanoprintf/tests/doctest.h |
doctest::(anonymous namespace)::JUnitReporter::test_case_reenter(doctest::TestCaseData const&) | void test_case_reenter(const TestCaseData& in) override {
testCaseData.addTime(timer.getElapsedSeconds());
testCaseData.appendSubcaseNamesToLastTestcase(deepestSubcaseStackNames);
deepestSubcaseStackNames.clear();
timer.start();
testCaseData.add(skipPat... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x98(%rdi), %rbx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
xorl %esi, %esi
callq 0x4580
imulq $0xf4240, (%r12), %rax # imm = 0xF4240
addq 0x8(%r12), %rax
subq 0x78(%r15), %rax
movq %rax, %xmm0
punpckldq 0x8761(%rip)... | /charlesnicholson[P]nanoprintf/tests/doctest.h |
doctest::(anonymous namespace)::ConsoleReporter::test_case_exception(doctest::TestCaseException const&) | void test_case_exception(const TestCaseException& e) override {
DOCTEST_LOCK_MUTEX(mutex)
if(tc->m_no_output)
return;
logTestStart();
file_line_to_stream(tc->m_file.c_str(), tc->m_line, " ");
successOrFailColoredStringToStream(false, ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
leaq 0x38(%rdi), %rbx
movq %rbx, %rdi
callq 0x4500
testl %eax, %eax
jne 0x1833b
movq 0x68(%r14), %rax
cmpb $0x0, 0x3a(%rax)
jne 0x18325
movq %r14, %rdi
movq %rbx, (%rsp)
callq 0x18890
movq (%r14), %rax
movq 0x68... | /charlesnicholson[P]nanoprintf/tests/doctest.h |
ggml_graph_compute_thread.cold.1 | static void set_numa_thread_affinity(int thread_n) {
if (!ggml_is_numa()) {
return;
}
int node_num;
int rv;
size_t setsize = CPU_ALLOC_SIZE(g_state.numa.total_cpus);
switch(g_state.numa.numa_strategy) {
case GGML_NUMA_STRATEGY_DISTRIBUTE:
// run thread on node_num t... | pushq %rbx
movq 0x74c25(%rip), %rax # 0x7ffb8
movq (%rax), %rbx
callq 0xa260
leaq 0x5f7a8(%rip), %rsi # 0x6ab4a
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
popq %rbx
jmp 0xac80
| /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.c |
ggml_graph_compute_thread.cold.2 | static void set_numa_thread_affinity(int thread_n) {
if (!ggml_is_numa()) {
return;
}
int node_num;
int rv;
size_t setsize = CPU_ALLOC_SIZE(g_state.numa.total_cpus);
switch(g_state.numa.numa_strategy) {
case GGML_NUMA_STRATEGY_DISTRIBUTE:
// run thread on node_num t... | pushq %rbx
movq 0x74c00(%rip), %rax # 0x7ffb8
movq (%rax), %rbx
callq 0xa260
leaq 0x5f783(%rip), %rsi # 0x6ab4a
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
popq %rbx
jmp 0xac80
| /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.c |
ggml_barrier | void ggml_barrier(struct ggml_threadpool * tp) {
int n_threads = atomic_load_explicit(&tp->n_threads_cur, memory_order_relaxed);
if (n_threads == 1) {
return;
}
#ifdef GGML_USE_OPENMP
#pragma omp barrier
#else
int n_passed = atomic_load_explicit(&tp->n_barrier_passed, memory_order_relaxed);... | movl 0x11c(%rdi), %ecx
cmpl $0x1, %ecx
je 0xbb74
movl 0xc0(%rdi), %eax
movl $0x1, %edx
lock
xaddl %edx, 0x80(%rdi)
decl %ecx
cmpl %ecx, %edx
jne 0xbb63
movl $0x0, 0x80(%rdi)
lock
incl 0xc0(%rdi)
retq
movl 0xc0(%rdi), %ecx
cmpl %eax, %ecx
jne 0xbb71
pause
jmp 0xbb63
mfence
retq
| /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.c |
ggml_set_i32_1d | void ggml_set_i32_1d(const struct ggml_tensor * tensor, int i, int32_t value) {
if (!ggml_is_contiguous(tensor)) {
int64_t id[4] = { 0, 0, 0, 0 };
ggml_unravel_index(tensor, i, &id[0], &id[1], &id[2], &id[3]);
ggml_set_i32_nd(tensor, id[0], id[1], id[2], id[3], value);
return;
}
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
callq 0xa230
testb %al, %al
je 0xcb4d
movl (%r14), %eax
leal -0x18(%rax), %ecx
cmpl $0x6, %ecx
ja 0xcb9e
leaq 0x5d76a(%rip), %rax # 0x6a294
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
cmpq $0x1, 0x... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.c |
ggml_get_f32_1d | float ggml_get_f32_1d(const struct ggml_tensor * tensor, int i) {
if (!ggml_is_contiguous(tensor)) {
int64_t id[4] = { 0, 0, 0, 0 };
ggml_unravel_index(tensor, i, &id[0], &id[1], &id[2], &id[3]);
return ggml_get_f32_nd(tensor, id[0], id[1], id[2], id[3]);
}
switch (tensor->type) {
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebp
movq %rdi, %rbx
callq 0xa230
testb %al, %al
je 0xce54
movl (%rbx), %eax
leal -0x18(%rax), %ecx
cmpl $0x6, %ecx
ja 0xce99
leaq 0x5d491(%rip), %rax # 0x6a2cc
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq 0xf8(%rbx), %rax
movslq %ebp, %rcx
... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.c |
ggml_threadpool_pause | void ggml_threadpool_pause(struct ggml_threadpool * threadpool) {
#ifndef GGML_USE_OPENMP
ggml_mutex_lock(&threadpool->mutex);
if (!threadpool->pause) {
ggml_threadpool_pause_locked(threadpool);
}
ggml_mutex_unlock(&threadpool->mutex);
#else
UNUSED(threadpool);
#endif
} | pushq %rbx
movq %rdi, %rbx
callq 0xacd0
movb 0x105(%rbx), %al
testb $0x1, %al
jne 0xd2fe
movb $0x1, %al
xchgb %al, 0x105(%rbx)
leaq 0x28(%rbx), %rdi
callq 0xa270
movq %rbx, %rdi
popq %rbx
jmp 0xa620
| /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.c |
ggml_thread_apply_priority | static bool ggml_thread_apply_priority(int32_t prio) {
struct sched_param p;
int32_t policy = SCHED_OTHER;
switch (prio) {
case GGML_SCHED_PRIO_NORMAL: policy = SCHED_OTHER; p.sched_priority = 0; break;
case GGML_SCHED_PRIO_MEDIUM: policy = SCHED_FIFO; p.sched_priority = 40; break;
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edi, %ebx
xorl %ebp, %ebp
cmpl $0x3, %edi
ja 0x10b76
movl %ebx, %eax
leaq 0x59b46(%rip), %rcx # 0x6a688
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, 0xc(%rsp)
jmp 0x10b76
movl $0x50, 0xc(%rsp)
jmp 0x10b71
movl $0x5a, 0xc(%rsp)
jmp 0x10b71
m... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.c |
ggml_backend_cpu_reg_get_device(ggml_backend_reg*, unsigned long) | static ggml_backend_dev_t ggml_backend_cpu_reg_get_device(ggml_backend_reg_t reg, size_t index) {
GGML_ASSERT(index == 0);
static ggml_backend_cpu_device_context ctx;
static ggml_backend_device ggml_backend_cpu_device = {
/* .iface = */ ggml_backend_cpu_device_i,
/* .reg = */ reg,
... | pushq %rbx
testq %rsi, %rsi
jne 0x10f7a
movq %rdi, %rbx
movb 0x73b7d(%rip), %al # 0x84ae0
testb %al, %al
je 0x10f9b
movb 0x73c03(%rip), %al # 0x84b70
testb %al, %al
je 0x10fdf
leaq 0x73b70(%rip), %rax # 0x84ae8
popq %rbx
retq
leaq 0x59d34(%rip), %rdi # 0x6acb5
leaq 0x5983b(%rip), %rdx # 0x6a7c3
le... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.cpp |
ggml_backend_cpu_graph_compute(ggml_backend*, ggml_cgraph*) | static enum ggml_status ggml_backend_cpu_graph_compute(ggml_backend_t backend, struct ggml_cgraph * cgraph) {
struct ggml_backend_cpu_context * cpu_ctx = (struct ggml_backend_cpu_context *)backend->context;
struct ggml_cplan cplan = ggml_graph_plan(cgraph, cpu_ctx->n_threads, cpu_ctx->threadpool);
if (cpu... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq 0x78(%rdi), %r15
movl (%r15), %edx
movq 0x8(%r15), %rcx
movq %rsp, %r14
movq %r14, %rdi
callq 0xb150
movq 0x18(%r15), %rax
cmpq (%r14), %rax
jae 0x11284
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x11270
callq 0xab30
movq (%rsp), %r14
movq %r14, %rdi... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.cpp |
ggml_backend_cpu_get_features(ggml_backend_reg*)::$_0::operator()() const | static ggml_backend_feature * ggml_backend_cpu_get_features(ggml_backend_reg_t reg) {
static std::vector<ggml_backend_feature> features = []() {
ggml_cpu_init();
std::vector<ggml_backend_feature> features;
if (ggml_cpu_has_sse3()) {
features.push_back({ "SSE3", "1" });
}... | pushq %rbx
subq $0x10, %rsp
callq 0xabe0
vxorps %xmm0, %xmm0, %xmm0
vmovups %xmm0, 0x735d2(%rip) # 0x84b78
movq $0x0, 0x735d7(%rip) # 0x84b88
callq 0xaa10
testl %eax, %eax
je 0x11603
leaq 0x598d8(%rip), %rax # 0x6ae99
movq %rax, (%rsp)
leaq 0x64fff(%rip), %rax # 0x765cb
movq %rax, 0x8(%rsp)
movq 0x735a8(%rip... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu.cpp |
void ggml_quantize_mat_t<8l, (ggml_type)8>(float const*, void*, long, long) | static void ggml_quantize_mat_q8_0_4x8(const float * GGML_RESTRICT x, void * GGML_RESTRICT vy, int64_t k) {
assert(QK8_0 == 32);
assert(k % QK8_0 == 0);
const int nb = k / QK8_0;
block_q8_0x4 * GGML_RESTRICT y = (block_q8_0x4 *) vy;
#if defined(__ARM_NEON)
float32x4_t srcv[4][8];
float id[4];
... | leaq 0x1f(%rcx), %rax
testq %rcx, %rcx
cmovnsq %rcx, %rax
sarq $0x5, %rax
testl %eax, %eax
jle 0x129c3
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0x2a0, %rsp # imm = 0x2A0
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
addq $0x60, %rdi
shlq $0x2, %rcx
xorl %edx, %edx
vbroadcastss 0x587fb(%rip), %ymm... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp |
int ggml::cpu::aarch64::repack<block_iq4_nl, 4l, 4l>(ggml_tensor*, void const*, unsigned long) | static int repack_iq4_nl_to_iq4_nl_4_bl(struct ggml_tensor * t, int interleave_block, const void * GGML_RESTRICT data, size_t data_size) {
GGML_ASSERT(t->type == GGML_TYPE_IQ4_NL);
//GGML_ASSERT(interleave_block == 4 || interleave_block == 8);
GGML_ASSERT(interleave_block == 4);
block_iq4_nlx4 * dst = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
cmpl $0x14, (%rdi)
jne 0x13ca3
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq 0xf8(%rdi), %r12
callq 0xaa40
movq 0x10(%r14), %rsi
leaq 0x1f(%rsi), %rdx
testq %rsi, %rsi
cmovnsq %rsi, %rdx
sarq $0x5, %rdx
movl %eax, %ecx
imull %edx, %ecx
movsl... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp |
ggml_aarch64_get_optimal_repack_type(ggml_tensor const*) | static const ggml::cpu::tensor_traits * ggml_aarch64_get_optimal_repack_type(const struct ggml_tensor * cur) {
if (cur->type == GGML_TYPE_Q4_0) {
if (ggml_cpu_has_avx2() || (ggml_cpu_has_sve() && ggml_cpu_has_matmul_int8() && ggml_cpu_get_sve_cnt() == QK8_0)) {
if (cur->ne[1] % 8 == 0) {
... | pushq %rbx
movq %rdi, %rbx
movl (%rdi), %eax
cmpl $0x14, %eax
je 0x1b25b
cmpl $0xc, %eax
je 0x1b243
cmpl $0x2, %eax
jne 0x1b2c8
callq 0xa210
testl %eax, %eax
je 0x1b27c
testb $0x7, 0x18(%rbx)
jne 0x1b298
leaq 0x6578a(%rip), %rax # 0x809c8
jmp 0x1b2ca
callq 0xa210
testl %eax, %eax
je 0x1b2c8
testb $0x7, 0x18(%rbx)
j... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp |
ggml::cpu::aarch64::tensor_traits<block_iq4_nl, 4l, 4l, (ggml_type)8>::compute_forward(ggml_compute_params*, ggml_tensor*) | bool compute_forward(struct ggml_compute_params * params, struct ggml_tensor * op) override {
switch (op->op) {
case GGML_OP_MUL_MAT:
forward_mul_mat(params, op);
return true;
case GGML_OP_MUL_MAT_ID:
forward_mul_mat_id(params, op);
... | pushq %rax
movl 0x50(%rdx), %eax
cmpl $0x1c, %eax
je 0x1b84f
cmpl $0x1b, %eax
jne 0x1b858
callq 0xa1b0
jmp 0x1b854
callq 0xa360
movb $0x1, %al
jmp 0x1b85a
xorl %eax, %eax
popq %rcx
retq
| /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp |
ggml::cpu::aarch64::extra_buffer_type::~extra_buffer_type() | bool supports_op(ggml_backend_dev_t, const struct ggml_tensor * op) override {
if ( op->op == GGML_OP_MUL_MAT &&
op->src[0]->buffer &&
(ggml_n_dims(op->src[0]) == 2) &&
op->src[0]->buffer->buft == ggml_backend_cpu_aarch64_buffer_type() &&
ggml_a... | pushq %rbx
movq %rdi, %rbx
callq 0xa6f0
movl $0x8, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xa910
nop
| /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp |
ggml::cpu::aarch64::tensor_traits<block_q4_0, 4l, 4l, (ggml_type)8>::forward_mul_mat(ggml_compute_params*, ggml_tensor*) | void forward_mul_mat(ggml_compute_params * params, ggml_tensor * op) {
const ggml_tensor * src0 = op->src[0];
const ggml_tensor * src1 = op->src[1];
ggml_tensor * dst = op;
GGML_TENSOR_BINARY_OP_LOCALS
const int ith = params->ith;
const int nth = params->nth;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r14
movq 0x98(%rdx), %rdi
movq 0x18(%rdi), %rsi
cmpq %rsi, 0x10(%rdx)
jne 0x1bdda
movq 0xa0(%rdx), %r8
movq 0x18(%r8), %rbx
cmpq %rbx, 0x18(%rdx)
jne 0x1bdf9
movq 0x20(%r8), %rax
cmpq %rax, 0x20(%rdx)
jne 0x1be18
movq 0x28(%r... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp |
quantize_row_q8_0 | void quantize_row_q8_0(const float * GGML_RESTRICT x, void * GGML_RESTRICT vy, int64_t k) {
assert(QK8_0 == 32);
assert(k % QK8_0 == 0);
const int nb = k / QK8_0;
block_q8_0 * GGML_RESTRICT y = vy;
#if defined(__ARM_NEON)
for (int i = 0; i < nb; i++) {
float32x4_t srcv [8];
float32... | leaq 0x1f(%rdx), %rcx
testq %rdx, %rdx
cmovnsq %rdx, %rcx
sarq $0x5, %rcx
testl %ecx, %ecx
jle 0x1f705
movl %ecx, %eax
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
addl %ecx, %ecx
shlq $0x5, %rax
addq %rcx, %rax
xorl %ecx, %ecx
vbroadcastss 0x4ba16(%rip), %ymm0 # 0x6b02c
vmovss 0x4ba12(%rip), %xmm1 # 0x6b030
vxor... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-quants.c |
quantize_row_q8_1 | void quantize_row_q8_1(const float * GGML_RESTRICT x, void * GGML_RESTRICT vy, int64_t k) {
assert(k % QK8_1 == 0);
const int nb = k / QK8_1;
block_q8_1 * GGML_RESTRICT y = vy;
#if defined(__ARM_NEON)
for (int i = 0; i < nb; i++) {
float32x4_t srcv [8];
float32x4_t asrcv[8];
fl... | leaq 0x1f(%rdx), %rax
testq %rdx, %rdx
cmovnsq %rdx, %rax
sarq $0x5, %rax
testl %eax, %eax
jle 0x1f854
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
addq $0x4, %rsi
vbroadcastss 0x4b8fa(%rip), %ymm0 # 0x6b02c
vmovss 0x4b8f6(%rip), %xmm1 # 0x6b030
vxorps %xmm2, %xmm2, %xmm2
vpmovsxbd 0x4bd79(%rip), %ymm3 # 0x6b4c0
... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-quants.c |
ggml_vec_dot_tq1_0_q8_K | void ggml_vec_dot_tq1_0_q8_K(int n, float * GGML_RESTRICT s, size_t bs, const void * GGML_RESTRICT vx, size_t bx, const void * GGML_RESTRICT vy, size_t by, int nrc) {
assert(nrc == 1);
UNUSED(nrc);
UNUSED(bx);
UNUSED(by);
UNUSED(bs);
const block_tq1_0 * GGML_RESTRICT x = vx;
const block_q8_... | vxorps %xmm3, %xmm3, %xmm3
cmpl $0x100, %edi # imm = 0x100
jl 0x20464
shrl $0x8, %edi
imulq $0x36, %rdi, %rax
vpxor %xmm0, %xmm0, %xmm0
xorl %edx, %edx
vpbroadcastb 0x4bc56(%rip), %ymm1 # 0x6be80
vpbroadcastb 0x4bc4e(%rip), %ymm2 # 0x6be81
vpbroadcastb 0x4bc46(%rip), %ymm4 # 0x6be82
vpmovsxbw 0x545fb(%rip), ... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-quants.c |
ggml_vec_dot_q2_K_q8_K | void ggml_vec_dot_q2_K_q8_K(int n, float * GGML_RESTRICT s, size_t bs, const void * GGML_RESTRICT vx, size_t bx, const void * GGML_RESTRICT vy, size_t by, int nrc) {
assert(nrc == 1);
UNUSED(nrc);
UNUSED(bx);
UNUSED(by);
UNUSED(bs);
const block_q2_K * GGML_RESTRICT x = vx;
const block_q8_K ... | vxorps %xmm0, %xmm0, %xmm0
cmpl $0x100, %edi # imm = 0x100
jl 0x20757
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
andq $-0x20, %rsp
subq $0x40, %rsp
shrl $0x8, %edi
leaq 0x10(%rcx), %rax
leaq 0x4(%r9), %rdx
vxorps %xmm0, %xmm0, %xmm0
xorl %r8d, %r8d
movq 0x5f983(%rip), %r10 # 0x7ff60
vbroadcastss 0x... | /ggerganov[P]llama/ggml/src/ggml-cpu/ggml-cpu-quants.c |
ggml_compute_forward_hardswish | void ggml_compute_forward_hardswish(const ggml_compute_params * params, ggml_tensor * dst) {
unary_op<op_hardswish>(params, dst);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r12
movq %rdi, %rbx
movq 0x98(%rsi), %r14
movl (%r14), %eax
testl %eax, %eax
movq %rsi, 0x30(%rsp)
jne 0x2e4ac
cmpl $0x0, (%r12)
je 0x2e9ef
cmpl $0x1, %eax
jne 0x2e661
cmpl $0x1, (%r12)
jne 0x2e661
movq %r14, %rdi
callq 0xa03... | /ggerganov[P]llama/ggml/src/ggml-cpu/unary-ops.cpp |
ggml_compute_forward_sqr | void ggml_compute_forward_sqr(const ggml_compute_params * params, ggml_tensor * dst) {
unary_op<op_sqr>(params, dst);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r12
movq %rdi, %rbp
movq 0x98(%rsi), %rbx
movl (%rbx), %eax
testl %eax, %eax
movq %rsi, 0x30(%rsp)
jne 0x2ee16
cmpl $0x0, (%r12)
je 0x2f2d8
cmpl $0x1, %eax
jne 0x2ef9d
cmpl $0x1, (%r12)
jne 0x2ef9d
movq %rbx, %rdi
callq 0xa03... | /ggerganov[P]llama/ggml/src/ggml-cpu/unary-ops.cpp |
void (anonymous namespace)::tinyBLAS_Q0_AVX<block_q4_0, block_q8_0, float>::gemm<3, 3>(long, long, long, long) | NOINLINE void gemm(int64_t m0, int64_t m, int64_t n0, int64_t n) {
int64_t ytiles = (m - m0) / RM;
int64_t xtiles = (n - n0) / RN;
int64_t tiles = xtiles * ytiles;
int64_t duty = (tiles + nth - 1) / nth;
int64_t start = duty * ith;
int64_t end = start + duty;
if (... | pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
andq $-0x40, %rsp
subq $0x200, %rsp # imm = 0x200
movq %rdx, %rax
movq %rsi, 0x38(%rsp)
subq %rsi, %rax
movabsq $0x5555555555555556, %rsi # imm = 0x5555555555555556
imulq %rsi
movq %rdx, %r9
shrq $0x3f, %r9
addq %rdx, %r9
movq ... | /ggerganov[P]llama/ggml/src/ggml-cpu/llamafile/sgemm.cpp |
testing::TestResult::Failed() const | bool TestResult::Failed() const {
for (int i = 0; i < total_part_count(); ++i) {
if (GetTestPartResult(i).failed())
return true;
}
return false;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x20(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, -0x24(%rbp)
callq 0x32cc0
movl %eax, %ecx
movl -0x24(%rbp), %eax
cmpl %ecx, %eax
jge 0x33530
movq -0x20(%rbp), %rdi
movl -0x14(... | /GridTools[P]cpp_bindgen/build_O0/_deps/googletest-src/googletest/src/gtest.cc |
testing::Message& testing::Message::operator<<<char [34]>(char const (&) [34]) | inline Message& operator <<(const T& val) {
// Some libraries overload << for STL containers. These
// overloads are defined in the global namespace instead of ::std.
//
// C++'s symbol lookup rule (i.e. Koenig lookup) says that these
// overloads are visible in either the std namespace or the glob... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
callq 0x4ca80
movq %rax, %rdi
addq $0x10, %rdi
movq -0x10(%rbp), %rsi
callq 0x9620
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
| /GridTools[P]cpp_bindgen/build_O0/_deps/googletest-src/googletest/include/gtest/gtest-message.h |
clickhouse::ArrayInput::DoNext(void const**, unsigned long) | size_t ArrayInput::DoNext(const void** ptr, size_t len) {
len = std::min(len_, len);
*ptr = data_;
len_ -= len;
data_ += len;
return len;
} | movq %rdx, %rax
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %rdx
cmpq %rax, %rdx
cmovbq %rdx, %rax
movq %rcx, (%rsi)
subq %rax, %rdx
movq %rdx, 0x10(%rdi)
addq %rax, %rcx
movq %rcx, 0x8(%rdi)
retq
| /artpaul[P]clickhouse-cpp/clickhouse/base/input.cpp |
clickhouse::ZeroCopyOutput::DoWrite(void const*, unsigned long) | void ZeroCopyOutput::DoWrite(const void* data, size_t len) {
while (len > 0) {
void* ptr;
size_t result = DoNext(&ptr, len);
if (result) {
memcpy(ptr, data, result);
len -= result;
data = static_cast<const uint8_t*>(data) + result;
} else {
... | testq %rdx, %rdx
je 0x3678c
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rsp), %r12
movq (%r15), %rax
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq *0x20(%rax)
testq %rax, %rax
je 0x3677f
movq %rax, %r13
movq 0x8(%rsp), %rdi
mo... | /artpaul[P]clickhouse-cpp/clickhouse/base/output.cpp |
clickhouse::BufferedOutput::DoNext(void**, unsigned long) | size_t BufferedOutput::DoNext(void** data, size_t len) {
if (array_output_.Avail() < len) {
Flush();
}
return array_output_.Next(data, len);
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x38(%rdi), %rax
subq 0x30(%rdi), %rax
cmpq %rdx, %rax
jae 0x369ae
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
movq 0x28(%r15), %rax
addq $0x28, %r15
movq 0x20(%rax), %rax
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
popq %... | /artpaul[P]clickhouse-cpp/clickhouse/base/output.cpp |
clickhouse::ColumnDate::Append(std::shared_ptr<clickhouse::Column>) | void ColumnDate::Append(ColumnRef column) {
if (auto col = column->As<ColumnDate>()) {
data_->Append(col->data_);
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
movq (%rsi), %rsi
addq $0x8, %rsi
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x321e0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x3902b
movq 0x34e8b(%rip), %rsi # 0x6de80
movq 0x34fbc(%rip), %rdx # 0x6dfb8
xorl %r15d, %r15d
xorl %ecx, %ecx
callq 0x32... | /artpaul[P]clickhouse-cpp/clickhouse/columns/date.cpp |
clickhouse::ColumnDateTime::ColumnDateTime(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | ColumnDateTime::ColumnDateTime(std::string timezone)
: Column(Type::CreateDateTime(std::move(timezone)))
, data_(std::make_shared<ColumnUInt32>())
{
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsi), %rax
leaq 0x10(%rsi), %rcx
cmpq %rcx, %rax
je 0x39380
movq %rax, 0x10(%rsp)
movq (%rcx), %rax
movq %rax, 0x20(%rsp)
jmp 0x39387
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rsi), %rdx
leaq ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/date.cpp |
clickhouse::ColumnDateTime::Slice(unsigned long, unsigned long) | ColumnRef ColumnDateTime::Slice(size_t begin, size_t len) {
auto col = data_->Slice(begin, len)->As<ColumnUInt32>();
auto result = std::make_shared<ColumnDateTime>();
result->data_->Append(col);
return result;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0x28(%rsi), %rsi
movq (%rsi), %rax
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq *0x38(%rax)
movq (%r14), %rsi
addq $0x8, %rsi
movq %rsp, %rdi
callq 0x321e0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x3969f
movq 0x34819(%rip), %rsi # 0x6de80
movq 0x34... | /artpaul[P]clickhouse-cpp/clickhouse/columns/date.cpp |
clickhouse::ColumnDecimal::Append(absl::int128 const&) | void ColumnDecimal::Append(const Int128& value) {
if (data_->Type()->GetCode() == Type::Int32) {
data_->As<ColumnInt32>()->Append(static_cast<ColumnInt32::DataType>(value));
} else if (data_->Type()->GetCode() == Type::Int64) {
data_->As<ColumnInt64>()->Append(static_cast<ColumnInt64::DataType>(... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x28(%rdi), %rax
movq 0x18(%rax), %rdi
movq 0x20(%rax), %r15
testq %r15, %r15
je 0x3a63c
movq 0x3384c(%rip), %rax # 0x6de78
cmpb $0x0, (%rax)
je 0x3a637
incl 0x8(%r15)
jmp 0x3a63c
lock
incl 0x8(%r15)
callq 0x328e0
movl... | /artpaul[P]clickhouse-cpp/clickhouse/columns/decimal.cpp |
clickhouse::ColumnEnum<signed char>::ColumnEnum(std::shared_ptr<clickhouse::Type>, std::vector<signed char, std::allocator<signed char>> const&) | ColumnEnum<T>::ColumnEnum(TypeRef type, const std::vector<T>& data)
: Column(type)
, data_(data)
{
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0x3b3fb
movq 0x32aa7(%rip), %rdx # 0x6de78
leaq 0x8(%rbx), %rcx
cmpb $0x0, (%rdx)
je 0x3b41e
incl 0x8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rcx)
movq 0x3298e(%rip), %rcx # 0x6dd78
addq ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/enum.cpp |
std::vector<signed char, std::allocator<signed char>> clickhouse::SliceVector<signed char>(std::vector<signed char, std::allocator<signed char>> const&, unsigned long, unsigned long) | std::vector<T> SliceVector(const std::vector<T>& vec, size_t begin, size_t len) {
std::vector<T> result;
if (begin < vec.size()) {
len = std::min(len, vec.size() - begin);
result.assign(vec.begin() + begin, vec.begin() + (begin + len));
}
return result;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq (%rsi), %rsi
movq 0x8(%rax), %rax
subq %rsi, %rax
subq %rdx, %rax
jbe 0x3b907
cmpq %rcx, %rax
cmovbq %rax, %rcx
addq %rdx, %rsi
addq %rsi, %rcx
movq %rbx, %rdi
movq %rcx, %rdx
callq 0x315e... | /artpaul[P]clickhouse-cpp/clickhouse/columns/utils.h |
clickhouse::ColumnEnum<short>::ColumnEnum(std::shared_ptr<clickhouse::Type>, std::vector<short, std::allocator<short>> const&) | ColumnEnum<T>::ColumnEnum(TypeRef type, const std::vector<T>& data)
: Column(type)
, data_(data)
{
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0x3ba21
movq 0x32481(%rip), %rdx # 0x6de78
leaq 0x8(%rbx), %rcx
cmpb $0x0, (%rdx)
je 0x3ba44
incl 0x8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rcx)
movq 0x32368(%rip), %rcx # 0x6dd78
addq ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/enum.cpp |
clickhouse::ColumnEnum<short>::NameAt[abi:cxx11](unsigned long) const | const std::string ColumnEnum<T>::NameAt(size_t n) const {
return EnumType(type_).GetEnumName(data_.at(n));
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
addq $0x18, %rsi
movq %rsp, %rdi
callq 0x32d50
movq 0x28(%r15), %rax
movq 0x30(%r15), %rdx
subq %rax, %rdx
sarq %rdx
cmpq %r14, %rdx
jbe 0x3bc79
movswl (%rax,%r14,2), %esi
movq %rsp, %rdi
callq 0x33050
leaq 0x10(%rbx), %rc... | /artpaul[P]clickhouse-cpp/clickhouse/columns/enum.cpp |
clickhouse::ColumnEnum<short>::Append(std::shared_ptr<clickhouse::Column>) | void ColumnEnum<T>::Append(ColumnRef column) {
if (auto col = column->As<ColumnEnum<T>>()) {
data_.insert(data_.end(), col->data_.begin(), col->data_.end());
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
movq (%rsi), %rsi
addq $0x8, %rsi
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x321e0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x3bdcd
movq 0x320e9(%rip), %rsi # 0x6de80
movq 0x320fa(%rip), %rdx # 0x6de98
xorl %ebx, %ebx
xorl %ecx, %ecx
callq 0x327a0
movl... | /artpaul[P]clickhouse-cpp/clickhouse/columns/enum.cpp |
std::vector<short, std::allocator<short>> clickhouse::SliceVector<short>(std::vector<short, std::allocator<short>> const&, unsigned long, unsigned long) | std::vector<T> SliceVector(const std::vector<T>& vec, size_t begin, size_t len) {
std::vector<T> result;
if (begin < vec.size()) {
len = std::min(len, vec.size() - begin);
result.assign(vec.begin() + begin, vec.begin() + (begin + len));
}
return result;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rsi
subq %rax, %rsi
sarq %rsi
subq %rdx, %rsi
jbe 0x3bf9c
cmpq %rcx, %rsi
cmovbq %rsi, %rcx
leaq (%rax,%rdx,2), %rsi
leaq (%rsi,%rcx,2), %rdx
movq %rbx, %rdi
callq 0x31620
mo... | /artpaul[P]clickhouse-cpp/clickhouse/columns/utils.h |
clickhouse::ColumnIPv4::Append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void ColumnIPv4::Append(const std::string& str) {
in_addr_t addr = inet_addr(str.c_str());
if (addr == INADDR_NONE) {
throw std::runtime_error("invalid IPv4 format, ip: " + str);
}
data_->Append(htonl(addr));
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rdi
callq 0x32570
cmpl $-0x1, %eax
je 0x3fbda
movq 0x28(%rbx), %rdi
bswapl %eax
movq %rsp, %rsi
movl %eax, (%rsi)
callq 0x31470
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl $0x10, %edi
callq 0x31a00
movq %rax, %r... | /artpaul[P]clickhouse-cpp/clickhouse/columns/ip4.cpp |
clickhouse::ColumnIPv6::ColumnIPv6(std::shared_ptr<clickhouse::Column>) | ColumnIPv6::ColumnIPv6(ColumnRef data)
: Column(Type::CreateIPv6())
, data_(data->As<ColumnFixedString>())
{
if (data_->Size() != 0) {
throw std::runtime_error("number of entries must be even (two 64-bit numbers for each IPv6)");
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x33380
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x2dbdc(%rip), %rax # 0x6dd78
addq $0x10, %rax
movq %rax, (%rbx)
movq (%r15), %rax
movq %rax, 0x18(%rbx)
movq 0x8(%r15), %rdi
movq %rd... | /artpaul[P]clickhouse-cpp/clickhouse/columns/ip6.cpp |
clickhouse::ColumnIPv6::Append(std::shared_ptr<clickhouse::Column>) | void ColumnIPv6::Append(ColumnRef column) {
if (auto col = column->As<ColumnIPv6>()) {
data_->Append(col->data_);
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
movq (%rsi), %rsi
addq $0x8, %rsi
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x321e0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4060b
movq 0x2d8ab(%rip), %rsi # 0x6de80
movq 0x2d94c(%rip), %rdx # 0x6df28
xorl %r15d, %r15d
xorl %ecx, %ecx
callq 0x32... | /artpaul[P]clickhouse-cpp/clickhouse/columns/ip6.cpp |
clickhouse::ColumnNullable::ColumnNullable(std::shared_ptr<clickhouse::Column>, std::shared_ptr<clickhouse::Column>) | ColumnNullable::ColumnNullable(ColumnRef nested, ColumnRef nulls)
: Column(Type::CreateNullable(nested->Type()))
, nested_(nested)
, nulls_(nulls->As<ColumnUInt8>())
{
if (nested_->Size() != nulls->Size()) {
throw std::runtime_error("count of elements in nested and nulls should be the same");
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x18(%rax), %rcx
movq %rcx, (%rsp)
movq 0x20(%rax), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x409ec
movq 0x2d49a(%rip), %rcx # 0x6de78
cmpb $0x0, (%rcx)
je 0x409e8
incl 0x8(%rax)
jmp 0x409e... | /artpaul[P]clickhouse-cpp/clickhouse/columns/nullable.cpp |
clickhouse::ColumnNullable::Append(std::shared_ptr<clickhouse::Column>) | void ColumnNullable::Append(ColumnRef column) {
if (auto col = column->As<ColumnNullable>()) {
if (!col->nested_->Type()->IsEqual(nested_->Type())) {
return;
}
nested_->Append(col->nested_);
nulls_->Append(col->nulls_);
}
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %r14
movq (%rsi), %rsi
addq $0x8, %rsi
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x321e0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x40c82
movq 0x2d234(%rip), %rsi # 0x6de80
movq 0x2d30d(%rip), %rdx # 0x6df60
xorl %ebx, %ebx
xorl %ecx, %... | /artpaul[P]clickhouse-cpp/clickhouse/columns/nullable.cpp |
clickhouse::ColumnNullable::Size() const | size_t ColumnNullable::Size() const {
assert(nested_->Size() == nulls_->Size());
return nulls_->Size();
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rax, %r14
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
cmpq %rax, %r14
jne 0x40ee4
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *0x30(%rax)
leaq 0x19577(%rip)... | /artpaul[P]clickhouse-cpp/clickhouse/columns/nullable.cpp |
clickhouse::ColumnNullable::Slice(unsigned long, unsigned long) | ColumnRef ColumnNullable::Slice(size_t begin, size_t len) {
return std::make_shared<ColumnNullable>(nested_->Slice(begin, len), nulls_->Slice(begin, len));
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq 0x28(%rsi), %rsi
movq (%rsi), %rax
leaq 0x38(%rsp), %rdi
callq *0x38(%rax)
movq 0x38(%r12), %rsi
movq (%rsi), %rax
leaq 0x28(%rsp), %rdi
movq %r15, %rdx
movq %r14, %rcx
callq *0x38(%rax)
lea... | /artpaul[P]clickhouse-cpp/clickhouse/columns/nullable.cpp |
clickhouse::ColumnVector<signed char>::ColumnVector() | ColumnVector<T>::ColumnVector()
: Column(Type::CreateSimple<T>())
{
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl $0x10, %edi
callq 0x32500
movq %rax, %r14
movq %rax, %rdi
movl $0x1, %esi
callq 0x319a0
leaq 0x8(%rsp), %r15
movq %r14, -0x8(%r15)
movq %r15, %rdi
movq %r14, %rsi
callq 0x31820
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x2cb88(%rip), %rax ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/numeric.cpp |
clickhouse::ColumnVector<signed char>::Append(std::shared_ptr<clickhouse::Column>) | void ColumnVector<T>::Append(ColumnRef column) {
if (auto col = column->As<ColumnVector<T>>()) {
data_.insert(data_.end(), col->data_.begin(), col->data_.end());
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
movq (%rsi), %rsi
addq $0x8, %rsi
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x321e0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x413f7
movq 0x2cabf(%rip), %rsi # 0x6de80
movq 0x2cba0(%rip), %rdx # 0x6df68
xorl %ebx, %ebx
xorl %ecx, %ecx
callq 0x327a0
movl... | /artpaul[P]clickhouse-cpp/clickhouse/columns/numeric.cpp |
clickhouse::ColumnVector<int>::ColumnVector(std::vector<int, std::allocator<int>> const&) | ColumnVector<T>::ColumnVector(const std::vector<T>& data)
: Column(Type::CreateSimple<T>())
, data_(data)
{
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl $0x10, %edi
callq 0x32500
movq %rax, %r15
movq %rax, %rdi
movl $0x3, %esi
callq 0x319a0
leaq 0x10(%rsp), %r12
movq %r15, -0x8(%r12)
movq %r12, %rdi
movq %r15, %rsi
callq 0x31820
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
m... | /artpaul[P]clickhouse-cpp/clickhouse/columns/numeric.cpp |
clickhouse::ColumnVector<int>::Slice(unsigned long, unsigned long) | ColumnRef ColumnVector<T>::Slice(size_t begin, size_t len) {
return std::make_shared<ColumnVector<T>>(SliceVector(data_, begin, len));
} | pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
addq $0x28, %rsi
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x31a40
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rsi
movq %r14, %rdx
callq 0x31ef0
movaps 0x10(%rsp), %xmm0
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movups %xmm0, (%rbx)
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/numeric.cpp |
std::vector<int, std::allocator<int>> clickhouse::SliceVector<int>(std::vector<int, std::allocator<int>> const&, unsigned long, unsigned long) | std::vector<T> SliceVector(const std::vector<T>& vec, size_t begin, size_t len) {
std::vector<T> result;
if (begin < vec.size()) {
len = std::min(len, vec.size() - begin);
result.assign(vec.begin() + begin, vec.begin() + (begin + len));
}
return result;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rsi
subq %rax, %rsi
sarq $0x2, %rsi
subq %rdx, %rsi
jbe 0x41da0
cmpq %rcx, %rsi
cmovbq %rsi, %rcx
leaq (%rax,%rdx,4), %rsi
leaq (%rsi,%rcx,4), %rdx
movq %rbx, %rdi
callq 0x31... | /artpaul[P]clickhouse-cpp/clickhouse/columns/utils.h |
clickhouse::ColumnVector<long>::ColumnVector() | ColumnVector<T>::ColumnVector()
: Column(Type::CreateSimple<T>())
{
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl $0x10, %edi
callq 0x32500
movq %rax, %r14
movq %rax, %rdi
movl $0x4, %esi
callq 0x319a0
leaq 0x8(%rsp), %r15
movq %r14, -0x8(%r15)
movq %r15, %rdi
movq %r14, %rsi
callq 0x31820
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x2bf66(%rip), %rax ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/numeric.cpp |
std::vector<unsigned short, std::allocator<unsigned short>> clickhouse::SliceVector<unsigned short>(std::vector<unsigned short, std::allocator<unsigned short>> const&, unsigned long, unsigned long) | std::vector<T> SliceVector(const std::vector<T>& vec, size_t begin, size_t len) {
std::vector<T> result;
if (begin < vec.size()) {
len = std::min(len, vec.size() - begin);
result.assign(vec.begin() + begin, vec.begin() + (begin + len));
}
return result;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rsi
subq %rax, %rsi
sarq %rsi
subq %rdx, %rsi
jbe 0x42b8f
cmpq %rcx, %rsi
cmovbq %rsi, %rcx
leaq (%rax,%rdx,2), %rsi
leaq (%rsi,%rcx,2), %rdx
movq %rbx, %rdi
callq 0x33780
mo... | /artpaul[P]clickhouse-cpp/clickhouse/columns/utils.h |
clickhouse::ColumnVector<unsigned int>::Slice(unsigned long, unsigned long) | ColumnRef ColumnVector<T>::Slice(size_t begin, size_t len) {
return std::make_shared<ColumnVector<T>>(SliceVector(data_, begin, len));
} | pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
addq $0x28, %rsi
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x333a0
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rsi
movq %r14, %rdx
callq 0x33300
movaps 0x10(%rsp), %xmm0
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movups %xmm0, (%rbx)
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/numeric.cpp |
clickhouse::ColumnVector<unsigned long>::ColumnVector() | ColumnVector<T>::ColumnVector()
: Column(Type::CreateSimple<T>())
{
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl $0x10, %edi
callq 0x32500
movq %rax, %r14
movq %rax, %rdi
movl $0x8, %esi
callq 0x319a0
leaq 0x8(%rsp), %r15
movq %r14, -0x8(%r15)
movq %r15, %rdi
movq %r14, %rsi
callq 0x31820
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x2aca6(%rip), %rax ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/numeric.cpp |
std::vector<unsigned long, std::allocator<unsigned long>> clickhouse::SliceVector<unsigned long>(std::vector<unsigned long, std::allocator<unsigned long>> const&, unsigned long, unsigned long) | std::vector<T> SliceVector(const std::vector<T>& vec, size_t begin, size_t len) {
std::vector<T> result;
if (begin < vec.size()) {
len = std::min(len, vec.size() - begin);
result.assign(vec.begin() + begin, vec.begin() + (begin + len));
}
return result;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rsi
subq %rax, %rsi
sarq $0x3, %rsi
subq %rdx, %rsi
jbe 0x43532
cmpq %rcx, %rsi
cmovbq %rsi, %rcx
leaq (%rax,%rdx,8), %rsi
leaq (%rsi,%rcx,8), %rdx
movq %rbx, %rdi
callq 0x31... | /artpaul[P]clickhouse-cpp/clickhouse/columns/utils.h |
clickhouse::ColumnFixedString::Slice(unsigned long, unsigned long) | ColumnRef ColumnFixedString::Slice(size_t begin, size_t len) {
auto result = std::make_shared<ColumnFixedString>(string_size_);
if (begin < data_.size()) {
result->data_ = SliceVector(data_, begin, len);
}
return result;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x28(%rsi), %rdx
movq %rsp, %rdi
leaq 0x30(%rsp), %rsi
callq 0x318c0
movq 0x38(%r12), %rax
subq 0x30(%r12), %rax
sarq $0x5, %rax
cmpq %r15, %rax
jbe 0x482a1
addq $0x30, %r12
leaq 0x10(%rsp),... | /artpaul[P]clickhouse-cpp/clickhouse/columns/string.cpp |
clickhouse::ColumnString::ColumnString(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) | ColumnString::ColumnString(const std::vector<std::string>& data)
: Column(Type::CreateString())
, data_(data)
{
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %r15
movq %r15, %rdi
callq 0x33280
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x259f4(%rip), %rax # 0x6dd78
addq $0x10, %rax
movq %rax, (%rbx)
movq (%r15), %rax
movq %rax, 0x18(%rbx)
movq 0x8(%r15), %rdi
movq %rdi, 0x2... | /artpaul[P]clickhouse-cpp/clickhouse/columns/string.cpp |
clickhouse::ColumnString::Load(clickhouse::CodedInputStream*, unsigned long) | bool ColumnString::Load(CodedInputStream* input, size_t rows) {
for (size_t i = 0; i < rows; ++i) {
std::string s;
if (!WireFormat::ReadString(input, &s)) {
return false;
}
data_.push_back(std::move(s));
}
return true;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
testq %rdx, %rdx
je 0x485e2
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
addq $0x28, %r15
movq %rdx, %r12
negq %r12
movl $0x1, %r13d
xorl %ebp, %ebp
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
mo... | /artpaul[P]clickhouse-cpp/clickhouse/columns/string.cpp |
clickhouse::ColumnString::Slice(unsigned long, unsigned long) | ColumnRef ColumnString::Slice(size_t begin, size_t len) {
return std::make_shared<ColumnString>(SliceVector(data_, begin, len));
} | pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
addq $0x28, %rsi
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x334d0
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rsi
movq %r14, %rdx
callq 0x32aa0
movaps 0x10(%rsp), %xmm0
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movups %xmm0, (%rbx)
movq %rax, 0x10(%rsp)
leaq 0x20(%rsp), ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/string.cpp |
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> clickhouse::SliceVector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(std::vector<std::__cxx11::ba... | std::vector<T> SliceVector(const std::vector<T>& vec, size_t begin, size_t len) {
std::vector<T> result;
if (begin < vec.size()) {
len = std::min(len, vec.size() - begin);
result.assign(vec.begin() + begin, vec.begin() + (begin + len));
}
return result;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq (%rsi), %rsi
movq 0x8(%rax), %rax
subq %rsi, %rax
sarq $0x5, %rax
subq %rdx, %rax
jbe 0x48780
cmpq %rcx, %rax
cmovbq %rax, %rcx
shlq $0x5, %rdx
addq %rdx, %rsi
shlq $0x5, %rcx
addq %rsi, %... | /artpaul[P]clickhouse-cpp/clickhouse/columns/utils.h |
clickhouse::ColumnTuple::ColumnTuple(std::vector<std::shared_ptr<clickhouse::Column>, std::allocator<std::shared_ptr<clickhouse::Column>>> const&) | ColumnTuple::ColumnTuple(const std::vector<ColumnRef>& columns)
: Column(Type::CreateTuple(CollectTypes(columns)))
, columns_(columns)
{
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq (%rsi), %r13
movq %rsi, 0x30(%rsp)
movq 0x8(%rsi), %rbp
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
cmpq %rbp, %r13
je 0x496b6
leaq 0x10(%rsp), %r15
movq %rsp, %r12
movq 0x2480e(%rip), %r14 ... | /artpaul[P]clickhouse-cpp/clickhouse/columns/tuple.cpp |
clickhouse::ColumnUUID::ColumnUUID(std::shared_ptr<clickhouse::Column>) | ColumnUUID::ColumnUUID(ColumnRef data)
: Column(Type::CreateUUID())
, data_(data->As<ColumnUInt64>())
{
if (data_->Size() % 2 != 0) {
throw std::runtime_error("number of entries must be even (two 64-bit numbers for each UUID)");
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x324c0
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x2413a(%rip), %rax # 0x6dd78
addq $0x10, %rax
movq %rax, (%rbx)
movq (%r15), %rax
movq %rax, 0x18(%rbx)
movq 0x8(%r15), %rdi
movq %rd... | /artpaul[P]clickhouse-cpp/clickhouse/columns/uuid.cpp |
clickhouse::ColumnUUID::At(unsigned long) const | const UInt128 ColumnUUID::At(size_t n) const {
return UInt128(data_->At(n * 2), data_->At(n * 2 + 1));
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x28(%rdi), %rdi
addq %rsi, %rsi
callq 0x31290
movq %rax, %r15
movq 0x28(%r14), %rdi
leaq 0x1(,%rbx,2), %rsi
callq 0x31290
movq (%r15), %rcx
movq (%rax), %rdx
movq %rcx, %rax
popq %rbx
popq %r14
popq %r15
retq
| /artpaul[P]clickhouse-cpp/clickhouse/columns/uuid.cpp |
clickhouse::ColumnUUID::operator[](unsigned long) const | const UInt128 ColumnUUID::operator [] (size_t n) const {
return UInt128((*data_)[n * 2], (*data_)[n * 2 + 1]);
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x28(%rdi), %rdi
addq %rsi, %rsi
callq 0x31210
movq %rax, %r15
movq 0x28(%r14), %rdi
leaq 0x1(,%rbx,2), %rsi
callq 0x31210
movq (%r15), %rcx
movq (%rax), %rdx
movq %rcx, %rax
popq %rbx
popq %r14
popq %r15
retq
| /artpaul[P]clickhouse-cpp/clickhouse/columns/uuid.cpp |
clickhouse::TypeParser::Parse(clickhouse::TypeAst*) | bool TypeParser::Parse(TypeAst* type) {
type_ = type;
open_elements_.push(type_);
do {
const Token& token = NextToken();
switch (token.type) {
case Token::Name:
type_->meta = GetTypeMeta(token.value);
type_->name = std::string(token.value);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rbp
movq %rsi, 0x10(%rdi)
leaq 0x18(%rdi), %r14
movq 0x48(%rdi), %rax
movq 0x58(%rdi), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x4a1e5
movq %rsi, (%rax)
addq $0x8, 0x48(%rbx)
jmp 0x4a1f0
movq %r14, %rdi... | /artpaul[P]clickhouse-cpp/clickhouse/types/type_parser.cpp |
IntToHex_GetLength(long) | uint32_t IntToHex_GetLength (int64_t a)
{
// If negative and first digit is <8, add one to induce leading 8-F
// so that sign extension of most significant bit will work.
// This might be a bad idea. TODO.
uint64_t b = (uint64_t)a;
uint32_t len = 0;
uint64_t most_significant;
do ++len;
w... | xorl %ecx, %ecx
movq %rdi, %rdx
movq %rdx, %rax
incl %ecx
shrq $0x4, %rdx
cmpq $0xf, %rax
ja 0xe1b0
testq %rdi, %rdi
sets %dl
cmpq $0x8, %rax
setb %al
andb %dl, %al
movzbl %al, %eax
addl %ecx, %eax
retq
| /jaykrell[P]w3/w3Int.cpp |
read_varint64(unsigned char**, unsigned char const*) | int64_t read_varint64 (uint8_t** cursor, const uint8_t* end)
{
int64_t result = 0;
uint32_t shift = 0;
uint32_t size = 64;
uint32_t byte = 0;
do
{
byte = read_byte (cursor, end);
result |= (byte & 0x7F) << shift;
shift += 7;
} while (byte & 0x80);
// sign bit of ... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r12
xorl %r14d, %r14d
xorl %ebx, %ebx
movq %r12, %rdi
movq %r15, %rsi
callq 0x1436b
movl %eax, %ecx
andb $0x7f, %cl
movzbl %cl, %edx
movl %r14d, %ecx
shll %cl, %edx
orq %rdx, %rbx
addl $0x7, %r14d
testb %al, %al
js 0x1445e
movq $-0x1, %r... | /jaykrell[P]w3/w3.cpp |
w3Interp::BlockEnd() | INTERP (Rem_s_i64)
{
const int64_t a = pop_i64 ();
i64 () %= a;
} | pushq %rbx
subq $0x20, %rsp
movq 0x18(%rdi), %rax
movq 0x10(%rdi), %rcx
subq %rcx, %rax
je 0x19cb8
addq $0x10, %rdi
sarq $0x4, %rax
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
leaq (%rsi,%rsi,2), %rax
shlq $0x4, %rax
addq (%rdi), %rax
xorl %ecx, %ecx
movb -0x30(%rax), %dl
cmpb $-0x80,... | /jaykrell[P]w3/w3interp.cpp |
w3Interp::i32_Load16s() | INTERP (i32_Load16s)
{
push_i32 (*(int16_t*)LoadStore (2));
} | pushq %rbx
subq $0x30, %rsp
leaq 0x10(%rdi), %rbx
movl $0x2, %esi
callq 0x16da6
movswl (%rax), %eax
xorps %xmm0, %xmm0
movq %rsp, %rsi
movups %xmm0, 0x8(%rsi)
movups %xmm0, 0x18(%rsi)
movq $0x0, 0x28(%rsi)
movb $-0x80, (%rsi)
movb $0x7f, 0x8(%rsi)
movl %eax, 0x10(%rsi)
movq %rbx, %rdi
callq 0x1e1e6
addq $0x30, %rsp
pop... | /jaykrell[P]w3/w3interp.cpp |
w3Interp::i64_Load16s() | INTERP (i64_Load16s)
{
push_i64 (*(int16_t*)LoadStore (2));
} | pushq %rbx
subq $0x30, %rsp
leaq 0x10(%rdi), %rbx
movl $0x2, %esi
callq 0x16da6
movswq (%rax), %rax
xorps %xmm0, %xmm0
movq %rsp, %rsi
movups %xmm0, 0x8(%rsi)
movups %xmm0, 0x18(%rsi)
movq $0x0, 0x28(%rsi)
movb $-0x80, (%rsi)
movb $0x7e, 0x8(%rsi)
movq %rax, 0x10(%rsi)
movq %rbx, %rdi
callq 0x1e1e6
addq $0x30, %rsp
pop... | /jaykrell[P]w3/w3interp.cpp |
w3Interp::i64_Load32s() | INTERP (i64_Load32s)
{
push_i64 (*(int32_t*)LoadStore (4));
} | pushq %rbx
subq $0x30, %rsp
leaq 0x10(%rdi), %rbx
movl $0x4, %esi
callq 0x16da6
movslq (%rax), %rax
xorps %xmm0, %xmm0
movq %rsp, %rsi
movups %xmm0, 0x8(%rsi)
movups %xmm0, 0x18(%rsi)
movq $0x0, 0x28(%rsi)
movb $-0x80, (%rsi)
movb $0x7e, 0x8(%rsi)
movq %rax, 0x10(%rsi)
movq %rbx, %rdi
callq 0x1e1e6
addq $0x30, %rsp
pop... | /jaykrell[P]w3/w3interp.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.