Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 282 for drain1 (0.11 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/EndPointQueue.java

        public void take(Collection<InterHubMessage> drainTo) {
            if (queue.isEmpty()) {
                owner.empty(this);
                while (queue.isEmpty()) {
                    try {
                        condition.await();
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            }
            drainTo.addAll(queue);
            queue.clear();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/sort/example_wrapper_test.go

    	fmt.Println("Organs by name:")
    	printOrgans(s)
    
    	// Output:
    	// Organs by weight:
    	// prostate (62g)
    	// pancreas (131g)
    	// spleen   (162g)
    	// heart    (290g)
    	// brain    (1340g)
    	// liver    (1494g)
    	// Organs by name:
    	// brain    (1340g)
    	// heart    (290g)
    	// liver    (1494g)
    	// pancreas (131g)
    	// prostate (62g)
    	// spleen   (162g)
    }
    
    func printOrgans(s []*Organ) {
    	for _, o := range s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go

    T0 + 70s + up-to 60s: InFlightRequestsDrained: existing in flight requests have been drained
    	- long running requests are outside of this scope
    	- up-to 60s: the default value of 'ShutdownTimeout' is 60s, this means that
          any request in flight has a hard timeout of 60s.
    	- it's time to call 'Shutdown' on the audit events since all
    	  in flight request(s) have drained.
    
    
    The following is a sequence of shutdown events that we expect to see with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:30 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/testdata/stackcheck/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() { asmMain() }
    
    func asmMain()
    
    func startSelf()
    
    func startChain()
    func chain0()
    func chain1()
    func chain2()
    func chainEnd()
    
    func startRec()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:26 UTC 2022
    - 345 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/config.go

    	// ShutdownWatchTerminationGracePeriod, if set to a positive value,
    	// is the maximum duration the apiserver will wait for all active
    	// watch request(s) to drain.
    	// Once this grace period elapses, the apiserver will no longer
    	// wait for any active watch request(s) in flight to drain, it will
    	// proceed to the next step in the graceful server shutdown process.
    	// If set to a positive value, the apiserver will keep track of the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/BUILD

            "//tensorflow/core/tfrt/saved_model/...",
            "//tensorflow/core/tfrt/tfrt_session/...",
        ] + if_google([
            "//learning/brain/experimental/mlir/tflite/tfmrt/...",
            "//learning/brain/experimental/mlir/tfrt_compiler/...",
            "//learning/brain/experimental/tfrt/...",
            "//learning/brain/tfrt/...",
            "//learning/infra/mira/...",
            "//learning/serving/contrib/tfrt/mlir/...",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 19:04:21 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	go w.processInterval(context.Background(), intervalFromEvents(initEvents), 1)
    	if !w.add(makeWatchCacheEvent(7), time.NewTimer(1*time.Second)) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    	forget(true) // drain the watcher
    
    	eventCount := 0
    	for range w.ResultChan() {
    		eventCount++
    	}
    	if eventCount != 3 {
    		t.Errorf("Unexpected number of objects received: %d, expected: 3", eventCount)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/status/server.go

    		http.Error(w, "Method Not Allowed", http.StatusMethodNotAllowed)
    		return
    	}
    	w.WriteHeader(http.StatusOK)
    	_, _ = w.Write([]byte("OK"))
    	log.Infof("handling %s, starting drain", drainPath)
    	s.drain()
    }
    
    func (s *Server) handleAppProbe(w http.ResponseWriter, req *http.Request) {
    	// Validate the request first.
    	path := req.URL.Path
    	if !strings.HasPrefix(path, "/") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  9. pkg/controller/nodelifecycle/scheduler/rate_limited_queue.go

    	} else {
    		newLimiter = flowcontrol.NewTokenBucketRateLimiter(newQPS, EvictionRateLimiterBurst)
    
    		// If we're currently waiting on limiter, we drain the new one - this is a good approach when Burst value is 1
    		// TODO: figure out if we need to support higher Burst values and decide on the drain logic, should we keep:
    		// - saturation (percentage of used tokens)
    		// - number of used tokens
    		// - number of available tokens
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager_test.go

    		newContainerAllocateResponse(
    			withDevices(map[string]string{"/dev/r1dev1": "/dev/r1dev1", "/dev/r1dev2": "/dev/r1dev2"}),
    			withMounts(map[string]string{"/home/r1lib1": "/usr/r1lib1"}),
    			withCDIDevices("domain1.com/resource1=dev1", "domain1.com/resource1=dev2"),
    		),
    	)
    	testManager.podDevices.insert("pod1", "con1", resourceName2,
    		constructDevices([]string{"dev1", "dev2"}),
    		newContainerAllocateResponse(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top