Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for untyped (0.45 sec)

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

          }
          completed = true;
        }
      }
    
      public void testMakeUninterruptible_untimed_uninterrupted() throws Exception {
        runUntimedInterruptsTest(0);
      }
    
      public void testMakeUninterruptible_untimed_interrupted() throws Exception {
        runUntimedInterruptsTest(1);
      }
    
      public void testMakeUninterruptible_untimed_multiplyInterrupted() throws Exception {
        runUntimedInterruptsTest(38);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          }
          for (int j = i + 1; j <= 2; j++) {
            for (BoundType lbType : BoundType.values()) {
              for (BoundType ubType : BoundType.values()) {
                rangesBuilder.add(Range.range(i, lbType, j, ubType));
              }
            }
          }
        }
        ImmutableList<Range<Integer>> ranges = rangesBuilder.build();
        for (int i = -2; i <= 2; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      /**
       * For each possible pair of futures from {@link TestFutureBatch}, for each possible completion
       * order of those futures, test that various get calls (timed before future completion, untimed
       * before future completion, and untimed after future completion) return or throw the proper
       * values.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Predicates.java

       * future changes to it will alter the behavior of the predicate.
       *
       * <p>This method can technically accept any {@code Collection<?>}, but using a typed collection
       * helps prevent bugs. This approach doesn't block any potential users since it is always possible
       * to use {@code Predicates.<Object>in()}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Futures#getChecked(Future, Class)}. */
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          }
          for (int j = i + 1; j <= 2; j++) {
            for (BoundType lbType : BoundType.values()) {
              for (BoundType ubType : BoundType.values()) {
                rangesBuilder.add(Range.range(i, lbType, j, ubType));
              }
            }
          }
        }
        ImmutableList<Range<Integer>> ranges = rangesBuilder.build();
        for (int i = -2; i <= 2; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/GeneralRange.java

            upEnd = other.getUpperEndpoint();
            upType = other.getUpperBoundType();
          }
        }
    
        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
          if (cmp > 0 || (cmp == 0 && lowType == OPEN && upType == OPEN)) {
            // force allowed empty range
            lowEnd = upEnd;
            lowType = OPEN;
            upType = CLOSED;
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

          }
          completed = true;
        }
      }
    
      public void testMakeUninterruptible_untimed_uninterrupted() throws Exception {
        runUntimedInterruptsTest(0);
      }
    
      public void testMakeUninterruptible_untimed_interrupted() throws Exception {
        runUntimedInterruptsTest(1);
      }
    
      public void testMakeUninterruptible_untimed_multiplyInterrupted() throws Exception {
        runUntimedInterruptsTest(38);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      /**
       * For each possible pair of futures from {@link TestFutureBatch}, for each possible completion
       * order of those futures, test that various get calls (timed before future completion, untimed
       * before future completion, and untimed after future completion) return or throw the proper
       * values.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Returns a freshly created segment, typed at the {@code S} type. */
        S newSegment(MapMakerInternalMap<K, V, E, S> map, int initialCapacity);
    
        /**
         * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment}.
         */
        E newEntry(S segment, K key, int hash, @CheckForNull E next);
    
        /**
         * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top