- Sort Score
- Result 10 results
- Languages All
Results 31 - 35 of 35 for new224 (0.12 sec)
-
pilot/pkg/serviceregistry/serviceentry/controller.go
// // The current algorithm to allocate IPs is deterministic across all istiods. func autoAllocateIPs(services []*model.Service) []*model.Service { hashedServices := make([]*model.Service, maxIPs) hash := fnv.New32a() // First iterate through the range of services and determine its position by hash // so that we can deterministically allocate an IP. // We use "Double Hashning" for collision detection. // The hash algorithm is
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768.go
dkB := dk.dk[:0] for i := range s { dkB = polyByteEncode(dkB, s[i]) } for i := range t { dkB = polyByteEncode(dkB, t[i]) } dkB = append(dkB, ρ...) H := sha3.New256() H.Write(dkB[decryptionKeySize:]) dkB = H.Sum(dkB) dkB = append(dkB, z[:]...) if len(dkB) != len(dk.dk) { panic("mlkem768: internal error: invalid decapsulation key size") } return dk
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 28.4K bytes - Viewed (0) -
pkg/controller/controller_utils.go
// a collisionCount to avoid hash collision. The hash will be safe encoded to // avoid bad words. func ComputeHash(template *v1.PodTemplateSpec, collisionCount *int32) string { podTemplateSpecHasher := fnv.New32a() hashutil.DeepHashObject(podTemplateSpecHasher, *template) // Add collisionCount in the hash if it exists. if collisionCount != nil { collisionCountBytes := make([]byte, 8)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 12 15:34:44 UTC 2024 - 47.6K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
q := new(*float64) _ = *p == **q new /* ERROR "not used" */ (int) _ = &new /* ERROR "cannot take address" */ (int) _ = new(int... /* ERROR "invalid use of ..." */ ) } func new2() { f1 := func() (x []int) { return } _ = new(f0 /* ERROR "not a type" */ ()) _ = new(f1 /* ERROR "not a type" */ ()) } func panic1() { panic() // ERROR "not enough arguments"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
} } else if wantError { t.Fatal("unexpected success") } }) } } } func shardMatch(name string) bool { if *shards <= 1 { return true } h := fnv.New32() io.WriteString(h, name) return int(h.Sum32()%uint32(*shards)) == *shard } func goFiles(t *testing.T, dir string) []string { f, err := os.Open(filepath.Join(testenv.GOROOT(t), "test", dir)) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0)