- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,723 for iterations (0.48 sec)
-
src/net/dial_unix_test.go
// connects _sometimes_ succeed immediately. // Prevent that, so we exercise the code path // we're interested in testing. This seems // harmless. It makes FreeBSD 10.10 work when // run with many iterations. It failed about // half the time previously. return syscall.EINPROGRESS } return err } getsockoptIntFunc = func(fd, level, opt int) (val int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 2.8K bytes - Viewed (0) -
test/chanlinear.go
// take linear time. package main import ( "fmt" "runtime" "time" ) // checkLinear asserts that the running time of f(n) is in O(n). // tries is the initial number of iterations. func checkLinear(typ string, tries int, f func(n int)) { // Depending on the machine and OS, this test might be too fast // to measure with accurate enough granularity. On failure,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/aot/benchmark.h
static constexpr int64_t kDefaultMicros = 3000000; int64_t max_iters = 0; // Maximum iterations to run, ignored if <= 0. int64_t max_micros = 0; // Maximum microseconds to run, ignored if <= 0. }; // Stats holds statistics collected during benchmarking. struct Stats { std::vector<int64_t> per_iter_us; // Per-iteration deltas in us. int64_t total_us; // Total time in us.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/cel/config.go
// current RuntimeCELCostBudgetMatchConditions gives roughly 1/4 seconds for the validation RuntimeCELCostBudgetMatchConditions = 2500000 // CheckFrequency configures the number of iterations within a comprehension to evaluate // before checking whether the function evaluation has been interrupted CheckFrequency = 100 // MaxRequestSizeBytes is the maximum size of a request to the API server
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 15 03:28:26 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/termlist.go
// one iteration. for _, x := range xl { if x != nil { return false } } return true } // isAll reports whether the termlist xl represents the set of all types. func (xl termlist) isAll() bool { // If there's a 𝓤 term, the entire list is 𝓤. // If the termlist is in normal form, this requires at most // one iteration. for _, x := range xl {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 21:08:44 UTC 2023 - 3.8K bytes - Viewed (0) -
src/slices/sort_benchmark_test.go
} } cmpFunc := func(a, b *myStruct) int { if n := strings.Compare(a.a, b.a); n != 0 { return n } return cmp.Compare(a.n, b.n) } // Presort the slice so all benchmark iterations are identical. slices.SortFunc(structs, cmpFunc) b.ResetTimer() for i := 0; i < b.N; i++ { // Sort the slice twice because slices.SortFunc modifies the slice in place.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 23:39:07 UTC 2024 - 2.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCache.java
*/ String[] bottomSpecs() default {}; /** * Declare regular expressions matching the iteration name. * Defaults to an empty array, meaning this annotation applies to all iterations of the annotated feature. */ String[] iterationMatchers() default {}; String because() default ""; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/compile/internal/s390x/ggen.go
p.Reg = int16(s390x.REGSP) reg = s390x.REGRT1 off = 0 } // Generate a loop of large clears. if cnt > clearLoopCutoff { ireg := int16(s390x.REGRT2) // register holds number of remaining loop iterations p = pp.Append(p, s390x.AMOVD, obj.TYPE_CONST, 0, cnt/256, obj.TYPE_REG, ireg, 0) p = pp.Append(p, s390x.ACLEAR, obj.TYPE_CONST, 0, 256, obj.TYPE_MEM, reg, off) pl := p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 19 15:59:22 UTC 2022 - 2.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutator_repeat.txt
# a worker process terminates without communicating the crashing input back # to the coordinator. [short] skip env GOCACHE=$WORK/cache # Start fuzzing. The worker crashes after 100 iterations. # The fuzz function writes the crashing input to "want" before exiting. # The fuzzing engine reconstructs the crashing input and saves it to testdata. ! exists want
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/mgclimit_test.go
} l := NewGCCPULimiter(ticks, procs) // Do the whole test twice to make sure state doesn't leak across. var baseOverflow uint64 // Track total overflow across iterations. for i := 0; i < 2; i++ { t.Logf("Iteration %d", i+1) if l.Capacity() != procs*CapacityPerProc { t.Fatalf("unexpected capacity: %d", l.Capacity()) } if l.Fill() != 0 { t.Fatalf("expected empty bucket to start") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 13 16:02:20 UTC 2022 - 9K bytes - Viewed (0)