- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for divRoundUp (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
lib/fips140/v1.26.0.zip
pbkdf2 import ( "crypto/internal/fips140" "crypto/internal/fips140/hmac" "errors" "hash" ) // divRoundUp divides x+y-1 by y, rounding up if the result is not whole. // This function casts x and y to int64 in order to avoid cases where // x+y would overflow int on systems where int is an int32. The result // is an int, which is safe as (x+y-1)/y should always fit, regardless // of the integer size. func divRoundUp(x, y int) int { return int((int64(x) + int64(y) - 1) / int64(y)) } func Key[Hash hash.Hash](h...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)