- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 954 for buffer3 (0.05 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
byte[] buffer = new byte[4096]; // When req.encode(buffer, 0); // Then byte[] pathBytes = longPath.getBytes(StandardCharsets.UTF_16LE); assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6)); } @Test @DisplayName("Should throw exception when buffer too small for path")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
int readHeaderWireFormat(final byte[] buffer, final int bufferIndex) { command = buffer[bufferIndex + CMD_OFFSET]; errorCode = readInt4(buffer, bufferIndex + ERROR_CODE_OFFSET); flags = buffer[bufferIndex + FLAGS_OFFSET]; flags2 = readInt2(buffer, bufferIndex + FLAGS_OFFSET + 1); tid = readInt2(buffer, bufferIndex + TID_OFFSET); pid = readInt2(buffer, bufferIndex + TID_OFFSET + 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndXResponse.java
return 0; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { count = readInt2(buffer, bufferIndex) & 0xFFFFL; return 8; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
request.setCloseFlags(testFlags); byte[] buffer = new byte[256]; int written = request.writeBytesWireFormat(buffer, 0); assertEquals(24, written); assertEquals(24, SMBUtil.readInt2(buffer, 0)); assertEquals(testFlags, SMBUtil.readInt2(buffer, 2)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/JobProcess.java
* Uses the default buffer size and no output callback. * * @param process the system process to wrap */ public JobProcess(final Process process) { this(process, InputStreamThread.MAX_BUFFER_SIZE, null); } /** * Constructs a new JobProcess with the specified process, buffer size, and output callback. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java
} @Override protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java
*/ @Override public int decode(byte[] buffer, int bufferIndex, int len) { int start = bufferIndex; int end = start + len; interfaces.clear(); while (bufferIndex < end && (bufferIndex + 152) <= end) { // Read Next field to determine if there are more entries int next = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
void testWriteBytesDoesNotOverflow() { byte[] buffer = new byte[100]; // Fill buffer with known values for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) 0xFF; } int startIndex = 50; echoRequest.writeBytesWireFormat(buffer, startIndex); // Check bytes before written area are unchanged
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/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
@Override protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
byte[] buffer = new byte[8]; // numEntries = 2 writeInt2(2, buffer, 0); // isEndOfSearch = false buffer[2] = 0x00; buffer[3] = 0x00; // eaErrorOffset = 3 writeInt2(3, buffer, 4); // lastNameOffset = 4 writeInt2(4, buffer, 6); int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)