MCPcopy Create free account

hub / github.com/Nicoshev/rapidhash / functions

Functions266 in github.com/Nicoshev/rapidhash

↓ 40 callersFunctionXXH_readLE64
collisions/allcodecs/xxhash.h:3418
↓ 15 callersFunctionXXH3_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 callersFunctionXXH3_avalanche
* This is a fast avalanche stage, * suitable when input bits are already partially mixed */
collisions/allcodecs/xxhash.h:4615
↓ 12 callersFunctionsprp
secret.h:37
↓ 11 callersFunctionXXH_readLE32
collisions/allcodecs/xxhash.h:2865
↓ 9 callersFunctionXXH_swap64
collisions/allcodecs/xxhash.h:3401
↓ 8 callersFunctionlongCommandWArg
* 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 callersFunctionreadU64FromChar
! * 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 callersFunctionXXH64_avalanche
! @copydoc XXH32_avalanche */
collisions/allcodecs/xxhash.h:3525
↓ 7 callersFunctionXXH64_round
! @copydoc XXH32_round */
collisions/allcodecs/xxhash.h:3491
↓ 7 callersFunctionXXH_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 callersFunctionXXH_swap32
collisions/allcodecs/xxhash.h:2835
↓ 6 callersFunctionUTIL_getTime
bench/timefn.c:26
↓ 6 callersFunctionXXH_xorshift64
! Seems to produce slightly better code on GCC for some reason. */
collisions/allcodecs/xxhash.h:4605
↓ 6 callersFunctiondisplayDelay
note: not thread safe */
collisions/main.c:523
↓ 5 callersFunctionXXH32_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 callersFunctionXXH64_mergeRound
collisions/allcodecs/xxhash.h:3516
↓ 5 callersFunctionbench_hash
bench/benchHash.c:151
↓ 5 callersFunctionlongCommandWArg
* 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 callersFunctionreadIntFromChar
! * 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 callersFunctionuniHash64
collisions/hashes.h:50
↓ 4 callersFunctionXXH32_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 callersFunctionXXH3_reset_internal
collisions/allcodecs/xxhash.h:6421
↓ 4 callersFunctionXXH_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 callersFunctionXXH_read32
* Force direct memory access. Only works on CPU which support unaligned memory * access in hardware. */
collisions/allcodecs/xxhash.h:2648
↓ 4 callersFunctionXXH_read64
Force direct memory access. Only works on CPU which support unaligned memory access in hardware */
collisions/allcodecs/xxhash.h:3358
↓ 4 callersFunctionXXH_writeLE64
collisions/allcodecs/xxhash.h:4945
↓ 4 callersFunctionestimateNbCollisions
collisions/main.c:557
↓ 4 callersFunctionflipbit
collisions/main.c:293
↓ 4 callersFunctiongetProcessMemUsage
collisions/main.c:869
↓ 4 callersFunctionisCommand
* isCommand(): * Checks if string is the same as longCommand. * If yes, @return 1, otherwise @return 0 */
bench/main.c:81
↓ 4 callersFunctionselect_nbh
collisions/main.c:579
↓ 3 callersFunctionPOOL_free
collisions/pool.c:181
↓ 3 callersFunctionXXH32_consumeLong
! * @internal * @brief Consumes a block of data for XXH32(). * * @return the end input pointer. */
collisions/allcodecs/xxhash.h:3039
↓ 3 callersFunctionXXH3_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 callersFunctionXXH3_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 callersFunctionXXH64_consumeLong
! * @internal * @brief Consumes a block of data for XXH64(). * * @return the end input pointer. */
collisions/allcodecs/xxhash.h:3558
↓ 3 callersFunctionXXH_free
collisions/allcodecs/xxhash.h:2373
↓ 3 callersFunctionXXH_malloc
collisions/allcodecs/xxhash.h:2372
↓ 3 callersFunctionXXH_readBE64
collisions/allcodecs/xxhash.h:3431
↓ 3 callersFunctionXXH_vec_loadu
! * Performs an unaligned vector load and byte swaps it on big endian. */
collisions/allcodecs/xxhash.h:4308
↓ 3 callersFunctionavalanche64
collisions/main.c:109
↓ 3 callersFunctioninit_sampleFactory
collisions/main.c:149
↓ 3 callersFunctionmul_mod
modified from https://github.com/going-digital/Prime64
secret.h:11
↓ 2 callersFunctionBMK_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 callersFunctionBMK_isSuccessful_runOutcome
bench/benchfn.c:62
↓ 2 callersFunctionBMK_resetTimedFnState
bench/benchfn.c:182
↓ 2 callersFunctionBMK_setValid_runTime
bench/benchfn.c:90
↓ 2 callersFunctionPOOL_add_internal
collisions/pool.c:259
↓ 2 callersFunctionUTIL_getSpanTime
bench/timefn.c:104
↓ 2 callersFunctionUTIL_getSpanTimeNano
bench/timefn.c:42
↓ 2 callersFunctionXXH32_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 callersFunctionXXH32_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 callersFunctionXXH32_initAccs
! * @internal * @brief Sets up the initial accumulator state for XXH32(). */
collisions/allcodecs/xxhash.h:3023
↓ 2 callersFunctionXXH32_mergeAccs
! * @internal * @brief Merges the accumulator lanes together for XXH32() */
collisions/allcodecs/xxhash.h:3066
↓ 2 callersFunctionXXH3_combine16
collisions/allcodecs/xxhash.h:7261
↓ 2 callersFunctionXXH3_digest_long
collisions/allcodecs/xxhash.h:6651
↓ 2 callersFunctionXXH3_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 callersFunctionXXH3_scalarScrambleRound
collisions/allcodecs/xxhash.h:5917
↓ 2 callersFunctionXXH64_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 callersFunctionXXH64_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 callersFunctionXXH64_initAccs
! * @internal * @brief Sets up the initial accumulator state for XXH64(). */
collisions/allcodecs/xxhash.h:3542
↓ 2 callersFunctionXXH64_mergeAccs
! * @internal * @brief Merges the accumulator lanes together for XXH64() */
collisions/allcodecs/xxhash.h:3594
↓ 2 callersFunctionXXH_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 callersFunctionZSTD_pthread_create
collisions/threading.c:50
↓ 2 callersFunctionaddHashCandidate
assumption: (htype*)hTablePtr[index] is valid */
collisions/main.c:641
↓ 2 callersFunctionfree_Filter
collisions/main.c:356
↓ 2 callersFunctionfree_sampleFactory
collisions/main.c:178
↓ 2 callersFunctionhelp
bench/main.c:150
↓ 2 callersFunctionhelp
collisions/main.c:986
↓ 2 callersFunctionhexRaw
collisions/main.c:74
↓ 2 callersFunctionhighestBitSet
collisions/main.c:562
↓ 2 callersFunctionisQueueFull
* 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 callersFunctionprintHash
collisions/main.c:82
↓ 2 callersFunctionrandomByte
collisions/main.c:119
↓ 2 callersFunctionsearch_collisions
collisions/main.c:669
↓ 2 callersFunctionuniHash32
collisions/hashes.h:44
↓ 2 callersFunctionupdate_indicator
collisions/main.c:505
↓ 2 callersFunctionupdate_sampleFactory
collisions/main.c:185
↓ 1 callersFunctionBMK_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 callersFunctionBMK_benchTimedFn
bench/benchfn.c:209
↓ 1 callersFunctionBMK_initStatic_timedFnState
bench/benchfn.c:168
↓ 1 callersFunctionBMK_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 callersFunctionBMK_runOutcome_error
bench/benchfn.c:81
↓ 1 callersFunctionCnm
Nb of combinations of m bits in a register of n bits */
collisions/main.c:215
↓ 1 callersFunctionFilter_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 callersFunctionFilter_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 callersFunctionFilter_reduce
collisions/main.c:458
↓ 1 callersFunctionPOOL_add
collisions/pool.c:271
↓ 1 callersFunctionPOOL_create
collisions/pool.c:120
↓ 1 callersFunctionPOOL_join
! POOL_join() : Shutdown the queue, wake any sleeping threads, and join all of the threads. */
collisions/pool.c:164
↓ 1 callersFunctionPOOL_resize_internal
@return : 0 on success, 1 on error */
collisions/pool.c:203
↓ 1 callersFunctionUTIL_clockSpanNano
returns time span in microseconds */
bench/timefn.c:155
↓ 1 callersFunctionUTIL_getSpanTimeMicro
bench/timefn.c:28
↓ 1 callersFunctionXXH128_canonicalFromHash
====== Canonical representation ======*/ ! @ingroup XXH3_family */
collisions/allcodecs/xxhash.h:7231
↓ 1 callersFunctionXXH128_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 callersFunctionXXH128_isEqual
return : 1 is equal, 0 if different */ ! @ingroup XXH3_family */
collisions/allcodecs/xxhash.h:7207
↓ 1 callersFunctionXXH3_len_0to16_128b
* Assumption: `secret` size is >= XXH3_SECRET_SIZE_MIN */
collisions/allcodecs/xxhash.h:6854
↓ 1 callersFunctionXXH3_len_0to16_64b
collisions/allcodecs/xxhash.h:4727
↓ 1 callersFunctionXXH3_len_129to240_128b
collisions/allcodecs/xxhash.h:6929
next →1–100 of 266, ranked by callers