Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Inspect (0.17 sec)

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

            Future<?> possiblyIgnoredError = executor.submit(task);
          }
          awaitUnchecked(barrier);
          assertThat(future.isDone()).isTrue();
          // inspect state and ensure it is correct!
          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            Future<?> possiblyIgnoredError = executor.submit(task);
          }
          awaitUnchecked(barrier);
          assertThat(future.isDone()).isTrue();
          // inspect state and ensure it is correct!
          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       *       to retrieve each element of the returned list (probably slightly more than {@code
       *       1/stackSize}).
       * </ul>
       *
       * <p>Note: The special implementation does not respect calls to {@link Throwable#setStackTrace
       * throwable.setStackTrace}. Instead, it always reflects the original stack trace from the
       * exception's creation.
       *
       * @since 19.0
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

       *       to retrieve each element of the returned list (probably slightly more than {@code
       *       1/stackSize}).
       * </ul>
       *
       * <p>Note: The special implementation does not respect calls to {@link Throwable#setStackTrace
       * throwable.setStackTrace}. Instead, it always reflects the original stack trace from the
       * exception's creation.
       *
       * @since 19.0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /**
       * Tests for Predicates.contains(Pattern) and .containsPattern(String). We assume the regex level
       * works, so there are only trivial tests of that aspect. TODO: Fix comment style once annotation
       * stripper is fixed.
       */
      @GwtIncompatible // Predicates.containsPattern
      public void testContainsPattern_apply() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

             * and increasing the threshold to 2^32 doesn't pay for itself, and adding another enum
             * constant hurts performance further -- I suspect because bimorphic implementation is a
             * sweet spot for the JVM.
             */
            return (a * b) % m;
          }
    
          @Override
          long squareMod(long a, long m) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ElementOrder.java

        if (comparator != null) {
          helper.add("comparator", comparator);
        }
        return helper.toString();
      }
    
      /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
      <K extends T, V> Map<K, V> createMap(int expectedSize) {
        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 6.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultimap.java

     * current implementations, the iteration order always keeps multiple entries with the same key
     * together. Any creation method that would customarily respect insertion order (such as {@link
     * #copyOf(Multimap)}) instead preserves key-grouped order by inserting entries for an existing key
     * immediately after the last entry having that key.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1,
       * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If you
       * want a different order, consider using {@link #orderEntriesByValue(Comparator)}, which changes
       * this builder to sort entries by value.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

     * current implementations, the iteration order always keeps multiple entries with the same key
     * together. Any creation method that would customarily respect insertion order (such as {@link
     * #copyOf(Multimap)}) instead preserves key-grouped order by inserting entries for an existing key
     * immediately after the last entry having that key.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
Back to top