- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 79 for exercise (0.43 sec)
-
src/math/rand/race_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package rand_test import ( . "math/rand" "sync" "testing" ) // TestConcurrent exercises the rand API concurrently, triggering situations // where the race detector is likely to detect issues. func TestConcurrent(t *testing.T) { const ( numRoutines = 10 numCycles = 10 ) var wg sync.WaitGroup
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 28 16:06:21 UTC 2021 - 1.1K bytes - Viewed (0) -
src/math/rand/v2/race_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package rand_test import ( . "math/rand/v2" "sync" "testing" ) // TestConcurrent exercises the rand API concurrently, triggering situations // where the race detector is likely to detect issues. func TestConcurrent(t *testing.T) { const ( numRoutines = 10 numCycles = 10 ) var wg sync.WaitGroup
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 14:31:46 UTC 2023 - 1005 bytes - Viewed (0) -
src/cmd/go/testdata/script/work_sync_sum.txt
# Test that the sum file data state is properly reset between modules in # go work sync so that the sum file that's written is correct. # Exercises the fix to #50038. cp b/go.sum b/go.sum.want # As a sanity check, verify b/go.sum is tidy. cd b go mod tidy cd .. cmp b/go.sum b/go.sum.want # Run go work sync and verify it doesn't change b/go.sum. go work sync cmp b/go.sum b/go.sum.want -- b/go.sum --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 13 19:25:50 UTC 2022 - 864 bytes - Viewed (0) -
src/cmd/compile/internal/test/race.go
//go:build !compiler_bootstrap package test // The racecompile builder only builds packages, but does not build // or run tests. This is a non-test file to hold cases that (used // to) trigger compiler data races, so they will be exercised on // the racecompile builder. // // This package is not imported so functions here are not included // in the actual compiler. // Issue 55357: data race when building multiple instantiations of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 20 22:16:41 UTC 2022 - 1.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy
where: [description, code] << INVALID_CALL_FROM_LAZY_CONFIGURATION } @Requires( value = IntegTestPreconditions.NotIsolatedProjects, reason = "Exercises IP incompatible behavior" ) def "cannot execute #description on another project during lazy task creation action execution"() { createDirs("nested", "other")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 9.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_vendor_prune.txt
# This test exercises that vendoring works properly using the workspace in the # the work_prune test case. go work vendor cmp vendor/modules.txt modules.txt.want cmp vendor/example.com/b/b.go b/b.go cmp vendor/example.com/q/q.go q1_1_0/q.go go list -m -f '{{.Version}}' example.com/q stdout '^v1.1.0$' go list -f '{{.Dir}}' example.com/q stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]q go list -f '{{.Dir}}' example.com/b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 01:59:23 UTC 2023 - 1.7K bytes - Viewed (0) -
pilot/pkg/xds/vm_test.go
"istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/test/util/retry" ) // TestRegistration is an e2e test for registration. Most tests are in autoregister package, but this // exercises the full XDS flow. func TestRegistration(t *testing.T) { // TODO: allow fake XDS to be "authenticated" test.SetForTest(t, &features.ValidateWorkloadEntryIdentity, false) ds := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 2.3K bytes - Viewed (0) -
tests/integration/telemetry/tracing/zipkin/server_tracing_test.go
import ( "errors" "fmt" "testing" "time" "istio.io/istio/pkg/test/framework" "istio.io/istio/pkg/test/util/retry" "istio.io/istio/tests/integration/telemetry/tracing" ) // TestServerTracing exercises the trace generation features of Istio, based on the Envoy Trace driver for zipkin. // The test verifies that all expected spans (a client span and a server span for each service call in the sample bookinfo app)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.3K bytes - Viewed (0) -
tests/integration/telemetry/tracing/zipkin/client_tracing_test.go
"testing" "time" "github.com/google/uuid" "istio.io/istio/pkg/test/framework" "istio.io/istio/pkg/test/util/retry" "istio.io/istio/tests/integration/telemetry/tracing" ) // TestClientTracing exercises the trace generation features of Istio, based on the Envoy Trace driver for zipkin using // client initiated tracing using envoy traceheader.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds_test.go
See the License for the specific language governing permissions and limitations under the License. */ package request import ( "math" "testing" "time" ) // TestSeatSecondsString exercises the SeatSeconds constructor and de-constructors (String, ToFloat). func TestSeatSecondsString(t *testing.T) { testCases := []struct { ss SeatSeconds expectFloat float64 expectStr string }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 29 20:20:16 UTC 2021 - 2.5K bytes - Viewed (0)