- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 162 for newResource (0.23 sec)
-
cmd/erasure-server-pool.go
}) bootstrapTrace("initHealMRF", func() { go globalMRFState.healRoutine(z) }) // initialize the object layer. defer setObjectLayer(z) r := rand.New(rand.NewSource(time.Now().UnixNano())) attempt := 1 for { var err error bootstrapTrace(fmt.Sprintf("poolMeta.Init: loading pool metadata, attempt: %d", attempt), func() { err = z.Init(ctx) // Initializes all pools. })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0) -
src/testing/testing.go
fmt.Fprintln(os.Stderr, `testing: -shuffle should be "off", "on", or a valid integer:`, err) m.exitCode = 2 return } } fmt.Println("-test.shuffle", n) rng := rand.New(rand.NewSource(n)) rng.Shuffle(len(m.tests), func(i, j int) { m.tests[i], m.tests[j] = m.tests[j], m.tests[i] }) rng.Shuffle(len(m.benchmarks), func(i, j int) { m.benchmarks[i], m.benchmarks[j] = m.benchmarks[j], m.benchmarks[i] }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
t.Fatal(err) } seed := rand.Int63() t.Logf("seed: %d", seed) fuzzerFuncs := fuzzer.MergeFuzzerFuncs(apiextensionsfuzzer.Funcs) f := fuzzer.FuzzerFor(fuzzerFuncs, rand.NewSource(seed), codecs) for i := 0; i < 10000; i++ { // fuzz internal types schema := &apiextensions.JSONSchemaProps{} f.Fuzz(schema) v1beta1Schema := &apiextensionsv1beta1.JSONSchemaProps{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 349.4K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
if goruntime.GOOS == "windows" { // TODO: remove skip once the failing test has been fixed. t.Skip("Skip failing test on Windows.") } random := rand.New(rand.NewSource(time.Now().UnixNano())) ctx, cancel := context.WithCancel(context.Background()) defer cancel() var ( initialNodeNumber = 1000 initialPodNumber = 500 waitSchedulingPodNumber = 200
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
cmd/bucket-replication.go
go p.startResyncRoutine(ctx, buckets, objAPI) return nil } func (p *ReplicationPool) startResyncRoutine(ctx context.Context, buckets []BucketInfo, objAPI ObjectLayer) { r := rand.New(rand.NewSource(time.Now().UnixNano())) // Run the replication resync in a loop for { if err := p.loadResync(ctx, buckets, objAPI); err == nil { <-ctx.Done() return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 114.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (1) -
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
GrouplessAPIPrefixes: sets.NewString("api"), } } const benchmarkSeed = 100 func benchmarkItems(b *testing.B) []example.Pod { clientapiObjectFuzzer := fuzzer.FuzzerFor(examplefuzzer.Funcs, rand.NewSource(benchmarkSeed), codecs) items := make([]example.Pod, 3) for i := range items { clientapiObjectFuzzer.Fuzz(&items[i]) } return items
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:15:22 UTC 2023 - 158.7K bytes - Viewed (0) -
cmd/site-replication.go
} // Init - initialize the site replication manager. func (c *SiteReplicationSys) Init(ctx context.Context, objAPI ObjectLayer) error { go c.startHealRoutine(ctx, objAPI) r := rand.New(rand.NewSource(time.Now().UnixNano())) for { err := c.loadFromDisk(ctx, objAPI) if err == errConfigNotFound { return nil } if err == nil { break }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
src/reflect/all_test.go
pos int last []choice } type choice struct { off int n int max int } func (x *exhaustive) Next() bool { if x.r == nil { x.r = rand.New(rand.NewSource(time.Now().UnixNano())) } x.pos = 0 if x.last == nil { x.last = []choice{} return true } for i := len(x.last) - 1; i >= 0; i-- { c := &x.last[i] if c.n+1 < c.max {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Float64", Func, 0}, {"Int", Func, 0}, {"Int31", Func, 0}, {"Int31n", Func, 0}, {"Int63", Func, 0}, {"Int63n", Func, 0}, {"Intn", Func, 0}, {"New", Func, 0}, {"NewSource", Func, 0}, {"NewZipf", Func, 0}, {"NormFloat64", Func, 0}, {"Perm", Func, 0}, {"Rand", Type, 0}, {"Read", Func, 6}, {"Seed", Func, 0}, {"Shuffle", Func, 10}, {"Source", Type, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)