Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for durations (0.19 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

              parentBuilder) {
        // TODO: Once invariant support is added, supply invariants to each of the
        // derived suites, to check that mutations to the derived collections are
        // reflected in the underlying map.
    
        List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

            && this.funnel.equals(that.funnel);
      }
    
      /**
       * Combines this Bloom filter with another Bloom filter by performing a bitwise OR of the
       * underlying data. The mutations happen to <b>this</b> instance. Callers must ensure the Bloom
       * filters are appropriately sized to avoid saturating them.
       *
       * @param that The Bloom filter to combine this Bloom filter with. It is not mutated.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/SplitterTest.java

        assertSplitterIterableIsLazy(Splitter.on(","));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // java.util.regex.Pattern
      @AndroidIncompatible // not clear that j.u.r.Matcher promises to handle mutations during use
      public void testSplitterIterableIsLazy_pattern() {
        if (!CommonPattern.isPcreLike()) {
          return;
        }
        assertSplitterIterableIsLazy(Splitter.onPattern(","));
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `You did,' said the Mock Turtle.
    
      `Hold your tongue!' added the Gryphon, before Alice could speak
    again.  The Mock Turtle went on.
    
      `We had the best of educations--in fact, we went to school
    every day--'
    
      `I'VE been to a day-school, too,' said Alice; `you needn't be
    so proud as all that.'
    
      `With extras?' asked the Mock Turtle a little anxiously.
    
    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)
  5. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

            executorService.scheduleAtFixedRate(command, Duration.ofDays(2), Duration.ofHours(4));
    
        assertThat(future.get()).isEqualTo("scheduleAtFixedRate");
        assertThat(recordedCommand).isSameInstanceAs(command);
        assertThat(recordedTimeUnit).isEqualTo(TimeUnit.NANOSECONDS);
        assertThat(Duration.ofNanos(recordedDelay)).isEqualTo(Duration.ofDays(2));
        assertThat(Duration.ofNanos(recordedInterval)).isEqualTo(Duration.ofHours(4));
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 17 20:45:59 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Suppliers.java

      @GwtIncompatible // java.time.Duration
      @SuppressWarnings("Java7ApiChecker") // no more dangerous that wherever the user got the Duration
      @IgnoreJRERequirement
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, Duration duration) {
        checkNotNull(delegate);
        // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble.
        checkArgument(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/AbstractCache.java

         *
         * @param loadTime the number of nanoseconds the cache spent computing or retrieving the new
         *     value
         */
        @SuppressWarnings("GoodTime") // should accept a java.time.Duration
        void recordLoadSuccess(long loadTime);
    
        /**
         * Records the failed load of a new entry. This should be called when a cache request causes an
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        multiset.add(KEY);
        multiset.add(KEY + "_2");
        multiset.add(KEY);
    
        int mutations = 0;
        for (Iterator<String> it = multiset.iterator(); it.hasNext(); ) {
          it.next();
          it.remove();
          mutations++;
        }
        assertTrue(multiset.isEmpty());
        assertEquals(3, mutations);
      }
    
      public void testSetCount_basic() {
        int initialCount = 20;
        int countToSet = 40;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/MapIteratorCache.java

     * this structure is never mutated, it provides a thread-safe view of the backing map.
     *
     * <p>The {@link MapIteratorCache} assumes ownership of the backing map, and cannot guarantee
     * correctness in the face of external mutations to the backing map. As such, it is <b>strongly</b>
     * recommended that the caller does not persist a reference to the backing map (unless the backing
     * map is immutable).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

         */
        Set<List<E>> getAllStates();
      }
    
      /**
       * Returns a {@link ConcurrentlyMutatedList} that performs the given operations as its concurrent
       * modifications. The mutations occur in the same thread as the triggering method call.
       */
      private static ConcurrentlyMutatedList<Integer> newConcurrentlyMutatedList(
          final Collection<Integer> initialContents,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top