Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for reporting (0.21 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/util/concurrent/AbstractFutureCancellationCauseTest.java

        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
        // cause system property.  This allows us to run with both settings of the property in one jvm
        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
        final String concurrentPackage = SettableFuture.class.getPackage().getName();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Cache.java

      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
       * the cache is not recording statistics. All statistics begin at zero and never decrease over the
       * lifetime of the cache.
       *
       * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
       * created using {@link CacheBuilder} only does so if the {@link CacheBuilder#recordStats} method
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
        // cause system property.  This allows us to run with both settings of the property in one jvm
        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
        final String concurrentPackage = SettableFuture.class.getPackage().getName();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Cache.java

      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
       * the cache is not recording statistics. All statistics begin at zero and never decrease over the
       * lifetime of the cache.
       *
       * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
       * created using {@link CacheBuilder} only does so if the {@link CacheBuilder#recordStats} method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      protected Table<String, Integer, C> table;
    
      /**
       * Creates a table with the specified data.
       *
       * @param data the table data, repeating the sequence row key, column key, value once per mapping
       * @throws IllegalArgumentException if the size of {@code data} isn't a multiple of 3
       * @throws ClassCastException if a data element has the wrong type
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      protected Table<String, Integer, C> table;
    
      /**
       * Creates a table with the specified data.
       *
       * @param data the table data, repeating the sequence row key, column key, value once per mapping
       * @throws IllegalArgumentException if the size of {@code data} isn't a multiple of 3
       * @throws ClassCastException if a data element has the wrong type
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

            testExecutor.schedule(Executors.callable(DO_NOTHING), 5, TimeUnit.SECONDS);
        mock.assertLastMethodCalled("scheduleCallable", 5, TimeUnit.SECONDS);
      }
    
      public void testSchedule_repeating() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

        // cancellation-cause system property. This allows us to test what happens if reading the
        // property is forbidden and then continue running tests normally in one jvm without resorting
        // to even crazier hacks to reset static final boolean fields.
        final String concurrentPackage = SettableFuture.class.getPackage().getName();
        classReloader =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 5.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

            testExecutor.schedule(Executors.callable(DO_NOTHING), 5, TimeUnit.SECONDS);
        mock.assertLastMethodCalled("scheduleCallable", 5, TimeUnit.SECONDS);
      }
    
      public void testSchedule_repeating() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
Back to top