- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 2,154 for _shouldn (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
byte[] released = response.releaseBuffer(); assertSame(buffer, released); assertEquals(0x42, released[0]); assertEquals(0x43, released[1]); // After release, getting buffer again should return null assertNull(response.releaseBuffer()); } @Test @DisplayName("Test subCommand getter and setter") void testSubCommandGetterSetter() { byte subcommand = (byte) 0x05;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
try { ruleManager.addRule(-1, rule2); fail("Should throw IndexOutOfBoundsException for negative index"); } catch (IndexOutOfBoundsException e) { // Expected } try { ruleManager.addRule(5, rule2); fail("Should throw IndexOutOfBoundsException for index > size"); } catch (IndexOutOfBoundsException e) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* lu/GJQZoU9lDrCPeUcQ28tzOWw== * -----END PRIVATE KEY----- * ``` * * The string should contain exactly one certificate and one private key in [PKCS #8][rfc_5208] * format. It should not contain any other PEM-encoded blocks, but it may contain other text * which will be ignored. *Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt
* strings. The map's keys are lowercase and should be treated case-insensitively. */ @get:JvmName("authParams") val authParams: Map<String?, String> /** Returns the protection space. */ @get:JvmName("realm") val realm: String? get() = authParams["realm"] /** The charset that should be used to encode the credentials. */ @get:JvmName("charset") val charset: Charset
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 15:01:35 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
setField(transport, "socket", s); // Act & Assert assertFalse(transport.isDisconnected()); assertFalse(transport.isFailed()); // Close socket -> both should be true when(s.isClosed()).thenReturn(true); assertTrue(transport.isDisconnected()); assertTrue(transport.isFailed()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
byte[] buffer = new byte[50]; int used = nullPathCmd.writeBytesWireFormat(buffer, 0); // Should write command byte + null terminator only assertEquals(2, used, "Null path should result in command byte + NUL"); assertEquals(0x04, buffer[0] & 0xFF, "First byte must still be 0x04"); assertEquals(0, buffer[1], "Second byte must be null terminator");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
val tagClass: Int, /** The tag this adapter expects, or -1 to match any tag. */ val tag: Long, /** Encode and decode the value once tags are handled. */ private val codec: Codec<T>, /** True if the default value should be used if this value is absent during decoding. */ val isOptional: Boolean = false, /** The value to return if this value is absent. Undefined unless this is optional. */ val defaultValue: T? = null,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java
// Test that フュ correctly maps to "fyu" only (not "hyu") List<String> results = converter.convert("フュ", null); assertTrue(results.contains("fyu")); assertFalse("Should not contain 'hyu' (that's for ヒュ)", results.contains("hyu")); } public void test_convertEmptyString() { List<String> results = converter.convert("", null); assertNotNull(results);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:28:21 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
URL url1 = new URL(null, "smb://host1/share1", handler); URL url2 = new URL(null, "smb://host2/share2", handler); // Both should use the same handler instance assertNotNull(url1); assertNotNull(url2); // Protocol should be consistent assertEquals(url1.getProtocol(), url2.getProtocol()); assertEquals("smb", url1.getProtocol()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
import java.util.Map; import java.util.Map.Entry; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * A map entry which forwards all its method calls to another map entry. Subclasses should override * one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0)