Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for Keping (0.16 sec)

  1. guava/src/com/google/common/collect/Interners.java

        return new InternerBuilder();
      }
    
      /**
       * Returns a new thread-safe interner which retains a strong reference to each instance it has
       * interned, thus preventing these instances from being garbage-collected. If this retention is
       * acceptable, this implementation may perform better than {@link #newWeakInterner}.
       */
      public static <E> Interner<E> newStrongInterner() {
        return newBuilder().strong().build();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  2. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    import java.util.concurrent.TimeUnit;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    import java.util.concurrent.TimeUnit;
    
    /**
     * Simple benchmark: create, start, read. This does not currently report the most useful result
     * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC.
     *
     * @author Kevin Bourrillion
     */
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/package-info.java

     *
     * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be
     * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link
     * CacheLoader}. Statistics about cache performance are exposed using {@link CacheStats}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/CachesExplained">caches</a>.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/package-info.java

     *
     * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be
     * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link
     * CacheLoader}. Statistics about cache performance are exposed using {@link CacheStats}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/CachesExplained">caches</a>.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/AbstractCache.java

         * key on an absent value should result in a single call to either {@code recordLoadSuccess} or
         * {@code recordLoadException} and multiple calls to this method, despite all being served by
         * the results of a single load operation.
         *
         * @param count the number of misses to record
         * @since 11.0
         */
        void recordMisses(int count);
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InternetDomainName.java

     * addressable domain on the web -- that is, for a candidate string {@code "xxx"}, might browsing to
     * {@code "http://xxx/"} result in a webpage being displayed? In the past, this test was frequently
     * done by determining whether the domain ended with a {@linkplain #isPublicSuffix() public suffix}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/RemovalListener.java

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * An object that can receive a notification when an entry is removed from a cache. The removal
     * resulting in notification could have occurred to an entry being manually removed or replaced, or
     * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection.
     *
     * <p>An instance may be called concurrently by multiple threads to process different entries.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharStreams.java

       * close or flush the reader.
       *
       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
       * use a char array.
       *
       * @param from the object to read from
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        // Test that the first generated instance for different cgcb.Optional<T> is always absent().
        // Having generated cgcb.Optional<String> instances doesn't prevent absent() from being
        // generated for other cgcb.Optional types.
        assertEquals(
            com.google.common.base.Optional.absent(),
            generator.generateFresh(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 18.4K bytes
    - Viewed (0)
Back to top