Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Make (0.14 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          size += other.size;
          return this;
        }
    
        /**
         * Returns a newly-created immutable sorted map.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
         * deprecated.
         *
    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)
  2. android/guava/src/com/google/common/base/Preconditions.java

       *
       * @since 20.0 (varargs overload since 2.0)
       */
      public static void checkArgument(
          boolean expression,
          // TODO: cl/604933487 - Make errorMessageTemplate consistently @CheckForNull across overloads.
          @CheckForNull String errorMessageTemplate,
          @CheckForNull Object p1,
          @CheckForNull Object p2) {
        if (!expression) {
    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)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
      //   spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

     * API</h2>
     *
     * <p>The successor to Guava's caching API is <a
     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>. Its API is designed to make it a
     * nearly drop-in replacement. It requires Java 8+, and is not available for Android or GWT/J2CL,
     * and may have <a href="https://github.com/ben-manes/caffeine/wiki/Guava">different (usually
    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)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        CacheTesting.simulateKeyReclamation(cache, key);
        cache.refresh(key);
        checkNothingLogged();
        assertEquals(3, countingLoader.getCount());
      }
    
      /**
       * Make sure LoadingCache correctly wraps ExecutionExceptions and UncheckedExecutionExceptions.
       */
      public void testLoadingExceptionWithCause() {
        final Exception cause = new Exception();
    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)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

          super.combine(other);
          return this;
        }
    
        /**
         * Returns a newly-created immutable sorted map.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
         * deprecated.
         *
    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)
  7. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        CacheTesting.simulateKeyReclamation(cache, key);
        cache.refresh(key);
        checkNothingLogged();
        assertEquals(3, countingLoader.getCount());
      }
    
      /**
       * Make sure LoadingCache correctly wraps ExecutionExceptions and UncheckedExecutionExceptions.
       */
      public void testLoadingExceptionWithCause() {
        final Exception cause = new Exception();
    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)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    assigned prior to calling addListener, and addListener happens-before any invocation of the
      //    listener. Notably, this means that 'volatile' is unnecessary to make 'inputFuture' visible
      //    to the listener.
      //
      // 2. In done() where we may propagate cancellation to the input. In this case it is _not_ fine.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top