- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 1,189 for cases (0.09 sec)
-
guava/src/com/google/common/base/Joiner.java
* and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null * inputs, rather than as if it never tolerates them. * * We rely on checkers to implement special cases to catch dangerous calls to join(), etc. based
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLong.java
import java.math.BigInteger; import org.jspecify.annotations.Nullable; /** * A wrapper class for unsigned {@code long} values, supporting arithmetic operations. * * <p>In some cases, when speed is more important than code readability, it may be faster simply to * treat primitive {@code long} values as unsigned, using the methods from {@link UnsignedLongs}. * * <p>See the Guava User Guide article on <aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// When & Then assertEquals(attributes, info.getAttributes()); } } @Test @DisplayName("Test with edge case time values") void testWithEdgeCaseTimeValues() { // Test with various time values including edge cases long[][] timeValues = { { 0L, 0L, 0L, 0L }, // All zeros { Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE }, // Max valuesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
"-1, -1, -1", // Negative values (should still create instance) "0, 9223372036854775807, 0" // Edge cases }) void testConstructorWithVariousValues(long sourceOffset, long targetOffset, int length) { // When SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of * multiple containers in a single method is discouraged in most cases, but it is vital to the * iterator tests. * * @return the new container instance * @param newValue the new container instance */ @CanIgnoreReturnValue protected C resetContainer(C newValue) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 8.9K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
} @Override public @Nullable E edgeConnectingOrNull(N nodeU, N nodeV) { Set<E> edgesConnecting = edgesConnecting(nodeU, nodeV); switch (edgesConnecting.size()) { case 0: return null; case 1: return edgesConnecting.iterator().next(); default: throw new IllegalArgumentException(String.format(MULTIPLE_EDGES_CONNECTING, nodeU, nodeV)); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 10K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultimap.java
import java.util.TreeSet; import org.jspecify.annotations.Nullable; /** * Implementation of {@code Multimap} whose keys and values are ordered by their natural ordering or * by supplied comparators. In all cases, this implementation uses {@link Comparable#compareTo} or * {@link Comparator#compare} instead of {@link Object#equals} to determine equivalence of * instances. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
internal/lsync/lrwmutex_test.go
rlocked <- true wl.Lock() wlocked <- true } }() for range n { <-rlocked rl.Unlock() select { case <-wlocked: t.Fatal("RLocker() didn't read-lock it") default: } rl.Unlock() <-wlocked select { case <-rlocked: t.Fatal("RLocker() didn't respect the write lock") default: } wl.Unlock() } } // Borrowed from rwmutex_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
lock.encode(buffer, 0); assertEquals(0x11, SMBUtil.readInt4(buffer, 16)); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @Test @DisplayName("Should handle encoding at buffer boundary") void testEncodingAtBufferBoundary() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)