Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for positive (0.12 sec)

  1. 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 Collector} generating a {@code BloomFilter} of the received elements
       * @since NEXT (but since 23.0 in the JRE flavor)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/BloomFilterStrategies.java

          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
            // Flip all the bits if it's negative (guaranteed positive number)
            if (combinedHash < 0) {
              combinedHash = ~combinedHash;
            }
            bitsChanged |= bits.set(combinedHash % bitSize);
          }
          return bitsChanged;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
        // Now we check for known false positives using a set of known false positives.
        // (These are all of the false positives under 900.)
        ImmutableSet<Integer> falsePositives =
            ImmutableSet.of(
                49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/MathTesting.java

            public BigInteger apply(BigInteger x) {
              return x.negate();
            }
          };
    
      /*
       * This list contains values that attempt to provoke overflow in integer operations. It contains
       * positive values on or near 2^N for N near multiples of 8 (near byte boundaries).
       */
      static final ImmutableSet<Integer> POSITIVE_INTEGER_CANDIDATES;
    
      static final Iterable<Integer> NEGATIVE_INTEGER_CANDIDATES;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathTesting.java

            public BigInteger apply(BigInteger x) {
              return x.negate();
            }
          };
    
      /*
       * This list contains values that attempt to provoke overflow in integer operations. It contains
       * positive values on or near 2^N for N near multiples of 8 (near byte boundaries).
       */
      static final ImmutableSet<Integer> POSITIVE_INTEGER_CANDIDATES;
    
      static final Iterable<Integer> NEGATIVE_INTEGER_CANDIDATES;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // queues exist independently at each apiserver. The value must be
      // positive.  Setting it to 1 effectively precludes
      // shufflesharding and thus makes the distinguisher method of
      // associated flow schemas irrelevant.  This field has a default
      // value of 64.
      // +optional
      optional int32 queues = 1;
    
      // `handSize` is a small positive number that configures the
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/PairedStatsAccumulator.java

        double ySumOfSquaresOfDeltas = yStats.sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
        // The product of two positive numbers can be zero if the multiplication underflowed. We
        // force a positive value by effectively rounding up to MIN_VALUE.
        double productOfSumsOfSquaresOfDeltas =
            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

          }
        }
        return HashCode.fromBytesNoCopy(resultBytes);
      }
    
      /** Checks that the passed argument is positive, and ceils it to a multiple of 32. */
      static int checkPositiveAndMakeMultipleOf32(int bits) {
        checkArgument(bits > 0, "Number of bits must be positive");
        return (bits + 31) & ~31;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // queues exist independently at each apiserver. The value must be
      // positive.  Setting it to 1 effectively precludes
      // shufflesharding and thus makes the distinguisher method of
      // associated flow schemas irrelevant.  This field has a default
      // value of 64.
      // +optional
      optional int32 queues = 1;
    
      // `handSize` is a small positive number that configures the
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top