name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
ccs::(anonymous namespace)::StdErrLogger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
virtual void error(const std::string &msg) { std::cerr << "ERROR: " << msg << std::endl; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq 0x2ba34(%rip), %r14 # 0x5bfd0 leaq 0x19e96(%rip), %rsi # 0x4a439 movl $0x7, %edx movq %r14, %rdi callq 0x2a800 movq (%rbx), %rsi movq 0x8(%rbx), %rdx movq %r14, %rdi callq 0x2a800 movq %rax, %rbx movq (%rax), %rax movq -0x18(%rax), %rdi addq %rbx, %rdi movl ...
/hellige[P]ccs-cpp/src/domain.cpp
ccs::Dumper::tallyEdgeStyle[abi:cxx11]() const
Style Dumper::tallyEdgeStyle() const { Style style; style["style"] = "dashed"; return style; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x8(%rdi), %rax movl $0x0, 0x8(%rdi) xorl %ecx, %ecx movq %rcx, 0x10(%rdi) movq %rax, 0x18(%rdi) movq %rax, 0x20(%rdi) movq %rcx, 0x28(%rdi) leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0x18cf7(%rip), %rsi # 0x4a5cc leaq 0x18cf5(%rip), %rdx...
/hellige[P]ccs-cpp/src/graphviz.cpp
ccs::Dumper::edgeStyle[abi:cxx11](ccs::Key const&) const
Style Dumper::edgeStyle(const Key &key) const { Style style; std::ostringstream str; str << key; style["label"] = str.str(); style["fontsize"] = "9"; return style; }
pushq %r15 pushq %r14 pushq %rbx subq $0x1c0, %rsp # imm = 0x1C0 movq %rdx, %r14 movq %rdi, %rbx leaq 0x8(%rdi), %rax movl $0x0, 0x8(%rdi) xorl %ecx, %ecx movq %rcx, 0x10(%rdi) movq %rax, 0x18(%rdi) movq %rax, 0x20(%rdi) movq %rcx, 0x28(%rdi) leaq 0x48(%rsp), %rdi callq 0x2ab50 leaq 0x48(%rsp), %rdi movq %r1...
/hellige[P]ccs-cpp/src/graphviz.cpp
ccs::ast::BranchImpl::BranchImpl(std::shared_ptr<ccs::ast::SelectorLeaf>, std::function<std::shared_ptr<ccs::BuildContext> (ccs::ast::SelectorLeaf&, std::shared_ptr<ccs::BuildContext>, std::shared_ptr<ccs::BuildContext>)>)
BranchImpl(SelectorLeaf::P first, Traverse traverse) : first_(first), traverse_(traverse) {}
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x26ca4(%rip), %rax # 0x5be98 addq $0x10, %rax movq %rax, (%rdi) movq (%rsi), %rax movq %rax, 0x8(%rdi) movq 0x8(%rsi), %rax movq %rax, 0x10(%rdi) testq %rax, %rax je 0x35224 movq 0x26c6a(%rip), %rcx # 0x5be80 cmpb $0x0, (%rcx) je 0x35220 incl 0x8(%rax) jmp ...
/hellige[P]ccs-cpp/src/parser/ast.cpp
print_help()
void print_help() { cout << "s: toggle stagger" << endl; cout << "r: toggle max rank" << endl; cout << "1: toggle max rank of 1" << endl; cout << "z: toggle max size" << endl; cout << "w: toggle fixed width" << endl; cout << "h: toggle fixed height" << endl; cout << "a: switch h alignment" << endl; cout...
pushq %rbx movq 0x38ac(%rip), %rbx # 0x5f90 leaq 0x1921(%rip), %rsi # 0x400c movq %rbx, %rdi callq 0x21f0 movq %rax, %rdi callq 0x20e0 leaq 0x191c(%rip), %rsi # 0x401e movq %rbx, %rdi callq 0x21f0 movq %rax, %rdi callq 0x20e0 leaq 0x1918(%rip), %rsi # 0x4031 movq %rbx, %rdi callq 0x21f0 movq %rax, %...
/ProgrammerArchaeology[P]openamulet/test/opal/testmap.cpp
map_height_proc(Am_Object&)
Am_Define_Formula(int, map_height) { if ((bool)self.Get(STAGGER)) { int rank = self.Get(Am_RANK); if (rank % 2) return 35; else return 25; } else return 30; }
pushq %rbx movq %rdi, %rbx movzwl 0x2ead(%rip), %esi # 0x6218 xorl %edx, %edx callq 0x2220 movq %rax, %rdi callq 0x2210 testb %al, %al je 0x33a2 movq %rbx, %rdi movl $0x85, %esi xorl %edx, %edx callq 0x2220 movq %rax, %rdi callq 0x21b0 testb $0x1, %al pushq $0x19 popq %rcx pushq $0x23 popq %rax cmovel %ecx, %eax j...
/ProgrammerArchaeology[P]openamulet/test/opal/testmap.cpp
Am_Input_Char::Am_Input_Char(Am_Value const&)
Am_Input_Char(const Am_Value &value) { long l = value.value.long_value; if (l) { if (value.type != Am_Input_Char_ID) { #ifdef DEBUG Am_Error("** Tried to set an Am_Input_Char with a non Am_Input_Char " "wrapper."); #else Am_Error(); #endif } } short low_by...
movq 0x8(%rsi), %rax testq %rax, %rax je 0x3dec movzwl (%rsi), %ecx movq 0x21c1(%rip), %rdx # 0x5fa8 cmpw (%rdx), %cx jne 0x3e08 movw %ax, (%rdi) shrl $0x10, %eax movzwl 0x2(%rdi), %ecx andl $0xfffff000, %ecx # imm = 0xFFFFF000 andl $0xfff, %eax # imm = 0xFFF orl %ecx, %eax movw %ax, 0x2(%rdi) ret...
/ProgrammerArchaeology[P]openamulet/include/amulet/idefs.h
png_colorspace_set_xy_and_XYZ
static int png_colorspace_set_xy_and_XYZ(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, const png_XYZ *XYZ, int preferred) { if ((colorspace->flags & PNG_COLORSPACE_INVALID) != 0) return 0; /* The consistency check is performed on the chromaticities; this factors out ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movzwl 0x4a(%rsi), %r12d xorl %ebp, %ebp testw %r12w, %r12w js 0x1488f movl %r8d, %r13d movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %rbx cmpl $0x2, %r8d setge %al testb $0x2, %r12b sete %cl orb %al, %cl jne 0x1480d movq %rdi, (%rsp) leaq 0x4(%r...
/thpatch[P]thtk/extlib/libpng/png.c
png_default_read_data
void PNGCBAPI png_default_read_data(png_structp png_ptr, png_bytep data, size_t length) { size_t check; if (png_ptr == NULL) return; /* fread() returns 0 on error, so it is OK to store this in a size_t * instead of an int, which is what fread() actually returns. */ check = fread(data, 1, len...
pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x1c2f2 movq %rdx, %r14 movq %rsi, %rax movq %rdi, %rbx movq 0x108(%rdi), %rcx movl $0x1, %esi movq %rax, %rdi callq 0x60f0 cmpq %r14, %rax jne 0x1c2fa addq $0x8, %rsp popq %rbx popq %r14 retq leaq 0x21858(%rip), %rsi # 0x3db59 movq %rbx, %rdi callq 0x172cc
/thpatch[P]thtk/extlib/libpng/pngrio.c
png_set_background_fixed
void PNGFAPI png_set_background_fixed(png_structrp png_ptr, png_const_color_16p background_color, int background_gamma_code, int need_expand, png_fixed_point background_gamma) { png_debug(1, "in png_set_background_fixed"); if (png_rtran_ok(png_ptr, 0) == 0 || background_color == NULL) return; i...
testq %rdi, %rdi je 0x1c4aa movl 0x130(%rdi), %eax testb $0x40, %al jne 0x1c487 orl $0x4000, %eax # imm = 0x4000 movl %eax, 0x130(%rdi) testq %rsi, %rsi je 0x1c4aa testl %edx, %edx je 0x1c493 andl $0xffffdfbf, %eax # imm = 0xFFFFDFBF movl %eax, 0x130(%rdi) movq (%rsi), %rax movq %rax, 0x27c(%rdi) movzwl...
/thpatch[P]thtk/extlib/libpng/pngrtran.c
png_set_scale_16
static int png_rtran_ok(png_structrp png_ptr, int need_IHDR) { if (png_ptr != NULL) { if ((png_ptr->flags & PNG_FLAG_ROW_INIT) != 0) png_app_error(png_ptr, "invalid after png_start_read_image or png_read_update_info"); else if (need_IHDR && (png_ptr->mode & PNG_HAVE_IHDR) == 0) ...
testq %rdi, %rdi je 0x1c505 movl 0x130(%rdi), %eax testb $0x40, %al jne 0x1c506 orl $0x4000, %eax # imm = 0x4000 movl %eax, 0x130(%rdi) orb $0x4, 0x137(%rdi) retq leaq 0x21a01(%rip), %rsi # 0x3df0e jmp 0x177ea
/thpatch[P]thtk/extlib/libpng/pngrtran.c
png_set_strip_16
static int png_rtran_ok(png_structrp png_ptr, int need_IHDR) { if (png_ptr != NULL) { if ((png_ptr->flags & PNG_FLAG_ROW_INIT) != 0) png_app_error(png_ptr, "invalid after png_start_read_image or png_read_update_info"); else if (need_IHDR && (png_ptr->mode & PNG_HAVE_IHDR) == 0) ...
testq %rdi, %rdi je 0x1c533 movl 0x130(%rdi), %eax testb $0x40, %al jne 0x1c534 orl $0x4000, %eax # imm = 0x4000 movl %eax, 0x130(%rdi) orb $0x4, 0x135(%rdi) retq leaq 0x219d3(%rip), %rsi # 0x3df0e jmp 0x177ea
/thpatch[P]thtk/extlib/libpng/pngrtran.c
png_set_strip_alpha
static int png_rtran_ok(png_structrp png_ptr, int need_IHDR) { if (png_ptr != NULL) { if ((png_ptr->flags & PNG_FLAG_ROW_INIT) != 0) png_app_error(png_ptr, "invalid after png_start_read_image or png_read_update_info"); else if (need_IHDR && (png_ptr->mode & PNG_HAVE_IHDR) == 0) ...
testq %rdi, %rdi je 0x1c561 movl 0x130(%rdi), %eax testb $0x40, %al jne 0x1c562 orl $0x4000, %eax # imm = 0x4000 movl %eax, 0x130(%rdi) orb $0x4, 0x136(%rdi) retq leaq 0x219a5(%rip), %rsi # 0x3df0e jmp 0x177ea
/thpatch[P]thtk/extlib/libpng/pngrtran.c
png_set_alpha_mode_fixed
void PNGFAPI png_set_alpha_mode_fixed(png_structrp png_ptr, int mode, png_fixed_point output_gamma) { int compose = 0; png_fixed_point file_gamma; png_debug(1, "in png_set_alpha_mode_fixed"); if (png_rtran_ok(png_ptr, 0) == 0) return; output_gamma = translate_gamma_flags(png_ptr, output_gamm...
pushq %rbp pushq %r14 pushq %rbx testq %rdi, %rdi je 0x1c700 movq %rdi, %rbx movl 0x130(%rdi), %eax testb $0x40, %al jne 0x1c5b5 movl %esi, %r14d movl %eax, %ecx orl $0x4000, %ecx # imm = 0x4000 movl %ecx, 0x130(%rbx) movl $0x250ac, %ebp # imm = 0x250AC cmpl $-0x3, %edx jg 0x1c5c8 cmpl $0xfffe7960, %...
/thpatch[P]thtk/extlib/libpng/pngrtran.c
convert_gamma_value
static png_fixed_point convert_gamma_value(png_structrp png_ptr, double output_gamma) { /* The following silently ignores cases where fixed point (times 100,000) * gamma values are passed to the floating point API. This is safe and it * means the fixed point constants work just fine with the floating point ...
pushq %rbx movq %rdi, %rbx movsd 0x1f4d5(%rip), %xmm1 # 0x3bc28 mulsd %xmm0, %xmm1 movapd %xmm0, %xmm2 cmpltsd 0x214f4(%rip), %xmm2 # 0x3dc58 andpd %xmm2, %xmm1 andnpd %xmm0, %xmm2 orpd %xmm1, %xmm2 xorpd %xmm1, %xmm1 cmpltsd %xmm0, %xmm1 andpd %xmm1, %xmm2 andnpd %xmm0, %xmm1 orpd %xmm2, %xmm1 addsd 0x1f4a3(%rip...
/thpatch[P]thtk/extlib/libpng/pngrtran.c
png_set_quantize
void PNGAPI png_set_quantize(png_structrp png_ptr, png_colorp palette, int num_palette, int maximum_colors, png_const_uint_16p histogram, int full_quantize) { png_debug(1, "in png_set_quantize"); if (png_rtran_ok(png_ptr, 0) == 0) return; png_ptr->transformations |= PNG_QUANTIZE; if (full_q...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rsi, 0x8(%rsp) testq %rdi, %rdi je 0x1d0b9 movq %rdi, %rbx movl 0x130(%rdi), %eax testb $0x40, %al jne 0x1c964 movq %r8, %r13 movl %ecx, %ebp movl %edx, %r12d orl $0x4000, %eax # imm = 0x4000 movl %eax, 0x130(%rbx) orb $0...
/thpatch[P]thtk/extlib/libpng/pngrtran.c
png_init_read_transformations
void /* PRIVATE */ png_init_read_transformations(png_structrp png_ptr) { png_debug(1, "in png_init_read_transformations"); /* This internal function is called from png_read_start_row in pngrutil.c * and it is called before the 'rowbytes' calculation is done, so the code * in here can change or update the...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movl 0x2a4(%rdi), %edx movl 0x4a0(%rdi), %esi testl %esi, %esi je 0x1d4c1 testl %edx, %edx je 0x1d4d4 leaq 0x14(%rsp), %rdi movl $0x186a0, %ecx # imm = 0x186A0 callq 0x15853 testl %eax, %eax je 0x1d4dd movl 0x14(...
/thpatch[P]thtk/extlib/libpng/pngrtran.c
png_do_read_transformations
void /* PRIVATE */ png_do_read_transformations(png_structrp png_ptr, png_row_infop row_info) { png_debug(1, "in png_do_read_transformations"); if (png_ptr->row_buf == NULL) { /* Prior to 1.5.4 this output row/pass where the NULL pointer is, but this * error is incredibly rare and incredibly easy ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r13 movq %rdi, %r12 movq 0x228(%rdi), %rsi testq %rsi, %rsi je 0x20afb movl $0x4040, %eax # imm = 0x4040 andl 0x130(%r12), %eax cmpl $0x4000, %eax # imm = 0x4000 je 0x20b04 movl 0x134(%r12), %eax btl $0xc,...
/thpatch[P]thtk/extlib/libpng/pngrtran.c
png_set_filter
void PNGAPI png_set_filter(png_structrp png_ptr, int method, int filters) { png_debug(1, "in png_set_filter"); if (png_ptr == NULL) return; #ifdef PNG_MNG_FEATURES_SUPPORTED if ((png_ptr->mng_features_permitted & PNG_FLAG_MNG_FILTER_64) != 0 && (method == PNG_INTRAPIXEL_DIFFERENCING)) meth...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x284a6 movl %edx, %ebp movq %rdi, %rbx cmpl $0x40, %esi sete %al testl %esi, %esi je 0x28367 movb 0x3e0(%rbx), %cl andb $0x4, %cl shrb $0x2, %cl andb %cl, %al je 0x284b1 cmpb $0x7, %bpl ja 0x283a9 movb $0x8, %r14b movzbl %bpl, %eax leaq 0x16d61...
/thpatch[P]thtk/extlib/libpng/pngwrite.c
png_set_compression_window_bits
void PNGAPI png_set_compression_window_bits(png_structrp png_ptr, int window_bits) { png_debug(1, "in png_set_compression_window_bits"); if (png_ptr == NULL) return; /* Prior to 1.6.0 this would warn but then set the window_bits value. This * meant that negative window bits values could be selected...
testq %rdi, %rdi je 0x28532 pushq %rbp pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx cmpl $0xf, %esi jle 0x2850d movl $0xf, %ebp leaq 0x16d6f(%rip), %rsi # 0x3f27a jmp 0x2851e cmpl $0x7, %ebp jg 0x28526 movl $0x8, %ebp leaq 0x16d8d(%rip), %rsi # 0x3f2ab movq %rbx, %rdi callq 0x174e2 movl %ebp, 0x1c4(%rb...
/thpatch[P]thtk/extlib/libpng/pngwrite.c
png_set_text_compression_window_bits
void PNGAPI png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) { png_debug(1, "in png_set_text_compression_window_bits"); if (png_ptr == NULL) return; if (window_bits > 15) { png_warning(png_ptr, "Only compression windows <= 32k supported by PNG"); window_bits = ...
testq %rdi, %rdi je 0x285cd pushq %rbp pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx cmpl $0xf, %esi jle 0x285a8 movl $0xf, %ebp leaq 0x16cd4(%rip), %rsi # 0x3f27a jmp 0x285b9 cmpl $0x7, %ebp jg 0x285c1 movl $0x8, %ebp leaq 0x16cf2(%rip), %rsi # 0x3f2ab movq %rbx, %rdi callq 0x174e2 movl %ebp, 0x1d8(%rb...
/thpatch[P]thtk/extlib/libpng/pngwrite.c
png_image_write_init
static int png_image_write_init(png_imagep image) { png_structp png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, image, png_safe_error, png_safe_warning); if (png_ptr != NULL) { png_infop info_ptr = png_create_info_struct(png_ptr); if (info_ptr != NULL) { png_control...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq $0x0, (%rsp) leaq 0x11c5a(%rip), %rdi # 0x3a4ee leaq -0x10dc0(%rip), %rdx # 0x17adb leaq -0x10cf8(%rip), %rcx # 0x17baa movq %rbx, %rsi xorl %r8d, %r8d xorl %r9d, %r9d callq 0x27dc8 movq %rax, 0x18(%rsp) testq %rax, %rax je 0x2891d movq %r...
/thpatch[P]thtk/extlib/libpng/pngwrite.c
png_write_IHDR
void /* PRIVATE */ png_write_IHDR(png_structrp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int compression_type, int filter_type, int interlace_type) { png_byte buf[13]; /* Buffer to store the IHDR info */ int is_invalid_depth; png_debug(1, "in png_write_IHDR"); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %edx, 0x4(%rsp) movq %rdi, %rbx cmpl $0x6, %r8d ja 0x2a33d movl %r8d, %ebp movl %ecx, %r14d movl %esi, %r13d movl %r8d, %eax leaq 0x154b7(%rip), %rcx # 0x3f5b8 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax cmpl $0x10, %r...
/thpatch[P]thtk/extlib/libpng/pngwutil.c
png_compress_IDAT
void /* PRIVATE */ png_compress_IDAT(png_structrp png_ptr, png_const_bytep input, png_alloc_size_t input_len, int flush) { if (png_ptr->zowner != png_IDAT) { /* First time. Ensure we have a temporary buffer for compression and * trim the buffer list if it has more than one entry to free memory....
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, 0x4(%rsp) movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %rbx cmpl $0x49444154, 0x138(%rdi) # imm = 0x49444154 je 0x2a505 movq 0x1b0(%rbx), %rax testq %rax, %rax je 0x2a4a7 movq (%rax), %rsi testq %rsi, %rsi je 0x2a4c7 movq $0x0, (%rax)...
/thpatch[P]thtk/extlib/libpng/pngwutil.c
png_deflate_claim
static int png_deflate_claim(png_structrp png_ptr, png_uint_32 owner, png_alloc_size_t data_size) { if (png_ptr->zowner != 0) { #if defined(PNG_WARNINGS_SUPPORTED) || defined(PNG_ERROR_TEXT_SUPPORTED) char msg[64]; PNG_STRING_FROM_CHUNK(msg, owner); msg[4] = ':'; msg[5] = ' '; P...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rdx, %r12 movl %esi, %edx movq %rdi, %rbx movl 0x138(%rdi), %eax testl %eax, %eax movl %esi, 0xc(%rsp) je 0x2a76e movl %edx, %ecx shrl $0x18, %ecx leaq 0x10(%rsp), %r14 movb %cl, (%r14) movl %edx, %ecx shrl $0x10, %ecx movb %cl, 0x...
/thpatch[P]thtk/extlib/libpng/pngwutil.c
CLI::Option::check_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
CLI11_NODISCARD CLI11_INLINE bool Option::check_name(const std::string &name) const { if(name.length() > 2 && name[0] == '-' && name[1] == '-') return check_lname(name.substr(2)); if(name.length() > 1 && name.front() == '-') return check_sname(name.substr(1)); if(!pname_.empty()) { ...
pushq %rbp movq %rsp, %rbp subq $0x1f0, %rsp # imm = 0x1F0 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x1b8(%rbp) movq -0x18(%rbp), %rdi callq 0x6690 cmpq $0x2, %rax jbe 0x3351e movq -0x18(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x64d0 movsbl (%rax), %eax cmpl ...
/CLIUtils[P]CLI11/include/CLI/impl/Option_inl.hpp
CLI::detail::format_aliases(std::ostream&, 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&, unsigned long)
CLI11_INLINE std::ostream &format_aliases(std::ostream &out, const std::vector<std::string> &aliases, std::size_t wid) { if(!aliases.empty()) { out << std::setw(static_cast<int>(wid)) << " aliases: "; bool front = true; for(const auto &alias : aliases) { if(!front) { ...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0xad70 testb $0x1, %al jne 0x3e937 movq -0x8(%rbp), %rax movq %rax, -0xc0(%rbp) movq -0x18(%rbp), %rax movl %eax, %edi callq 0x3e6d0 movq -0xc0(%rbp), %rdi movl %eax, -0x1c(%rbp) ...
/CLIUtils[P]CLI11/include/CLI/impl/StringTools_inl.hpp
sprintf
int sprintf( char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, ... ) { int rc; va_list ap; va_start( ap, format ); rc = vsnprintf( s, SIZE_MAX, format, ap ); /* TODO: replace with non-checking call */ va_end( ap ); return rc; }
subq $0xd8, %rsp movq %rsi, %r10 leaq 0x20(%rsp), %rsi movq %rdx, 0x10(%rsi) movq %rcx, 0x18(%rsi) movq %r8, 0x20(%rsi) movq %r9, 0x28(%rsi) testb %al, %al je 0x82c6 movaps %xmm0, 0x50(%rsp) movaps %xmm1, 0x60(%rsp) movaps %xmm2, 0x70(%rsp) movaps %xmm3, 0x80(%rsp) movaps %xmm4, 0x90(%rsp) movaps %xmm5, 0xa0(%rsp) mova...
/DevSolar[P]pdclib/functions/stdio/sprintf.c
PDCLIB_print_double
void _PDCLIB_print_double( double value, struct _PDCLIB_status_t * status ) { unsigned char bytes[ sizeof( double ) ]; int exp; memcpy( bytes, &value, sizeof( double ) ); exp = _PDCLIB_DBL_EXP( bytes ) - _PDCLIB_DBL_BIAS; if ( exp == _PDCLIB_DBL_MAX_EXP ) { /* ...
pushq %rax movq %rdi, %r9 leaq 0x6(%rsp), %rcx movq %xmm0, -0x6(%rcx) movq %xmm0, %rax movq %rax, %rdi shrq $0x38, %rdi movl %edi, %edx andl $0x7f, %edx shll $0x4, %edx shrq $0x34, %rax andl $0xf, %eax leal (%rdx,%rax), %r8d addl $0xfffffc01, %r8d # imm = 0xFFFFFC01 xorl %esi, %esi ucomisd %xmm0, %xmm0 setp %sil ...
/DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_print_fp.c
PDCLIB_print_ldouble
void _PDCLIB_print_ldouble( long double value, struct _PDCLIB_status_t * status ) { unsigned char bytes[ sizeof( long double ) ]; int exp; memcpy( bytes, &value, sizeof( long double ) ); exp = _PDCLIB_LDBL_EXP( bytes ) - _PDCLIB_LDBL_BIAS; if ( exp == _PDCLIB_LDBL_MAX_EXP ) { /* ...
subq $0x28, %rsp fldt 0x30(%rsp) fld %st(0) fstpt (%rsp) movq (%rsp), %rdx fld %st(0) fstpt 0x10(%rsp) movzwl 0x8(%rsp), %eax movl %eax, %ecx andl $0x7fff, %ecx # imm = 0x7FFF addl $0xffffc001, %ecx # imm = 0xFFFFC001 xorl %esi, %esi fucompi %st(0), %st setp %sil addl $0x7fffffff, %esi # imm = 0x7...
/DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_print_fp.c
CPU::TYA()
void CPU::TYA() { A = Y; if (A == 0) { Z = 1; } else { Z = 0; } if (A & (1 << 7)) { N = 1; } else { N = 0; } }
movb 0x2c(%rdi), %cl movb 0x2e(%rdi), %al movb %cl, 0x2a(%rdi) testb %cl, %cl je 0x10055 andb $-0x41, %al testb %cl, %cl jns 0x10057 orb $0x1, %al jmp 0x10059 orb $0x40, %al andb $-0x2, %al movb %al, 0x2e(%rdi) retq nop
/fgssfgss[P]NESEmulator/src/CPU.cpp
stbi__vertical_flip
static void stbi__vertical_flip(void *image, int w, int h, int bytes_per_pixel) { int row; size_t bytes_per_row = (size_t) w * bytes_per_pixel; stbi_uc temp[2048]; stbi_uc *bytes = (stbi_uc *) image; for (row = 0; row < (h >> 1); row++) { stbi_uc *row0 = bytes + row * bytes_per_row; ...
subq $0x858, %rsp # imm = 0x858 movq %rdi, 0x850(%rsp) movl %esi, 0x84c(%rsp) movl %edx, 0x848(%rsp) movl %ecx, 0x844(%rsp) movslq 0x84c(%rsp), %rax movslq 0x844(%rsp), %rcx imulq %rcx, %rax movq %rax, 0x838(%rsp) movq 0x850(%rsp), %rax movq %rax, 0x28(%rsp) movl $0x0, 0x840(%rsp) movl 0x840(%rsp), %eax movl...
/cpuimage[P]skin_smoothing/stb_image.h
stbi__jpeg_load
static void *stbi__jpeg_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri) { unsigned char *result; stbi__jpeg *j = (stbi__jpeg *) stbi__malloc(sizeof(stbi__jpeg)); STBI_NOTUSED(ri); j->s = s; stbi__setup_jpeg(j); result = load_jpeg_image(j, x, y, comp, req_co...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movl %r8d, 0x24(%rsp) movq %r9, 0x18(%rsp) movl $0x4888, %edi # imm = 0x4888 callq 0x3820 movq %rax, 0x8(%rsp) movq 0x40(%rsp), %rcx movq 0x8(%rsp), %rax movq %rcx, (%rax) movq 0x8(%rsp), %rdi callq 0xdd20...
/cpuimage[P]skin_smoothing/stb_image.h
stbi__process_marker
static int stbi__process_marker(stbi__jpeg *z, int m) { int L; switch (m) { case STBI__MARKER_none: // no marker found return stbi__err("expected marker", "Corrupt JPEG"); case 0xDD: // DRI - specify restart interval if (stbi__get16be(z->s) != 4) return stbi__err("bad DR...
subq $0xa8, %rsp movq %rdi, 0x98(%rsp) movl %esi, 0x94(%rsp) movl 0x94(%rsp), %eax movl %eax, 0x8(%rsp) subl $0xc4, %eax je 0x14c21 jmp 0x149de movl 0x8(%rsp), %eax subl $0xdb, %eax je 0x14a82 jmp 0x149ef movl 0x8(%rsp), %eax subl $0xdd, %eax je 0x14a25 jmp 0x149fc movl 0x8(%rsp), %eax subl $0xff, %eax jne 0x14e84 jmp ...
/cpuimage[P]skin_smoothing/stb_image.h
stbi__addsizes_valid
static int stbi__addsizes_valid(int a, int b) { if (b < 0) return 0; // now 0 <= b <= INT_MAX, hence also // 0 <= INT_MAX - b <= INTMAX. // And "a + b <= INT_MAX" (which might overflow) is the // same as a <= INT_MAX - b (no overflow) return a <= INT_MAX - b; }
movl %edi, -0x8(%rsp) movl %esi, -0xc(%rsp) cmpl $0x0, -0xc(%rsp) jge 0x16489 movl $0x0, -0x4(%rsp) jmp 0x164a4 movl -0x8(%rsp), %eax movl $0x7fffffff, %ecx # imm = 0x7FFFFFFF subl -0xc(%rsp), %ecx cmpl %ecx, %eax setle %al andb $0x1, %al movzbl %al, %eax movl %eax, -0x4(%rsp) movl -0x4(%rsp), %eax retq nopl (%ra...
/cpuimage[P]skin_smoothing/stb_image.h
nlohmann::detail::lexer<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>>::get()
std::char_traits<char>::int_type get() { ++position.chars_read_total; ++position.chars_read_current_line; if (next_unget) { // just reset the next_unget variable and work with current next_unget = false; } else { current = ...
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movdqu 0x18(%rdi), %xmm0 pcmpeqd %xmm1, %xmm1 psubq %xmm1, %xmm0 movdqu %xmm0, 0x18(%rdi) cmpb $0x1, 0x14(%rdi) jne 0x3eba1 movb $0x0, 0x14(%rbx) movl 0x10(%rbx), %eax jmp 0x3ebac movq (%rbx), %rdi movq (%rdi), %rax callq *(%rax) movl %eax, 0x10(%rbx) cmpl $-0x1, %eax je 0x3e...
/google[P]jsonnet/third_party/json/nlohmann/json.hpp
c4::DumpResults c4::detail::format_dump_resume<void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const::'lambda'(c4::basic_substring<char const>)&, c4::basic_substring<char const>>(unsigned long, void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const::'lambda'(c4::basic_substring<char const>)&,...
inline size_t find(ro_substr pattern, size_t start_pos=0) const { C4_ASSERT(start_pos == npos || (start_pos >= 0 && start_pos <= len)); if(len < pattern.len) return npos; for(size_t i = start_pos, e = len - pattern.len + 1; i < e; ++i) { bool gotit = true; for...
testb $0x1, 0xf7bac(%rip) # 0x1394a8 je 0x4190e pushq %rax callq 0xb4793 testb %al, %al leaq 0x8(%rsp), %rsp je 0x4190e int3 leaq 0xb65b5(%rip), %rdi # 0xf7eca leaq 0xb665b(%rip), %rdx # 0xf7f77 leaq 0xb6b3d(%rip), %rcx # 0xf8460 movl $0x1611, %esi # imm = 0x1611 xorl %eax, %eax jmp 0xb4831
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::DumpResults c4::detail::format_dump_resume<void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const::'lambda'(c4::basic_substring<char const>)&, unsigned long, unsigned long>(unsigned long, void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const::'lambda'(c4::basic_substring<char const>)&, c4...
inline size_t find(ro_substr pattern, size_t start_pos=0) const { C4_ASSERT(start_pos == npos || (start_pos >= 0 && start_pos <= len)); if(len < pattern.len) return npos; for(size_t i = start_pos, e = len - pattern.len + 1; i < e; ++i) { bool gotit = true; for...
testb $0x1, 0xf7b5a(%rip) # 0x1394a8 je 0x41960 pushq %rax callq 0xb4793 testb %al, %al leaq 0x8(%rsp), %rsp je 0x41960 int3 leaq 0xb6563(%rip), %rdi # 0xf7eca leaq 0xb6609(%rip), %rdx # 0xf7f77 leaq 0xb6aeb(%rip), %rcx # 0xf8460 movl $0x1611, %esi # imm = 0x1611 xorl %eax, %eax jmp 0xb4831
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::DumpResults c4::detail::format_dump_resume<void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const::'lambda'(c4::basic_substring<char const>)&, unsigned long>(unsigned long, void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const::'lambda'(c4::basic_substring<char const>)&, c4::DumpResults, ...
inline size_t find(ro_substr pattern, size_t start_pos=0) const { C4_ASSERT(start_pos == npos || (start_pos >= 0 && start_pos <= len)); if(len < pattern.len) return npos; for(size_t i = start_pos, e = len - pattern.len + 1; i < e; ++i) { bool gotit = true; for...
testb $0x1, 0xf7af0(%rip) # 0x1394a8 je 0x419ca pushq %rax callq 0xb4793 testb %al, %al leaq 0x8(%rsp), %rsp je 0x419ca int3 leaq 0xb64f9(%rip), %rdi # 0xf7eca leaq 0xb659f(%rip), %rdx # 0xf7f77 leaq 0xb6a81(%rip), %rcx # 0xf8460 movl $0x1611, %esi # imm = 0x1611 xorl %eax, %eax jmp 0xb4831
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::DumpResults c4::detail::format_dump_resume<void c4::yml::Parser::_err<c4::basic_substring<char const>>(c4::basic_substring<char const>, c4::basic_substring<char const> const& restrict) const::'lambda'(c4::basic_substring<char const>)&, c4::basic_substring<char const>, unsigned long>(unsigned long, void c4::yml::Par...
inline size_t find(ro_substr pattern, size_t start_pos=0) const { C4_ASSERT(start_pos == npos || (start_pos >= 0 && start_pos <= len)); if(len < pattern.len) return npos; for(size_t i = start_pos, e = len - pattern.len + 1; i < e; ++i) { bool gotit = true; for...
testb $0x1, 0xf77fc(%rip) # 0x1394a8 je 0x41cbe pushq %rax callq 0xb4793 testb %al, %al leaq 0x8(%rsp), %rsp je 0x41cbe int3 leaq 0xb6205(%rip), %rdi # 0xf7eca leaq 0xb62ab(%rip), %rdx # 0xf7f77 leaq 0xb678d(%rip), %rcx # 0xf8460 movl $0x1611, %esi # imm = 0x1611 xorl %eax, %eax jmp 0xb4831
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
jsonnet_tla_var
void jsonnet_tla_var(JsonnetVm *vm, const char *key, const char *val) { vm->tla[key] = VmExt(val, false); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x58(%rsp), %r15 leaq 0xf(%rsp), %rax movq %r15, %rdi movq %rdx, %rsi movq %rax, %rdx callq 0x4928e leaq 0x20(%rsp), %r12 movq %r12, -0x10(%r12) movq (%r15), %rsi movq 0x8(%r15), %rdx addq %rsi, %rdx leaq 0x10(%rsp), %rdi ...
/google[P]jsonnet/core/libjsonnet.cpp
jsonnet_evaluate_file_stream
char *jsonnet_evaluate_file_stream(JsonnetVm *vm, const char *filename, int *error) { TRY return jsonnet_evaluate_file_aux(vm, filename, error, STREAM); CATCH("jsonnet_evaluate_file_stream") return nullptr; // Never happens. }
pushq %rbx movl $0x2, %ecx callq 0x47c38 popq %rbx retq movq %rax, %rbx cmpl $0x2, %edx jne 0x47f5e movq %rbx, %rdi callq 0x3e1c0 callq 0x46c36 cmpl $0x1, %edx jne 0x47fb3 movq %rbx, %rdi callq 0x3e1c0 movq %rax, %rbx movq 0xf1073(%rip), %rdi # 0x138fe8 leaq 0xaa38c(%rip), %rsi # 0xf2308 movl $0x4e, %edx callq ...
/google[P]jsonnet/core/libjsonnet.cpp
default_import_callback(void*, char const*, char const*, char**, char**, unsigned long*)
static int default_import_callback(void *ctx, const char *dir, const char *file, char **found_here_cptr, char **buf, size_t *buflen) { auto *vm = static_cast<JsonnetVm *>(ctx); std::string input, found_here, err_msg; ImportStatus status = try_path(dir, file, input, found...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, %r14 movq %r8, %rbx movq %rcx, %r15 movq %rdx, %r12 movq %rdi, %r13 leaq 0x90(%rsp), %rcx movq %rcx, -0x10(%rcx) xorl %eax, %eax movq %rax, -0x8(%rcx) movb %al, (%rcx) leaq 0x70(%rsp), %rcx movq %rcx, -0x10(%rcx) movq %rax, -0x...
/google[P]jsonnet/core/libjsonnet.cpp
jsonnet::internal::operator<<(std::ostream&, jsonnet::internal::StaticError const&)
static inline std::ostream &operator<<(std::ostream &o, const StaticError &err) { o << err.toString(); return o; }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x4ae5c movq (%r14), %rsi movq 0x8(%r14), %rdx movq %rbx, %rdi callq 0x3e4c0 leaq 0x18(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x48f6c movq 0x18(%rsp), %rsi incq %rsi callq 0x3e440 movq %rbx, %rax addq $0x28,...
/google[P]jsonnet/core/static_error.h
jsonnet::internal::operator<<(std::ostream&, jsonnet::internal::LocationRange const&)
static inline std::ostream &operator<<(std::ostream &o, const LocationRange &loc) { if (loc.file.length() > 0) o << loc.file; if (loc.isSet()) { if (loc.file.length() > 0) o << ":"; if (loc.begin.line == loc.end.line) { if (loc.begin.column == loc.end.column - 1) ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rdx testq %rdx, %rdx je 0x4908b movq (%r14), %rsi movq %rbx, %rdi callq 0x3e4c0 movq 0x20(%r14), %rsi testq %rsi, %rsi je 0x491ba cmpq $0x0, 0x8(%r14) je 0x490b7 leaq 0xc25c3(%rip), %rsi # 0x10b669 movl $0x1, %ed...
/google[P]jsonnet/core/static_error.h
jsonnet::internal::static_analysis(jsonnet::internal::AST*, bool, std::set<jsonnet::internal::Identifier const*, std::less<jsonnet::internal::Identifier const*>, std::allocator<jsonnet::internal::Identifier const*>> const&)
static IdSet static_analysis(AST *ast_, bool in_object, const IdSet &vars) { IdSet r; switch (ast_->type) { case AST_APPLY: { assert(dynamic_cast<Apply *>(ast_)); auto* ast = static_cast<Apply *>(ast_); append(r, static_analysis(ast->target, in_object, vars)); for (const aut...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rsi, %r14 leaq 0x8(%rdi), %r13 movl $0x0, 0x8(%rdi) xorl %eax, %eax movq %rax, 0x10(%rdi) movq %r13, 0x18(%rdi) movq %r13, 0x20(%rdi) movq %rax, 0x28(%rdi) movl 0x48(%rsi), %eax cmpq $0x1e, %rax movq %rdi, 0x30(%rsp) ja 0x61b70 mov...
/google[P]jsonnet/core/static_analysis.cpp
jsonnet::internal::jsonnet_string_unescape(jsonnet::internal::LocationRange const&, std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t>> const&)
UString jsonnet_string_unescape(const LocationRange &loc, const UString &s) { UString r; const char32_t *s_ptr = s.c_str(); for (const char32_t *c = s_ptr; *c != U'\0'; ++c) { switch (*c) { case '\\': switch (*(++c)) { case '"': cas...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1d8, %rsp # imm = 0x1D8 movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, 0x28(%rsp) movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movl $0x0, 0x10(%rdi) movq (%rdx), %r12 leaq 0x91044(%rip), %r13 # 0xf3ec8 movl (%r12), %esi...
/google[P]jsonnet/core/string_utils.cpp
jsonnet::internal::(anonymous namespace)::Interpreter::builtinObjectHasEx(jsonnet::internal::LocationRange const&, std::vector<jsonnet::internal::(anonymous namespace)::Value, std::allocator<jsonnet::internal::(anonymous namespace)::Value>> const&)
const AST *builtinObjectHasEx(const LocationRange &loc, const std::vector<Value> &args) { validateBuiltinArgs( loc, "objectHasEx", args, {Value::OBJECT, Value::STRING, Value::BOOLEAN}); const auto *obj = static_cast<const HeapObject *>(args[0].v.h); const auto *str = static_cast<...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0x30(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0x854fc(%rip), %rsi # 0xf4bfe leaq 0x85500(%rip), %rdx # 0xf4c09 leaq 0x20(%rsp), %rdi callq 0x4aff4 movabsq $0x1300000012, %rax # imm = 0...
/google[P]jsonnet/core/vm.cpp
jsonnet::internal::(anonymous namespace)::Interpreter::builtinExp(jsonnet::internal::LocationRange const&, std::vector<jsonnet::internal::(anonymous namespace)::Value, std::allocator<jsonnet::internal::(anonymous namespace)::Value>> const&)
const AST *builtinExp(const LocationRange &loc, const std::vector<Value> &args) { validateBuiltinArgs(loc, "exp", args, {Value::NUMBER}); scratch = makeNumberCheck(loc, std::exp(args[0].v.d)); return nullptr; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx leaq 0x38(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0x8496e(%rip), %rsi # 0xf4c29 leaq 0x8496a(%rip), %rdx # 0xf4c2c leaq 0x28(%rsp), %rdi callq 0x4aff4 leaq 0x24(%rsp), %rsi movl $0x2, (%rsi) leaq 0x8(%rs...
/google[P]jsonnet/core/vm.cpp
jsonnet::internal::(anonymous namespace)::Interpreter::builtinModulo(jsonnet::internal::LocationRange const&, std::vector<jsonnet::internal::(anonymous namespace)::Value, std::allocator<jsonnet::internal::(anonymous namespace)::Value>> const&)
const AST *builtinModulo(const LocationRange &loc, const std::vector<Value> &args) { validateBuiltinArgs(loc, "modulo", args, {Value::NUMBER, Value::NUMBER}); double a = args[0].v.d; double b = args[1].v.d; if (b == 0) throw makeError(loc, "division by zero."); sc...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0x84654(%rip), %rsi # 0xf4c36 leaq 0x84653(%rip), %rdx # 0xf4c3c movq %rsp, %rdi callq 0x4aff4 movabsq $0x200000002, %rax # imm = 0x20000...
/google[P]jsonnet/core/vm.cpp
c4::yml::Emitter<c4::yml::WriterOStream<std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>>>::_write_scalar_folded(c4::basic_substring<char const>, unsigned long, bool)
void Emitter<Writer>::_write_scalar_folded(csubstr s, size_t ilevel, bool explicit_key) { if(explicit_key) { this->Writer::_do_write("? "); } RYML_ASSERT(s.find("\r") == csubstr::npos); csubstr trimmed = s.trimr('\n'); size_t numnewlines_at_end = s.len - trimmed.len; if(numnewlines_a...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movl %r8d, %ebp movq %rcx, 0x30(%rsp) movq %rdi, %rbx movq %rsi, 0x78(%rsp) movq %rdx, 0x80(%rsp) testl %r8d, %r8d je 0x96bf1 movq (%rbx), %rdi leaq 0x617a3(%rip), %rsi # 0xf8385 movl $0x2, %edx callq 0x3e550 addq $0x2, 0x8(%rbx) lea...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
jsonnet::internal::StripAllButComments::file(jsonnet::internal::AST*&, std::vector<jsonnet::internal::FodderElement, std::allocator<jsonnet::internal::FodderElement>>&)
virtual void file(AST *&body, Fodder &final_fodder) { expr(body); fodder(final_fodder); body = alloc.make<LiteralNull>(body->location, comments); final_fodder.clear(); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq (%rdi), %rax callq *0x30(%rax) movq (%r15), %rax movq %r15, %rdi movq %rbx, %rsi callq *0x8(%rax) movq 0x8(%r15), %rdi movq (%r14), %rsi addq $0x8, %rsi addq $0x28, %r15 movq %r15, %rdx callq 0xad454 movq %rax, (...
/google[P]jsonnet/core/formatter.cpp
jsonnet::internal::SortImports::buildGroupAST(std::vector<jsonnet::internal::SortImports::ImportElem, std::allocator<jsonnet::internal::SortImports::ImportElem>>&, jsonnet::internal::AST*, std::vector<jsonnet::internal::FodderElement, std::allocator<jsonnet::internal::FodderElement>> const&)
AST *buildGroupAST(ImportElems &imports, AST *body, const Fodder &groupOpenFodder) { for (int i = imports.size() - 1; i >= 0; --i) { auto &import = imports[i]; Fodder fodder; if (i == 0) { fodder = groupOpenFodder; } else { fodd...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x168, %rsp # imm = 0x168 movq %rcx, 0x28(%rsp) movq %rdi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movq 0x8(%rsi), %rcx movq %rsi, 0x20(%rsp) subq (%rsi), %rcx sarq $0x3, %rcx movabsq $0x34f72c234f72c235, %rax # imm = 0x34F72C234F72C235 imulq %...
/google[P]jsonnet/core/formatter.cpp
jsonnet::internal::FixNewlines::argParamOpenFodder(jsonnet::internal::ArgParam&)
Fodder &argParamOpenFodder(ArgParam &param) { if (param.id != nullptr) { return param.idFodder; } else if (param.expr != nullptr) { return open_fodder(param.expr); } else { std::cerr << "Invalid ArgParam" << std::endl; abort(); } }
pushq %rax movq %rsi, %rax cmpq $0x0, 0x18(%rsi) jne 0xaba73 movq 0x38(%rax), %rdi testq %rdi, %rdi je 0xaba75 callq 0xa5df6 addq $0x50, %rax popq %rcx retq movq 0x8d56c(%rip), %rdi # 0x138fe8 leaq 0x5ea52(%rip), %rsi # 0x10a4d5 callq 0x3e420 movq %rax, %rdi callq 0x3e200 callq 0x3e270 nop
/google[P]jsonnet/core/formatter.cpp
jsonnet::internal::FixNewlines::shouldExpand(jsonnet::internal::ObjectComprehension*)
bool shouldExpand(ObjectComprehension *comp) { for (auto &field : comp->fields) { if (countNewlines(objectFieldOpenFodder(field)) > 0) { return true; } } for (auto &spec : comp->specs) { if (countNewlines(spec.openFodder) > 0) { ...
pushq %rax movq 0x80(%rsi), %rax movq 0x88(%rsi), %rcx cmpq %rcx, %rax je 0xac48f movq 0x70(%rax), %rdx addq $0x50, %rdx leaq 0x8(%rax), %rdi cmpl $0x3, (%rax) cmoveq %rdx, %rdi movq (%rdi), %rdx movq 0x8(%rdi), %rdi cmpq %rdi, %rdx je 0xac487 xorl %r8d, %r8d movl (%rdx), %r10d cmpl $0x2, %r10d je 0xac462 movl $0x0, %r...
/google[P]jsonnet/core/formatter.cpp
jsonnet::internal::FixPlusObject::visitExpr(jsonnet::internal::AST*&)
void visitExpr(AST *&expr) { if (auto *bin_op = dynamic_cast<Binary *>(expr)) { // Could relax this to allow more ASTs on the LHS but this seems OK for now. if (dynamic_cast<Var *>(bin_op->left) || dynamic_cast<Index *>(bin_op->left)) { if (AST *rhs = dynamic_cast<Obj...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq (%rsi), %rdi testq %rdi, %rdi je 0xacd52 leaq 0x8a01d(%rip), %rsi # 0x136ca0 leaq 0x8a5f6(%rip), %rdx # 0x137280 xorl %ecx, %ecx callq 0x3e4a0 testq %rax, %rax je 0xacd52 movq %rax, %r15 movq 0x80(%rax), %r12 testq %r12,...
/google[P]jsonnet/core/formatter.cpp
jsonnet::internal::EnforceCommentStyle::fixComment(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, bool)
void fixComment(std::string &s, bool preserve_hash) { if (opts.commentStyle == 'h' && s[0] == '/') { s = "#" + s.substr(2); } if (opts.commentStyle == 's' && s[0] == '#') { if (preserve_hash && s[1] == '!') return; s = "//" + s.substr(1); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movl %edx, %ebp movq %rsi, %rbx movb 0x11(%rdi), %al cmpb $0x68, %al jne 0xada87 movq (%rbx), %rax cmpb $0x2f, (%rax) jne 0xadb62 movq %rdi, %r14 movq %rsp, %r15 movl $0x2, %edx movq %r15, %rdi movq %rbx, %rsi movq $-0x1, %rcx callq 0x3e460 leaq 0x...
/google[P]jsonnet/core/formatter.cpp
jsonnet::internal::jsonnet_unlex(std::__cxx11::list<jsonnet::internal::Token, std::allocator<jsonnet::internal::Token>> const&)
std::string jsonnet_unlex(const Tokens &tokens) { std::stringstream ss; for (const auto &t : tokens) { for (const auto &f : t.fodder) { switch (f.kind) { case FodderElement::LINE_END: { if (f.comment.size() > 0) { ss << "LineEnd(" <...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rsi, %r14 movq %rdi, %rbx leaq 0x20(%rsp), %rdi callq 0x3e300 movq (%r14), %rbp movq %r14, 0x10(%rsp) cmpq %r14, %rbp je 0xb297e leaq 0x30(%rsp), %r14 leaq 0x7(%rsp), %r12 movq %rbx, 0x8(%rsp) movq 0x18(%r...
/google[P]jsonnet/core/lexer.cpp
jsonnet::internal::strip_ws(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int)
static std::string strip_ws(const std::string &s, unsigned margin) { if (s.size() == 0) return s; // Avoid underflow below. size_t i = 0; while (i < s.length() && is_horz_ws(s[i]) && i < margin) i++; size_t j = s.size(); while (j > i && is_horz_ws(s[j - 1])) { j--; } ...
testq %rdx, %rdx je 0xb2a28 movl %ecx, %r8d xorl %eax, %eax movabsq $0x100002200, %rcx # imm = 0x100002200 movzbl (%rsi,%rax), %r9d cmpq $0x20, %r9 ja 0xb2a3a btq %r9, %rcx jae 0xb2a3a cmpq %rax, %r8 je 0xb2a37 incq %rax cmpq %rax, %rdx jne 0xb2a05 movq %rdx, %rax jmp 0xb2a5c leaq 0x10(%rdi), %rax movq %rax, (%rdi...
/google[P]jsonnet/core/lexer.cpp
MD5::update(unsigned char const*, unsigned int)
void MD5::update(const unsigned char input[], size_type length) { // compute number of bytes mod 64 size_type index = count[0] / 8 % blocksize; // Update number of bits if ((count[0] += (length << 3)) < (length << 3)) count[1]++; count[1] += (length >> 29); // number of bytes we need to fill in buff...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %edx, %ebx movq %rdi, %r14 movl 0x44(%rdi), %eax movl %eax, %r13d shrl $0x3, %r13d andl $0x3f, %r13d leal (,%rbx,8), %ecx shrl $0x1d, %edx addl %eax, %ecx movl %ecx, 0x44(%rdi) adcl %edx, 0x48(%rdi) movq %rsi, %r15 movl $0x40, %ebp subl %...
/google[P]jsonnet/third_party/md5/md5.cpp
c4::handle_error(c4::srcloc, char const*, ...)
void handle_error(srcloc where, const char *fmt, ...) { char buf[1024]; size_t msglen = 0; if(s_error_flags & (ON_ERROR_LOG|ON_ERROR_CALLBACK)) { va_list args; va_start(args, fmt); int ilen = vsnprintf(buf, sizeof(buf), fmt, args); // ss.vprintf(fmt, args); va_end(args); ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x4d8, %rsp # imm = 0x4D8 movl %esi, %ebx movq %rdi, %r14 movq %rcx, 0x38(%rsp) movq %r8, 0x40(%rsp) movq %r9, 0x48(%rsp) testb %al, %al je 0xb488e movaps %xmm0, 0x50(%rsp) movaps %xmm1, 0x60(%rsp) movaps %xmm2, 0x70(%rsp) movaps %xmm3, 0x80(%rsp) movaps %xmm...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::detail::aalloc_impl(unsigned long, unsigned long)
void* aalloc_impl(size_t size, size_t alignment) { void *mem; #if defined(C4_WIN) || defined(C4_XBOX) mem = ::_aligned_malloc(size, alignment); C4_CHECK(mem != nullptr || size == 0); #elif defined(C4_ARM) // https://stackoverflow.com/questions/53614538/undefined-reference-to-posix-memalign-in-arm-gcc ...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 cmpq $0x7, %rsi jbe 0xb4a3c leaq 0x8(%rsp), %rdi movq %r14, %rdx callq 0x3e220 testl %eax, %eax jne 0xb4a43 movq 0x8(%rsp), %r15 leaq -0x1(%rbx), %rax testq %r15, %rax jne 0xb4a7d movq %r15, %rax addq $0x10, %rsp popq %rbx popq %r14 popq ...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::base64_valid(c4::basic_substring<char const>)
bool base64_valid(csubstr encoded) { if(encoded.len % 4) return false; for(const char c : encoded) { if(c < 0/* || c >= 128*/) return false; if(c == '=') continue; if(detail::base64_char_to_sextet_[c] == char(-1)) return false; } return tru...
testb $0x3, %sil je 0xb52bd xorl %eax, %eax retq movb $0x1, %al testq %rsi, %rsi je 0xb52bc xorl %ecx, %ecx leaq 0x55bc3(%rip), %rdx # 0x10ae90 movsbq (%rdi,%rcx), %r8 testq %r8, %r8 js 0xb52ba cmpb $0x3d, %r8b je 0xb52e4 cmpb $-0x1, (%r8,%rdx) je 0xb52ba incq %rcx cmpq %rcx, %rsi jne 0xb52cd jmp 0xb52bc
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::yml::Parser::_handle_seq_flow()
bool Parser::_handle_seq_flow() { _c4dbgpf("handle_seq_flow: node_id={} level={}", m_state->node_id, m_state->level); csubstr rem = m_state->line_contents.rem; _RYML_CB_ASSERT(m_stack.m_callbacks, has_none(RKEY)); _RYML_CB_ASSERT(m_stack.m_callbacks, has_all(RSEQ|FLOW)); if(rem.begins_with(' ')) ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %rdi, %rbx movq 0x9f0(%rdi), %rax movups 0x78(%rax), %xmm0 movaps %xmm0, 0x30(%rsp) movl (%rax), %eax testb $0x40, %al je 0xcaa5f movups 0x43b56(%rip), %xmm0 # 0x10e50f movups %xmm0, 0x4f(%rsp) movaps 0x43b3b(%rip), %xmm0 ...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::yml::Parser::_start_seq(bool)
void Parser::_start_seq(bool as_child) { _c4dbgpf("start_seq (as child={})", as_child); if(has_all(RTOP|RUNK)) { _c4dbgpf("start_seq: moving key tag to val tag: '{}'", m_key_tag); m_val_tag = m_key_tag; m_key_tag.clear(); } addrem_flags(RSEQ|RVAL, RUNK); _RYML_CB_ASSERT(m...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x148, %rsp # imm = 0x148 movl %esi, %ebp movq %rdi, %rbx movq 0x9f0(%rdi), %rax movl (%rax), %ecx movl %ecx, %edx notl %edx testb $0x3, %dl jne 0xd0d40 movups 0xa08(%rbx), %xmm0 movups %xmm0, 0xa30(%rbx) xorps %xmm0, %xmm0 movups %xmm0,...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::yml::Parser::State::reset(char const*, unsigned long)
void reset(const char *file, size_t node_id_) { flags = RUNK|RTOP; level = 0; pos.name = to_csubstr(file); pos.offset = 0; pos.line = 1; pos.col = 1; node_id = node_id_; scalar_col = 0; scalar.clear(); ...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movl $0x3, (%rdi) movq $0x0, 0x8(%rdi) testq %rsi, %rsi je 0xe6d3f movq %r15, %rdi callq 0x3e1e0 jmp 0xe6d41 xorl %eax, %eax movq %r15, 0x48(%rbx) movq %rax, 0x50(%rbx) movl $0x1, %eax movq %rax, 0x38(%rbx) movq %rax, 0x40(%rbx) movq %r14,...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const
void Parser::_err(csubstr fmt, Args const& C4_RESTRICT ...args) const { char errmsg[RYML_ERRMSG_SIZE]; detail::_SubstrWriter writer(errmsg); auto dumpfn = [&writer](csubstr s){ writer.append(s); }; _parse_dump(dumpfn, fmt, args...); writer.append('\n'); _fmt_msg(dumpfn); size_t len = writer....
pushq %r14 pushq %rbx subq $0x458, %rsp # imm = 0x458 movq %rdi, %rbx leaq 0x50(%rsp), %rax leaq 0x38(%rsp), %r14 movq %rax, (%r14) movq $0x3ff, 0x8(%r14) # imm = 0x3FF movq $0x0, 0x10(%r14) movq %r14, 0x30(%rsp) movq %r14, %rdi callq 0xea92a movq 0x10(%r14), %rax cmpq 0x8(%r14), %rax jae 0xe6ea1 movq ...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::yml::Tree::set_val_anchor(unsigned long, c4::basic_substring<char const>)
void set_val_anchor(size_t node, csubstr anchor) { RYML_ASSERT( ! is_val_ref(node)); _p(node)->m_val.anchor = anchor.triml('&'); _add_flags(node, VALANCH); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rsi, %rbx movq %rdi, %r14 movq %rdx, 0x50(%rsp) movq %rcx, 0x58(%rsp) cmpq $-0x1, %rsi je 0xe72ed cmpq %rbx, 0x8(%r14) ja 0xe7360 testb $0x1, 0x521b4(%rip) # 0x1394a8 je 0xe7300 callq 0xb4793 testb %al, %al je 0xe7300 int3 xorl %eax, %eax...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
void c4::yml::Parser::_err<c4::basic_substring<char const>>(c4::basic_substring<char const>, c4::basic_substring<char const> const& restrict) const
void Parser::_err(csubstr fmt, Args const& C4_RESTRICT ...args) const { char errmsg[RYML_ERRMSG_SIZE]; detail::_SubstrWriter writer(errmsg); auto dumpfn = [&writer](csubstr s){ writer.append(s); }; _parse_dump(dumpfn, fmt, args...); writer.append('\n'); _fmt_msg(dumpfn); size_t len = writer....
pushq %r14 pushq %rbx subq $0x458, %rsp # imm = 0x458 movq %rdi, %rbx leaq 0x50(%rsp), %rax leaq 0x38(%rsp), %r14 movq %rax, (%r14) movq $0x3ff, 0x8(%r14) # imm = 0x3FF movq $0x0, 0x10(%r14) movq %r14, 0x30(%rsp) movq %r14, %rdi callq 0xe4c67 movq 0x10(%r14), %rax cmpq 0x8(%r14), %rax jae 0xe7ea3 movq ...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
bool c4::yml::Parser::_filter_nl<true, true>(c4::basic_substring<char>, unsigned long*, unsigned long*, unsigned long)
bool Parser::_filter_nl(substr r, size_t *C4_RESTRICT i, size_t *C4_RESTRICT pos, size_t indentation) { // a debugging scaffold: #if 0 #define _c4dbgfnl(fmt, ...) _c4dbgpf("filter_nl[{}]: " fmt, *i, __VA_ARGS__) #else #define _c4dbgfnl(...) #endif const char curr = r[*i]; bool replaced ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r8, 0x28(%rsp) movq %rcx, %r14 movq %rdx, %rbp movq %rsi, %rbx movq %rdi, %r15 movq %rsi, 0x68(%rsp) movq %rdx, 0x70(%rsp) movq (%rcx), %r12 cmpq %rdx, %r12 jae 0xe9839 movq %r14, %r13 movb (%rbx,%r12), %r14b cmpq $-0x1, %r9 movq %...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::basic_substring<char const>::pair_range_esc(char, char)
basic_substring pair_range_esc(CC open_close, CC escape=CC('\\')) { size_t b = find(open_close); if(b == npos) return basic_substring(); for(size_t i = b+1; i < len; ++i) { CC c = str[i]; if(c == open_close) { if(str[i-1] != escape)...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %edx, %ebp movl %esi, %r15d movq %rdi, %rbx xorl %r12d, %r12d xorl %edx, %edx callq 0x8eff4 cmpq $-0x1, %rax je 0xea80e movq %rax, %r14 movq 0x8(%rbx), %rcx leaq 0x1(%rax), %rdx xorl %eax, %eax movl $0x0, %r12d cmpq %rcx, %rdx jae 0...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::yml::NodeScalar::set_ref_maybe_replacing_scalar(c4::basic_substring<char const>, bool)
void set_ref_maybe_replacing_scalar(csubstr ref, bool has_scalar) noexcept { csubstr trimmed = ref.begins_with('*') ? ref.sub(1) : ref; anchor = trimmed; if((!has_scalar) || !scalar.ends_with(trimmed)) scalar = ref; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movl %ecx, %ebp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 testq %rdx, %rdx je 0xecdee cmpb $0x2a, (%r15) movq %r15, %rax movq %rbx, %rcx jne 0xecdf3 leaq 0x1(%r15), %rsi leaq -0x1(%rbx), %rdx leaq 0x8(%rsp), %rdi callq 0x87480 movq 0x8(%rsp), %rax movq ...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::yml::detail::stack<c4::yml::Parser::State, 16ul>::reserve(unsigned long)
void stack<T, N>::reserve(size_t sz) { if(sz <= m_size) return; if(sz <= N) { m_stack = m_buf; m_capacity = N; return; } T *buf = (T*) m_callbacks.m_allocate(sz * sizeof(T), m_stack, m_callbacks.m_user_data); memcpy(buf, m_stack, m_size * sizeof(T)); if(m_stac...
cmpq %rsi, 0x988(%rdi) jae 0xed4ec pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx cmpq $0x10, %rsi ja 0xed47d movq %rbx, 0x980(%rbx) movl $0x10, %r14d jmp 0xed4e0 imulq $0x98, %r14, %rdi movq 0x980(%rbx), %rsi movq 0x998(%rbx), %rdx callq *0x9a0(%rbx) movq %rax, %r15 movq 0x980(%rbx), %rsi imulq $0x98...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
c4::DumpResults c4::detail::format_dump_resume<void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const::'lambda'(c4::basic_substring<char const>)&, unsigned long, unsigned long>(unsigned long, void c4::yml::Parser::_err<>(c4::basic_substring<char const>) const::'lambda'(c4::basic_substring<char const>)&, c4...
DumpResults format_dump_resume(size_t currarg, DumperFn &&dumpfn, DumpResults results, substr buf, csubstr fmt, Arg const& C4_RESTRICT a, Args const& C4_RESTRICT ...more) { // we need to process the format even if we're not // going to print the first arguments because we're resuming size_t pos = fmt.find("...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %r9, %rbp movq %rcx, 0x30(%rsp) movq %rsi, %rbx leaq 0xb0(%rsp), %rax movq 0x8(%rax), %r12 movq $-0x1, %r15 cmpq $0x2, %r12 movq %rdx, 0x20(%rsp) movq %rdi, 0x28(%rsp) movq %r8, 0x48(%rsp) jae 0xee560 movq %rdx, %r14 movq %rdi, %r13...
/google[P]jsonnet/third_party/rapidyaml/ryml_all.hpp
train()
void train() { // initialize VW as usual, but use 'hook' as the search_task Trie dict = load_dictionary("phrase-table.vocab"); dict.build_max(); //dict.print(); string init_str("--search 29 -b 28 --quiet --search_task hook --ring_size 1024 --search_rollin learn --search_rollout none -q i: --ngram i15 --skips i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 leaq 0x161319(%rip), %rsi # 0x17b1ad leaq 0xb8(%rsp), %rdi callq 0x19674 leaq 0x60(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0x1612e8(%rip), %rdx # 0x17b199 leaq 0x50(%rsp), %rdi movq %rdx, %rsi callq 0x1df1...
/LAIRLAB[P]vowpal_wabbit/library/search_generate.cc
Trie::build_max(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void build_max(string prefix="") { max_count = terminus; max_string = prefix; for (size_t id=0; id<children.size(); id++) if (children[id]) { char c = action2char(id + 1); children[id]->build_max(prefix + c); if (children[id]->max_count > max_count) { max_count = children[...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax movq %rax, 0x10(%rdi) addq $0x18, %rdi movq %rdi, 0x20(%rsp) callq 0x14380 movq 0x38(%r14), %rax cmpq %rax, 0x40(%r14) je 0x1a6a3 xorl %r15d, %r15d movq %rsp, %r12 movq (%rax,%r15,8), %r1...
/LAIRLAB[P]vowpal_wabbit/library/search_generate.cc
ezexample::ezexample(vw*, bool, vw*)
ezexample(vw* this_vw, bool multiline = false, vw* this_vw_parser = nullptr) { setup_new_ezexample(this_vw, multiline, this_vw_parser); example_copies = v_init<example*>(); ec = get_new_example(); we_create_ec = true; if (vw_ref->add_constant) VW::add_constant_feature(*vw_ref, ec); }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x28(%rdi), %r14 xorps %xmm0, %xmm0 movups %xmm0, 0x28(%rdi) movq $0x0, 0x38(%rdi) movq %rsi, (%rdi) testq %rcx, %rcx cmoveq %rsi, %rcx movq %rcx, 0x8(%rdi) movb %dl, 0x10(%rdi) movw $0x0, 0x11(%rdi) movl $0x0, 0x40(%rdi) addq $0x48, %rdi movl $0x10d, %edx ...
/LAIRLAB[P]vowpal_wabbit/library/../vowpalwabbit/ezexample.h
IncrementalEditDistance::all_next()
vector< pair<action,float> > all_next() { vector< pair<action,float> > B; for (size_t a=1; a<=29; a++) B.push_back( make_pair(a, 1.) ); B[ char2action('$')-1 ].second = minf(100., (float)(prev_row[N] - prev_row_min)); for (size_t n=0; n<N; n++) if (prev_row[n] == prev_row_min) B[ char2...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movq $-0x1d, %r12 movq %rsp, %r15 leal 0x1e(%r12), %eax movl %eax, (%rsp) movl $0x3f800000, 0x4(%rsp) # imm = 0x3F800000 movq 0x8(%rbx), %rsi cmpq 0x10(%rbx), %rsi je 0x1...
/LAIRLAB[P]vowpal_wabbit/library/search_generate.cc
Trie::step(char)
action char2action(char c) // 1=EOS, 2=' ', 3..28=a..z, 29=other { if (c == '$') return 1; if (c == ' ') return 2; if (c >= 'a' && c <= 'z') return (action)(c - 'a' + 3); return 29; }
cmpl $0x24, %esi je 0x1c4f3 cmpl $0x20, %esi jne 0x1c4f7 movl $0x1, %eax jmp 0x1c510 xorl %eax, %eax jmp 0x1c510 leal -0x61(%rsi), %ecx movl $0x1c, %eax cmpb $0x19, %cl ja 0x1c510 addb $0x21, %sil andb $0x3f, %sil movzbl %sil, %eax movq 0x38(%rdi), %rcx movq 0x40(%rdi), %rdx subq %rcx, %rdx sarq $0x3, %rdx cmpq %rax, %...
/LAIRLAB[P]vowpal_wabbit/library/search_generate.cc
v_array<unsigned int>::resize(unsigned long)
void resize(size_t length) { if ((size_t)(end_array - _begin) != length) { size_t old_len = _end - _begin; T* temp = (T*)realloc(_begin, sizeof(T) * length); if ((temp == nullptr) && ((sizeof(T) * length) > 0)) { THROW("realloc of " << length << " failed in resize(). out of me...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq (%rdi), %r12 movq 0x10(%rdi), %rax subq %r12, %rax sarq $0x2, %rax cmpq %rsi, %rax je 0x1d83a movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %rbp leaq (,%rsi,4), %r13 movq %r12, %rdi movq %r13, %rsi callq ...
/LAIRLAB[P]vowpal_wabbit/library/../vowpalwabbit/v_array.h
vw::learn(std::vector<example*, std::allocator<example*>>&)
void vw::learn(multi_ex& ec) { if (!l->is_multiline) THROW("This reduction does not support multi-line example."); if (!training) LEARNER::as_multiline(l)->predict(ec); else LEARNER::as_multiline(l)->learn(ec); }
pushq %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 movq %rdi, %rax movq 0x28(%rdi), %rdi cmpb $0x0, 0xe8(%rdi) je 0x1ead4 movq %rsi, %rbx movzbl 0x343a(%rax), %r14d callq 0x205d0 movq 0x18(%rax), %rdi movq 0x20(%rax), %rsi xorl $0x1, %r14d movq 0x28(%rax,%r14,8), %rax movq %rbx, %rdx addq $0x1b...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/global_data.cc
vw::predict(std::vector<example*, std::allocator<example*>>&)
void vw::predict(multi_ex& ec) { if (!l->is_multiline) THROW("This reduction does not support multi-line example."); LEARNER::as_multiline(l)->predict(ec); }
pushq %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 movq 0x28(%rdi), %rdi cmpb $0x0, 0xe8(%rdi) je 0x1ecd8 movq %rsi, %rbx callq 0x205d0 movq 0x30(%rax), %rcx movq 0x18(%rax), %rdi movq 0x20(%rax), %rsi movq %rbx, %rdx addq $0x1b0, %rsp # imm = 0x1B0 popq %rbx popq %r14 popq %rbp jmpq...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/global_data.cc
vw::vw(vw const&)
vw::vw(const vw&) { THROW("Copy constructor not supported"); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x208, %rsp # imm = 0x208 movq %rdi, %rbx xorl %eax, %eax movq %rax, 0x10(%rdi) leaq 0x70(%rdi), %r14 movq %r14, 0x60(%rdi) movq %rax, 0x68(%rdi) movb %al, 0x70(%rdi) leaq 0xb0(%rdi), %r15 movq %r15, 0xa0(%rdi) movq %rax, 0xa8(%rdi) movb...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/global_data.cc
Search::predictor::set_input(example&)
predictor& predictor::set_input(example& input_example) { free_ec(); is_ldf = false; ec = &input_example; ec_cnt = 1; ec_alloced = false; return *this; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 callq 0x2c2c0 xorl %eax, %eax movb %al, (%r14) movq %rbx, 0x8(%r14) movq $0x1, 0x10(%r14) movb %al, 0x18(%r14) movq %r14, %rax addq $0x8, %rsp popq %rbx popq %r14 retq nop
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/search.cc
VW::config::option_group_definition& VW::config::option_group_definition::add<VW::config::typed_option<bool>&>(VW::config::typed_option<bool>&)
option_group_definition& add(T&& op) { m_options.push_back(std::make_shared<typename std::decay<T>::type>(op)); return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rsi, %rcx movq %rdi, %rbx leaq 0x20(%rdi), %r14 leaq 0x18(%rsp), %rdi movq $0x0, -0x8(%rdi) leaq 0x10(%rsp), %r15 leaq 0xf(%rsp), %rdx movq %r15, %rsi callq 0x328c8 movaps (%r15), %xmm0 leaq 0x20(%rsp), %rsi movaps %xmm0, (%rsi) xorps %xmm0, %xmm0 movaps %xmm0, (%...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/options.h
VW::config::base_option::~base_option()
virtual ~base_option() {}
pushq %rbx movq %rdi, %rbx leaq 0x1aabed(%rip), %rax # 0x1d9f80 movq %rax, (%rdi) movq 0x50(%rdi), %rdi leaq 0x60(%rbx), %rax cmpq %rax, %rdi je 0x2f3a8 callq 0x14690 movq 0x30(%rbx), %rdi leaq 0x40(%rbx), %rax cmpq %rax, %rdi je 0x2f3ba callq 0x14690 movq 0x8(%rbx), %rdi addq $0x18, %rbx cmpq %rbx, %rdi je 0x2f3cd ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/options.h
v_array<v_array<Search::action_cache>*>::resize(unsigned long)
void resize(size_t length) { if ((size_t)(end_array - _begin) != length) { size_t old_len = _end - _begin; T* temp = (T*)realloc(_begin, sizeof(T) * length); if ((temp == nullptr) && ((sizeof(T) * length) > 0)) { THROW("realloc of " << length << " failed in resize(). out of me...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq (%rdi), %r12 movq 0x10(%rdi), %rax subq %r12, %rax sarq $0x3, %rax cmpq %rsi, %rax je 0x2fb60 movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %rbp leaq (,%rsi,8), %r13 movq %r12, %rdi movq %r13, %rsi callq ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_array.h
v_array<Search::action_repr>::resize(unsigned long)
void resize(size_t length) { if ((size_t)(end_array - _begin) != length) { size_t old_len = _end - _begin; T* temp = (T*)realloc(_begin, sizeof(T) * length); if ((temp == nullptr) && ((sizeof(T) * length) > 0)) { THROW("realloc of " << length << " failed in resize(). out of me...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq (%rdi), %r13 movq 0x10(%rdi), %rax subq %r13, %rax sarq $0x4, %rax cmpq %rsi, %rax je 0x2fdda movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %rbp movq %rsi, %r15 shlq $0x4, %r15 movq %r13, %rdi movq %r15, ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_array.h
v_array<Search::action_cache>::resize(unsigned long)
void resize(size_t length) { if ((size_t)(end_array - _begin) != length) { size_t old_len = _end - _begin; T* temp = (T*)realloc(_begin, sizeof(T) * length); if ((temp == nullptr) && ((sizeof(T) * length) > 0)) { THROW("realloc of " << length << " failed in resize(). out of me...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq (%rdi), %r13 movq 0x10(%rdi), %rax subq %r13, %rax sarq $0x4, %rax cmpq %rsi, %rax je 0x30eda movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %rbp movq %rsi, %r15 shlq $0x4, %r15 movq %r13, %rdi movq %r15, ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_array.h
v_array<v_array<std::pair<COST_SENSITIVE::wclass&, bool>>>::resize(unsigned long)
void resize(size_t length) { if ((size_t)(end_array - _begin) != length) { size_t old_len = _end - _begin; T* temp = (T*)realloc(_begin, sizeof(T) * length); if ((temp == nullptr) && ((sizeof(T) * length) > 0)) { THROW("realloc of " << length << " failed in resize(). out of me...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq (%rdi), %r13 movq 0x10(%rdi), %rax subq %r13, %rax sarq $0x5, %rax cmpq %rsi, %rax je 0x311da movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %rbp movq %rsi, %r15 shlq $0x5, %r15 movq %r13, %rdi movq %r15, ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_array.h
v_hashmap<unsigned char*, Search::scored_action>::double_size()
void double_size() { // printf("doubling size!\n"); // remember the old occupants v_array<hash_elem> tmp = v_array<hash_elem>(); tmp.resize(num_occupants + 10); for (hash_elem* e = dat.begin(); e != dat.end_array; e++) if (e->occupied) tmp.push_back(*e); // double the size and c...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx xorps %xmm0, %xmm0 movq %rsp, %rdi movaps %xmm0, 0x10(%rdi) movaps %xmm0, (%rdi) movq 0x40(%rbx), %rsi addq $0xa, %rsi callq 0x316e6 leaq 0x18(%rbx), %r14 movq 0x18(%rbx), %r15 movq 0x28(%rbx), %rsi cmpq %rsi, %r15 je 0x31636 movq %rsp, %r12 c...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_hashmap.h
SequenceSpanTask::initialize(Search::search&, unsigned long&, VW::config::options_i&)
void initialize(Search::search& sch, size_t& num_actions, options_i& options) { task_data* D = new task_data(); bool search_span_bilou = false; option_group_definition new_options("search sequencespan options"); new_options .add(make_option("search_span_bilou", search_span_bilou) .help("sw...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x238, %rsp # imm = 0x238 movq %rdx, %r13 movq %rsi, %r14 movq %rdi, 0x8(%rsp) movl $0x50, %edi callq 0x14700 movq %rax, %r15 xorps %xmm0, %xmm0 movaps %xmm0, (%rax) movaps %xmm0, 0x10(%rax) movaps %xmm0, 0x20(%rax) movaps %xmm0, 0x30(%r...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/search_sequencetask.cc
SequenceTask_DemoLDF::run(Search::search&, std::vector<example*, std::allocator<example*>>&)
void run(Search::search& sch, multi_ex& ec) { task_data* data = sch.get_task_data<task_data>(); Search::predictor P(sch, (ptag)0); for (ptag i = 0; i < ec.size(); i++) { for (uint32_t a = 0; a < data->num_actions; a++) { if (sch.predictNeedsExample()) // we can skip this work if `predict` won't a...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %r15 leaq 0x20(%rsp), %rdi movq %r14, %rsi xorl %edx, %edx callq 0x2c252 movq 0x8(%rbx), %rax movq %rbx, 0x10(%rsp) cmpq (%rbx), %rax je 0x393a2 xorl %ebp, %ebp mo...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/search_sequencetask.cc
SequenceTask_DemoLDF::task_data* calloc_or_throw<SequenceTask_DemoLDF::task_data>(unsigned long)
T* calloc_or_throw(size_t nmemb) { if (nmemb == 0) return nullptr; void* data = calloc(nmemb, sizeof(T)); if (data == nullptr) { const char* msg = "internal error: memory allocation failed!\n"; // use low-level function since we're already out of memory. fputs(msg, stderr); THROW(msg); } ...
pushq %rbp pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 testq %rdi, %rdi je 0x3967f movl $0x10, %esi callq 0x14480 testq %rax, %rax jne 0x39681 movq 0x1a492f(%rip), %rax # 0x1ddf30 movq (%rax), %rsi leaq 0x1420e4(%rip), %rbx # 0x17b6ef movq %rbx, %rdi callq 0x147c0 leaq 0x28(%rsp), %rdi callq ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/memory.h
EntityRelationTask::update_example_indicies(bool, example*, unsigned long, unsigned long)
iterator begin() { return iterator(feature_space, indices.begin()); }
movq (%rsi), %rax movq 0x8(%rsi), %rdi cmpq %rdi, %rax je 0x3e1f5 addq $0x20, %rsi movzbl (%rax), %r8d imulq $0x68, %r8, %r9 movq 0x20(%rsi,%r9), %r8 movq 0x28(%rsi,%r9), %r9 cmpq %r9, %r8 je 0x3e1ed movq (%r8), %r10 imulq %rdx, %r10 addq %rcx, %r10 movq %r10, (%r8) addq $0x8, %r8 jmp 0x3e1d5 incq %rax cmpq %rdi, %rax ...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/example_predict.h
void INTERACTIONS::generate_interactions<GraphTask::task_data, unsigned long, &GraphTask::add_edge_features_group_fn(GraphTask::task_data&, float, unsigned long), false, &void GD::dummy_func<GraphTask::task_data>(GraphTask::task_data&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<ch...
inline void generate_interactions(std::vector<std::string>& interactions, bool permutations, example_predict& ec, R& dat, W& weights) // default value removed to eliminate ambiguity in old complers { features* features_data = ec.feature_space; // often used values const uint64_t offset = ec.ft_offset; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rcx, %rbx movl %esi, 0x34(%rsp) movq 0x6820(%rdx), %r13 xorps %xmm0, %xmm0 movaps %xmm0, 0x70(%rsp) movaps %xmm0, 0x60(%rsp) movq $0x0, 0xa8(%rsp) movl $0x3f800000, 0xb8(%rsp) # imm = 0x3F800000 movups %xmm0, 0xc0(%rsp) movq (%rdi)...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/interactions_predict.h
split(char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::vector<std::string> split(char* phrase, std::string delimiter) { std::vector<std::string> list; std::string s = std::string(phrase); size_t pos = 0; std::string token; while ((pos = s.find(delimiter)) != std::string::npos) { token = s.substr(0, pos); list.push_back(token); s.erase(0, pos + ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdx, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq $0x0, 0x10(%rdi) leaq 0x28(%rsp), %rdi leaq 0x8(%rsp), %rdx callq 0x142a0 leaq 0x18(%rsp), %rax movq %rax, -0x10(%rax) movq $0x0, -0x8(%rax) movb $0x0, (%rax) l...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/parse_example.cc
v_hashmap<substring, features*>::get(substring const&, unsigned long)
V& get(const K& key, uint64_t hash) { size_t sz = base_size(); size_t first_position = hash % sz; last_position = first_position; while (true) { // if there's nothing there, obviously we don't contain it if (!dat[last_position].occupied) return default_value; // there's somet...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq 0x28(%rdi), %rax subq 0x18(%rdi), %rax sarq $0x3, %rax movabsq $-0x3333333333333333, %r13 # imm = 0xCCCCCCCCCCCCCCCD imulq %rax, %r13 xorl %ebp, %ebp movq %rd...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/v_hashmap.h
parse_output_preds(VW::config::options_i&, vw&)
void parse_output_preds(options_i& options, vw& all) { std::string predictions; std::string raw_predictions; option_group_definition output_options("Output options"); output_options.add(make_option("predictions", predictions).short_name("p").help("File to output predictions to")) .add(make_option("raw_pr...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x2a8, %rsp # imm = 0x2A8 movq %rsi, 0x48(%rsp) movq %rdi, %r14 leaq 0x30(%rsp), %rcx movq %rcx, -0x10(%rcx) xorl %eax, %eax movq %rax, -0x8(%rcx) movb %al, (%rcx) leaq 0x10(%rsp), %rcx movq %rcx, -0x10(%rcx) movq %rax, -0x8(%rcx) movb %...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/parse_args.cc
std::ostream& std::operator<<<int>(std::ostream&, std::vector<int, std::allocator<int>> const&)
std::ostream& operator<<(std::ostream& os, const std::vector<T>& vec) { for (auto const& item : vec) { os << item << ", "; } return os; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq (%rsi), %r15 movq 0x8(%rsi), %r12 cmpq %r12, %r15 je 0x56de5 leaq 0x12f4af(%rip), %r14 # 0x186270 movl (%r15), %esi movq %rbx, %rdi callq 0x14dd0 movl $0x2, %edx movq %rax, %rdi movq %r14, %rsi callq 0x14810 addq $0x4, %r15 cmpq %r12, %r15 j...
/LAIRLAB[P]vowpal_wabbit/vowpalwabbit/options_boost_po.h