- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 461 for race (0.06 sec)
-
src/vendor/golang.org/x/net/nettest/conntest.go
// The tests should not produce any false positives, but may experience // false negatives. Thus, some issues may only be detected when the test is // run multiple times. For maximal effectiveness, run the tests under the // race detector. func TestConn(t *testing.T, mp MakePipe) { t.Run("BasicIO", func(t *testing.T) { timeoutWrapper(t, mp, testBasicIO) }) t.Run("PingPong", func(t *testing.T) { timeoutWrapper(t, mp, testPingPong) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.2K bytes - Viewed (0) -
src/runtime/ehooks_test.go
// running if CGO_ENABLED=0 is in effect. haverace := platform.RaceDetectorSupported(runtime.GOOS, runtime.GOARCH) if haverace && testenv.HasCGO() { bmodes = append(bmodes, "-race") } for _, bmode := range bmodes { scenarios := []struct { mode string expected string musthave []string }{ { mode: "simple", expected: "bar foo", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/runtime/memmove_test.go
t.Skip("-short") } t.Parallel() if race.Enabled { t.Skip("skipping large memmove test under race detector") } testSize(t, 0x180000) } func TestMemmoveOverlapLarge0x120000(t *testing.T) { if testing.Short() && testenv.Builder() == "" { t.Skip("-short") } t.Parallel() if race.Enabled { t.Skip("skipping large memmove test under race detector") } testOverlap(t, 0x120000) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:12 UTC 2024 - 21.2K bytes - Viewed (0) -
src/net/http/main_test.go
// completely separate test that has just finished. So we use non-atomic loads // and stores for the leakReported variable, and store every time we start a // leak check so that the race detector will flag concurrent leak checks as a // race even if we don't detect any leaks. leakReported = true var bad string badSubstring := map[string]string{ ").readLoop(": "a Transport", ").writeLoop(": "a Transport",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:46 UTC 2024 - 4.9K bytes - Viewed (0) -
cni/pkg/repair/repair.go
) var repairLog = scopes.CNIAgent func StartRepair(ctx context.Context, cfg config.RepairConfig) { if !cfg.Enabled { repairLog.Info("CNI repair is disable.") return } repairLog.Info("Start CNI race condition repair.") client, err := clientSetup() if err != nil { repairLog.Fatalf("CNI repair could not construct clientSet: %s", err) } rc, err := NewRepairController(client, cfg) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 1.5K bytes - Viewed (0) -
hack/make-rules/test.sh
# coverage mode. KUBE_COVERPROCS=${KUBE_COVERPROCS:-4} # use KUBE_RACE="" to disable the race detector # this is defaulted to "-race" in make test as well # NOTE: DO NOT ADD A COLON HERE. KUBE_RACE="" is meaningful! KUBE_RACE=${KUBE_RACE-"-race"} # Set to the goveralls binary path to report coverage results to Coveralls.io. KUBE_GOVERALLS_BIN=${KUBE_GOVERALLS_BIN:-}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 10.8K bytes - Viewed (0) -
src/unique/handle.go
setupMake.Do(registerCleanup) ma = addUniqueMap[T](typ) } m := ma.(*uniqueMap[T]) // Keep around any values we allocate for insertion. There // are a few different ways we can race with other threads // and create values that we might discard. By keeping // the first one we make around, we can avoid generating // more than one per racing thread. var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/bitrot-streaming.go
// Close the underlying writer. // This will also flush the ring buffer if used. err := b.iow.Close() // Wait for all data to be written before returning else it causes race conditions. // Race condition is because of io.PipeWriter implementation. i.e consider the following // sequent of operations: // 1) pipe.Write() // 2) pipe.Close()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
add("net", script.PrefixCondition("can connect to external network host <suffix>", hasNet)) add("pielinkext", script.Condition("platform requires external linking for PIE", pieLinkExt)) add("race", sysCondition("-race", platform.RaceDetectorSupported, true)) add("symlink", lazyBool("testenv.HasSymlink()", testenv.HasSymlink)) add("trimpath", script.OnceCondition("test binary was built with -trimpath", isTrimpath)) return conds
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
src/net/textproto/reader_test.go
// Regression test for data race reported in issue 46363: // ReadMIMEHeader reads commonHeader before commonHeader has been initialized. // Run this test with the race detector enabled to catch the reported data race. // Reset commonHeaderOnce, so that commonHeader will have to be initialized commonHeaderOnce = sync.Once{} commonHeader = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 05 18:31:56 UTC 2024 - 14.7K bytes - Viewed (0)