Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 222 for Shreve (0.18 sec)

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

        original.add("one");
        original.add("two");
        original.add("three");
    
        EvictingQueue<String> copy = SerializableTester.reserialize(original);
        assertEquals(copy.maxSize, original.maxSize);
        assertEquals("one", copy.remove());
        assertEquals("two", copy.remove());
        assertEquals("three", copy.remove());
        assertTrue(copy.isEmpty());
      }
    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)
  2. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        registry.register(o1);
    
        Iterator<Subscriber> three = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
        assertFalse(one.hasNext());
    
        assertEquals(s1, three.next().target);
        assertEquals(s2, three.next().target);
        assertEquals(o1, three.next().target);
        assertFalse(three.hasNext());
    
        three = registry.getSubscribers("");
    
        registry.unregister(s2);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        }
    
        redQueue.execute("task three", 100.µs) {
          log += "three:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).isEmpty()
    
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly(
          "one:run@100000 parallel=false",
          "two:run@100000 parallel=false",
          "three:run@100000 parallel=false",
        )
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/Utf8Test.java

      // 2048
      private static final long THREE_BYTE_SURROGATES = 2 * 1024;
    
      // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates]
      private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS =
          0xFFFF - 0x0800 + 1 - THREE_BYTE_SURROGATES;
    
      // 2,650,112
      private static final long EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        unfiltered.put("two", 2);
        unfiltered.put("three", 3);
        unfiltered.put("four", 4);
        assertEquals(ImmutableMap.of("two", 2, "three", 3, "four", 4), unfiltered);
        assertEquals(ImmutableMap.of("three", 3, "four", 4), filtered);
    
        unfiltered.remove("three");
        assertEquals(ImmutableMap.of("two", 2, "four", 4), unfiltered);
    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)
  6. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        unfiltered.put("two", 2);
        unfiltered.put("three", 3);
        unfiltered.put("four", 4);
        assertEquals(ImmutableMap.of("two", 2, "three", 3, "four", 4), unfiltered);
        assertEquals(ImmutableMap.of("three", 3, "four", 4), filtered);
    
        unfiltered.remove("three");
        assertEquals(ImmutableMap.of("two", 2, "four", 4), unfiltered);
    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)
  7. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

                    .put("one", "uno", 1)
                    .put("two", "dos", 2)
                    .put("three", "tres", 3)
                    .build(),
                immutableCell("one", "uno", 1),
                immutableCell("two", "dos", 2),
                immutableCell("three", "tres", 3));
      }
    
      public void testToImmutableTableConflict() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            val steps = sanityCheck.steps.items
            val gradleBuildStep = gradleStep(steps, 0)
            gradleBuildStep.assertTasks("tasks")
        }
    
        @Test
        fun `nightly promotion build type runs three gradle invocations`() {
            val model = setupModelFor("release")
            val nightlySnapshot = model.findBuildTypeByName("Nightly Snapshot")
    
            val steps = nightlySnapshot.steps.items
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 13 14:18:23 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FunctionsTest.java

        Map<String, @Nullable Integer> map = Maps.newHashMap();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
        try {
          function.apply("Two");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Map<String, @Nullable Integer> map = Maps.newHashMap();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
        try {
          function.apply("Two");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
Back to top