- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 318 for buffer1 (0.97 sec)
-
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Write to buffer SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16); SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20); SMBUtil.writeInt2(testDialect, buffer, bufferIndex + 22); // Execute decode int bytesDecoded = response.decode(buffer, bufferIndex, 24); // Verify results
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] buffer1 = new byte[1024]; int bytesRead1 = stream1.read(buffer1); assertEquals(testContent, new String(buffer1, 0, bytesRead1, "UTF-8")); } // Second read - should work independently try (InputStream stream2 = cache.getInputStream()) { byte[] buffer2 = new byte[1024]; int bytesRead2 = stream2.read(buffer2);
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
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/notify/Smb2ChangeNotifyRequestTest.java
assertEquals(32, SMBUtil.readInt2(buffer, offset)); // Verify notify flags assertEquals(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE, SMBUtil.readInt2(buffer, offset + 2)); // Verify output buffer length assertEquals(8192, SMBUtil.readInt4(buffer, offset + 4)); // Verify file ID byte[] readFileId = new byte[16]; System.arraycopy(buffer, offset + 8, readFileId, 0, 16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
fileInternalInfo.decode(buffer2, 0, buffer2.length); assertEquals(indexNumber2, fileInternalInfo.getIndexNumber()); // Third decode - should overwrite again byte[] buffer3 = new byte[8]; long indexNumber3 = 0x3333333333333333L; SMBUtil.writeInt8(indexNumber3, buffer3, 0); fileInternalInfo.decode(buffer3, 0, buffer3.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
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/ioctl/SrvCopyChunkCopyResponseTest.java
@DisplayName("Should decode minimum buffer size") void testDecodeMinimumBufferSize() throws SMBProtocolDecodingException { byte[] buffer = new byte[12]; // Exact size needed SMBUtil.writeInt4(3, buffer, 0); SMBUtil.writeInt4(4096, buffer, 4); SMBUtil.writeInt4(12288, buffer, 8); int bytesDecoded = response.decode(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0)