Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 558 for Positive (0.17 sec)

  1. android/guava/src/com/google/common/hash/SipHashFunction.java

      /**
       * @param c the number of compression rounds (must be positive)
       * @param d the number of finalization rounds (must be positive)
       * @param k0 the first half of the key
       * @param k1 the second half of the key
       */
      SipHashFunction(int c, int d, long k0, long k1) {
        checkArgument(
            c > 0, "The number of SipRound iterations (c=%s) during Compression must be positive.", c);
        checkArgument(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/numa_info_test.go

    		expectedErr      error
    		opts             PolicyOptions
    	}{
    		{
    			name: "positive test 1 node",
    			topology: []cadvisorapi.Node{
    				{
    					Id: 0,
    				},
    			},
    			expectedNUMAInfo: &NUMAInfo{
    				Nodes: []int{0},
    				NUMADistances: NUMADistances{
    					0: nil,
    				},
    			},
    			opts: PolicyOptions{},
    		},
    		{
    			name: "positive test 1 node, with PreferClosestNUMA",
    			topology: []cadvisorapi.Node{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

       * @param expectedInsertions the number of expected insertions to the constructed {@code
       *     BloomFilter}; must be positive
       * @param fpp the desired false positive probability (must be positive and less than 1.0)
       * @return a {@code BloomFilter}
       */
      public static <T extends @Nullable Object> BloomFilter<T> create(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java

         */
        void writeLong(long value) throws IOException;
    
        /**
         * Writes a signed 64 bit long value whose value is likely to be small and positive but may not be. The implementation may encode the value in a way that is more efficient for small positive
         * values.
         */
        void writeSmallLong(long value) throws IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/waitgroup.go

    type SafeWaitGroup struct {
    	wg sync.WaitGroup
    	mu sync.RWMutex
    	// wait indicate whether Wait is called, if true,
    	// then any Add with positive delta will return error.
    	wait bool
    }
    
    // Add adds delta, which may be negative, similar to sync.WaitGroup.
    // If Add with a positive delta happens after Wait, it will return error,
    // which prevent unsafe Add.
    func (wg *SafeWaitGroup) Add(delta int) error {
    	wg.mu.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 11 03:04:14 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionTest.groovy

        }
    
        def "can handle invalid value for command line option with concrete hint"() {
            when:
            Origin.forCommandLine(OPTION).handleInvalidValue(VALUE, HINT)
    
            then:
            Throwable t = thrown(CommandLineArgumentException)
            t.message == "Argument value '0' given for --option option is invalid (must be positive)"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    			want:          int64(10),
    			assertOnError: assertNilError,
    		},
    		{
    			name:          "int64 minimum positive value",
    			in:            hex("00"), // 0
    			want:          int64(0),
    			assertOnError: assertNilError,
    		},
    		{
    			name:          "int64 max positive value",
    			in:            hex("1b7fffffffffffffff"), // 9223372036854775807
    			want:          int64(9223372036854775807),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. plugin/pkg/admission/eventratelimit/apis/eventratelimit/validation/validation.go

    		}
    		if limit.Burst <= 0 {
    			allErrs = append(allErrs, field.Invalid(idxPath.Child("burst"), limit.Burst, "must be positive"))
    		}
    		if limit.QPS <= 0 {
    			allErrs = append(allErrs, field.Invalid(idxPath.Child("qps"), limit.QPS, "must be positive"))
    		}
    		if limit.Type != eventratelimitapi.ServerLimitType {
    			if limit.CacheSize < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 17:38:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue11674.go

    var _ = x / 1e-1000 // GC_ERROR "division by zero"
    var _ = x / 1e-20i
    var _ = x / 1e-50i   // GC_ERROR "division by zero"
    var _ = x / 1e-1000i // GC_ERROR "division by zero"
    
    var _ = x / 1e-45 // smallest positive float32
    
    var _ = x / (1e-20 + 1e-20i)
    var _ = x / (1e-50 + 1e-20i)
    var _ = x / (1e-20 + 1e-50i)
    var _ = x / (1e-50 + 1e-50i)     // GC_ERROR "division by zero"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  10. maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * The one-based line number. The value will be non-positive if
         * unknown.
         */
        private int lineNumber = -1;
    
        /**
         * The one-based column number. The value will be non-positive
         * if unknown.
         */
        private int columnNumber = -1;
    
        /**
         * Field source.
         */
        private InputSource source;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Oct 19 07:06:15 UTC 2023
    - 10.8K bytes
    - Viewed (0)
Back to top