- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for TestGoldenMarshal (0.21 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/crc64/crc64_test.go
outISO uint64 outECMA uint64 in string halfStateISO string // ISO marshaled hash state after first half of in written, used by TestGoldenMarshal halfStateECMA string // ECMA marshaled hash state after first half of in written, used by TestGoldenMarshal } var golden = []test{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 25 06:32:12 UTC 2018 - 9.9K bytes - Viewed (0) -
src/hash/crc32/crc32_test.go
ieee, castagnoli uint32 in string halfStateIEEE string // IEEE marshaled hash state after first half of in written, used by TestGoldenMarshal halfStateCastagnoli string // Castagnoli marshaled hash state after first half of in written, used by TestGoldenMarshal } var golden = []test{ {0x0, 0x0, "", "crc\x01ʇ\x91M\x00\x00\x00\x00", "crc\x01wB\x84\x81\x00\x00\x00\x00"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 12.1K 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) -
src/crypto/md5/md5_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 23 16:54:46 UTC 2021 - 17.4K bytes - Viewed (0) -
src/crypto/sha1/sha1_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 21:27:16 UTC 2023 - 18.3K bytes - Viewed (0) -
src/crypto/sha256/sha256_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 21:21:42 UTC 2023 - 34.8K bytes - Viewed (0) -
src/crypto/sha512/sha512_test.go
"encoding/hex" "fmt" "hash" "io" "testing" ) type sha512Test struct { out string in string halfState string // marshaled hash state after first half of in written, used by TestGoldenMarshal } var golden224 = []sha512Test{ { "6ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4", "",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 21:17:08 UTC 2023 - 105.6K bytes - Viewed (0)