Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 85 for period (0.15 sec)

  1. guava-gwt/src/com/google/common/escape/Escape.gwt.xml

        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  2. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

      // Use fewer steps in the ListIteratorTester in ListListIteratorTester because it's slow in prod
      // mode.
      static int listListIteratorTesterNumIterations() {
        // TODO(hhchan): It's 4 in java.  Figure out why even 3 is too slow in prod mode.
        return 2;
      }
    
      // Use fewer steps in the IteratorTester in CollectionIteratorTester because it's slow in prod
      // mode.
      static int collectionIteratorTesterNumIterations() {
        return 3;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 04 15:31:40 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Stopwatch.java

     * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings
     * are inherently approximate, routinely affected by periodic clock corrections. Because this class
     * (by default) uses {@link System#nanoTime}, it is unaffected by these changes.
     *
     * <p>Use this class instead of direct calls to {@link System#nanoTime} for two reasons:
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * <p>{@link #transitioned}: is set by {@link #transitionService} to indicate that some
         * transition has been performed.
         *
         * <p>Together, they allow us to enforce that all services have their listeners installed prior
         * to any service performing a transition, then we can fail in the ServiceManager constructor
         * rather than in a Service.Listener callback.
         */
        @GuardedBy("monitor")
        boolean ready;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
       * sees an Error?
       */
      @AndroidIncompatible
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Converter.java

     * requirement that existing callers already fulfill).
     *
     * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that
     * that is how the signature looked even prior to this comment! So naturally any change can break
     * existing users, but it can't *fix* existing users because any users who needed
     * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
            assertTrue(cancellationSuccess.get());
            // cancellation can interleave in 3 ways
            // 1. prior to setFuture
            // 2. after setFuture before set() on the future assigned
            // 3. after setFuture and set() are called but before the listener completes.
    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)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    child was very fond of pretending to be two people.  `But it's no
    use now,' thought poor Alice, `to pretend to be two people!  Why,
    there's hardly enough of me left to make ONE respectable
    person!'
    
      Soon her eye fell on a little glass box that was lying under
    the table:  she opened it, and found in it a very small cake, on
    which the words `EAT ME' were beautifully marked in currants.
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

         */
        void postReadCleanup() {
          if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) {
            cleanUp();
          }
        }
    
        /**
         * Performs routine cleanup prior to executing a write. This should be called every time a write
         * thread acquires the segment lock, immediately after acquiring the lock.
         *
         * <p>Post-condition: expireEntries has been run.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          // threshold is equal to ceilingPowerOfTwo(expectedSize). There is a separate code
          // path when the first operation on the new map is putAll(otherMap). There, prior to
          // https://github.com/openjdk/jdk/commit/3e393047e12147a81e2899784b943923fc34da8e, a bug
          // meant that sometimes a too-large threshold is calculated. However, this new threshold is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top