Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for stats (0.13 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

       * {@link Cache#stats} will return zero for all statistics. Note that recording stats requires
       * bookkeeping to be performed with each operation, and thus imposes a performance penalty on
       * cache operation.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @since 12.0 (previously, stats collection was automatic)
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

        if (!expression) {
          throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
      }
    
      /**
       * Ensures the truth of an expression involving the state of the calling instance, but not
       * involving any parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalStateException if {@code expression} is false
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys are less
       * than {@code toKey}.
       *
       * <p>The {@link SortedMap#headMap} documentation states that a submap of a submap throws an
       * {@link IllegalArgumentException} if passed a {@code toKey} greater than an earlier {@code
       * toKey}. However, this method doesn't throw an exception in that situation, but instead keeps
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

        ImmutableSet<SomeEnum> set = collector.finisher().apply(accumulator);
        assertThat(set).containsExactly(SomeEnum.A, SomeEnum.B);
    
        // Subsequent manual manipulation of the accumulator must not affect the state of the built set
        adder.accept(accumulator, SomeEnum.C);
        assertThat(set).containsExactly(SomeEnum.A, SomeEnum.B);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      /**
       * This field encodes the current state of the future.
       *
       * <p>The valid values are:
       *
       * <ul>
       *   <li>{@code null} initial state, nothing has happened.
       *   <li>{@link Cancellation} terminal state, {@code cancel} was called.
       *   <li>{@link Failure} terminal state, {@code setException} was called.
       *   <li>{@link SetFuture} intermediate state, {@code setFuture} was called.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys are less
       * than {@code toKey}.
       *
       * <p>The {@link SortedMap#headMap} documentation states that a submap of a submap throws an
       * {@link IllegalArgumentException} if passed a {@code toKey} greater than an earlier {@code
       * toKey}. However, this method doesn't throw an exception in that situation, but instead keeps
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * value}
         */
        void setValue(S segment, E entry, V value);
      }
    
      /**
       * An entry in a hash table of a {@link Segment}.
       *
       * <p>Entries in the map can be in the following states:
       *
       * <p>Valid: - Live: valid key/value are set
       *
       * <p>Invalid: - Collected: key/value was partially collected, but not yet cleaned up
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

        // [[[:Zs:][:Zl:][:Zp:][:Cc:][:Cf:][:Cs:][:Co:]]&[\u0000-\uFFFF]]
        // with the "Abbreviate" option, and get the ranges from there.
        private static final String RANGE_STARTS =
            "\u0000\u007f\u00ad\u0600\u061c\u06dd\u070f\u0890\u08e2\u1680\u180e\u2000\u2028\u205f\u2066"
                + "\u3000\ud800\ufeff\ufff9";
        private static final String RANGE_ENDS = // inclusive ends
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top