Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for forthy (0.19 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

              try {
                if (timer != null) {
                  long overDelayMs = Math.abs(timer.getDelay(TimeUnit.MILLISECONDS));
                  if (overDelayMs > 10) { // Not all timing drift is worth reporting
                    message += " (timeout delayed by " + overDelayMs + " ms after scheduled time)";
                  }
                }
                message += ": " + delegate;
              } finally {
    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)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private abstract static class Third<T, D> extends Second<T> {}
    
      private abstract static class Fourth<T, D> extends Third<D, T> {}
    
      private static class ConcreteIS extends Fourth<Integer, String> {}
    
      private static class ConcreteSI extends Fourth<String, Integer> {}
    
      public void testAssignableClassToClass() {
        @SuppressWarnings("rawtypes") // To test TypeToken<List>
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 5; i++) {
          limiter.acquire();
        }
        assertEvents("R0.00", "R1.00", "R1.00", "R1.00", "R1.00");
      }
    
      /**
       * Make sure that bursts can never go above 1-second-worth-of-work for the current rate, even when
       * we change the rate.
       */
      public void testWeNeverGetABurstMoreThanOneSec() {
        RateLimiter limiter = RateLimiter.create(1.0, stopwatch);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CharMatcher.java

            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
      }
    
      /**
       * Returns a {@code char} matcher that matches any BMP character not present in the given
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

            radix >= Character.MIN_RADIX && radix <= Character.MAX_RADIX,
            "radix (%s) must be between Character.MIN_RADIX and Character.MAX_RADIX",
            radix);
        // Benchmarks indicate this is probably not worth optimizing.
        return Integer.toString(toInt(x), radix);
      }
    
      /**
       * Returns the unsigned {@code byte} value represented by the given decimal string.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
    
            return url;
        }
    
        public ArtifactResolutionResult resolve(ArtifactResolutionRequest request) {
            /*
             * Probably is not worth it, but here I make sure I restore request
             * to its original state.
             */
            try {
                LocalArtifactRepository ideWorkspace =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Dimitris Andreou
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable {
      // TODO(user): cache all field accesses in local vars
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      /*
       * Now we have monster tests that create hundreds of Orderings using different
       * combinations of methods, then checks compare(), binarySearch() and so
       * forth on each one.
       */
    
      // should periodically try increasing this, but it makes the test run long
      private static final int RECURSE_DEPTH = 2;
    
      public void testCombinationsExhaustively_startingFromNatural() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      /*
       * Now we have monster tests that create hundreds of Orderings using different
       * combinations of methods, then checks compare(), binarySearch() and so
       * forth on each one.
       */
    
      // should periodically try increasing this, but it makes the test run long
      private static final int RECURSE_DEPTH = 2;
    
      public void testCombinationsExhaustively_startingFromNatural() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     * identical to the original.
     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Aug 04 15:33:27 GMT 2020
    - 2.5K bytes
    - Viewed (0)
Back to top