Searched refs:nbStripes (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | xxhash.cpp | 500 const uint8_t *secret, size_t nbStripes) { in XXH3_accumulate() argument 501 for (size_t n = 0; n < nbStripes; ++n) { in XXH3_accumulate() 537 const size_t nbStripes = (len - 1 - (block_len * nb_blocks)) / XXH_STRIPE_LEN; in XXH3_hashLong_64b() local 538 assert(nbStripes <= secretSize / XXH_SECRET_CONSUME_RATE); in XXH3_hashLong_64b() 539 XXH3_accumulate(acc, input + nb_blocks * block_len, secret, nbStripes); in XXH3_hashLong_64b() 1001 const size_t nbStripes = (len - 1 - (block_len * nb_blocks)) / XXH_STRIPE_LEN; in XXH3_hashLong_128b() local 1002 assert(nbStripes <= secretSize / XXH_SECRET_CONSUME_RATE); in XXH3_hashLong_128b() 1003 XXH3_accumulate(acc, input + nb_blocks * block_len, secret, nbStripes); in XXH3_hashLong_128b()
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | xxhash.h | 4463 size_t nbStripes, in XXH3_accumulate() argument 4467 for (n = 0; n < nbStripes; n++ ) { in XXH3_accumulate() 4498 { size_t const nbStripes = ((len - 1) - (block_len * nb_blocks)) / XXH_STRIPE_LEN; in XXH3_hashLong_internal_loop() local 4499 XXH_ASSERT(nbStripes <= (secretSize / XXH_SECRET_CONSUME_RATE)); in XXH3_hashLong_internal_loop() 4500 XXH3_accumulate(acc, input + nb_blocks*block_len, secret, nbStripes, f_acc512); in XXH3_hashLong_internal_loop() 4858 const xxh_u8* XXH_RESTRICT input, size_t nbStripes, in XXH3_consumeStripes() argument 4863 XXH_ASSERT(nbStripes <= nbStripesPerBlock); /* can handle max 1 scramble per invocation */ in XXH3_consumeStripes() 4865 if (nbStripesPerBlock - *nbStripesSoFarPtr <= nbStripes) { in XXH3_consumeStripes() 4868 size_t const nbStripesAfterBlock = nbStripes - nbStripesToEndofBlock; in XXH3_consumeStripes() 4874 …cumulate(acc, input, secret + nbStripesSoFarPtr[0] * XXH_SECRET_CONSUME_RATE, nbStripes, f_acc512); in XXH3_consumeStripes() [all …]
|