Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 208 for BarTest (0.13 sec)

  1. pkg/apis/autoscaling/validation/validation.go

    	apivalidation "k8s.io/kubernetes/pkg/apis/core/validation"
    	"k8s.io/kubernetes/pkg/features"
    )
    
    const (
    	// MaxPeriodSeconds is the largest allowed scaling policy period (in seconds)
    	MaxPeriodSeconds int32 = 1800
    	// MaxStabilizationWindowSeconds is the largest allowed stabilization window (in seconds)
    	MaxStabilizationWindowSeconds int32 = 3600
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    				// If the replacement does not make the result longer, use the original string length.
    				replaceCount.Max = 0
    				retainedSz.Max = sz.Max
    			} else {
    				// Replace the smallest possible substrings with the largest possible replacement
    				// as many times as possible.
    				replaceCount.Max = uint64(math.Ceil(float64(sz.Max) / float64(toReplaceSz.Min)))
    			}
    
    			// find the shortest replacement:
    			if toReplaceSz.Max == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go

    		dyn := apiservercel.NewSimpleTypeWithMinSize("dyn", cel.DynType, nil, 1) // smallest value for a serialized x-kubernetes-int-or-string is 0
    		// handle x-kubernetes-int-or-string by returning the max length/min serialized size of the largest possible string
    		dyn.MaxElements = maxRequestSizeBytes - 2
    		return dyn
    	}
    
    	// We ignore XPreserveUnknownFields since we don't support validation rules on
    	// data that we don't have schema information for.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/liveness/plive.go

    				}
    			}
    		}
    	}
    	// Next, find the offset of the largest pointer in the largest node.
    	var maxArgs int64
    	if maxArgNode != nil {
    		maxArgs = maxArgNode.FrameOffset() + types.PtrDataSize(maxArgNode.Type())
    	}
    
    	// Size locals bitmaps to be stkptrsize sized.
    	// We cannot shrink them to only hold the largest pointer,
    	// because their size is used to calculate the beginning
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // for a GetCapacityRequest with topology and parameters that match the
      // previous fields.
      //
      // This is defined since CSI spec 1.4.0 as the largest size
      // that may be used in a
      // CreateVolumeRequest.capacity_range.required_bytes field to
      // create a volume with the same parameters as those in
      // GetCapacityRequest. The corresponding value in the Kubernetes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/crypto/dsa/dsa.go

    type ParameterSizes int
    
    const (
    	L1024N160 ParameterSizes = iota
    	L2048N224
    	L2048N256
    	L3072N256
    )
    
    // numMRTests is the number of Miller-Rabin primality tests that we perform. We
    // pick the largest recommended number from table C.1 of FIPS 186-3.
    const numMRTests = 64
    
    // GenerateParameters puts a random, valid set of DSA parameters into params.
    // This function can take many seconds, even on fast machines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/strconv/atof_test.go

    	{"NAN", "NaN", nil},
    
    	// Infs
    	{"inf", "+Inf", nil},
    	{"-Inf", "-Inf", nil},
    	{"+INF", "+Inf", nil},
    	{"-Infinity", "-Inf", nil},
    	{"+INFINITY", "+Inf", nil},
    	{"Infinity", "+Inf", nil},
    
    	// largest float64
    	{"1.7976931348623157e308", "1.7976931348623157e+308", nil},
    	{"-1.7976931348623157e308", "-1.7976931348623157e+308", nil},
    	{"0x1.fffffffffffffp1023", "1.7976931348623157e+308", nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 23.6K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/ipallocator_test.go

    			cidr:  "2001:db8::/128",
    			addrs: 0,
    		},
    		{
    			name:  "small IPv6 cidr",
    			cidr:  "2001:db8::/127",
    			addrs: 1,
    		},
    		{
    			name:  "largest IPv6 for Int64",
    			cidr:  "2001:db8::/65",
    			addrs: math.MaxInt64,
    		},
    		{
    			name:  "largest IPv6 for Uint64",
    			cidr:  "2001:db8::/64",
    			addrs: math.MaxUint64,
    		},
    		{
    			name:  "very large IPv6 cidr",
    			cidr:  "2001:db8::/1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/IntMath.java

          throw new ArithmeticException("ceilingPowerOfTwo(" + x + ") not representable as an int");
        }
        return 1 << -Integer.numberOfLeadingZeros(x - 1);
      }
    
      /**
       * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code
       * checkedPow(2, log2(x, FLOOR))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. src/image/geom.go

    		r.Max.X -= n
    	}
    	if r.Dy() < 2*n {
    		r.Min.Y = (r.Min.Y + r.Max.Y) / 2
    		r.Max.Y = r.Min.Y
    	} else {
    		r.Min.Y += n
    		r.Max.Y -= n
    	}
    	return r
    }
    
    // Intersect returns the largest rectangle contained by both r and s. If the
    // two rectangles do not overlap then the zero rectangle will be returned.
    func (r Rectangle) Intersect(s Rectangle) Rectangle {
    	if r.Min.X < s.Min.X {
    		r.Min.X = s.Min.X
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top