Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,111 for leastOf (0.23 sec)

  1. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

          if (currentSubscribers == null || !currentSubscribers.removeAll(listenerMethodsForType)) {
            // if removeAll returns true, all we really know is that at least one subscriber was
            // removed... however, barring something very strange we can assume that if at least one
            // subscriber was removed, all subscribers on listener for that event type were... after
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  2. src/os/timeout_test.go

    		// (See https://go.dev/issue/50189 for further detail.)
    		// Give them lots of slop to compensate.
    		return d * 3 / 2
    	}
    	// Other platforms seem to hit their deadlines more reliably,
    	// at least when they are long enough to cover scheduling jitter.
    	return d * 11 / 10
    }
    
    // nextTimeout returns the next timeout to try after an operation took the given
    // actual duration with a timeout shorter than that duration.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  3. src/go/types/signature.go

    }
    
    // NewSignature returns a new function type for the given receiver, parameters,
    // and results, either of which may be nil. If variadic is set, the function
    // is variadic, it must have at least one parameter, and the last parameter
    // must be of unnamed slice type.
    //
    // Deprecated: Use [NewSignatureType] instead which allows for type parameters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/math/big/natconv.go

    		q := nat(nil).set(x)
    
    		// convert q to string s in base b
    		q.convertWords(s, b, ndigits, bb, table)
    
    		// strip leading zeros
    		// (x != 0; thus s must contain at least one non-zero digit
    		// and the loop will terminate)
    		i = 0
    		for s[i] == '0' {
    			i++
    		}
    	}
    
    	if neg {
    		i--
    		s[i] = '-'
    	}
    
    	return s[i:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

        std::vector<std::string>* control_ret_node_names,
        bool* control_rets_updated) {
      //  overall_state equals to:
      //    Enabled if at least one pass is Enabled.
      //    Disabled if all passes are Disabled.
      //    FallbackEnabled if there are no Enabled passes and there is at least one
      //      FallbackEnabled pass.
      MlirOptimizationPassState overall_state = MlirOptimizationPassState::Disabled;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    completed with success (exit code 0) are excluded from the requirement check. Possible values are:\n\n- In: the requirement is satisfied if at least one container exit code\n  (might be multiple if there are multiple containers not restricted\n  by the 'containerName' field) is in the set of specified values.\n- NotIn: the requirement is satisfied if at least one container exit code\n  (might be multiple if there are multiple containers not restricted\n  by the 'containerName' field) is not in the...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    		<-backoffMgr.Backoff().C()
    		passed := time.Since(start)
    		if passed < 1*time.Millisecond {
    			t.Errorf("backoff should be at least 1ms, but got %s", passed.String())
    		}
    	}
    }
    
    func TestExponentialBackoffManagerWithRealClock(t *testing.T) {
    	// backoff at least 1ms, 2ms, 4ms, 8ms, 10ms, 10ms, 10ms
    	durationFactors := []time.Duration{1, 2, 4, 8, 10, 10, 10}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/magic.go

    // Let q = x*m mod 2^n. Then c divides x if:
    //
    // -⎣(2^(n-1) - 1)/d0⎦ <= q <= ⎣(2^(n-1) - 1)/d0⎦ and q ends in at least k 0-bits
    //
    // To transform this to a single comparison, we use the following theorem (ZRS in Hacker's Delight).
    //
    // For a >= 0 the following conditions are equivalent:
    // 1) -a <= x <= a and x ends in at least k 0-bits
    // 2) RotRight(x+a', k) <= ⎣2a'/2^k⎦
    //
    // Where a' = a & -2^k (a with its right k bits set to zero)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/concepts.md

    ### Restart After Crash
    
    But in those cases with really bad errors that crash the running **process**, you would want an external component that is in charge of **restarting** the process, at least a couple of times...
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio_test.go

    		resources      []config.ResourceSpec
    		shape          []config.UtilizationShapePoint
    		wantErrs       field.ErrorList
    	}{
    		{
    			name:         "nothing scheduled, nothing requested (default - least requested nodes have priority)",
    			requestedPod: st.MakePod().Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 21.2K bytes
    - Viewed (0)
Back to top