- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 770 for decoding (0.04 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
response = new Smb2QueryDirectoryResponse(mockConfig, expectInfoClass); assertNotNull(response); assertNull(response.getResults()); // Should be null before decoding } @Test @DisplayName("Test getResults returns null initially") void testGetResultsInitiallyNull() { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
assertTrue(result.contains("sectPerAlloc=0")); assertTrue(result.contains("bytesPerSect=0")); } @Test @DisplayName("Should return correct string representation after decoding") void shouldReturnCorrectStringAfterDecoding() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// lineTooLong is generated as chunk header is bigger than 4KiB. var errLineTooLong = errors.New("header line too long") // malformed encoding is generated when chunk header is wrongly formed. var errMalformedEncoding = errors.New("malformed chunked encoding") // chunk is considered too big if its bigger than > 16MiB. var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
response = new Smb2QueryInfoResponse(mockConfig, infoType, infoClass); assertNotNull(response); assertNull(response.getInfo()); // Should be null before decoding } @Test @DisplayName("Test getInfo returns decoded information") void testGetInfo() throws Exception { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
void testGetNextCommandOffset() { assertEquals(0, testMessage.getNextCommandOffset()); } } @Nested @DisplayName("Error Response Decoding Tests") class ErrorResponseDecodingTests { @Test @DisplayName("Should decode error response with correct structure size")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
assertTrue(result.contains("sectPerAlloc=0")); assertTrue(result.contains("bytesPerSect=0")); } @Test @DisplayName("Should return correct string representation after decoding") void shouldReturnCorrectStringAfterDecoding() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
} assertArrayEquals(salt, Arrays.copyOfRange(buffer, 4 + (2 * algoCount), 4 + (2 * algoCount) + 2)); } } @Nested @DisplayName("Decoding Tests") class DecodingTests { @Test @DisplayName("Should decode single hash algorithm with salt") void testDecodeSingleHashAlgoWithSalt() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * Writes a string to the destination buffer with specified encoding. * * @param str the string to write * @param dst the destination buffer * @param dstIndex the starting offset in the buffer * @param unicode true to use Unicode encoding, false for OEM encoding * @return the number of bytes written */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
static final InetAddress[] NBNS = Config.getInetAddressArray("jcifs.smb1.netbios.wins", ",", new InetAddress[0]); /* Construct the shared static client object that will * conduct all encoding and decoding of NetBIOS name service * messages as well as socket IO in a synchronized fashon. */ private static final NameServiceClient CLIENT = new NameServiceClient();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
cmd/object-handlers_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "crypto/md5" "crypto/sha1" "encoding/base64" "encoding/hex" "encoding/xml" "fmt" "hash" "hash/crc32" "io" "maps" "net/http" "net/http/httptest" "net/url" "path" "runtime" "strconv" "strings" "sync" "testing"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0)