Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for big (0.13 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       * }
       *
       * The alternative natural refactorings into void or Exception-returning methods are much slower.
       * This is a big deal - we're talking factors of 2-8 in microbenchmarks, not just 10-20%. (This is
       * a hotspot optimizer bug, which should be fixed, but that's a separate, big project).
       *
       * The coding pattern above is heavily used in java.util, e.g. in ArrayList. There is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

       */
      public void writeTo(OutputStream out) throws IOException {
        // Serial form:
        // 1 signed byte for the strategy
        // 1 unsigned byte for the number of hash functions
        // 1 big endian int, the number of longs in our bitset
        // N big endian longs of our bitset
        DataOutputStream dout = new DataOutputStream(out);
        dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(1, Lists.partition(list, Integer.MAX_VALUE).size());
        assertEquals(1, Lists.partition(list, Integer.MAX_VALUE - 1).size());
      }
    
      @GwtIncompatible // cannot do such a big explicit copy
      @J2ktIncompatible // too slow
      public void testPartitionSize_2() {
        assertEquals(2, Lists.partition(Collections.nCopies(0x40000001, 1), 0x40000000).size());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(1, Lists.partition(list, Integer.MAX_VALUE).size());
        assertEquals(1, Lists.partition(list, Integer.MAX_VALUE - 1).size());
      }
    
      @GwtIncompatible // cannot do such a big explicit copy
      @J2ktIncompatible // too slow
      public void testPartitionSize_2() {
        assertEquals(2, Lists.partition(Collections.nCopies(0x40000001, 1), 0x40000000).size());
      }
    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)
Back to top