Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 144 for Await (0.14 sec)

  1. src/time/time_test.go

    	timer := NewTimer(Hour)
    	for i := 0; i < goroutines; i++ {
    		go func(i int) {
    			defer wg.Done()
    			for j := 0; j < tries; j++ {
    				timer.Reset(Hour + Duration(i*j))
    			}
    		}(i)
    	}
    	wg.Wait()
    }
    
    // Issue 37400: panic with "racy use of timers".
    func TestConcurrentTimerResetStop(t *testing.T) {
    	const goroutines = 8
    	const tries = 1000
    	var wg sync.WaitGroup
    	wg.Add(goroutines * 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/runtime/mgcpacer.go

    	systemstack(func() {
    		lock(&mheap_.lock)
    		out = gcController.setGCPercent(in)
    		gcControllerCommit()
    		unlock(&mheap_.lock)
    	})
    
    	// If we just disabled GC, wait for any concurrent GC mark to
    	// finish so we always return with no GC running.
    	if in < 0 {
    		gcWaitOnMark(work.cycles.Load())
    	}
    
    	return out
    }
    
    func readGOGC() int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. src/net/http/client_test.go

    	case <-time.After(60 * time.Second):
    		t.Errorf("request not sent after 60s")
    	}
    
    	// Write the request body and wait for the request to complete.
    	const content = "body"
    	bodyw.Write([]byte(content))
    	bodyw.Close()
    	wg.Wait()
    	if gotBody != content {
    		t.Fatalf("server got body %q, want %q", gotBody, content)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers_test.go

    	podWorkers.UpdatePod(UpdatePodOptions{
    		Pod:        newNamedPod("5-static", "test1", "pod1", true),
    		UpdateType: kubetypes.SyncPodUpdate,
    	})
    	// Wait for the previous work to be delivered to the worker
    	drainAllWorkers(podWorkers)
    	channels.Channel("5-static").Hold()
    	podWorkers.UpdatePod(UpdatePodOptions{
    		Pod:        newNamedPod("5-static", "test1", "pod1", true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/proxier.go

    	v1 "k8s.io/api/core/v1"
    	discovery "k8s.io/api/discovery/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/client-go/tools/events"
    	utilsysctl "k8s.io/component-helpers/node/util/sysctl"
    	"k8s.io/kubernetes/pkg/proxy"
    	"k8s.io/kubernetes/pkg/proxy/conntrack"
    	"k8s.io/kubernetes/pkg/proxy/healthcheck"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    		istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    			"waypoint",
    			"apply",
    			"--namespace",
    			apps.Namespace.Name(),
    			"--name", "captured-waypoint",
    			"--wait",
    		})
    		t.Cleanup(func() {
    			istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    				"waypoint",
    				"delete",
    				"--namespace",
    				apps.Namespace.Name(),
    				"captured-waypoint",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test.cc

      // 1. Create a variable on `remote_device`, using `ctx_0`.
      TFE_TensorHandle* handle_0 =
          CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2");
    
      // 2. Wait for `var2` to be created and initialized on the worker.
      TF_Status* status = TF_NewStatus();
      TFE_ContextAsyncWait(ctx_0, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  8. tests/integration/pilot/testdata/upgrade/1.7.6-install.yaml.tar

    .ProxyConfig.Concurrency.GetValue }}" {{- end -}} {{- if .Values.global.proxy.lifecycle }} lifecycle: {{ toYaml .Values.global.proxy.lifecycle | indent 4 }} {{- else if .Values.global.proxy.holdApplicationUntil}} lifecycle: postStart: exec: command: - pilot-agent - wait {{- end }} env: - name: JWT_POLICY value: {{ .Values.global.jwtPolicy }} - name: PILOT_CERT_PROVIDER value: {{ .Values.global.pilotCertProvider }} - name: CA_ADDR {{- if .Values.global.caAddress }} value: {{ .Values.global.caAddress }} {{- else }}...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 13 16:06:08 UTC 2021
    - 60K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	writeFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) = WriteFile
    //sys	GetOverlappedResult(handle Handle, overlapped *Overlapped, done *uint32, wait bool) (err error)
    //sys	SetFilePointer(handle Handle, lowoffset int32, highoffsetptr *int32, whence uint32) (newlowoffset uint32, err error) [failretval==0xffffffff]
    //sys	CloseHandle(handle Handle) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  10. src/testing/testing.go

    	t.checkRaces()
    
    	if t.chatty != nil {
    		t.chatty.Updatef(t.name, "=== PAUSE %s\n", t.name)
    	}
    	running.Delete(t.name)
    
    	t.signal <- true   // Release calling test.
    	<-t.parent.barrier // Wait for the parent test to complete.
    	t.context.waitParallel()
    
    	if t.chatty != nil {
    		t.chatty.Updatef(t.name, "=== CONT  %s\n", t.name)
    	}
    	running.Store(t.name, highPrecisionTimeNow())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top