- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 208 for DO (0.14 sec)
-
android/guava/src/com/google/common/math/Quantiles.java
* Double#POSITIVE_INFINITY POSITIVE_INFINITY} sort to the beginning and the end of the dataset, as * you would expect. * * <p>If required to do a weighted average between an infinity and a finite value, or between an * infinite value and itself, the infinite value is returned. If required to do a weighted average * between {@link Double#NEGATIVE_INFINITY NEGATIVE_INFINITY} and {@link Double#POSITIVE_INFINITY
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 29.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* the current thread leaves the monitor cleanly: * * <pre>{@code * if (monitor.tryEnter()) { * try { * // do things while occupying the monitor * } finally { * monitor.leave(); * } * } else { * // do other things since the monitor was not available * } * }</pre> * * <h2>Comparison with {@code synchronized} and {@code ReentrantLock}</h2> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
} /** * Verifies that a collection is immutable. * * <p>A collection is considered immutable if: * * <ol> * <li>All its mutation methods result in UnsupportedOperationException, and do not change the * underlying contents. * <li>All methods that return objects that can indirectly mutate the collection throw * UnsupportedOperationException when those mutators are called. * </ol>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 14.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
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) -
android/guava/src/com/google/common/math/LongMath.java
* * @throws IllegalArgumentException if {@code a < 0} or {@code b < 0} */ public static long gcd(long a, long b) { /* * The reason we require both arguments to be >= 0 is because otherwise, what do you return on * gcd(0, Long.MIN_VALUE)? BigInteger.gcd would return positive 2^63, but positive 2^63 isn't an * int. */ checkNonNegative("a", a); checkNonNegative("b", b); if (a == 0) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 44.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
checkSha1("b617318655057264e28bc0b6fb378c8ef146be00", key, data); } public void testRfc2202_hmacSha1_case2() { byte[] key = "Jefe".getBytes(UTF_8); String data = "what do ya want for nothing?"; checkSha1("effcdf6ae5eb2fa2d27416d5f184df9c259a7c79", key, data); } public void testRfc2202_hmacSha1_case3() { byte[] key = fillByteArray(20, 0xaa);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* containing one element (the given set itself). * * <p>Despite the method name, this method attempts to avoid actually copying the data when it is * safe to do so. The exact circumstances under which a copy will or will not be performed are * undocumented and subject to change. * * <p>This method is not type-safe, as it may be called on elements that are not mutually
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 36.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
return Platform.emptyToNull(string); } /** * Returns {@code true} if the given string is null or is the empty string. * * <p>Consider normalizing your string references with {@link #nullToEmpty}. If you do, you can * use {@link String#isEmpty()} instead of this method, and you won't need special null-safe forms * of methods like {@link String#toUpperCase} either. Or, if you'd like to normalize "in the other
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) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
Preconditions.checkNotNull(executor, "Executor was null."); RunnableExecutorPair newHead = new RunnableExecutorPair(runnable, executor); RunnableExecutorPair oldHead; do { oldHead = head; if (oldHead == null) { // If runnables == null then execute() has been called so we should just execute our // listener immediately. newHead.execute();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
} } else { // non-empty list, insert before nextSibling /* * requireNonNull is safe as long as callers pass a nextSibling that (a) has the same key and * (b) is present in the multimap. (And they do, except maybe in case of concurrent * modification, in which case all bets are off.) */ KeyList<K, V> keyList = requireNonNull(keyToKeyList.get(key)); keyList.count++;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 27.2K bytes - Viewed (0)