Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Message (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

          super(message);
        }
    
        public ExceptionWithManyConstructorsButOnlyOneThrowable(
            String message, String a1, String a2, String a3) {
          super(message);
        }
    
        public ExceptionWithManyConstructorsButOnlyOneThrowable(String message, Throwable antecedent) {
          super(message);
          this.antecedent = antecedent;
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
          assertFalse(message, getMap().containsKey(null));
        } catch (NullPointerException tolerated) {
          // Tolerated
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

       * to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullMissingWhenNullUnsupported(String message) {
        try {
          assertFalse(message, actualContents().contains(null));
        } catch (NullPointerException tolerated) {
          // Tolerated
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/VerifyTest.java

        }
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
      public void testVerify_simpleMessage_failure() {
        try {
          verify(false, "message");
          fail();
        } catch (VerifyException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("message");
        }
      }
    
      public void testVerify_complexMessage_success() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

         done using `git rebase -i`). Do your best to have a
         [well-formed commit message][] for the change.
    
    [Java style guide]: https://google.github.io/styleguide/javaguide.html
    [well-formed commit message]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
    
    #### Merging pull requests ####
    
    Due to Guava's nature as a subset of Google's internal codebase which is
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/UncheckedTimeoutException.java

      public UncheckedTimeoutException() {}
    
      public UncheckedTimeoutException(@CheckForNull String message) {
        super(message);
      }
    
      public UncheckedTimeoutException(@CheckForNull Throwable cause) {
        super(cause);
      }
    
      public UncheckedTimeoutException(@CheckForNull String message, @CheckForNull Throwable cause) {
        super(message, cause);
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * @since 11.0
       */
      public static final class InvalidCacheLoadException extends RuntimeException {
        public InvalidCacheLoadException(String message) {
          super(message);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     */
    public class MessageDigestAlgorithmBenchmark {
      @Param({"10", "1000", "100000", "1000000"})
      int size;
    
      @Param Algorithm algorithm;
      @Param HashMethod hashMethod;
    
      private enum HashMethod {
        MESSAGE_DIGEST_API() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            MessageDigest md = algorithm.getMessageDigest();
            md.update(input);
            return md.digest();
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        if (localInputFuture != null) {
          String message = "inputFuture=[" + localInputFuture + "]";
          if (localTimer != null) {
            long delay = localTimer.getDelay(TimeUnit.MILLISECONDS);
            // Negative delays look confusing in an error message
            if (delay > 0) {
              message += ", remaining delay=[" + delay + " ms]";
            }
          }
          return message;
        }
        return null;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Hasher that updates a message digest. */
      private static final class MessageDigestHasher extends AbstractByteHasher {
        private final MessageDigest digest;
        private final int bytes;
        private boolean done;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
Back to top