- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestGoldenMarshal (0.12 sec)
-
src/hash/adler32/adler32_test.go
import ( "encoding" "io" "strings" "testing" ) var golden = []struct { out uint32 in string halfState string // marshaled hash state after first half of in written, used by TestGoldenMarshal }{ {0x00000001, "", "adl\x01\x00\x00\x00\x01"}, {0x00620062, "a", "adl\x01\x00\x00\x00\x01"}, {0x012600c4, "ab", "adl\x01\x00b\x00b"}, {0x024d0127, "abc", "adl\x01\x00b\x00b"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 21:04:12 UTC 2017 - 5.5K bytes - Viewed (0) -
src/hash/fnv/fnv_test.go
"encoding" "encoding/binary" "hash" "io" "testing" ) type golden struct { out []byte in string halfState string // marshaled hash state after first half of in written, used by TestGoldenMarshal } var golden32 = []golden{ {[]byte{0x81, 0x1c, 0x9d, 0xc5}, "", "fnv\x01\x81\x1c\x9d\xc5"}, {[]byte{0x05, 0x0c, 0x5d, 0x7e}, "a", "fnv\x01\x81\x1c\x9d\xc5"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 21:04:12 UTC 2017 - 7.3K bytes - Viewed (0)