Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 242 for shill (0.13 sec)

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

        try {
          iter.next();
          fail("next() should throw NoSuchElementException as usual");
        } catch (NoSuchElementException expected) {
        }
    
        try {
          iter.peek();
          fail("peek() should still throw NoSuchElementException after next()");
        } catch (NoSuchElementException expected) {
        }
      }
    
    
      @J2ktIncompatible // weak references, details of GC
      @GwtIncompatible // weak references
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        step4Waiter.awaitReturned();
        assertThat(getFinalValue(step4)).isEqualTo("value 4");
    
        // Step 4's closeable is now closed.
        assertClosed(closeable4);
        // Step 3 still never ran, so its closeable should still be open.
        assertStillOpen(closeable3);
      }
    
      public void testTransform() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(immediateFuture("value"))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
           * important for other reasons: run() can still be invoked concurrently in different threads,
           * even with the above null checks.)
           */
          timeoutFutureRef = null;
          if (delegate.isDone()) {
            timeoutFuture.setFuture(delegate);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        @Override
        public Set<K> keySet() {
          /*
           * We can't use StandardKeySet, as NavigableMapTestSuiteBuilder assumes that our keySet is a
           * NavigableSet. We test StandardKeySet in the superclass, so it's still covered.
           */
          return navigableKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectReturnsTrue(disjoint);
        expectContents();
      }
    
      // retainAll(null)
    
      /*
       * AbstractCollection fails the retainAll(null) test when the subject
       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertTrue(paths.containsAll(classes));
            assertTrue(paths.containsAll(modules));
    
            // If caller wants only a classpath, JUnit shall move there.
            dispatched = session.resolveDependencies(coord, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES));
            classes = dispatched.get(JavaPathType.CLASSES);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // notifications for all of them.
        for (int i = 0; i < nSeededEntries; i++) {
          assertEquals("b" + i, removalNotifications.get("b" + i));
        }
    
        // Each of the values added to the map should either still be there, or have seen a removal
        // notification.
        assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * right before each task is run. The renaming is best effort, if a {@link SecurityManager}
       * prevents the renaming then it will be skipped but the tasks will still execute.
       *
       * @param executor The executor to decorate
       * @param nameSupplier The source of names for each task
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        /*
         * Set runner thread before checking isDone(). If we were to check isDone() first, the task
         * might be cancelled before we set the runner thread. That would make it impossible to
         * interrupt, yet it will still run, since interruptTask will leave the runner value null,
         * allowing the CAS below to succeed.
         */
        Thread currentThread = Thread.currentThread();
        if (!compareAndSet(null, currentThread)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

            return;
          }
    
          /*
           * Almost everything in GWT is an AbstractFuture (which is as good as TrustedFuture under
           * GWT). But ImmediateFuture and UncheckedThrowingFuture aren't, so we still need this case.
           */
          try {
            forceSet(getDone(delegate));
          } catch (ExecutionException exception) {
            forceSetException(exception.getCause());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top