Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for Times (0.16 sec)

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

      private static void runUntimedInterruptsTest(int times)
          throws InterruptedException, ExecutionException, TimeoutException {
        SettableFuture<String> future = SettableFuture.create();
        FutureTask<Boolean> interruptReporter = untimedInterruptReporter(future, false);
    
        runNInterruptsTest(times, future, interruptReporter);
      }
    
      private static void runTimedInterruptsTest(int times)
    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. guava/src/com/google/common/cache/CacheStats.java

        this.loadSuccessCount = loadSuccessCount;
        this.loadExceptionCount = loadExceptionCount;
        this.totalLoadTime = totalLoadTime;
        this.evictionCount = evictionCount;
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned either a cached or
       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheStats.java

        this.loadSuccessCount = loadSuccessCount;
        this.loadExceptionCount = loadExceptionCount;
        this.totalLoadTime = totalLoadTime;
        this.evictionCount = evictionCount;
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned either a cached or
       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

      private static class Prepender {
    
        private final String prefix;
        private final int times;
    
        Prepender(@NotBlank @Nullable String prefix, int times) throws NullPointerException {
          this.prefix = prefix;
          this.times = times;
        }
    
        Prepender(String... varargs) {
          this(null, 0);
        }
    
        // just for testing
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

     * same dependency is used for different scope. For example a path used for compilation
     * is typically also used for tests.
     */
    class PathModularizationCache {
        /**
         * Module information for each JAR file or output directories.
         * Cached when first requested to avoid decoding the module descriptors multiple times.
         *
         * @see #getModuleInfo(Path)
         */
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

            "Should be able to peek() first element multiple times", "A", peekingIterator.peek());
        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      private static class Prepender {
    
        private final String prefix;
        private final int times;
    
        Prepender(@NotBlank @Nullable String prefix, int times) throws NullPointerException {
          this.prefix = prefix;
          this.times = times;
        }
    
        Prepender(String... varargs) {
          this(null, 0);
        }
    
        // just for testing
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

      private static void runUntimedInterruptsTest(int times)
          throws InterruptedException, ExecutionException, TimeoutException {
        SettableFuture<String> future = SettableFuture.create();
        FutureTask<Boolean> interruptReporter = untimedInterruptReporter(future, false);
    
        runNInterruptsTest(times, future, interruptReporter);
      }
    
      private static void runTimedInterruptsTest(int times)
    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/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        final File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return !file.exists();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 08 21:20:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Traverser.java

       * node(s) to any node may lead to:
       *
       * <ul>
       *   <li>Traversal not terminating (if the graph has cycles)
       *   <li>Nodes being visited multiple times (if multiple paths exist from any start node to any
       *       node reachable from any start node)
       * </ul>
       *
       * <p><b>Performance notes</b>
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
Back to top