Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 539 for One (0.18 sec)

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

        assertMapEquals(ImmutableSortedMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableSortedMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3), "one", 1, "three", 3, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "four",
            4,
            "one",
            1,
            "three",
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/Utf8Test.java

      // 2,650,112
      private static final long EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
          (long) Math.pow(EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT, 3)
              +
              // One two byte character and a one byte character
              2 * TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS * ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS
              +
              // Three byte characters
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testReload() throws ExecutionException {
        final Object one = new Object();
        final Object two = new Object();
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return one;
              }
    
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/PairedStatsTest.java

    import static com.google.common.math.StatsTesting.ONE_VALUE_PAIRED_STATS;
    import static com.google.common.math.StatsTesting.ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_MANY_VALUES;
    import static com.google.common.math.StatsTesting.OTHER_MANY_VALUES_STATS;
    import static com.google.common.math.StatsTesting.OTHER_ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_TWO_VALUES_STATS;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

    import static com.google.common.math.StatsTesting.ONE_VALUE_PAIRED_STATS;
    import static com.google.common.math.StatsTesting.ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_MANY_VALUES;
    import static com.google.common.math.StatsTesting.OTHER_MANY_VALUES_STATS;
    import static com.google.common.math.StatsTesting.OTHER_ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_TWO_VALUES_STATS;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertMultimapEquals(ImmutableListMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableListMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
            ImmutableListMultimap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMultimapEquals(
            ImmutableListMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
            ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMultimapEquals(
            ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_subset() {
        expectReturnsTrue(nonEmptyProperSubset);
        expectContents(nonEmptyProperSubset.toRetain);
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_subsetUnsupported() {
        expectThrows(nonEmptyProperSubset);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            new Builder<String, Integer>().put(Maps.immutableEntry("one", 1)).build();
        assertEquals(Arrays.asList(1), multimap.get("one"));
      }
    
      public void testBuilder_withImmutableEntryAndNullContents() {
        Builder<String, Integer> builder = new Builder<>();
        try {
          builder.put(Maps.immutableEntry("one", (Integer) null));
          fail();
        } catch (NullPointerException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableMapFloodingTest.java

          }
        },
        BUILDER_PUT_ONE_BY_ONE {
          @Override
          public Map<Object, Object> create(List<?> keys) {
            ImmutableMap.Builder<Object, Object> builder = ImmutableMap.builder();
            for (Object k : keys) {
              builder.put(k, "dummy value");
            }
            return builder.buildOrThrow();
          }
        },
        BUILDER_PUT_ENTRIES_ONE_BY_ONE {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top