Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 174 for writeInt (0.18 sec)

  1. cmd/site-replication-metrics_gen.go

    		return
    	}
    	for za0001, za0002 := range z.ErrCounts {
    		err = en.WriteString(za0001)
    		if err != nil {
    			err = msgp.WrapError(err, "ErrCounts")
    			return
    		}
    		err = en.WriteInt(za0002)
    		if err != nil {
    			err = msgp.WrapError(err, "ErrCounts", za0001)
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            dstIndex += 16;
            SMBUtil.writeInt4(this.minimumCount, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.channel, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.remainingBytes, dst, dstIndex);
            dstIndex += 4;
    
            // ReadChannelInfo
            SMBUtil.writeInt2(0, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2);
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            SMBUtil.writeInt4(this.channel, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.remainingBytes, dst, dstIndex);
            dstIndex += 4;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // writeChannelInfoOffset
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // writeChannelInfoLength
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.writeFlags, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            int start = dstIndex;
            SMBUtil.writeInt2(36, dst, dstIndex);
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex + 2);
            dstIndex += 4;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // Reserved
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(25, dst, dstIndex);
    
            dst[ dstIndex + 2 ] = (byte) ( this.sessionBinding ? 0x1 : 0 );
            dst[ dstIndex + 3 ] = (byte) ( this.securityMode );
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(0, dst, dstIndex); // Channel
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            namelen_index = dstIndex;
            dstIndex += 2;
            writeInt4( flags0, dst, dstIndex );
            dstIndex += 4;
            writeInt4( rootDirectoryFid, dst, dstIndex );
            dstIndex += 4;
            writeInt4( desiredAccess, dst, dstIndex );
            dstIndex += 4;
            writeInt8( allocationSize, dst, dstIndex );
            dstIndex += 8;
            writeInt4( extFileAttributes, dst, dstIndex );
            dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.flags0, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.rootDirectoryFid, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.extFileAttributes, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
Back to top