Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,597 for Map (0.12 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            Map map = project1.getArtifactMap();
    
            assertNotNull(map, "No artifacts");
            assertTrue(map.size() > 0, "No Artifacts");
            assertTrue(map.size() == 2, "Set size should be 2, is " + map.size());
    
            assertTrue(map.containsKey("maven-test:t09-a"), "maven-test:t09-a is not in the project");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
        filtered.put("a", 1);
        filtered.put("b", 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
        filtered.put("a", 1);
        filtered.put("b", 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheTesting.java

      }
    
      static void checkEmpty(ConcurrentMap<?, ?> map) {
        checkEmpty(map.keySet());
        checkEmpty(map.values());
        checkEmpty(map.entrySet());
        assertEquals(ImmutableMap.of(), map);
        assertEquals(ImmutableMap.of().hashCode(), map.hashCode());
        assertEquals(ImmutableMap.of().toString(), map.toString());
    
        if (map instanceof LocalCache) {
          LocalCache<?, ?> cchm = (LocalCache<?, ?>) map;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      public void testForMapSerialization() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        Multimap<String, Integer> multimapView = Multimaps.forMap(map);
        SerializableTester.reserializeAndAssert(multimapView);
      }
    
      public void testForMapRemoveAll() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      }
    
      public void testTransformSingletonMapEquality() {
        Map<String, String> map =
            Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
        Map<String, String> expected = ImmutableMap.of("a", "1");
        assertMapsEqual(expected, map);
        assertEquals(expected.get("a"), map.get("a"));
      }
    
      public void testTransformIdentityFunctionEquality() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.B.1.txt

       00AD; ; Map to nothing
       034F; ; Map to nothing
       1806; ; Map to nothing
       180B; ; Map to nothing
       180C; ; Map to nothing
       180D; ; Map to nothing
       200B; ; Map to nothing
       200C; ; Map to nothing
       200D; ; Map to nothing
       2060; ; Map to nothing
       FE00; ; Map to nothing
       FE01; ; Map to nothing
       FE02; ; Map to nothing
       FE03; ; Map to nothing
       FE04; ; Map to nothing
       FE05; ; Map to nothing
       FE06; ; Map to nothing
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 702 bytes
    - Viewed (0)
  8. .github/workflows/update-rbe.yml

            map sigbuild-r2.10-python3.9 2.10-python3.9
            map sigbuild-r2.10-python3.10 2.10-python3.10
            # TF 2.11
            map sigbuild-r2.11 2.11-python3.9
            map sigbuild-r2.11-python3.8 2.11-python3.8
            map sigbuild-r2.11-python3.9 2.11-python3.9
            map sigbuild-r2.11-python3.10 2.11-python3.10
            # WIP Clang Containers, used by TVCs
            map sigbuild-57469 57469-python3.9
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if ((map instanceof ImmutableMap) && !(map instanceof SortedMap)) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          if (!kvMap.isPartialView()) {
            return kvMap;
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

      }
    
      @Test fun regularMappings() {
        assertThat("hello".map()).isEqualTo("hello")
        assertThat("hello-world".map()).isEqualTo("hello-world")
        assertThat("HELLO".map()).isEqualTo("hello")
        assertThat("Hello".map()).isEqualTo("hello")
    
        // These compound characters map their its components.
        assertThat("¼".map()).isEqualTo("1⁄4")
        assertThat("™".map()).isEqualTo("tm")
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top