Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for circuit (0.15 sec)

  1. pkg/controller/tainteviction/taint_eviction.go

    	pods, err := tc.getPodsAssignedToNode(node.Name)
    	if err != nil {
    		logger.Error(err, "Failed to get pods assigned to node", "node", klog.KObj(node))
    		return
    	}
    	if len(pods) == 0 {
    		return
    	}
    	// Short circuit, to make this controller a bit faster.
    	if len(taints) == 0 {
    		logger.V(4).Info("All taints were removed from the node. Cancelling all evictions...", "node", klog.KObj(node))
    		for i := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/text/template/exec.go

    	}
    
    	unwrap := func(v reflect.Value) reflect.Value {
    		if v.Type() == reflectValueType {
    			v = v.Interface().(reflect.Value)
    		}
    		return v
    	}
    
    	// Special case for builtin and/or, which short-circuit.
    	if isBuiltin && (name == "and" || name == "or") {
    		argType := typ.In(0)
    		var v reflect.Value
    		for _, arg := range args {
    			v = s.evalArg(dot, argType, arg).Interface().(reflect.Value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

          remove(range);
          entriesByLowerBound.put(range.lowerBound, new RangeMapEntry<K, V>(range, value));
        }
      }
    
      @Override
      public void putCoalescing(Range<K> range, V value) {
        // don't short-circuit if the range is empty - it may be between two ranges we can coalesce.
        if (entriesByLowerBound.isEmpty()) {
          put(range, value);
          return;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

       * Returns an immutable list of interceptors that observe a single network request and response.
       * These interceptors must call [Interceptor.Chain.proceed] exactly once: it is an error for
       * a network interceptor to short-circuit or repeat a network request.
       */
      @get:JvmName("networkInterceptors")
      val networkInterceptors: List<Interceptor> =
        builder.networkInterceptors.toImmutableList()
    
      @get:JvmName("eventListenerFactory")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            localTask.run();
            // Now check if our task attempted to reentrantly execute the next task.
            Runnable queuedTask;
            Executor queuedExecutor;
            // Intentionally using non-short-circuit operator
            while ((queuedTask = executingTaskQueue.nextTask) != null
                && (queuedExecutor = executingTaskQueue.nextExecutor) != null) {
              executingTaskQueue.nextTask = null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. pkg/controller/resourcequota/resource_quota_controller.go

    				for k, v := range oldResources {
    					if _, failed := groupLookupFailures[k.GroupVersion()]; failed {
    						newResources[k] = v
    					}
    				}
    			} else {
    				// short circuit in non-discovery error cases or if discovery returned zero resources
    				return
    			}
    		}
    
    		logger := klog.FromContext(ctx)
    
    		// Decide whether discovery has reported a change.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    		add rule ip kube-proxy external-42NFTM6N-ns2/svc2/tcp/p80 fib saddr type local jump mark-for-masquerade comment "masquerade local traffic"
    		add rule ip kube-proxy external-42NFTM6N-ns2/svc2/tcp/p80 fib saddr type local goto service-42NFTM6N-ns2/svc2/tcp/p80 comment "short-circuit local traffic"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/compile.go

    	{name: "early phielim and copyelim", fn: copyelim},
    	{name: "early deadcode", fn: deadcode}, // remove generated dead code to avoid doing pointless work during opt
    	{name: "short circuit", fn: shortcircuit},
    	{name: "decompose user", fn: decomposeUser, required: true},
    	{name: "pre-opt deadcode", fn: deadcode},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. pkg/kube/krt/collection.go

    				}
    
    				if h.log.DebugEnabled() {
    					h.log.WithLabels("res", key, "type", e.Event).Debugf("handled")
    				}
    				events = append(events, e)
    			}
    		}
    	}
    	h.mu.Unlock()
    
    	// Short circuit if we have nothing to do
    	if len(events) == 0 {
    		return
    	}
    	handlers := h.eventHandlers.Get()
    
    	if h.log.DebugEnabled() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            localTask.run();
            // Now check if our task attempted to reentrantly execute the next task.
            Runnable queuedTask;
            Executor queuedExecutor;
            // Intentionally using non-short-circuit operator
            while ((queuedTask = executingTaskQueue.nextTask) != null
                && (queuedExecutor = executingTaskQueue.nextExecutor) != null) {
              executingTaskQueue.nextTask = null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top