- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for checkMd5 (0.11 sec)
-
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
} private static void checkMd5(String expected, byte[] key, String data) { checkMd5(expected, key, data.getBytes(UTF_8)); } private static void checkMd5(String expected, byte[] key, byte[] data) { checkHmac(expected, Hashing.hmacMd5(key), data); } private static void checkHmac(String expected, HashFunction hashFunc, byte[] data) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
} private static void checkMd5(String expected, byte[] key, String data) { checkMd5(expected, key, data.getBytes(UTF_8)); } private static void checkMd5(String expected, byte[] key, byte[] data) { checkHmac(expected, Hashing.hmacMd5(key), data); } private static void checkHmac(String expected, HashFunction hashFunc, byte[] data) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
} /** * Dispatches all listeners {@linkplain #enqueue enqueued} prior to this call, serially and in * order. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception void dispatch() { boolean scheduleEventRunner = false; synchronized (this) { if (!isThreadScheduled) { isThreadScheduled = true; scheduleEventRunner = true;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* fact the static type of {@link Throwable} is occasionally justified even for a method with no * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a * method propagate untouched, just as we'd typically let it do for a non-reflective call.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* <ul> * <li>All visible static methods are checked such that passing null for any parameter that's * not annotated nullable (according to the rules of {@link NullPointerTester}) should throw * {@link NullPointerException}. * <li>If there is any visible constructor or visible static factory method declared by the * class, all visible instance methods will be checked too using the instance created by
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* RuntimeException} (though {@code get} implementations are discouraged from throwing such * exceptions). * </ul> * * <p>The overall principle is to continue to treat every checked exception as a checked * exception, every unchecked exception as an unchecked exception, and every error as an error. In * addition, the cause of any {@code ExecutionException} is wrapped in order to ensure that theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) { if (!initialized) { T t = delegate.get(); value = t; initialized = true; return t; } } } // This is safe because we checked `initialized`. return uncheckedCastNullableTToT(value); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
} /** * Dispatches all listeners {@linkplain #enqueue enqueued} prior to this call, serially and in * order. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception void dispatch() { boolean scheduleEventRunner = false; synchronized (this) { if (!isThreadScheduled) { isThreadScheduled = true; scheduleEventRunner = true;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* <ul> * <li>All visible static methods are checked such that passing null for any parameter that's * not annotated nullable (according to the rules of {@link NullPointerTester}) should throw * {@link NullPointerException}. * <li>If there is any visible constructor or visible static factory method declared by the * class, all visible instance methods will be checked too using the instance created by
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* IOException}, {@code RuntimeException}, {@code Error} or a checked exception of the given type. * Otherwise, it will be rethrown wrapped in a {@code RuntimeException}. <b>Note:</b> Be sure to * declare all of the checked exception types your try block can throw when calling an overload of * this method so as to avoid losing the original exception type. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0)