- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,217 for differ (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
ByteBuffer buffer = ByteBuffer.allocate(34); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putShort((short) 0); // dialectIndex buffer.put((byte) 0x0F); // securityMode (user, encrypted, sigs enabled, sigs required) buffer.putShort((short) 50); // maxMpxCount buffer.putShort((short) 10); // maxNumberVcs buffer.putInt(8192); // maxBufferSize
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
Smb2LogoffResponse resp = newResponse(); byte[] buffer = new byte[8]; byte[] original = buffer.clone(); // Act int written = resp.writeBytesWireFormat(buffer, index); // Assert assertEquals(0, written, "Should report 0 bytes written"); assertArrayEquals(original, buffer, "Buffer must remain unchanged"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
/** * The buffer containing the Unicode characters. */ public short[] buffer; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_short(length); _dst.enc_ndr_short(maximum_length); _dst.enc_ndr_referent(buffer, 1); if (buffer != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
byte[] buffer = new byte[100]; int offset = 10; // When int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten, "Should write 4 bytes"); // Check that structure size (4) is written as 2-byte little-endian assertEquals(4, buffer[offset] | (buffer[offset + 1] << 8), "Structure size should be 4");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
@Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { length = readInt4(buffer, bufferIndex); return 4; } @Override int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
private static final Logger log = LoggerFactory.getLogger(Transport.class); /** * Read bytes from the input stream into a buffer * * @param in the input stream to read from * @param b the buffer to read into * @param off the offset in the buffer to start writing * @param len the number of bytes to read * @return number of bytes read * @throws IOException if an I/O error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java
} @Override int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { if (wordCount == 0) { return 0; } fileAttributes = readInt2(buffer, bufferIndex); bufferIndex += 2; lastWriteTime = readUTime(buffer, bufferIndex); bufferIndex += 4; fileSize = readInt4(buffer, bufferIndex); return 20; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
@Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; this.createTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
throw new SMBProtocolDecodingException("Invalid buffer parameters"); } if (bufferIndex + len > buffer.length) { throw new SMBProtocolDecodingException("Buffer overflow"); } // Store the decoded data this.data = new byte[len]; System.arraycopy(buffer, bufferIndex, this.data, 0, len); return len; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
*/ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; // Read total allocation units. this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // read caller available allocation units this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0)