Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bucketCh (1.2 sec)

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

      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // relies on assumptions about OpenJDK
      public void testNewHashMapWithExpectedSize_wontGrow() throws Exception {
        // before jdk7u40: creates one-bucket table
        // after  jdk7u40: creates empty table
        assertTrue(bucketsOf(Maps.newHashMapWithExpectedSize(0)) <= 1);
    
        for (int size = 1; size < 200; size++) {
          assertWontGrow(
              size,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // relies on assumptions about OpenJDK
      public void testNewHashMapWithExpectedSize_wontGrow() throws Exception {
        // before jdk7u40: creates one-bucket table
        // after  jdk7u40: creates empty table
        assertTrue(bucketsOf(Maps.newHashMapWithExpectedSize(0)) <= 1);
    
        for (int size = 1; size < 200; size++) {
          assertWontGrow(
              size,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * the segment.
       */
      final transient int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
       * from also ending up in the same bucket.
       */
      final transient int segmentShift;
    
      /** The segments, each of which is a specialized hash table. */
      final transient Segment<K, V, E, S>[] segments;
    
      /** The concurrency level. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top