- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,572 for iterations (0.19 sec)
-
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/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) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/annotations/RunFor.groovy
ScenarioType type() OperatingSystem[] operatingSystems() String[] testProjects() default [] /** * Declare regular expressions matching the iteration name. * Defaults to an empty string, meaning this annotation applies to all iterations of the annotated feature. */ String iterationMatcher() default ""; String comment() default ""; } enum ScenarioType { PER_COMMIT,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2FilteringIntegrationTest.groovy
.assertTestPassed("$testMethod param=value2") where: testMethod << ["sub unrolled test", "super unrolled test", "super super unrolled test"] } def "can not filter specific iterations of unrolled tests"() { when: fails("test", "--tests", "SubClass.$testMethod") then: failureCauseContains("No tests found for given includes: [SubClass.$testMethod](--tests filter)")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4K bytes - Viewed (0) -
src/crypto/rsa/boring_test.go
k, err := GenerateKey(rand.Reader, 2048) if err != nil { t.Fatal(err) } // Run test with GOGC=10, to make bug more likely. // Without the KeepAlives, the loop usually dies after // about 30 iterations. defer debug.SetGCPercent(debug.SetGCPercent(10)) for n := 0; n < 200; n++ { // Clear the underlying BoringCrypto object cache. privCache.Clear() // Race to create the underlying BoringCrypto object.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 00:16:30 UTC 2022 - 4.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/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: Sat Sep 03 18:29:30 UTC 2022 - 3.8K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
} } func cpuHogger(f func(x int) int, y *int, dur time.Duration) { // We only need to get one 100 Hz clock tick, so we've got // a large safety buffer. // But do at least 500 iterations (which should take about 100ms), // otherwise TestCPUProfileMultithreaded can fail if only one // thread is scheduled during the testing period. t0 := time.Now() accum := *y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_test.go
} } } func TestBitwiseContended8(t *testing.T) { // Start with every bit in array set to 0. a := make([]uint8, 16) // Iterations to try. N := 1 << 16 if testing.Short() { N = 1 << 10 } // Set and then clear every bit in the array bit-by-bit in different goroutines. done := make(chan bool) for i := 0; i < 8; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.5K bytes - Viewed (0) -
src/go/types/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: Wed Apr 03 18:48:38 UTC 2024 - 3.9K bytes - Viewed (0)