- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 281 for seed2 (0.04 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/round_trip_test.go
authorizationv1 "k8s.io/api/authorization/v1" authorizationv1beta1 "k8s.io/api/authorization/v1beta1" ) func TestRoundTrip(t *testing.T) { f := fuzz.New() seed := time.Now().UnixNano() t.Logf("seed = %v", seed) f.RandSource(rand.New(rand.NewSource(seed))) for i := 0; i < 1000; i++ { original := &authorizationv1.SubjectAccessReview{} f.Fuzz(&original.Spec) f.Fuzz(&original.Status)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 3.5K bytes - Viewed (0) -
src/internal/fuzz/pcg.go
if strings.HasPrefix(f, "fuzzseed=") { seed, err := strconv.Atoi(strings.TrimPrefix(f, "fuzzseed=")) if err != nil { panic("malformed fuzzseed") } return &seed } } return nil } // newPcgRand generates a new, seeded Rand, ready for use. func newPcgRand() *pcgRand { r := new(pcgRand) now := uint64(time.Now().UnixNano()) if seed := godebugSeed(); seed != nil { now = uint64(*seed) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:28:14 UTC 2024 - 3.3K bytes - Viewed (0) -
src/math/rand/default_test.go
// which is rare enough that it may never happen. We don't worry // about that case. switch code { case 0: // Call Seed and Uint64 concurrently. wg.Add(goroutines) for i := 0; i < goroutines; i++ { go func(s int64) { defer wg.Done() Seed(s) }(int64(i) + 100) } wg.Add(goroutines) for i := 0; i < goroutines; i++ { go func() { defer wg.Done() ch <- Uint64()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 07 23:39:35 UTC 2023 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/round_trip_test.go
authenticationv1 "k8s.io/api/authentication/v1" authenticationv1beta1 "k8s.io/api/authentication/v1beta1" ) func TestRoundTrip(t *testing.T) { f := fuzz.New() seed := time.Now().UnixNano() t.Logf("seed = %v", seed) f.RandSource(rand.New(rand.NewSource(seed))) for i := 0; i < 1000; i++ { original := &authenticationv1.TokenReview{} f.Fuzz(&original.Spec) f.Fuzz(&original.Status)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
} public List<String> getWordList(final SearchRequestType searchRequestType, final String seed, final String[] tags, final String[] roles, final String[] fields, final String[] excludes) { final String baseSeed = seed != null ? seed : fessConfig.getSuggestPopularWordSeed(); final String[] baseTags = tags != null ? tags : fessConfig.getSuggestPopularWordTagsAsArray();
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.6K bytes - Viewed (0) -
src/hash/maphash/example_test.go
fmt.Printf("%#x\n", h.Sum64()) // Reset discards all data previously added to the Hash, without // changing its seed. h.Reset() // Use SetSeed to create a new Hash h2 which will behave // identically to h. var h2 maphash.Hash h2.SetSeed(h.Seed()) h.WriteString("same") h2.WriteString("same") fmt.Printf("%#x == %#x\n", h.Sum64(), h2.Sum64())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 24 01:59:55 UTC 2020 - 933 bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
println("CACHE_MISS in task $taskPath") cacheMiss.set(true) } } } /** * We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS". */ fun isCacheMissMonitoredTask(task: Task) = task.isCompileCacheMissMonitoredTask() || task.project.isAsciidoctorCacheMissTask()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 05:49:29 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/cmd/bisect/rand.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:10 UTC 2023 - 442 bytes - Viewed (0) -
src/internal/fuzz/fuzz.go
coverageMask []byte } func newCoordinator(opts CoordinateFuzzingOpts) (*coordinator, error) { // Make sure all the seed corpus has marshaled data. for i := range opts.Seed { if opts.Seed[i].Data == nil && opts.Seed[i].Values != nil { opts.Seed[i].Data = marshalCorpusFile(opts.Seed[i].Values...) } } c := &coordinator{ opts: opts, startTime: time.Now(), inputC: make(chan fuzzInput),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 34.1K bytes - Viewed (0) -
src/internal/chacha8rand/export_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package chacha8rand var Block = block var Block_generic = block_generic func Seed(s *State) [4]uint64 { return s.seed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 283 bytes - Viewed (0)