Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 125 for Messages (0.14 sec)

  1. 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)
  2. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

              return false;
            }
            int result = 0;
            for (int i = 0; i < a.length; i++) {
              result |= a[i] ^ b[i];
            }
            return (result == 0);
          }
        },
        MESSAGE_DIGEST_IS_EQUAL {
          @Override
          boolean doEquals(byte[] a, byte[] b) {
            return MessageDigest.isEqual(a, b);
          }
        },
        ARRAYS_EQUALS {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

              return false;
            }
            int result = 0;
            for (int i = 0; i < a.length; i++) {
              result |= a[i] ^ b[i];
            }
            return (result == 0);
          }
        },
        MESSAGE_DIGEST_IS_EQUAL {
          @Override
          boolean doEquals(byte[] a, byte[] b) {
            return MessageDigest.isEqual(a, b);
          }
        },
        ARRAYS_EQUALS {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          throw t;
        }
      }
    
      /** Calls threadFail with message "should throw exception". */
      public void threadShouldThrow() {
        threadFail("should throw exception");
      }
    
      /** Calls threadFail with message "should throw" + exceptionName. */
      public void threadShouldThrow(String exceptionName) {
        threadFail("should throw " + exceptionName);
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Strings.java

       * specifiers</a>, and alert you to usage errors by throwing {@link
       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
       * used for another unchecked exception, an exception during string formatting would serve little
       * purpose except to supplant the real information you were trying to provide. These are the cases
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

     *
     * @param <K> the type of keys used by the maps under test
     * @param <V> the type of mapped values used the maps under test
     * @author George van den Driessche
     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    // TODO: Add another constructor parameter indicating whether the class under test is ordered, and
    // check the order if so.
    // TODO: Refactor to share code with SetTestBuilder etc.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
  8. 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)
  9. 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)
  10. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      static final String EDGE_NOT_IN_GRAPH = "edgeNotInGraph";
    
      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
      // TODO(user): Some Strings used in the subclasses can be added as static Strings
      // here too.
      static final String ERROR_PARALLEL_EDGE = "connected by a different edge";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top