Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testAllocArraysDefault (0.21 sec)

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

                      }
                    })
                .named("CompactLinkedHashSet")
                .withFeatures(allFeatures)
                .createTestSuite());
        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                      }
                    })
                .named("CompactHashSet#TrimToSize")
                .withFeatures(allFeatures)
                .createTestSuite());
        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

          assertEquals(expectedEntry, entries.get(i));
          assertEquals(expectedKey, keys.get(i));
          assertEquals(expectedValue, values.get(i));
        }
      }
    
      public void testAllocArraysDefault() {
        CompactLinkedHashMap<Integer, String> map = CompactLinkedHashMap.create();
        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        map.put(1, "1");
        Entry<Integer, String> entry = getOnlyElement(map.entrySet());
        map.remove(1);
        entry.setValue("one");
        assertThat(map).containsEntry(1, "one");
      }
    
      public void testAllocArraysDefault() {
        CompactHashMap<Integer, String> map = CompactHashMap.create();
        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

          assertEquals(expectedEntry, entries.get(i));
          assertEquals(expectedKey, keys.get(i));
          assertEquals(expectedValue, values.get(i));
        }
      }
    
      public void testAllocArraysDefault() {
        CompactLinkedHashMap<Integer, String> map = CompactLinkedHashMap.create();
        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top