Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for numbers (0.16 sec)

  1. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

      @AndroidIncompatible // OutOfMemoryError
      public void testLargeBloomFilterDoesntOverflow() {
        long numBits = Integer.MAX_VALUE;
        numBits++;
    
        LockFreeBitArray bitArray = new LockFreeBitArray(numBits);
        assertTrue(
            "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(),
            bitArray.bitSize() > 0);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testTryParseOfToStringIsOriginal() {
        for (double d : NUMBERS) {
          checkTryParse(d, Double.toString(d));
        }
      }
    
      @J2ktIncompatible // hexadecimal doubles
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseOfToHexStringIsOriginal() {
        for (double d : NUMBERS) {
          checkTryParse(d, Double.toHexString(d));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      @AndroidIncompatible // OutOfMemoryError
      public void testLargeBloomFilterDoesntOverflow() {
        long numBits = Integer.MAX_VALUE;
        numBits++;
    
        LockFreeBitArray bitArray = new LockFreeBitArray(numBits);
        assertTrue(
            "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(),
            bitArray.bitSize() > 0);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testTryParseOfToStringIsOriginal() {
        for (double d : NUMBERS) {
          checkTryParse(d, Double.toString(d));
        }
      }
    
      @J2ktIncompatible // hexadecimal doubles
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseOfToHexStringIsOriginal() {
        for (double d : NUMBERS) {
          checkTryParse(d, Double.toHexString(d));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testTryParseOfToStringIsOriginal() {
        for (float f : NUMBERS) {
          checkTryParse(f, Float.toString(f));
        }
      }
    
      @J2ktIncompatible // hexadecimal floats
      @GwtIncompatible // Floats.tryParse
      public void testTryParseOfToHexStringIsOriginal() {
        for (float f : NUMBERS) {
          checkTryParse(f, Float.toHexString(f));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testTryParseOfToStringIsOriginal() {
        for (float f : NUMBERS) {
          checkTryParse(f, Float.toString(f));
        }
      }
    
      @J2ktIncompatible // hexadecimal floats
      @GwtIncompatible // Floats.tryParse
      public void testTryParseOfToHexStringIsOriginal() {
        for (float f : NUMBERS) {
          checkTryParse(f, Float.toHexString(f));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        BigInteger result = randomPositiveBigInteger(numBits);
        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
        while (true) {
          if (RANDOM_SOURCE.nextBoolean()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(42, queue.maximumSize);
        checkNatural(queue);
      }
    
      private static final ImmutableList<Integer> NUMBERS = ImmutableList.of(4, 8, 15, 16, 23, 42);
    
      public void testCreation_withContents() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(NUMBERS);
        assertEquals(6, queue.size());
        assertEquals(11, queue.capacity());
        checkUnbounded(queue);
        checkNatural(queue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            return hash;
        }
    
        /**
         * Appends line numbers to each line of content with a given prefix.
         * Useful for debugging and displaying content with line references.
         *
         * @param prefix the prefix to add before each line number
         * @param content the content to add line numbers to
         * @return the content with line numbers prepended, or empty string if content is blank
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayListMultimap.java

       * numbers of keys and values without resizing.
       *
       * <p>You may also consider the equivalent {@code
       * MultimapBuilder.hashKeys(expectedKeys).arrayListValues(expectedValuesPerKey).build()}, which
       * provides more control over the underlying data structure.
       *
       * @param expectedKeys the expected number of distinct keys
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top