- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 719 for decoding (0.14 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
} } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle large buffer decoding") void testLargeBufferDecode() throws SMBProtocolDecodingException { byte[] largeBuffer = new byte[65536]; Arrays.fill(largeBuffer, (byte) 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
cmd/admin-handlers_test.go
// Invalid cases {mgmtPrefix: "objprefix"}, // Valid cases {}, {mgmtBucket: "bucket"}, {mgmtBucket: "bucket", mgmtPrefix: "objprefix"}, } // Body is always valid - we do not test JSON decoding. body := `{"recursive": false, "dryRun": true, "remove": false, "scanMode": 0}` // Test all combinations! for pIdx, params := range qParamsArr { for vIdx, vars := range varsArr {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertThat(encoding.canDecode(encoded)).isTrue(); assertThat(encoding.decode(encoded)).isEqualTo(decoded); } private static void assertFailsToDecode(BaseEncoding encoding, String cannotDecode) { assertFailsToDecode(encoding, cannotDecode, null); } private static void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
*/ public void setNotificationFilter(int notificationFilter) { this.notificationFilter = notificationFilter; } /** * Get the standard lease size for encoding/decoding * @return the standard lease context size */ protected int getStandardLeaseSize() { // Standard lease V2 size: LeaseKey(16) + LeaseState(4) + Flags(4) + reserved fields return 32;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
} @Test void decodesPipePeekOnBufferOverflowStatus() throws Exception { // For BUFFER_OVERFLOW with FSCTL_PIPE_PEEK, isErrorResponseStatus() should be false and decoding proceeds. byte[] header = buildHeader(NtStatus.NT_STATUS_BUFFER_OVERFLOW); // SrvPipePeekResponse expects at least 16 bytes (4 ints) output byte[] out = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
import org.junit.jupiter.api.Test; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Test class for SrvPipePeekResponse * Tests the decoding of FSCTL_PIPE_PEEK response according to MS-FSCC 2.3.29 */ class SrvPipePeekResponseTest { private SrvPipePeekResponse response; @BeforeEach void setUp() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
}, ) } /** Headers are compressed, then framed. */ @Test fun pushPromiseThenContinuation() { val expectedPromisedStreamId = 11 val pushPromise = largeHeaders() // Decoding the first header will cross frame boundaries. val headerBlock = literalHeaders(pushPromise) // Write the first headers frame. writeMedium(frame, Http2.INITIAL_MAX_FRAME_SIZE)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException if there is an error decoding the response * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertThrows(NullPointerException.class, () -> { bindWithParams.encode_in(mockBuffer); }, "Should fail on UUID encoding"); } } @Nested @DisplayName("Decoding Tests") class DecodingTests { @Test @DisplayName("decode_out should read bind response data correctly") void testDecodeOut() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* be at least 2 characters long, and contain only valid, lower-cased hexadecimal characters. * * <p>This method accepts the exact format generated by {@link #toString}. If you require more * lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode} * (and pass the result to {@link #fromBytes}). * * @since 15.0 */ public static HashCode fromString(String string) { checkArgument(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0)