Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nicoshev/rapidhash
/ functions
Functions
266 in github.com/Nicoshev/rapidhash
⨍
Functions
266
◇
Types & classes
10
↓ 40 callers
Function
XXH_readLE64
collisions/allcodecs/xxhash.h:3418
↓ 15 callers
Function
XXH3_mix16B
* DISCLAIMER: There are known *seed-dependent* multicollisions here due to * multiplication by zero, affecting hashes of lengths 17 to 240. * * How
collisions/allcodecs/xxhash.h:4764
↓ 14 callers
Function
XXH3_avalanche
* This is a fast avalanche stage, * suitable when input bits are already partially mixed */
collisions/allcodecs/xxhash.h:4615
↓ 12 callers
Function
sprp
secret.h:37
↓ 11 callers
Function
XXH_readLE32
collisions/allcodecs/xxhash.h:2865
↓ 9 callers
Function
XXH_swap64
collisions/allcodecs/xxhash.h:3401
↓ 8 callers
Function
longCommandWArg
* longCommandWArg(): * Checks if *stringPtr is the same as longCommand. * If yes, @return 1 and advances *stringPtr to the position which immediatel
collisions/main.c:966
↓ 8 callers
Function
readU64FromChar
! * readU64FromChar(): * Allows and interprets K, KB, KiB, M, MB and MiB suffix. * Will also modify `*stringPtr`, advancing it to the position wher
collisions/main.c:930
↓ 7 callers
Function
XXH64_avalanche
! @copydoc XXH32_avalanche */
collisions/allcodecs/xxhash.h:3525
↓ 7 callers
Function
XXH64_round
! @copydoc XXH32_round */
collisions/allcodecs/xxhash.h:3491
↓ 7 callers
Function
XXH_mult32to64
! * @brief Calculates a 32-bit to 64-bit long multiply. * * Implemented as a macro. * * Wraps `__emulu` on MSVC x86 because it tends to call `__a
collisions/allcodecs/xxhash.h:4436
↓ 7 callers
Function
XXH_swap32
collisions/allcodecs/xxhash.h:2835
↓ 6 callers
Function
UTIL_getTime
bench/timefn.c:26
↓ 6 callers
Function
XXH_xorshift64
! Seems to produce slightly better code on GCC for some reason. */
collisions/allcodecs/xxhash.h:4605
↓ 6 callers
Function
displayDelay
note: not thread safe */
collisions/main.c:523
↓ 5 callers
Function
XXH32_avalanche
! * @internal * @brief Mixes all bits to finalize the hash. * * The final mix ensures that all input bits have a chance to impact any bit in * th
collisions/allcodecs/xxhash.h:3007
↓ 5 callers
Function
XXH64_mergeRound
collisions/allcodecs/xxhash.h:3516
↓ 5 callers
Function
bench_hash
bench/benchHash.c:151
↓ 5 callers
Function
longCommandWArg
* longCommandWArg(): * Checks if *stringPtr is the same as longCommand. * If yes, @return 1 and advances *stringPtr to the position which immediatel
bench/main.c:96
↓ 5 callers
Function
readIntFromChar
! * readIntFromChar(): * Allows and interprets K, KB, KiB, M, MB and MiB suffix. * Will also modify `*stringPtr`, advancing it to position where it
bench/main.c:50
↓ 5 callers
Function
uniHash64
collisions/hashes.h:50
↓ 4 callers
Function
XXH32_round
! * @internal * @brief Normal stripe processing routine. * * This shuffles the bits so that any bit from @p input impacts several bits in * @p ac
collisions/allcodecs/xxhash.h:2950
↓ 4 callers
Function
XXH3_reset_internal
collisions/allcodecs/xxhash.h:6421
↓ 4 callers
Function
XXH_mult64to128
! * @brief Calculates a 64->128-bit long multiply. * * Uses `__uint128_t` and `_umul128` if available, otherwise uses a scalar * version. * * @p
collisions/allcodecs/xxhash.h:4463
↓ 4 callers
Function
XXH_read32
* Force direct memory access. Only works on CPU which support unaligned memory * access in hardware. */
collisions/allcodecs/xxhash.h:2648
↓ 4 callers
Function
XXH_read64
Force direct memory access. Only works on CPU which support unaligned memory access in hardware */
collisions/allcodecs/xxhash.h:3358
↓ 4 callers
Function
XXH_writeLE64
collisions/allcodecs/xxhash.h:4945
↓ 4 callers
Function
estimateNbCollisions
collisions/main.c:557
↓ 4 callers
Function
flipbit
collisions/main.c:293
↓ 4 callers
Function
getProcessMemUsage
collisions/main.c:869
↓ 4 callers
Function
isCommand
* isCommand(): * Checks if string is the same as longCommand. * If yes, @return 1, otherwise @return 0 */
bench/main.c:81
↓ 4 callers
Function
select_nbh
collisions/main.c:579
↓ 3 callers
Function
POOL_free
collisions/pool.c:181
↓ 3 callers
Function
XXH32_consumeLong
! * @internal * @brief Consumes a block of data for XXH32(). * * @return the end input pointer. */
collisions/allcodecs/xxhash.h:3039
↓ 3 callers
Function
XXH3_consumeStripes
! * @internal * @brief Processes a large input for XXH3_update() and XXH3_digest_long(). * * Unlike XXH3_hashLong_internal_loop(), this can proces
collisions/allcodecs/xxhash.h:6509
↓ 3 callers
Function
XXH3_mul128_fold64
! * @brief Calculates a 64-bit to 128-bit multiply, then XOR folds it. * * The reason for the separate function is to prevent passing too many stru
collisions/allcodecs/xxhash.h:4597
↓ 3 callers
Function
XXH64_consumeLong
! * @internal * @brief Consumes a block of data for XXH64(). * * @return the end input pointer. */
collisions/allcodecs/xxhash.h:3558
↓ 3 callers
Function
XXH_free
collisions/allcodecs/xxhash.h:2373
↓ 3 callers
Function
XXH_malloc
collisions/allcodecs/xxhash.h:2372
↓ 3 callers
Function
XXH_readBE64
collisions/allcodecs/xxhash.h:3431
↓ 3 callers
Function
XXH_vec_loadu
! * Performs an unaligned vector load and byte swaps it on big endian. */
collisions/allcodecs/xxhash.h:4308
↓ 3 callers
Function
avalanche64
collisions/main.c:109
↓ 3 callers
Function
init_sampleFactory
collisions/main.c:149
↓ 3 callers
Function
mul_mod
modified from https://github.com/going-digital/Prime64
secret.h:11
↓ 2 callers
Function
BMK_extract_runTime
warning : this function will stop program execution if outcome is invalid ! * check outcome validity first, using BMK_isValid_runResult() *
bench/benchfn.c:69
↓ 2 callers
Function
BMK_isSuccessful_runOutcome
bench/benchfn.c:62
↓ 2 callers
Function
BMK_resetTimedFnState
bench/benchfn.c:182
↓ 2 callers
Function
BMK_setValid_runTime
bench/benchfn.c:90
↓ 2 callers
Function
POOL_add_internal
collisions/pool.c:259
↓ 2 callers
Function
UTIL_getSpanTime
bench/timefn.c:104
↓ 2 callers
Function
UTIL_getSpanTimeNano
bench/timefn.c:42
↓ 2 callers
Function
XXH32_endian_align
! * @internal * @brief The implementation for @ref XXH32(). * * @param input , len , seed Directly passed from @ref XXH32(). * @param align Wheth
collisions/allcodecs/xxhash.h:3178
↓ 2 callers
Function
XXH32_finalize
! * @internal * @brief Processes the last 0-15 bytes of @p ptr. * * There may be up to 15 bytes remaining to consume from the input. * This final
collisions/allcodecs/xxhash.h:3089
↓ 2 callers
Function
XXH32_initAccs
! * @internal * @brief Sets up the initial accumulator state for XXH32(). */
collisions/allcodecs/xxhash.h:3023
↓ 2 callers
Function
XXH32_mergeAccs
! * @internal * @brief Merges the accumulator lanes together for XXH32() */
collisions/allcodecs/xxhash.h:3066
↓ 2 callers
Function
XXH3_combine16
collisions/allcodecs/xxhash.h:7261
↓ 2 callers
Function
XXH3_digest_long
collisions/allcodecs/xxhash.h:6651
↓ 2 callers
Function
XXH3_scalarRound
! * @internal * @brief Scalar round for @ref XXH3_accumulate_512_scalar(). * * This is extracted to its own function because the NEON path uses a
collisions/allcodecs/xxhash.h:5868
↓ 2 callers
Function
XXH3_scalarScrambleRound
collisions/allcodecs/xxhash.h:5917
↓ 2 callers
Function
XXH64_endian_align
! * @internal * @brief The implementation for @ref XXH64(). * * @param input , len , seed Directly passed from @ref XXH64(). * @param align Wheth
collisions/allcodecs/xxhash.h:3676
↓ 2 callers
Function
XXH64_finalize
! * @internal * @brief Processes the last 0-31 bytes of @p ptr. * * There may be up to 31 bytes remaining to consume from the input. * This final
collisions/allcodecs/xxhash.h:3632
↓ 2 callers
Function
XXH64_initAccs
! * @internal * @brief Sets up the initial accumulator state for XXH64(). */
collisions/allcodecs/xxhash.h:3542
↓ 2 callers
Function
XXH64_mergeAccs
! * @internal * @brief Merges the accumulator lanes together for XXH64() */
collisions/allcodecs/xxhash.h:3594
↓ 2 callers
Function
XXH_vec_mulo
gcc needs inline assembly */ Adapted from https://github.com/google/highwayhash/blob/master/highwayhash/hh_vsx.h. */
collisions/allcodecs/xxhash.h:4336
↓ 2 callers
Function
ZSTD_pthread_create
collisions/threading.c:50
↓ 2 callers
Function
addHashCandidate
assumption: (htype*)hTablePtr[index] is valid */
collisions/main.c:641
↓ 2 callers
Function
free_Filter
collisions/main.c:356
↓ 2 callers
Function
free_sampleFactory
collisions/main.c:178
↓ 2 callers
Function
help
bench/main.c:150
↓ 2 callers
Function
help
collisions/main.c:986
↓ 2 callers
Function
hexRaw
collisions/main.c:74
↓ 2 callers
Function
highestBitSet
collisions/main.c:562
↓ 2 callers
Function
isQueueFull
* Returns 1 if the queue is full and 0 otherwise. * * When queueSize is 1 (pool was created with an intended queueSize of 0), * then a queue is emp
collisions/pool.c:249
↓ 2 callers
Function
printHash
collisions/main.c:82
↓ 2 callers
Function
randomByte
collisions/main.c:119
↓ 2 callers
Function
search_collisions
collisions/main.c:669
↓ 2 callers
Function
uniHash32
collisions/hashes.h:44
↓ 2 callers
Function
update_indicator
collisions/main.c:505
↓ 2 callers
Function
update_sampleFactory
collisions/main.c:185
↓ 1 callers
Function
BMK_benchFunction
initFn will be measured once, benchFn will be measured `nbLoops` times */ initFn is optional, provide NULL if none */ benchFn must return a size_t val
bench/benchfn.c:107
↓ 1 callers
Function
BMK_benchTimedFn
bench/benchfn.c:209
↓ 1 callers
Function
BMK_initStatic_timedFnState
bench/benchfn.c:168
↓ 1 callers
Function
BMK_isCompleted_TimedFn
Tells if nb of seconds set in timedFnState for all runs is spent. * note : this function will return 1 if BMK_benchFunctionTimed() has actually error
bench/benchfn.c:198
↓ 1 callers
Function
BMK_runOutcome_error
bench/benchfn.c:81
↓ 1 callers
Function
Cnm
Nb of combinations of m bits in a register of n bits */
collisions/main.c:215
↓ 1 callers
Function
Filter_check
* Check if provided 64-bit hash is a collision candidate * Requires the slot to be occupied by at least 2 candidates. * return >0 if hash is a colli
collisions/main.c:395
↓ 1 callers
Function
Filter_insert
* Attach hash to a slot * return: Nb of potential collision candidates detected * 0: position not yet occupied * 2: position prev
collisions/main.c:370
↓ 1 callers
Function
Filter_reduce
collisions/main.c:458
↓ 1 callers
Function
POOL_add
collisions/pool.c:271
↓ 1 callers
Function
POOL_create
collisions/pool.c:120
↓ 1 callers
Function
POOL_join
! POOL_join() : Shutdown the queue, wake any sleeping threads, and join all of the threads. */
collisions/pool.c:164
↓ 1 callers
Function
POOL_resize_internal
@return : 0 on success, 1 on error */
collisions/pool.c:203
↓ 1 callers
Function
UTIL_clockSpanNano
returns time span in microseconds */
bench/timefn.c:155
↓ 1 callers
Function
UTIL_getSpanTimeMicro
bench/timefn.c:28
↓ 1 callers
Function
XXH128_canonicalFromHash
====== Canonical representation ======*/ ! @ingroup XXH3_family */
collisions/allcodecs/xxhash.h:7231
↓ 1 callers
Function
XXH128_cmp
This prototype is compatible with stdlib's qsort(). * @return : >0 if *h128_1 > *h128_2 * <0 if *h128_1 < *h128_2 * =0 if *h1
collisions/allcodecs/xxhash.h:7218
↓ 1 callers
Function
XXH128_isEqual
return : 1 is equal, 0 if different */ ! @ingroup XXH3_family */
collisions/allcodecs/xxhash.h:7207
↓ 1 callers
Function
XXH3_len_0to16_128b
* Assumption: `secret` size is >= XXH3_SECRET_SIZE_MIN */
collisions/allcodecs/xxhash.h:6854
↓ 1 callers
Function
XXH3_len_0to16_64b
collisions/allcodecs/xxhash.h:4727
↓ 1 callers
Function
XXH3_len_129to240_128b
collisions/allcodecs/xxhash.h:6929
next →
1–100 of 266, ranked by callers