- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 154 for writeInt2 (0.07 sec)
-
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
} catch( UnsupportedEncodingException uee ) { return 0; } writeInt2( NET_SHARE_ENUM, dst, dstIndex ); dstIndex += 2; System.arraycopy( descr, 0, dst, dstIndex, descr.length ); dstIndex += descr.length; writeInt2( 0x0001, dst, dstIndex ); dstIndex += 2; writeInt2( maxDataCount, dst, dstIndex ); dstIndex += 2; return dstIndex - start; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
int start = dstIndex; SMBUtil.writeInt2(32, dst, dstIndex); SMBUtil.writeInt2(this.notifyFlags, dst, dstIndex + 2); dstIndex += 4; SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt4(this.completionFilter, dst, dstIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
SMBUtil.writeInt2(this.creditCharge, dst, dstIndex + 6); SMBUtil.writeInt2(this.command, dst, dstIndex + 12); SMBUtil.writeInt2(this.credit, dst, dstIndex + 14); SMBUtil.writeInt4(this.flags, dst, dstIndex + 16); SMBUtil.writeInt4(this.nextCommand, dst, dstIndex + 20); SMBUtil.writeInt8(this.mid, dst, dstIndex + 24); if ( this.async ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Sep 30 10:47:31 UTC 2018 - 19.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
*/ @Override protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) { 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;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
/** * @author mbechler * */ @SuppressWarnings ( "javadoc" ) public class SMBUtil { public static void writeInt2 ( long val, byte[] dst, int dstIndex ) { dst[ dstIndex ] = (byte) ( val ); dst[ ++dstIndex ] = (byte) ( val >> 8 ); } public static void writeInt4 ( 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/smb1/com/LockingAndXRange.java
if ( this.largeFile ) { SMBUtil.writeInt2(this.pid, dst, dstIndex); SMBUtil.writeInt4(this.byteOffset >> 32, dst, dstIndex + 4); SMBUtil.writeInt4(this.byteOffset & 0xFFFFFFFF, dst, dstIndex + 8); SMBUtil.writeInt4(this.lengthInBytes >> 32, dst, dstIndex + 12); SMBUtil.writeInt4(this.lengthInBytes & 0xFFFFFFFF, dst, dstIndex + 16); return 20;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
int start = dstIndex; SMBUtil.writeInt2(this.hashAlgos != null ? this.hashAlgos.length : 0, dst, dstIndex); SMBUtil.writeInt2(this.salt != null ? this.salt.length : 0, dst, dstIndex + 2); dstIndex += 4; if ( this.hashAlgos != null ) { for ( int hashAlgo : this.hashAlgos ) { SMBUtil.writeInt2(hashAlgo, dst, dstIndex); dstIndex += 2;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java
* * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) { SMBUtil.writeInt2(4, dst, dstIndex); SMBUtil.writeInt2(0, dst, dstIndex + 2); return 4; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java
protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) { int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; dst[ dstIndex++ ] = (byte) 0x00; // Reserved dst[ dstIndex++ ] = (byte) 0x00; // Reserved SMBUtil.writeInt4(this.securityInformation, dst, dstIndex); dstIndex += 4; return dstIndex - start; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
int start = dstIndex; SMBUtil.writeInt2(33, dst, dstIndex); dst[ dstIndex + 2 ] = this.infoType; dst[ dstIndex + 3 ] = this.fileInfoClass; dstIndex += 4; int bufferLengthOffset = dstIndex; dstIndex += 4; int bufferOffsetOffset = dstIndex; dstIndex += 4; SMBUtil.writeInt4(this.additionalInformation, dst, dstIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0)