Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for race (0.27 sec)

  1. src/runtime/proc.go

    	// CAS and event emission to appear atomic to the tracer.
    	trace := traceAcquire()
    	if trace.ok() {
    		trace.GoPark(traceBlockPreempted, 0)
    	}
    	casfrom_Gscanstatus(gp, _Gscan|_Gpreempted, _Gpreempted)
    	if trace.ok() {
    		traceRelease(trace)
    	}
    	schedule()
    }
    
    // goyield is like Gosched, but it:
    // - emits a GoPreempt trace event instead of a GoSched trace event
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    			// Test failure will happen with a panic or other race condition being
    			// reported.
    			rows, _ := tx.QueryContext(ctx, "WAIT|"+qwait+"|SELECT|people|name|")
    			if rows != nil {
    				var name string
    				// Call Next to test Issue 21117 and check for races.
    				for rows.Next() {
    					// Scan the buffer so it is read and checked for races.
    					rows.Scan(&name)
    				}
    				rows.Close()
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/pkg.go

    	}
    	// On ARM with GOARM=5, it forces an import of math, for soft floating point.
    	if cfg.Goarch == "arm" {
    		deps = append(deps, "math")
    	}
    	// Using the race detector forces an import of runtime/race.
    	if cfg.BuildRace {
    		deps = append(deps, "runtime/race")
    	}
    	// Using memory sanitizer forces an import of runtime/msan.
    	if cfg.BuildMSan {
    		deps = append(deps, "runtime/msan")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    			// “[block] until all outstanding requests on this server have completed”,
    			// causing the call to Logf below to race with the end of the test.
    			//
    			// Since the client doesn't cancel the request until we have copied half
    			// the body, this call to add happens before the test is cleaned up,
    			// preventing the race.
    			wg.Add(1)
    			defer wg.Done()
    
    			n, err := io.CopyN(rw, req.Body, bodySize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    	// Knowing this, it is reasonable to wait until the service lister has synchronized at least once before attempting to build
    	// a service env var map.  This doesn't present the race below from happening entirely, but it does prevent the "obvious"
    	// failure case of services simply not having completed a list operation that can reasonably be expected to succeed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    		},
    	}
    	if mode == http2Mode {
    		trace.TLSHandshakeStart = func() { logf("tls handshake start") }
    		trace.TLSHandshakeDone = func(s tls.ConnectionState, err error) {
    			logf("tls handshake done. ConnectionState = %v \n err = %v", s, err)
    		}
    	}
    	if noHooks {
    		// zero out all func pointers, trying to get some path to crash
    		*trace = httptrace.ClientTrace{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. src/cmd/go/alldocs.go

    //	-installsuffix suffix
    //		a suffix to use in the name of the package installation directory,
    //		in order to keep output separate from default builds.
    //		If using the -race flag, the install suffix is automatically set to race
    //		or, if set explicitly, has _race appended to it. Likewise for the -msan
    //		and -asan flags. Using a -buildmode option that requires non-default compile
    //		flags has a similar effect.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    	BirthCry()
    	StartGarbageCollection()
    	ListenAndServe(kubeCfg *kubeletconfiginternal.KubeletConfiguration, tlsOptions *server.TLSOptions, auth server.AuthInterface, tp trace.TracerProvider)
    	ListenAndServeReadOnly(address net.IP, port uint, tp trace.TracerProvider)
    	ListenAndServePodResources()
    	Run(<-chan kubetypes.PodUpdate)
    	RunOnce(<-chan kubetypes.PodUpdate) ([]RunPodResult, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  9. pkg/controller/garbagecollector/garbagecollector_test.go

    		old := []metav1.OwnerReference{{UID: "1"}, {UID: "2"}}
    		new := []metav1.OwnerReference{{UID: "2"}, {UID: "3"}}
    		referencesDiffs(old, new)
    	}
    }
    
    // TestDependentsRace relies on golang's data race detector to check if there is
    // data race among in the dependents field.
    func TestDependentsRace(t *testing.T) {
    	logger, _ := ktesting.NewTestContext(t)
    
    	gc := setupGC(t, &restclient.Config{})
    	defer close(gc.stop)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods_test.go

    	// as there are no synchronisation events in that function (no locks, no channels, ...) each test routine
    	// should have its own vector clock increased independently. Golang race detector uses pure happens-before
    	// detection, so would catch a race condition consistently, despite only spawning 2 goroutines
    	for i := 0; i < 2; i++ {
    		go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top