- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 231 for race (0.25 sec)
-
src/go/types/issues_test.go
// underlying type of b.T (which is the underlying type of a.T, which is int) // we must not set the underlying type of a.T again since that would lead to // a race condition if package b is imported elsewhere, in a package that is // concurrently type-checked. func TestIssue34921(t *testing.T) { defer func() { if r := recover(); r != nil { t.Error(r) } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status.go
unschedulableTaint := v1.Taint{ Key: v1.TaintNodeUnschedulable, Effect: v1.TaintEffectNoSchedule, } // Taint node with TaintNodeUnschedulable when initializing // node to avoid race condition; refer to #63897 for more detail. if node.Spec.Unschedulable && !taintutil.TaintExists(nodeTaints, &unschedulableTaint) { nodeTaints = append(nodeTaints, unschedulableTaint) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 31.1K bytes - Viewed (0) -
src/net/smtp/smtp_test.go
bcmdbuf := bufio.NewWriter(&cmdbuf) l, err := net.Listen("tcp", "127.0.0.1:0") if err != nil { t.Fatalf("Unable to create listener: %v", err) } defer l.Close() // prevent data race on bcmdbuf var done = make(chan struct{}) go func(data []string) { defer close(done) conn, err := l.Accept() if err != nil { t.Errorf("Accept error: %v", err) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 28.5K bytes - Viewed (0) -
src/net/http/client_test.go
// The race detector doesn't know that we're waiting for a timeout // and thinks that the waitgroup inside httptest.Server is added to concurrently // with us closing it. If we timed out immediately, we could close the testserver // before we entered the handler. We're not timing out immediately and there's // no way we would be done before we entered the handler, but the race detector
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/run.go
} // addConntrackZoneDNSUDP is a helper function to add iptables rules to split DNS traffic // in two separate conntrack zones to avoid issues with UDP conntrack race conditions. // Traffic that goes from istio to DNS servers and vice versa are zone 1 and traffic from // DNS client to istio and vice versa goes to zone 2 func addConntrackZoneDNSUDP(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/kube/inject/inject_test.go
continue } cases = append(cases, testCase{in: f.Name(), want: want}) } // Precompute injection settings. This may seem like a premature optimization, but due to the size of // YAMLs, with -race this was taking >10min in some cases to generate! if util.Refresh() { cleanupOldFiles(t) writeInjectionSettings(t, "default", nil, "") for i, c := range cases { if c.setFlags != nil || c.inFilePath != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 34.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/call.go
assert(check != nil) assert(len(targs) == typ.TypeParams().Len()) if check.conf.Trace { check.trace(pos, "-- instantiating signature %s with %s", typ, targs) check.indent++ defer func() { check.indent-- check.trace(pos, "=> %s (under = %s)", res, res.Underlying()) }() } inst := check.instance(pos, typ, targs, nil, check.context()).(*Signature)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
} s.mutex.Unlock() for _, svc := range allServices { // shallow copy, copy `AutoAllocatedIPv4Address` and `AutoAllocatedIPv6Address` // if return the pointer directly, there will be a race with `BuildNameTable` // nolint: govet shallowSvc := *svc out = append(out, &shallowSvc) } return out } // GetService retrieves a service by host name if it exists.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
src/go/build/build.go
// directory. By default it is empty, but custom builds that need to keep // their outputs separate can set InstallSuffix to do so. For example, when // using the race detector, the go command uses InstallSuffix = "race", so // that on a Linux/386 system, packages are written to a directory named // "linux_386_race" instead of the usual "linux_386". InstallSuffix string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
// underlying type of b.T (which is the underlying type of a.T, which is int) // we must not set the underlying type of a.T again since that would lead to // a race condition if package b is imported elsewhere, in a package that is // concurrently type-checked. func TestIssue34921(t *testing.T) { defer func() { if r := recover(); r != nil { t.Error(r) } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0)