Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 155 for addLast (0.09 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              TimeoutsToUse.ANY,
              isInterruptible(method) ? Outcome.INTERRUPT : Outcome.SUCCESS);
        } else { // any waitForXxx method
          suite.addTest(generateWaitForWhenNotOccupyingTestCase(method, true));
          suite.addTest(generateWaitForWhenNotOccupyingTestCase(method, false));
          addTests(
              suite, method, Scenario.SATISFIED_BEFORE_WAITING, TimeoutsToUse.ANY, Outcome.SUCCESS);
          addTests(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

            @Override
            public void run() {
              list.execute();
            }
          };
    
      @Benchmark
      int addThenExecute_multiThreaded(final int reps) throws InterruptedException {
        Runnable addTask =
            new Runnable() {
              @Override
              public void run() {
                for (int i = 0; i < numListeners; i++) {
                  list.add(listener, directExecutor());
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

     * Tests for {@code CompactLinkedHashMap}.
     *
     * @author Louis Wasserman
     */
    public class CompactLinkedHashMapTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestStringMapGenerator() {
                      @Override
                      protected Map<String, String> create(Entry<String, String>[] entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

    @ElementTypesAreNonnullByDefault
    public class TreeMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            SortedMultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
                      @Override
                      protected Multiset<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      private MapTestSuiteBuilderTests() {}
    
      public static Test suite() {
        TestSuite suite = new TestSuite(MapTestSuiteBuilderTests.class.getSimpleName());
        suite.addTest(testsForHashMapNullKeysForbidden());
        suite.addTest(testsForHashMapNullValuesForbidden());
        suite.addTest(testsForSetUpTearDown());
        return suite;
      }
    
      private abstract static class WrappedHashMapGenerator extends TestStringMapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

          return standardTailSet(fromElement);
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingNavigableSetTest.class);
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

     */
    @GwtIncompatible // NavigableMap
    public class TreeRangeMapTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(TreeRangeMapTest.class);
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestMapGenerator<Range<Integer>, String>() {
                      @Override
                      public SampleElements<Entry<Range<Integer>, String>> samples() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ResourcesTest.java

      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ByteSourceTester.tests(
                "Resources.asByteSource[URL]", SourceSinkFactories.urlByteSourceFactory(), true));
        suite.addTest(
            CharSourceTester.tests(
                "Resources.asCharSource[URL, Charset]",
                SourceSinkFactories.urlCharSourceFactory(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

          return standardPoll();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingQueueTest.class);
        suite.addTest(
            QueueTestSuiteBuilder.using(
                    new TestStringQueueGenerator() {
    
                      @Override
                      protected Queue<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          }
          return map;
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(LocalCacheTest.class);
        suite.addTest(
            ConcurrentMapTestSuiteBuilder.using(new TestStringCacheGenerator(createCacheBuilder()))
                .named("LocalCache with defaults")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
Back to top