Skip to main content

//clika-runtime/io.clika.runtime/HashLaneAlgo

HashLaneAlgo

[common]
enum HashLaneAlgo : Enum<HashLaneAlgo>

hash_lanes permutation. Auto picks by the input's lane width: a 32-bit integer lane maps through Triple32, a 64-bit lane through Moremur. The named kinds select a permutation within that width: Triple32 and WeakTwoMul are 32-bit, Moremur, Feistel3Mul3 and Feistel4Mul2 are 64-bit; a kind of the other width is refused.

Entries​

AUTO[common]
AUTO
TRIPLE32[common]
TRIPLE32
32-bit lanes
WEAK_TWO_MUL[common]
WEAK_TWO_MUL
32-bit lanes
MOREMUR[common]
MOREMUR
64-bit lanes
FEISTEL3_MUL3[common]
FEISTEL3_MUL3
64-bit lanes
FEISTEL4_MUL2[common]
FEISTEL4_MUL2
64-bit lanes

Types​

NameSummary
Companion[common]
object Companion

Properties​

NameSummary
code[common]
val code: Int
name[common]
val name: String
ordinal[common]
val ordinal: Int

Functions​

NameSummary
valueOf[common]
fun valueOf(value: String): HashLaneAlgo
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[common]
fun values(): Array<HashLaneAlgo>
Returns an array containing the constants of this enum type, in the order they're declared.