Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 854 for two (0.13 sec)

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

        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",
            3,
            "two",
            2);
        assertMapEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object one = new Object();
        Object two = new Object();
        Object three = new Object();
    
        ConcurrentMap<Object, Object> map = cache.asMap();
        assertNull(map.put(one, two));
        assertSame(two, map.get(one));
        map.putAll(ImmutableMap.of(two, three));
        assertSame(three, map.get(two));
        assertSame(two, map.putIfAbsent(one, three));
        assertSame(two, map.get(one));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          // Do nothing.
        }
    
        redQueue.execute("task two", 200.µs) {
          // Do nothing.
        }
    
        assertThat(redQueue.scheduledTasks.toString()).isEqualTo("[task one, task two]")
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 scheduled after 100 µs: task one",
          "FINE: Q10000 scheduled after 200 µs: task two",
        )
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertTrue(queue.add("one"));
        assertTrue(queue.add("two"));
        assertTrue(queue.add("three"));
        assertEquals("one", queue.element());
        assertEquals("one", queue.peek());
        assertEquals(3, queue.size());
        assertEquals(0, queue.remainingCapacity());
    
        assertTrue(queue.add("four"));
        assertEquals("two", queue.element());
        assertEquals("two", queue.peek());
        assertEquals(3, queue.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2).inverse(), 1, "one", 2, "two");
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3).inverse(),
            1,
            "one",
            2,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapDifference.java

    /**
     * An object representing the differences between two maps.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use Maps.difference")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface MapDifference<K extends @Nullable Object, V extends @Nullable Object> {
      /**
       * Returns {@code true} if there are no differences between the two maps; that is, if the maps are
       * equal.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2).inverse(), 1, "one", 2, "two");
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3).inverse(),
            1,
            "one",
            2,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheManualTest.java

        stats = cache.stats();
        assertEquals(3, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
        assertNull(cache.asMap().get(two));
        assertFalse(cache.asMap().containsKey(two));
        assertFalse(cache.asMap().containsValue(one));
    
        cache.put(two, one);
    
        assertSame(two, cache.getIfPresent(one));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheManualTest.java

        stats = cache.stats();
        assertEquals(3, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
        assertNull(cache.asMap().get(two));
        assertFalse(cache.asMap().containsKey(two));
        assertFalse(cache.asMap().containsValue(one));
    
        cache.put(two, one);
    
        assertSame(two, cache.getIfPresent(one));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.4K bytes
    - Viewed (0)
  10. tests/test_openapi_examples.py

                    "summary": "Example One Summary",
                    "description": "Example One Description",
                    "value": {"data": "Data in Body examples, example1"},
                },
                "Example Two": {
                    "value": {"data": "Data in Body examples, example2"},
                },
            },
        ),
    ):
        return item
    
    
    @app.get("/path_examples/{item_id}")
    def path_examples(
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 17K bytes
    - Viewed (0)
Back to top