- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 330 for decodeId (0.16 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
Smb2IoctlResponse resp = new Smb2IoctlResponse(config); int read = resp.decode(packet, 0); assertTrue(read >= packet.length, "Decoded length should cover entire packet"); assertNotNull(resp.getErrorData(), "Error data should be decoded"); assertEquals(3, resp.getErrorData().length); assertEquals(2, resp.getErrorContextCount());
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/fscc/FileSystemInformationTest.java
byte[] buffer = new byte[bufferSize]; FileFsSizeInformation info = new FileFsSizeInformation(); int decoded = info.decode(buffer, 0, Math.min(bufferSize, 24)); assertEquals(24, decoded); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
long expectedOffset = expectedInt; // Sign extension happens here for negative values assertEquals(expectedOffset, response.getOffset(), "Offset should match decoded value"); assertEquals(4, readLen, "Byte count returned should be 4"); } @Test @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
if (rem == 0) { return 0; } return 8 - rem; } @Override public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { return decode(buffer, bufferIndex, false); } /** * Decodes the SMB2 message from the buffer. * * @param buffer the buffer containing the message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
* Extracts and parses parameters from the request query string. * Applies the specified character encoding to decode parameter values. * * @param request the HTTP request containing the query string * @param enc the character encoding to use for decoding * @return a map of parameter names to their decoded values * @throws IOException if an error occurs during parameter parsing */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0); assertEquals(nic.getInterfaceIndex(), decoded.getInterfaceIndex()); assertEquals(nic.getLinkSpeed(), decoded.getLinkSpeed()); assertEquals(nic.isRssCapable(), decoded.isRssCapable()); } @Test void testChannelInfoCreation() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
SMBUtil.writeInt4(length, dst, dstIndex + 12); return 16; } /** * Decode from byte array * * @param buffer source buffer * @param bufferIndex starting index * @return decoded transform */ public static Smb2RdmaTransform decode(byte[] buffer, int bufferIndex) { long offset = SMBUtil.readInt8(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// Byte count (2 bytes) buffer[53] = 0x00; buffer[54] = 0x00; // Test decode int bytesDecoded = response.decode(buffer, 0); // Should decode at least the header assertTrue(bytesDecoded > 0); // Verify the command was decoded correctly assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
class IntegrationTests { @Test @DisplayName("Should maintain state after multiple decodes") void testMultipleDecodes() throws SMBProtocolDecodingException { // First decode byte[] buffer1 = createValidCopyChunkResponse(1, 1024, 1024); response.decode(buffer1, 0, buffer1.length); assertEquals(1, response.getChunksWritten());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
bytesIn.writeByte(0x40) // Literal indexed bytesIn.writeByte(0x88) // Literal name Huffman encoded 8 bytes // decodes to custom-key which is length 10 bytesIn.write("25a849e95ba97d7f".decodeHex()) bytesIn.writeByte(0x89) // Literal value Huffman encoded 9 bytes // decodes to custom-value which is length 12 bytesIn.write("25a849e95bb8e8b4bf".decodeHex()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0)