Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Chad (0.22 sec)

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

      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   either this Future was cancelled (which we ruled out with the isCancelled check above),
           *   or it had already failed. (It couldn't have completed *successfully* or even had
           *   setFuture called on it: Neither of those can happen until we've finished processing all
           *   the completed inputs. And we're still processing at least one input, the one that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named set that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of set or collection but not both.
       */
      protected final Set<E> getSet() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeMap.java

       * @since 19.0
       */
      Map<Range<K>, V> asDescendingMapOfRanges();
    
      /**
       * Returns a view of the part of this range map that intersects with {@code range}.
       *
       * <p>For example, if {@code rangeMap} had the entries {@code [1, 5] => "foo", (6, 8) => "bar",
       * (10, ∞) => "baz"} then {@code rangeMap.subRangeMap(Range.open(3, 12))} would return a range map
       * with the entries {@code (3, 5] => "foo", (6, 8) => "bar", (10, 12) => "baz"}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
        cache.invalidateAll();
        tasksFinished.await();
    
        // Check all of the removal notifications we received: they should have had correctly-associated
        // keys and values. (An earlier bug saw removal notifications for in-progress computations,
        // which had real keys with null values.)
        Map<String, String> removalNotifications = Maps.newHashMap();
    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)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      private transient Map<E, Count> backingMap;
    
      /*
       * Cache the size for efficiency. Using a long lets us avoid the need for
       * overflow checking and ensures that size() will function correctly even if
       * the multiset had once been larger than Integer.MAX_VALUE.
       */
      private transient long size;
    
      /** Standard constructor. */
      protected AbstractMapBasedMultiset(Map<E, Count> backingMap) {
        checkArgument(backingMap.isEmpty());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          // if waiting works, this should get stuck
          Queues.drain(q, newArrayList(), 1, MAX_VALUE, NANOSECONDS);
          fail();
        } catch (InterruptedException expected) {
          // we indeed waited; a slow thread had enough time to interrupt us
        }
      }
    
      // same as above; uninterruptible version
      private void assertUninterruptibleDrained(BlockingQueue<Object> q) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  8. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            String c = "6.1H.5-beta"; // this is the unusual version string, with 'H' in the middle
    
            checkVersionsOrder(b, a); // classical
            checkVersionsOrder(b, c); // now b < c, but before MNG-5568, we had b > c
            checkVersionsOrder(a, c);
        }
    
        /**
         * Test <a href="https://jira.apache.org/jira/browse/MNG-6572">MNG-6572</a> optimization.
         */
        @Test
        void testMng6572() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Helpers.java

                    + expected
                    + ", actual = "
                    + actual);
          }
        }
    
        if (expectedIter.hasNext() || actualIter.hasNext()) {
          // actual either had too few or too many elements
          Assert.fail(
              "contents were not equal and in the same order: "
                  + "expected = "
                  + expected
                  + ", actual = "
                  + actual);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMaker.java

     *
     * <p>The maps produced by {@code MapMaker} are serializable, and the deserialized maps retain all
     * the configuration properties of the original map. During deserialization, if the original map had
     * used weak references, the entries are reconstructed as they were, but it's not unlikely they'll
     * be quickly garbage-collected before they are ever accessed.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
Back to top