Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for negatives (0.23 sec)

  1. pkg/config/validation/validation.go

    			errs = appendErrors(errs, fmt.Errorf("http1 max pending requests must be non-negative"))
    		}
    		if httpSettings.Http2MaxRequests < 0 {
    			errs = appendErrors(errs, fmt.Errorf("http2 max requests must be non-negative"))
    		}
    		if httpSettings.MaxRequestsPerConnection < 0 {
    			errs = appendErrors(errs, fmt.Errorf("max requests per connection must be non-negative"))
    		}
    		if httpSettings.MaxRetries < 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/helpers_test.go

    			evictionSoftGracePeriod: map[string]string{},
    			evictionMinReclaim:      map[string]string{},
    			expectErr:               true,
    			expectThresholds:        []evictionapi.Threshold{},
    		},
    		"hard-signal-negative": {
    			allocatableConfig:       []string{},
    			evictionHard:            map[string]string{"memory.available": "-150Mi"},
    			evictionSoft:            map[string]string{},
    			evictionSoftGracePeriod: map[string]string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  3. src/net/http/server.go

    	// let Handlers make decisions on a per-request basis.
    	// A zero or negative value means there will be no timeout.
    	WriteTimeout time.Duration
    
    	// IdleTimeout is the maximum amount of time to wait for the
    	// next request when keep-alives are enabled. If zero, the value
    	// of ReadTimeout is used. If negative, or if zero and ReadTimeout
    	// is zero or negative, there is no timeout.
    	IdleTimeout time.Duration
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. src/reflect/value.go

    // allocate the memory.
    func (v Value) Grow(n int) {
    	v.mustBeAssignable()
    	v.mustBe(Slice)
    	v.grow(n)
    }
    
    // grow is identical to Grow but does not check for assignability.
    func (v Value) grow(n int) {
    	p := (*unsafeheader.Slice)(v.ptr)
    	switch {
    	case n < 0:
    		panic("reflect.Value.Grow: negative len")
    	case p.Len+n < 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Div64 <t> n (Const64 [c])) && c < 0 && c != -1<<63 => (Neg64 (Div64 <t> n (Const64 <t> [-c])))
    
    // Dividing by the most-negative number.  Result is always 0 except
    // if the input is also the most-negative number.
    // We can detect that using the sign bit of x & -x.
    (Div8  <t> x (Const8  [-1<<7 ])) => (Rsh8Ux64  (And8  <t> x (Neg8  <t> x)) (Const64 <typ.UInt64> [7 ]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. src/crypto/x509/x509_test.go

    				0xff,    // -1
    				0x02, 1, // INTEGER, 1 byte
    				3,
    			},
    			expectedErrSubstr: "zero or negative",
    		}, {
    			derBytes: []byte{
    				0x30, 6, // SEQUENCE
    				0x02, 1, // INTEGER, 1 byte
    				17,
    				0x02, 1, // INTEGER, 1 byte
    				0xff, // -1
    			},
    			expectedErrSubstr: "zero or negative",
    		}, {
    			derBytes: []byte{
    				0x30, 6, // SEQUENCE
    				0x02, 1, // INTEGER, 1 byte
    				17,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/ops.mlir

    // -----
    
    func.func @testSliceBadBegin(%arg0: tensor<2x3x5xf32>, %arg1: tensor<3xi32>) -> tensor<?x3x5xf32> {
      %cst = arith.constant dense<[2, -1, 5]> : tensor<3xi32>
      // expected-error @+1 {{begin[1] cannot be negative}}
      %0 = "tfl.slice"(%arg0, %cst, %arg1) : (tensor<2x3x5xf32>, tensor<3xi32>, tensor<3xi32>) -> tensor<?x3x5xf32>
      func.return %0 : tensor<?x3x5xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    	mp := acquirem()
    
    	var pp *p
    	lock(&sched.lock)
    	pp, _ = pidlegetSpinning(0)
    	if pp == nil {
    		if sched.nmspinning.Add(-1) < 0 {
    			throw("wakep: negative nmspinning")
    		}
    		unlock(&sched.lock)
    		releasem(mp)
    		return
    	}
    	// Since we always have a P, the race in the "No M is available"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

          ValueReference<K, V> previous = entry.getValueReference();
          int weight = map.weigher.weigh(key, value);
          checkState(weight >= 0, "Weights must be non-negative");
    
          ValueReference<K, V> valueReference =
              map.valueStrength.referenceValue(this, entry, value, weight);
          entry.setValueReference(valueReference);
          recordWrite(entry, weight, now);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

          ValueReference<K, V> previous = entry.getValueReference();
          int weight = map.weigher.weigh(key, value);
          checkState(weight >= 0, "Weights must be non-negative");
    
          ValueReference<K, V> valueReference =
              map.valueStrength.referenceValue(this, entry, value, weight);
          entry.setValueReference(valueReference);
          recordWrite(entry, weight, now);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top