Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 234 for race (0.07 sec)

  1. pkg/scheduler/schedule_one.go

    	trace := utiltrace.New("Scheduling", utiltrace.Field{Key: "namespace", Value: pod.Namespace}, utiltrace.Field{Key: "name", Value: pod.Name})
    	defer trace.LogIfLong(100 * time.Millisecond)
    	if err := sched.Cache.UpdateSnapshot(klog.FromContext(ctx), sched.nodeInfoSnapshot); err != nil {
    		return result, err
    	}
    	trace.Step("Snapshotting scheduler cache and node infos done")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    	if cfg.DebugTrace != "" {
    		var close func() error
    		var err error
    		ctx, close, err = trace.Start(ctx, cfg.DebugTrace)
    		if err != nil {
    			base.Fatalf("failed to start trace: %v", err)
    		}
    		defer func() {
    			if err := close(); err != nil {
    				base.Fatalf("failed to stop trace: %v", err)
    			}
    		}()
    	}
    
    	ctx, span := trace.StartSpan(ctx, fmt.Sprint("Running ", cmd.Name(), " command"))
    	defer span.Done()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.30.md

    - Fixed a potential data race in DRA with no known real-world implications. ([#123222](https://github.com/kubernetes/kubernetes/pull/123222), [@pohly](https://github.com/pohly))
    - Fixed a race condition in the iptables mode of kube-proxy in `1.27` and later
      that could result in some updates getting lost (e.g., when a service gets a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
  4. src/os/os_windows_test.go

    		t.Fatal(err)
    	}
    
    	err = os.Chdir("..")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	fi2, err := f.Stat()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if !os.SameFile(fi, fi2) {
    		t.Fatal("race condition occurred")
    	}
    }
    
    func TestOpenVolumeName(t *testing.T) {
    	tmpdir := t.TempDir()
    	chdir(t, tmpdir)
    
    	want := []string{"file1", "file2", "file3", "gopher.txt"}
    	slices.Sort(want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. src/net/http/h2_bundle.go

    	if trace != nil && trace.Wait100Continue != nil {
    		trace.Wait100Continue()
    	}
    }
    
    func http2traceWroteRequest(trace *httptrace.ClientTrace, err error) {
    	if trace != nil && trace.WroteRequest != nil {
    		trace.WroteRequest(httptrace.WroteRequestInfo{Err: err})
    	}
    }
    
    func http2traceFirstResponseByte(trace *httptrace.ClientTrace) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  6. src/internal/trace/internal/testgen/go122/trace.go

    	"os"
    	"regexp"
    	"strings"
    
    	"internal/trace"
    	"internal/trace/event"
    	"internal/trace/event/go122"
    	"internal/trace/raw"
    	"internal/trace/version"
    	"internal/txtar"
    )
    
    func Main(f func(*Trace)) {
    	// Create an output file.
    	out, err := os.Create(os.Args[1])
    	if err != nil {
    		panic(err.Error())
    	}
    	defer out.Close()
    
    	// Create a new trace.
    	trace := NewTrace()
    
    	// Call the generator.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	blockedWatchers []*cacheWatcher
    	// watchersToStop is a list of watchers that were supposed to be stopped
    	// during current dispatching, but stopping was deferred to the end of
    	// dispatching that event to avoid race with closing channels in watchers.
    	watchersToStop []*cacheWatcher
    	// Maintain a timeout queue to send the bookmark event before the watcher times out.
    	// Note that this field when accessed MUST be protected by the Cacher.lock.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/runtime/export_test.go

    	// Initialize the metrics beforehand because this could
    	// allocate and skew the stats.
    	metricsLock()
    	initMetrics()
    
    	systemstack(func() {
    		// Donate the racectx to g0. readMetricsLocked calls into the race detector
    		// via map access.
    		getg().racectx = getg().m.curg.racectx
    
    		// Read the metrics once before in case it allocates and skews the metrics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  9. 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)
  10. src/crypto/tls/conn.go

    	// If a close-notify alert is waiting, read it so that we can return (n,
    	// EOF) instead of (n, nil), to signal to the HTTP response reading
    	// goroutine that the connection is now closed. This eliminates a race
    	// where the HTTP response reading goroutine would otherwise not observe
    	// the EOF until its next read, by which time a client goroutine might
    	// have already tried to reuse the HTTP connection for a new request.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top