Beispiel #1
0
            public UInt128 Visit(CosmosNumber64 cosmosNumber64, UInt128 seed)
            {
                UInt128     hash   = MurmurHash3.Hash128(CosmosNumberHasher.Number64HashSeed, seed);
                Number64    value  = cosmosNumber64.GetValue();
                Span <byte> buffer = stackalloc byte[Number64.SizeOf];

                value.CopyTo(buffer);
                return(MurmurHash3.Hash128(buffer, hash));
            }