- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 906 for buffer3 (0.23 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K 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/smb1/trans/TransTransactNamedPipeResponseTest.java
// Test multiple calls to readDataWireFormat to ensure buffer is overwritten byte[] firstData = "First data set".getBytes(); byte[] secondData = "Second data set".getBytes(); byte[] buffer1 = new byte[100]; byte[] buffer2 = new byte[100]; System.arraycopy(firstData, 0, buffer1, 0, firstData.length); System.arraycopy(secondData, 0, buffer2, 0, secondData.length); // First read
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
byte[] buffer1 = new byte[100]; byte[] buffer2 = new byte[100]; int bytesWritten1 = info.encode(buffer1, 0); int bytesWritten2 = info.encode(buffer2, 0); assertEquals(bytesWritten1, bytesWritten2); assertArrayEquals(buffer1, buffer2); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.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/main/java/jcifs/dcerpc/rpc.java
throw new NdrException(NdrException.INVALID_CONFORMANCE); } this.buffer = new short[_buffers]; } _src = _src.derive(_bufferi); for (int _i = 0; _i < _bufferl; _i++) { this.buffer[_i] = (short) _src.dec_ndr_short(); } } } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K 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) -
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/io/Smb2FlushResponseTest.java
// Then assertEquals(4, bytesRead); } @Test @DisplayName("Should handle concurrent access safely") void testConcurrentAccess() throws InterruptedException { // Given byte[] buffer1 = new byte[10]; byte[] buffer2 = new byte[10]; SMBUtil.writeInt2(4, buffer1, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0)