- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 231 for readInt2 (0.04 sec)
-
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Expected structureSize = 9"); } final int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart(); bufferIndex += 4; final int len = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
bufferIndex++; // revision bufferIndex++; type = ServerMessageBlock.readInt2(buffer, bufferIndex); bufferIndex += 2; final int ownerUOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to owner sid bufferIndex += 4; final int ownerGOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to group sid bufferIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
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); uid = readInt2(buffer, bufferIndex + TID_OFFSET + 4);
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/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
int off = 0; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0x12345678, SMBUtil.readInt4(buf, off)); off += 4; assertEquals(blob.length, SMBUtil.readInt2(buf, off)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
bufferIndex++; this.type = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; final int ownerUOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to owner sid bufferIndex += 4; final int ownerGOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to group sid bufferIndex += 4; SMBUtil.readInt4(buffer, bufferIndex); // offset to sacl bufferIndex += 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/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// Check FID int actualFid = SMBUtil.readInt2(buffer, 0); assertEquals(TEST_FID, actualFid); // Check information level (FILE_BASIC_INFO maps to 0x0101) int actualInfoLevel = SMBUtil.readInt2(buffer, 2); assertEquals(0x0101, actualInfoLevel); // Check reserved bytes (should be 0) int reserved = SMBUtil.readInt2(buffer, 4); assertEquals(0, reserved); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java
} @Override int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) { available = readInt2(buffer, bufferIndex); bufferIndex += 2; int head = readInt2(buffer, bufferIndex); bufferIndex += 2; status = readInt2(buffer, bufferIndex); return 6; } @OverrideRegistered: 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/smb1/smb1/SmbComReadAndXResponse.java
final int start = bufferIndex; bufferIndex += 2; // reserved dataCompactionMode = readInt2(buffer, bufferIndex); bufferIndex += 4; // 2 reserved dataLength = readInt2(buffer, bufferIndex); bufferIndex += 2; dataOffset = readInt2(buffer, bufferIndex); bufferIndex += 12; // 10 reserved return bufferIndex - start; } @OverrideRegistered: 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/netbios/SessionServicePacket.java
dst[dstIndex++] = (byte) (val >> 8 & 0xFF); dst[dstIndex] = (byte) (val & 0xFF); } static int readInt2(final byte[] src, final int srcIndex) { return ((src[srcIndex] & 0xFF) << 8) + (src[srcIndex + 1] & 0xFF); } static int readInt4(final byte[] src, final int srcIndex) { return ((src[srcIndex] & 0xFF) << 24) + ((src[srcIndex + 1] & 0xFF) << 16) + ((src[srcIndex + 2] & 0xFF) << 8)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Expected structureSize = 9"); } final int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart(); bufferIndex += 4; final int bufferLength = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0)