- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 161 for readInt2 (0.12 sec)
-
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
dst[dstIndex++] = (byte)(( val >> 8 ) & 0xFF ); dst[dstIndex] = (byte)( val & 0xFF ); } static int readInt2( byte[] src, int srcIndex ) { return (( src[srcIndex] & 0xFF ) << 8 ) + ( src[srcIndex + 1] & 0xFF ); } static int readInt4( byte[] src, int srcIndex ) { return (( src[srcIndex] & 0xFF ) << 24 ) + (( src[srcIndex + 1] & 0xFF ) << 16 ) +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java
throw new IOException("unexpected EOF reading netbios retarget session response"); } int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; new NbtAddress(null, addr, false, NbtAddress.B_NODE); readInt2(buffer, bufferIndex); return this.length; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
bufferIndex += 4; // skip idFileSystem info.sectPerAlloc = readInt4( buffer, bufferIndex ); bufferIndex += 4; info.alloc = readInt4( buffer, bufferIndex ); bufferIndex += 4; info.free = readInt4( buffer, bufferIndex ); bufferIndex += 4; info.bytesPerSect = readInt2( buffer, bufferIndex ); bufferIndex += 4; this.info = info;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java
bufferIndex += 4; // skip idFileSystem this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.alloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.free = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.bytesPerSect = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
this.errorCode = SMBUtil.readInt4(buffer, bufferIndex + SmbConstants.ERROR_CODE_OFFSET); this.flags = buffer[ bufferIndex + SmbConstants.FLAGS_OFFSET ]; this.flags2 = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.FLAGS_OFFSET + 1); this.tid = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.TID_OFFSET); this.pid = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.TID_OFFSET + 2);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 32.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
SmbQueryFileStandardInfo info = new SmbQueryFileStandardInfo(); info.allocationSize = readInt8( buffer, bufferIndex ); bufferIndex += 8; info.endOfFile = readInt8( buffer, bufferIndex ); bufferIndex += 8; info.numberOfLinks = readInt4( buffer, bufferIndex ); bufferIndex += 4; info.deletePending = ( buffer[bufferIndex++] & 0xFF ) > 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java
if( wordCount == 0 ) { return 0; } fileAttributes = readInt2( buffer, bufferIndex ); bufferIndex += 2; lastWriteTime = readUTime( buffer, bufferIndex ); bufferIndex += 4; fileSize = readInt4( buffer, bufferIndex ); return 20; } int readBytesWireFormat( byte[] buffer, int bufferIndex ) { return 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java
throw new IOException( "unexpected EOF reading netbios retarget session response" ); } int addr = readInt4( buffer, bufferIndex ); bufferIndex += 4; retargetAddress = new NbtAddress( null, addr, false, NbtAddress.B_NODE ); retargetPort = readInt2( buffer, bufferIndex ); return length; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
+ ( ( src[ srcIndex + 3 ] & 0xFF ) << 24 ); } public static long readInt8 ( byte[] src, int srcIndex ) { return ( readInt4(src, srcIndex) & 0xFFFFFFFFL ) + ( (long) ( readInt4(src, srcIndex + 4) ) << 32 ); } public static void writeInt8 ( long val, byte[] dst, int dstIndex ) { dst[ dstIndex ] = (byte) ( val ); dst[ ++dstIndex ] = (byte) ( val >>= 8 );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
*/ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if ( structureSize != 4 ) { throw new SMBProtocolDecodingException("Expected structureSize = 4"); } return 4; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.9K bytes - Viewed (0)