- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 245 for writeInt4 (0.06 seconds)
-
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
final int start = dstIndex; SMBUtil.writeInt2(this.negotiated.getNegotiatedSendBufferSize(), dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.negotiated.getNegotiatedMpxCount(), dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(getConfig().getVcNumber(), dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.negotiated.getNegotiatedSessionKey(), dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; dst[dstIndex] = this.typeOfLock; dst[dstIndex + 1] = this.newOpLockLevel; dstIndex += 2; SMBUtil.writeInt4(this.timeout, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt2(this.unlocks != null ? this.unlocks.length : 0, dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java
@Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24); dstIndex += 24; SMBUtil.writeInt4(this.chunks.length, dst, dstIndex); dstIndex += 4; dstIndex += 4; // Reserved for (final SrvCopychunk chk : this.chunks) { dstIndex += chk.encode(dst, dstIndex); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
void testReadParametersWireFormat() throws Exception { byte[] buffer = new byte[100]; int expectedLength = 0x12345678; // Write length in little-endian format SMBUtil.writeInt4(expectedLength, buffer, 0); int result = response.readParametersWireFormat(buffer, 0, buffer.length); assertEquals(4, result); // Access private field to verify length was set
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
final int start = dstIndex; SMBUtil.writeInt4(this.capabilities, dst, dstIndex); dstIndex += 4; System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt2(this.securityMode, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.dialects.length, dst, dstIndex); dstIndex += 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(48, dst, dstIndex); SMBUtil.writeInt2(this.locks.length, dst, dstIndex + 2); dstIndex += 4; SMBUtil.writeInt4((this.lockSequenceNumber & 0xF) << 28 | this.lockSequenceIndex & 0x0FFFFFFF, dst, dstIndex); dstIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
@Test void testInt2ReadWrite() { byte[] buffer = new byte[2]; ServerMessageBlock.writeInt2(0x1234, buffer, 0); assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0)); } @Test void testInt4ReadWrite() { byte[] buffer = new byte[4]; ServerMessageBlock.writeInt4(0x12345678, buffer, 0); assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
* @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.timeout, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex); dstIndex += 4; dst[dstIndex] = (byte) (this.timeoutSpecified ? 0x1 : 0x0); dstIndex++;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0)