- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 184 for remained (0.03 sec)
-
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
Throwable cause = new RuntimeException("root cause"); // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(null, cause); // Assert - null message retained; cause preserved assertNull(ex.getMessage()); assertSame(cause, ex.getCause()); assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
} } @Nested @DisplayName("Payload Handling Tests") class PayloadHandlingTests { @Test @DisplayName("Should handle response with retained payload") void testHaveResponseWithRetainedPayload() throws SMBProtocolDecodingException { byte[] buffer = { 1, 2, 3, 4, 5 }; response.setRetainPayload(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
assertFalse(renewed, "renewCredentials should return false when renewable credentials are not renewed"); assertEquals(mockRenewableCredentials, wrapper.getCredentials(), "Credentials should remain unchanged if renew() returns null"); verify(mockRenewableCredentials).renew(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* ReadWriteLock implementation whose read and write locks retain a reference back to this lock. * Otherwise, a reference to just the read lock or just the write lock would not suffice to ensure * the {@code ReadWriteLock} is retained. */ private static final class WeakSafeReadWriteLock implements ReadWriteLock { private final ReadWriteLock delegate; WeakSafeReadWriteLock() { this.delegate = new ReentrantReadWriteLock();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* key. When a key-value pair is added to a multimap that didn't previously * contain any values for that key, a new collection generated by * createCollection is added to the map. That same collection instance * remains in the map as long as the multimap has any values for the key. If * all values for the key are removed, the key and collection are removed * from the map. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} } } } public void testRemainder() { for (long a : UNSIGNED_INTS) { for (long b : UNSIGNED_INTS) { try { assertThat(UnsignedInts.remainder((int) a, (int) b)).isEqualTo((int) (a % b)); assertThat(b).isNotEqualTo(0); } catch (ArithmeticException e) { assertThat(b).isEqualTo(0); } } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// Verify encoded length assertEquals(0, encodedLen, "Encoded length should be zero for zero length encodable"); assertArrayEquals(new byte[] { 0x00, 0x00, 0x00 }, dest, "Destination array should remain unchanged for zero length encoding"); } @Test void testEncodeEmptySourceArray() { // Test with an empty source array byte[] data = {};Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 03 21:01:09 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
for (int i = 0; i < len; i++) { assertEquals(src[off + i], dst[dstIndex + i], "Byte mismatch at " + i); } // Assert: bytes before and after region remain unchanged. for (int i = 0; i < dstIndex; i++) { assertEquals((byte) 0x55, dst[i], "Unexpected change before copy region at " + i); } for (int i = dstIndex + len; i < dst.length; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
import org.jspecify.annotations.Nullable; /** * A {@code UnicodeEscaper} that escapes some set of Java characters using a UTF-8 based percent * encoding scheme. The set of safe characters (those which remain unescaped) can be specified on * construction. * * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be usedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0)