- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,276 for Chan (0.02 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
assertLessThan(STOPPING, TERMINATED); } private static <T extends Comparable<? super T>> void assertLessThan(T a, T b) { if (a.compareTo(b) >= 0) { fail(String.format(Locale.ROOT, "Expected %s to be less than %s", a, b)); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Internal.java
@IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 1.9K bytes - Click Count (0) -
futures/listenablefuture1/pom.xml
that empty artifact over the "real" listenablefuture-1.0 -- avoiding a conflict with the copy of ListenableFuture in guava itself. If users are using an older version of Guava or a build system other than Gradle, they may see class conflicts. If so, they can solve them by manually excluding the listenablefuture artifact or manually forcing their build systems to use 9999.0-.... </description> <build>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 19:27:26 GMT 2025 - 2.1K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java
import static java.util.Objects.requireNonNull; /** * Represents the list of core extensions configured at one source. The list is validated (are GA unique), but no * other logic than that is applied. * * @since 4.0.0 * @param source The source file of core extensions, is never {@code null}.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 13 12:50:59 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
* * While intuitively, using CharsetEncoder to encode the CharSequence directly to the buffer (or * even to an intermediate buffer) should be considerably more efficient than potentially * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in * reality there are optimizations that make the getBytes(Charset) approach considerably faster,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
* * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset, * the default implementation of this method will ensure that the original {@code CharSource} is * returned, rather than round-trip encoding. Subclasses that override this method should behave * the same way. * * @since 20.0 */ public ByteSource asByteSource(Charset charset) { return new AsByteSource(charset); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
import java.util.Map; /** * An implementation-specific parameter class suitable for initializing {@link * ArrayBasedCharEscaper} or {@link ArrayBasedUnicodeEscaper} instances. This class should be used * when more than one escaper is created using the same character replacement mapping to allow the * underlying (implementation specific) data structures to be shared. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
assertFalse( "Inverse should not contain value " + reversed.getValue(), inv.containsValue(reversed.getValue())); /* * TODO(cpovirk): This is a bit stronger than super.expectMissing(), which permits a <key, * someOtherValue> pair. */ assertNull( "Inverse should not return a mapping for key " + reversed.getKey(), inv.get(reversed.getKey()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java
} // if we haven't added this arg to the buffer, and we ARE building an argument // buffer, then append it with a preceding space...again, not sure what else to // do other than collapse whitespace. // NOTE: The case of a trailing quote is handled by nullifying the arg buffer. if (!addedToBuffer) { if (currentArg != null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
* Splitter.fixedLength(2).split("abcde")} returns an iterable containing {@code ["ab", "cd", * "e"]}. The last piece can be smaller than {@code length} but will never be empty. * * <p><b>Note:</b> if {@link #fixedLength} is used in conjunction with {@link #limit}, the final * split piece <i>may be longer than the specified fixed length</i>. This is because the splitter
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0)