MCPcopy Create free account

hub / github.com/ashvardanian/less_slow.cpp / functions

Functions300 in github.com/ashvardanian/less_slow.cpp

↓ 80 callersMethodbegin
less_slow.cpp:6997
↓ 47 callersMethodsize
less_slow.cpp:7001
↓ 43 callersMethodend
less_slow.cpp:6998
↓ 39 callersFunctionphysical_cores
* @brief Returns the number of physical cores available on the system, * as opposed to the logical cores, which include hyper-threading.
less_slow.cpp:290
↓ 24 callersFunctionraise_system_error
less_slow.cpp:6632
↓ 23 callersFunctioncublas_check
less_slow.cpp:3321
↓ 6 callersFunctionto_microseconds
less_slow.cpp:6620
↓ 5 callersFunctionallocate_from_arena
* @brief Allocates a new chunk of `size` bytes from the arena. * @return The new pointer or `nullptr` if OOM. */
less_slow.cpp:4751
↓ 5 callersFunctiondeallocate_from_arena
* @brief Deallocates a chunk of memory previously allocated from the arena. * This implementation does not "reuse" partial free space unle
less_slow.cpp:4764
↓ 5 callersMethodreserve
less_slow.cpp:5658
↓ 4 callersMethodadd_stage
less_slow.cpp:4113
↓ 4 callersFunctionrpc_server_socket
* @brief Opens the socket and binds it to the specified address and port. * @param port The port to bind to. * @param address The address to b
less_slow.cpp:6711
↓ 3 callersFunctionfetch_linux_kernel_version
less_slow.cpp:6952
↓ 3 callersFunctionprime_factors_lambdas
less_slow.cpp:3634
↓ 3 callersMethodstop
less_slow.cpp:6777
↓ 2 callersMethodclose
less_slow.cpp:6776
↓ 2 callersFunctioncontains_xss_in_yyjson
less_slow.cpp:4821
↓ 2 callersFunctioncontains_xss_nlohmann
less_slow.cpp:5182
↓ 2 callersFunctionexecute_system_call
less_slow.cpp:6622
↓ 2 callersFunctionfetch_cache_line_width
* @brief Fetches the cache line size using OS-specific APIs. * Supports Linux, macOS, and Windows. * * It's easier to use the @b `std::
less_slow.cpp:2782
↓ 2 callersFunctionfetch_public_ip
* @brief Fetches the public IP address of the default networking * interface on the current machine. */
less_slow.cpp:6641
↓ 2 callersFunctionfilter_stl
less_slow.cpp:3683
↓ 2 callersFunctionis_power_of_two
* @brief Checks if a number is a power of two. * * An unsigned integer is a power of two if and only if it has exactly one * bit set. This can
less_slow.cpp:2727
↓ 2 callersFunctionmake_vertex_ids
* @brief Produces a non-repeating sorted (monotonically increasing) sequence of vertex IDs. * @param[in] size The number of unique vertex IDs to g
less_slow.cpp:5902
↓ 2 callersFunctionnot_fn
less_slow.cpp:3949
↓ 2 callersFunctionpointer_tag
less_slow.cpp:4953
↓ 2 callersFunctionpointer_untag
less_slow.cpp:4970
↓ 2 callersMethodprocess
less_slow.cpp:4095
↓ 2 callersFunctionreallocate_from_arena
* @brief Reallocates `ptr` to have `new_size` bytes. The old size was `old_size`. * If `ptr` is the last chunk allocated, and there's room
less_slow.cpp:4781
↓ 2 callersFunctionrpc_client_socket
* @brief Opens the socket and resolves the server address. * @param port The port to bind to on the server. * @param address The address to bi
less_slow.cpp:6737
↓ 2 callersFunctiontensor_core_scale
less_slow.cpp:2272
↓ 2 callersMethodupsert_edge
less_slow.cpp:5677
↓ 2 callersFunctionwatts_strogatz
less_slow.cpp:5851
↓ 1 callersFunction_mm_clflush
* @brief Helper derived from `__aarch64_sync_cache_range` in `libgcc`, used to * @b flush the cache on Arm64, where the x86 `_mm_clflush`
less_slow.cpp:2867
↓ 1 callersFunctionbits_popcount_emulated
less_slow.cpp:1517
↓ 1 callersFunctionbits_popcount_native
less_slow.cpp:1522
↓ 1 callersFunctionconfig_parse_ctre
less_slow.cpp:4615
↓ 1 callersFunctionconfig_parse_ranges
less_slow.cpp:4403
↓ 1 callersFunctionconfig_parse_regex
less_slow.cpp:4549
↓ 1 callersFunctionconfig_parse_stl
less_slow.cpp:4370
↓ 1 callersFunctionconfig_parse_sz
less_slow.cpp:4440
↓ 1 callersFunctioncontains_xss_in_simdjson_dom
less_slow.cpp:5323
↓ 1 callersFunctioncontains_xss_in_simdjson_ondemand
less_slow.cpp:5288
↓ 1 callersFunctionenable_amx
less_slow.cpp:2059
↓ 1 callersFunctionenable_pointer_tagging
less_slow.cpp:4940
↓ 1 callersFunctionf32x4x4_matmul_avx512_kernel
less_slow.cpp:1820
↓ 1 callersFunctionf32x4x4_matmul_kernel
less_slow.cpp:1594
↓ 1 callersFunctionf32x4x4_matmul_sse41_kernel
less_slow.cpp:1711
↓ 1 callersFunctionf32x4x4_matmul_unrolled_kernel
less_slow.cpp:1638
↓ 1 callersMethodfor_edges
less_slow.cpp:5698
↓ 1 callersFunctionfor_range_stl
less_slow.cpp:3679
↓ 1 callersMethodget_edge
less_slow.cpp:5683
↓ 1 callersFunctioninteger_to_next_string_or_throw
less_slow.cpp:6121
↓ 1 callersFunctioninteger_to_next_string_or_variants
less_slow.cpp:6200
↓ 1 callersFunctioninteger_to_next_string_with_status
less_slow.cpp:6278
↓ 1 callersFunctionis_power_of_three
* @brief Checks if a number is a power of three using modulo division. * The largest power of three fitting in a 64-bit integer is 3^40.
less_slow.cpp:3623
↓ 1 callersFunctionmake_conditional_heavy_object
less_slow.cpp:1219
↓ 1 callersFunctionmake_heavy_object
less_slow.cpp:1212
↓ 1 callersFunctionmake_named_heavy_object
less_slow.cpp:1214
↓ 1 callersFunctionpacket_modify
* @brief Emulates some message processing logic, that will update the `input` packet * and write the result to the `output` buffer, returnin
less_slow.cpp:6671
↓ 1 callersFunctionprime_factors_stl
less_slow.cpp:3689
↓ 1 callersFunctionread_file_contents
* @brief Reads the contents of a file from the specified path into a string. */
less_slow.cpp:2759
↓ 1 callersFunctionread_integer_from_file_or_throw
less_slow.cpp:6099
↓ 1 callersFunctionread_integer_from_file_or_variants
less_slow.cpp:6183
↓ 1 callersFunctionread_integer_from_file_with_status
less_slow.cpp:6261
↓ 1 callersFunctionregex_for_config_ctre
less_slow.cpp:4610
↓ 1 callersMethodremove_edge
less_slow.cpp:5688
↓ 1 callersFunctionround_to_multiple
less_slow.cpp:564
↓ 1 callersFunctionsplit
less_slow.cpp:4350
↓ 1 callersFunctionsplit_key_value
less_slow.cpp:4359
↓ 1 callersFunctionstring_to_integer_or_throw
less_slow.cpp:6108
↓ 1 callersFunctionstring_to_integer_or_variants
less_slow.cpp:6192
↓ 1 callersFunctionstring_to_integer_with_status
less_slow.cpp:6270
↓ 1 callersFunctionwrite_to_file_or_throw
less_slow.cpp:6131
↓ 1 callersFunctionwrite_to_file_or_variants
less_slow.cpp:6211
↓ 1 callersFunctionwrite_to_file_with_status
less_slow.cpp:6288
Methodadvance
less_slow.cpp:3889
Methodaligned_array
less_slow.cpp:404
Methodallocate
less_slow.cpp:5161
Methodand_then
less_slow.cpp:6177
Methodarena_allocator
less_slow.cpp:5156
Methodbasic_graph_flat_set
less_slow.cpp:5770
Methodbasic_graph_unordered_maps
less_slow.cpp:5522
Methodbegin
less_slow.cpp:417
Methodbegin
less_slow.cpp:3311
Methodbegin
less_slow.cpp:3761
Methodbegin
less_slow.cpp:3937
Functionbits_population_count_emulated
less_slow.cpp:1538
Functionbits_population_count_native
less_slow.cpp:1545
Functionbranch_cost
* The `if` statement and the seemingly innocent ternary operator `x ? a : b` * can be surprisingly expensive in performance-critical code. This is
less_slow.cpp:980
Functionbranch_cost_branch
less_slow.cpp:1083
Functionbranch_cost_cmov
less_slow.cpp:1007
Functionbranch_cost_csel
less_slow.cpp:1060
Functionbranch_cost_jump
less_slow.cpp:1030
Functioncache_misses_cost
less_slow.cpp:1145
Functioncblas_tops
less_slow.cpp:3147
Methodclose
less_slow.cpp:7077
Methodclose
less_slow.cpp:7409
Methodclose
less_slow.cpp:7692
Methodcompact
less_slow.cpp:5587
next →1–100 of 300, ranked by callers