- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkFnv (0.1 sec)
-
pkg/controller/deployment/util/hash_test.go
func getPodTemplateSpecOldHash(template v1.PodTemplateSpec) uint32 { podTemplateSpecHasher := adler32.New() hashutil.DeepHashObject(podTemplateSpecHasher, template) return podTemplateSpecHasher.Sum32() } func BenchmarkFnv(b *testing.B) { spec := v1.PodTemplateSpec{} json.Unmarshal([]byte(podSpec), &spec) for i := 0; i < b.N; i++ { controller.ComputeHash(&spec, nil) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 28 19:00:40 UTC 2019 - 4K bytes - Viewed (0)