Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for thank (0.34 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

            checkArgument(!keyAndValue.isEmpty(), "blank key-value pair");
            checkArgument(
                keyAndValue.size() <= 2,
                "key-value pair %s with more than one equals sign",
                keyValuePair);
    
            // Find the ValueParser for the current key.
            String key = keyAndValue.get(0);
            ValueParser valueParser = VALUE_PARSERS.get(key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 22 14:27:44 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * needs to be created in order to invoke a method or constructor. The default value isn't used in
       * testing {@link Object#equals} because more than one sample instances are needed for testing
       * inequality.
       */
      protected final <T> void setDefault(Class<T> type, T value) {
        tester.setDefault(type, value);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

            listener.getStateHistory());
      }
    
      /**
       * This tests for a bug where if {@link Service#stopAsync()} was called while the service was
       * {@link State#STARTING} more than once, the {@link Listener#stopping(State)} callback would get
       * called multiple times.
       */
      public void testManualServiceStopMultipleTimesWhileStarting() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/LongMathTest.java

      @GwtIncompatible // TODO
      public void testSqrtMatchesBigInteger() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            // Promote the long value (rather than using longValue() on the expected value) to avoid
            // any risk of truncation which could lead to a false positive.
            assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(LongMath.sqrt(x, mode)));
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

          fail("NumberFormatException should have been raised.");
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testParseLongFails() {
        try {
          // One more than maximum value
          UnsignedLongs.parseUnsignedLong("18446744073709551616");
          fail();
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testDecodeLong() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertCorrectSlice(100, 100, 10, 0);
        assertCorrectSlice(100, 101, 10, 0);
      }
    
      /**
       * Tests that the default slice() behavior is correct when the source is sliced starting at an
       * offset that is greater than the current length of the source, a stream is then opened to that
       * source, and finally additional bytes are appended to the source before the stream is read.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
          long now = System.nanoTime();
          if (nanos == 0 || now - nanos >= 0) {
            synchronized (this) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Joiner.java

         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
         * We rely on checkers to implement special cases to catch dangerous calls to join(), etc. based
         * on what they know about the particular Joiner instances the calls are performed on.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
       *       1/stackSize}).
       * </ul>
       *
       * <p>Note: The special implementation does not respect calls to {@link Throwable#setStackTrace
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top