Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for hasLength (0.1 sec)

  1. guava-tests/test/com/google/common/primitives/BytesTest.java

            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            byte[] arr = Bytes.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BytesTest.java

            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            byte[] arr = Bytes.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

            Collection<Character> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            char[] arr = Chars.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

       * appending a new constant is allowed.
       */
      public void testBloomFilterStrategies() {
        assertThat(BloomFilterStrategies.values()).hasLength(2);
        assertEquals(BloomFilterStrategies.MURMUR128_MITZ_32, BloomFilterStrategies.values()[0]);
        assertEquals(BloomFilterStrategies.MURMUR128_MITZ_64, BloomFilterStrategies.values()[1]);
      }
    
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

            .contains(
                "Expected to be healthy after starting. The following services are not " + "running:");
    
        Throwable[] suppressed = e.getSuppressed();
        assertThat(suppressed).hasLength(2);
        assertThat(suppressed[0]).hasCauseThat().isInstanceOf(IllegalStateException.class);
        assertThat(suppressed[0]).hasCauseThat().hasMessageThat().isEqualTo("run failure");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/BooleansTest.java

            Collection<Boolean> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            boolean[] arr = Booleans.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            Collection<Integer> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            int[] arr = Ints.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

            Collection<Long> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            long[] arr = Longs.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top