- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 249 for writeInt (0.33 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt2(this.maxCount, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.minCount, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.openTimeout, dst, dstIndex); dstIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
SMBUtil.writeInt2(23, buffer, offset); // sa_family: AF_INET6 SMBUtil.writeInt2(445, buffer, offset + 2); // sin6_port SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr SMBUtil.writeInt4(0, buffer, offset + 24); // sin6_scope_id } else {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
long lastWriteTime = System.currentTimeMillis(); int fileSize = 12345678; SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex); SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2); SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6); // Read the data int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(value, dst, 0); assertEquals((byte) ((value >> 8) & 0xFF), dst[0]); assertEquals((byte) (value & 0xFF), dst[1]); } @Test @DisplayName("writeInt2 with offset should write at correct position")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java
dstIndex += 4; writeInt4(parameterCount == 0 ? 0 : parameterOffset, dst, dstIndex); dstIndex += 4; if (command == SMB_COM_NT_TRANSACT_SECONDARY) { writeInt4(parameterDisplacement, dst, dstIndex); dstIndex += 4; } writeInt4(dataCount, dst, dstIndex); dstIndex += 4; writeInt4(dataCount == 0 ? 0 : dataOffset, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java
} @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(fid, dst, dstIndex); dstIndex += 2; writeInt2(SMB_FILE_BASIC_INFO, dst, dstIndex); dstIndex += 2; writeInt2(0, dst, dstIndex); dstIndex += 2; return dstIndex - start; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.maxItems, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.tflags, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.informationLevel, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.searchStorageType, dst, dstIndex);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/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.offset, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt8(this.length, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.flags, dst, dstIndex); dstIndex += 4; dstIndex += 4; // Reserved return dstIndex - start; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (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);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0)