Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,948 for waits (0.12 sec)

  1. src/net/rpc/client.go

    		if cap(done) == 0 {
    			log.Panic("rpc: done channel is unbuffered")
    		}
    	}
    	call.Done = done
    	client.send(call)
    	return call
    }
    
    // Call invokes the named function, waits for it to complete, and returns its error status.
    func (client *Client) Call(serviceMethod string, args any, reply any) error {
    	call := <-client.Go(serviceMethod, args, reply, make(chan *Call, 1)).Done
    	return call.Error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. test/chan/select5.go

    	{{/*  that the argument sequence is strictly increasing. */}}
    	order = 0
    	c <- n
    	{{if .Maybe}}
    	{{/*  Outside of select, left-to-right rule applies. */}}
    	{{/*  (Inside select, assignment waits until case is chosen, */}}
    	{{/*  so right hand side happens before anything on left hand side. */}}
    	*fp(&x, 1) = <-fc(c, 2)
    	{{else}}{{if .Maybe}}
    	m[fn(13, 1)] = <-fc(c, 2)
    	x = m[13]
    	{{else}}
    	select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10K bytes
    - Viewed (0)
  3. src/net/http/httputil/dump.go

    		reqSend.URL.Scheme = "http"
    	}
    
    	// Use the actual Transport code to record what we would send
    	// on the wire, but not using TCP.  Use a Transport with a
    	// custom dialer that returns a fake net.Conn that waits
    	// for the full input (and recording it), and then responds
    	// with a dummy response.
    	var buf bytes.Buffer // records the output
    	pr, pw := io.Pipe()
    	defer pr.Close()
    	defer pw.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

        TEST_DID_NOT_DIE
      };
    
      // Assumes one of the above roles.
      virtual TestRole AssumeRole() = 0;
    
      // Waits for the death test to finish and returns its status.
      virtual int Wait() = 0;
    
      // Returns true if the death test passed; that is, the test process
      // exited during the test, its exit status matches a user-supplied
      // predicate, and its stderr output matches a user-supplied regular
      // expression.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. pkg/controller/podgc/gc_controller.go

    	// sort only when necessary
    	sort.Sort(byEvictionAndCreationTimestamp(terminatingPods))
    	var wait sync.WaitGroup
    	for i := 0; i < deleteCount; i++ {
    		wait.Add(1)
    		go func(pod *v1.Pod) {
    			defer wait.Done()
    			metrics.DeletingPodsTotal.WithLabelValues(pod.Namespace, metrics.PodGCReasonTerminatingOutOfService).Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	return nil
    }
    
    // waitForTLSBootstrappedClient waits for the /etc/kubernetes/kubelet.conf file to be available
    func waitForTLSBootstrappedClient(timeout time.Duration) error {
    	fmt.Println("[kubelet-start] Waiting for the kubelet to perform the TLS Bootstrap")
    
    	// Loop on every falsy return. Return with an error if raised. Exit successfully if true is returned.
    	return wait.PollUntilContextTimeout(context.Background(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/start.go

    // A StartResult is a handle to the result of a call to [Start]. Call
    // [StartResult.Wait] to wait for the completion of all work done on behalf of
    // Start.
    type StartResult struct {
    	wg sync.WaitGroup
    }
    
    // Wait waits for the completion of all work initiated by [Start].
    func (res *StartResult) Wait() {
    	if res == nil {
    		return
    	}
    	res.wg.Wait()
    }
    
    var daemonize = func(cmd *exec.Cmd) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pkg/webhooks/validation/controller/controller.go

    		// longer lasting concerns which will eventually be retried on 1min interval.
    		// Unlike the mutating webhook controller, we do not use NewItemFastSlowRateLimiter. This is because
    		// the validation controller waits for its own service to be ready, so typically this takes a few seconds
    		// before we are ready; using FastSlow means we tend to always take the Slow time (1min).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. pkg/kubemark/controller.go

    	}
    
    	kubemarkNodeInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		UpdateFunc: controller.kubemarkCluster.removeUnneededNodes,
    	})
    
    	return controller, nil
    }
    
    // WaitForCacheSync waits until all caches in the controller are populated.
    func (kubemarkController *KubemarkController) WaitForCacheSync(stopCh chan struct{}) bool {
    	return cache.WaitForNamedCacheSync("kubemark", stopCh,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //
    //   2. The parent process clone()s a sub-process and runs the death
    //   test in it; the sub-process exits with code 0 at the end of the
    //   death test, if it hasn't exited already.
    //
    //   3. The parent process waits for the sub-process to terminate.
    //
    //   4. The parent process checks the exit code and error message of
    //   the sub-process.
    //
    // Examples:
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top