- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 859 for _some (0.01 sec)
-
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
import java.util.concurrent.atomic.AtomicReference; import org.jspecify.annotations.Nullable; /** * A step in a pipeline of an asynchronous computation. When the last step in the computation is * complete, some objects captured during the computation are closed. * * <p>A pipeline of {@code ClosingFuture}s is a tree of steps. Each step represents either an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
) { /** * Returns the effective top-level domain plus one (eTLD+1) by referencing the public suffix list. * Returns null if the domain is a public suffix or a private address. * * Here are some examples: * * ```java * assertEquals("google.com", getEffectiveTldPlusOne("google.com")); * assertEquals("google.com", getEffectiveTldPlusOne("www.google.com")); * assertNull(getEffectiveTldPlusOne("com"));
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
/** * Returns {@code true} if {@code bytes} is a <i>well-formed</i> UTF-8 byte sequence according to * Unicode 6.0. Note that this is a stronger criterion than simply whether the bytes can be * decoded. For example, some versions of the JDK decoder will accept "non-shortest form" byte * sequences, but encoding never reproduces these. Such byte sequences are <i>not</i> considered * well-formed. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
* primitives. The strategies are all implemented as subtypes of AtomicHelper and the strategy is * selected in the static initializer of AbstractFuture. This is convenient and performant but * introduces some testing difficulties. This test exercises the fallback strategies. * * <p>To force selection of our fallback strategies, we load {@link AbstractFuture} (and all of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
// that simply loops through the subscribers and dispatches the event to each would actually // probably provide a stronger order guarantee, though that order would obviously be different // in some cases. /** Global event queue. */ private final ConcurrentLinkedQueue<EventWithSubscriber> queue = new ConcurrentLinkedQueue<>(); @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
assertTrue(entry.isComplete()); assertFalse(entry.hasChanges()); // Changes are cleared when marked complete } @Test public void testInvalidate() { // Add some children entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L); entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L); entry.markComplete();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
// 256 characters long assertEquals(4904844928629814570L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8))); } public void testStringsConsistency() { for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) { assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); } } public void testUtf8() { char[] charsA = new char[128];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
assertArrayEquals(encryptionKey, serverData.encryptionKey); assertEquals("", serverData.oemDomainName); } @Test void testToString() { // Populate serverData with some values response.dialectIndex = 5; serverData.securityMode = 0x03; // User, Encrypted serverData.security = 1; serverData.encryptedPasswords = true; serverData.maxMpxCount = 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TableCollectors.java
/* * No mutable Table exactly matches the insertion order behavior of ImmutableTable.Builder, but * the Builder can't efficiently support merging of duplicate values. Getting around this * requires some work. */ return Collector.of( ImmutableTableCollectorState<R, C, V>::new, (state, input) -> state.put( rowFunction.apply(input),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 7.5K bytes - Viewed (0)