Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for mesiace (0.22 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       * @param errorMessageTemplate a template for the exception message should the check fail. The
       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    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)
  2. android/guava/src/com/google/common/hash/Hashing.java

      private static class Sha512Holder {
        static final HashFunction SHA_512 =
            new MessageDigestHashFunction("SHA-512", "Hashing.sha512()");
      }
    
      /**
       * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the
       * MD5 (128 hash bits) hash function and the given secret key.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
    
        private PermittedMetaException(String message) {
          super(message);
        }
    
        abstract boolean isPermitted(Exception exception);
    
        void assertPermitted(Exception exception) {
          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new ExecutionError(e);
        }
    
        if (calculatedValue == null) {
          String message = loader + " returned null for key " + key + ".";
          throw new CacheLoader.InvalidCacheLoadException(message);
        }
        statsCounter.recordLoadSuccess(ticker.read() - startTime);
        return calculatedValue;
      }
    
      private V getIfPresent(Object key) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
       * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception
       * message must mention two values that were associated with the duplicate key in two different
       * calls to Builder.put (though we don't really care *which* two values if there were more than
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          if (overWaitUnits > 0) {
            message += overWaitUnits + " " + unitString;
            if (shouldShowExtraNanos) {
              message += ",";
            }
            message += " ";
          }
          if (shouldShowExtraNanos) {
            message += overWaitLeftoverNanos + " nanoseconds ";
          }
    
          message += "delay)";
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
    
        private PermittedMetaException(String message) {
          super(message);
        }
    
        abstract boolean isPermitted(Exception exception);
    
        void assertPermitted(Exception exception) {
          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          // fail(), but with the JUnit-supplied message.
          assertEquals("Using seed " + seed, expected, actual);
        }
      }
    
      private static void assertEqualsUsingStartedWith(
          Collection<?> startedWith, @Nullable Object expected, @Nullable Object actual) {
        if (!equal(actual, expected)) {
          // fail(), but with the JUnit-supplied message.
          assertEquals("Started with " + startedWith, expected, actual);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/BaseEncoding.java

       *
       * @author Louis Wasserman
       * @since 15.0
       */
      public static final class DecodingException extends IOException {
        DecodingException(@Nullable String message) {
          super(message);
        }
      }
    
      /** Encodes the specified byte array, and returns the encoded {@code String}. */
      public String encode(byte[] bytes) {
        return encode(bytes, 0, bytes.length);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

        public int size() {
          return IntMath.saturatedAdd(rest.length, 1);
        }
    
        @Override
        @ParametricNullness
        public E get(int index) {
          // check explicitly so the IOOBE will have the right message
          checkElementIndex(index, size());
          return (index == 0) ? first : rest[index - 1];
        }
    
        @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top