Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Digges (0.17 sec)

  1. guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(Collections.emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(Collections.emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
        try {
          Lists.newArrayListWithCapacity(-1);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(
            "Modifying the builder should not have changed any already" + " built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
        Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]);
        assertEquals(0x00BFFF, (int) appendColorArray[216]);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/LongMathTest.java

                  || !fitsInLong(BigIntegerMath.binomial(LongMath.biggestBinomials[k] + 1, k)));
          // In the first case, any long is valid; in the second, we want to test that the next-bigger
          // long overflows.
        }
        int k = LongMath.biggestBinomials.length;
        assertFalse(fitsInLong(BigIntegerMath.binomial(2 * k, k)));
        // 2 * k is the smallest value for which we don't replace k with (n-k).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/IntMathTest.java

                  || !fitsInInt(BigIntegerMath.binomial(IntMath.biggestBinomials[k] + 1, k)));
          // In the first case, any int is valid; in the second, we want to test that the next-bigger
          // int overflows.
        }
        assertFalse(
            fitsInInt(
                BigIntegerMath.binomial(
                    2 * IntMath.biggestBinomials.length, IntMath.biggestBinomials.length)));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetsTest.java

        checkHashCode(Sets.cartesianProduct(set(1, num), set(2, num - 1)));
        checkHashCode(Sets.cartesianProduct(set(1, num), set(2, num - 1), set(3, num + 1)));
    
        // a bigger one
        checkHashCode(
            Sets.cartesianProduct(set(1, num, num + 1), set(2), set(3, num + 2), set(4, 5, 6, 7, 8)));
      }
    
      public void testPowerSetEmpty() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  7. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

              "nesec--nx??at?b?c!cul??dv?i&blo&-oipmet?oipmet??cserb?drabmol?g&gof?urep??l&gup?i&cis?me&-oigger?oigger???uig&-&aizenev&-iluirf?iluirf??ev&-iluirf?iluirf??v&-iluirf?iluirf???aizenev&-iluirf?iluirf??ev&-iluirf?iluirf??v&-iluirf?iluirf????n&a&brev?cul?pmac?tac??idras?obrac&-saiselgi?saiselgi??resi??otsip?r&b&alac!-oigger?oigger??mu??dna&-&attelrab-inart?inart-attelrab??attelrabinart?inartattelrab?ssela??epmi?ugil??tnelav&-obiv?obiv??vap?z&e&nev?ps&-al?al???...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(
            "Modifying the builder should not have changed any already" + " built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
        Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]);
        assertEquals(0x00BFFF, (int) appendColorArray[216]);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/LongMathTest.java

                  || !fitsInLong(BigIntegerMath.binomial(LongMath.biggestBinomials[k] + 1, k)));
          // In the first case, any long is valid; in the second, we want to test that the next-bigger
          // long overflows.
        }
        int k = LongMath.biggestBinomials.length;
        assertFalse(fitsInLong(BigIntegerMath.binomial(2 * k, k)));
        // 2 * k is the smallest value for which we don't replace k with (n-k).
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        verifyTableSize(60, 60, 128);
        verifyTableSize(120, 60, 256);
        // if the table is only double the necessary size, we don't bother resizing it
        verifyTableSize(180, 60, 128);
        // but if it's even bigger than double, we rebuild the table
        verifyTableSize(17, 17, 32);
        verifyTableSize(17, 16, 32);
        verifyTableSize(17, 15, 32);
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
Back to top