- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for new404 (0.13 sec)
-
test/fixedbugs/issue6295.dir/p1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 339 bytes - Viewed (0) -
test/fixedbugs/issue6295.dir/p2.go
// license that can be found in the LICENSE file. package main import ( "./p0" "./p1" ) var ( _ p0.T0 = p0.S0{} _ p0.T0 = p1.S1{} _ p0.T0 = p1.NewT0() _ p0.T0 = p1.NewT1() // same as p1.S1{} )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 327 bytes - Viewed (0) -
src/crypto/sha256/sha256.go
// state of the hash. func New() hash.Hash { if boring.Enabled { return boring.NewSHA256() } d := new(digest) d.Reset() return d } // New224 returns a new hash.Hash computing the SHA224 checksum. func New224() hash.Hash { if boring.Enabled { return boring.NewSHA224() } d := new(digest) d.is224 = true d.Reset() return d } func (d *digest) Size() int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 5.7K bytes - Viewed (0) -
src/hash/fnv/fnv_test.go
} func TestGolden32(t *testing.T) { testGolden(t, New32(), golden32) } func TestGolden32a(t *testing.T) { testGolden(t, New32a(), golden32a) } func TestGolden64(t *testing.T) { testGolden(t, New64(), golden64) } func TestGolden64a(t *testing.T) { testGolden(t, New64a(), golden64a) } func TestGolden128(t *testing.T) { testGolden(t, New128(), golden128) } func TestGolden128a(t *testing.T) {
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/sha512/sha512.go
// New512_256 returns a new hash.Hash computing the SHA-512/256 checksum. func New512_256() hash.Hash { d := &digest{function: crypto.SHA512_256} d.Reset() return d } // New384 returns a new hash.Hash computing the SHA-384 checksum. func New384() hash.Hash { if boring.Enabled { return boring.NewSHA384() } d := &digest{function: crypto.SHA384} d.Reset() return d } func (d *digest) Size() int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/ledger/util.go
const ( hashLength = 8 ) type hash [hashLength]byte func bitIsSet(bits []byte, i int) bool { return bits[i/8]&(1<<uint(7-i%8)) != 0 } func hasher(data ...[]byte) []byte { hasher := murmur3.New64() for i := 0; i < len(data); i++ { _, _ = hasher.Write(data[i]) } result := hasher.Sum(nil) return result } // for sorting type dataArray [][]byte func (d dataArray) Len() int {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.3K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0) -
src/hash/fnv/fnv.go
// Its Sum method will lay the value out in big-endian byte order. func New32a() hash.Hash32 { var s sum32a = offset32 return &s } // New64 returns a new 64-bit FNV-1 [hash.Hash]. // Its Sum method will lay the value out in big-endian byte order. func New64() hash.Hash64 { var s sum64 = offset64 return &s } // New64a returns a new 64-bit FNV-1a [hash.Hash].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 22:36:41 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/ledger/ledger_test.go
assert.Equal(t, firstHash != secondHash, true) lastHash, err := l.Put("foo", "bar") assert.NoError(t, err) assert.Equal(t, firstHash, lastHash) } func MyHasher(data ...[]byte) (result []byte) { hasher := murmur3.New64() for i := 0; i < len(data); i++ { hasher.Write(data[i]) } result = hasher.Sum(nil) hasher.Reset() return } func TestCollision(t *testing.T) { hit := false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 12 16:12:59 UTC 2023 - 4K bytes - Viewed (0) -
pkg/ledger/ledger.go
func (s smtLedger) RootHash() string { return base64.StdEncoding.EncodeToString(s.tree.Root()) } func coerceKeyToHashLen(val string) []byte { hasher := murmur3.New64() _, _ = hasher.Write([]byte(val)) return hasher.Sum(nil) } func coerceToHashLen(val string) []byte { // hash length is fixed at 64 bits until generic support is added const hashLen = 64
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.9K bytes - Viewed (0)