Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultTableSize = 16381 // seed=$(head -c12 /dev/urandom | base64 -w0) DefaultHashSeed = "JLfvgnHc2kaSUFaI" )
Variables ¶
View Source
var ( SeedJhash0 uint32 SeedJhash1 uint32 )
Functions ¶
func GetLookupTable ¶
GetLookupTable returns the Maglev lookup table of the size "m" for the given backends. The lookup table contains the indices of the given backends.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.