Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for writeInt4 (0.1 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileAttributes, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.shareAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.createDisposition, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.createOptions, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                int index = offset + SmbConstants.SIGNATURE_OFFSET;
                for ( int i = 0; i < 8; i++ )
                    data[ index + i ] = 0;
                SMBUtil.writeInt4(this.signSequence, data, index);
                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if ( this.bypass ) {
                    this.bypass = false;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

                    throw new CIFSException("Failed to encrypt MIC", e);
                }
            }
    
            byte[] sig = new byte[16];
            SMBUtil.writeInt4(1, sig, 0); // version
            System.arraycopy(trunc, 0, sig, 4, 8); // checksum
            SMBUtil.writeInt4(seqNum, sig, 12); // seqNum
    
            return sig;
        }
    
    
        @Override
        public void verifyMIC ( byte[] data, byte[] mic ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex + CMD_OFFSET] = command;
            dst[dstIndex + FLAGS_OFFSET] = flags;
            writeInt2( flags2, dst, dstIndex + FLAGS_OFFSET + 1 );
            dstIndex += TID_OFFSET;
            writeInt2( tid, dst, dstIndex );
            writeInt2( pid, dst, dstIndex + 2 );
            writeInt2( uid, dst, dstIndex + 4 );
            writeInt2( mid, dst, dstIndex + 6 );
            return HEADER_LENGTH;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServicePacket.java

            }
            writeInt2(this.recordType, dst, dstIndex);
            dstIndex += 2;
            writeInt2(this.recordClass, dst, dstIndex);
            dstIndex += 2;
            writeInt4(this.ttl, dst, dstIndex);
            dstIndex += 4;
            this.rDataLength = writeRDataWireFormat(dst, dstIndex + 2);
            writeInt2(this.rDataLength, dst, dstIndex);
            dstIndex += 2 + this.rDataLength;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            }
            writeInt2( recordType, dst, dstIndex );
            dstIndex += 2;
            writeInt2( recordClass, dst, dstIndex );
            dstIndex += 2;
            writeInt4( ttl, dst, dstIndex );
            dstIndex += 4;
            rDataLength = writeRDataWireFormat( dst, dstIndex + 2 );
            writeInt2( rDataLength, dst, dstIndex );
            dstIndex += 2 + rDataLength;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                writeInt2( flags, dst, dstIndex );
                dstIndex += 2;
                writeInt4( timeout, dst, dstIndex );
                dstIndex += 4;
                dst[dstIndex++] = (byte)0x00;           // Reserved2
                dst[dstIndex++] = (byte)0x00;
            }
            writeInt2( parameterCount, dst, dstIndex );
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            SMBUtil.writeInt2(this.totalParameterCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.totalDataCount, dst, dstIndex);
            dstIndex += 2;
            if ( this.getCommand() != SMB_COM_TRANSACTION_SECONDARY ) {
                SMBUtil.writeInt2(this.maxParameterCount, dst, dstIndex);
                dstIndex += 2;
                SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  10. cmd/local-locker_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt64(z.Timestamp)
    	if err != nil {
    		err = msgp.WrapError(err, "Timestamp")
    		return
    	}
    	// write "TimeLastRefresh"
    	err = en.Append(0xaf, 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt64(z.TimeLastRefresh)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top