Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for WriteUint8 (0.1 sec)

  1. cmd/metacache_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "fileNotFound")
    		return
    	}
    	// write "stat"
    	err = en.Append(0xa4, 0x73, 0x74, 0x61, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteUint8(uint8(z.status))
    	if err != nil {
    		err = msgp.WrapError(err, "status")
    		return
    	}
    	// write "rec"
    	err = en.Append(0xa3, 0x72, 0x65, 0x63)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  2. internal/grid/msg_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "DeadlineMS")
    		return
    	}
    	err = en.WriteUint8(uint8(z.Handler))
    	if err != nil {
    		err = msgp.WrapError(err, "Handler")
    		return
    	}
    	err = en.WriteUint8(uint8(z.Op))
    	if err != nil {
    		err = msgp.WrapError(err, "Op")
    		return
    	}
    	err = en.WriteUint8(uint8(z.Flags))
    	if err != nil {
    		err = msgp.WrapError(err, "Flags")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_gen.go

    		return
    	}
    	err = en.WriteUint8(uint8(z.Type))
    	if err != nil {
    		err = msgp.WrapError(err, "Type")
    		return
    	}
    	err = en.WriteUint8(uint8(z.Flags))
    	if err != nil {
    		err = msgp.WrapError(err, "Flags")
    		return
    	}
    	err = en.WriteUint8(z.EcN)
    	if err != nil {
    		err = msgp.WrapError(err, "EcN")
    		return
    	}
    	err = en.WriteUint8(z.EcM)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. internal/dsync/lock-args_gen.go

    func (z LockResp) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Code"
    	err = en.Append(0x82, 0xa4, 0x43, 0x6f, 0x64, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteUint8(uint8(z.Code))
    	if err != nil {
    		err = msgp.WrapError(err, "Code")
    		return
    	}
    	// write "Err"
    	err = en.Append(0xa3, 0x45, 0x72, 0x72)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance_gen.go

    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = rebalSaveOpts(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z rebalSaveOpts) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z rebalSaveOpts) MarshalMsg(b []byte) (o []byte, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
            writeTime( lastWriteTime, dst, dstIndex ); dstIndex += 8;
            writeInt8( 0L, dst, dstIndex ); dstIndex += 8;
    /* Samba 2.2.7 needs ATTR_NORMAL
     */
            writeInt2( 0x80 | attributes, dst, dstIndex ); dstIndex += 2; 
                                            /* 6 zeros observed with NT */
            writeInt8( 0L, dst, dstIndex ); dstIndex += 6;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.offset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.length, dst, dstIndex);
            dstIndex += 8;
    
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // Reserved
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            SMBUtil.writeInt8(this.mid, dst, dstIndex + 24);
    
            if ( this.async ) {
                SMBUtil.writeInt8(this.asyncId, dst, dstIndex + 32);
                SMBUtil.writeInt8(this.sessionId, dst, dstIndex + 40);
            }
            else {
                // 4 reserved
                SMBUtil.writeInt4(this.treeId, dst, dstIndex + 36);
                SMBUtil.writeInt8(this.sessionId, dst, dstIndex + 40);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.numberOfLinks, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/util/SMBUtil.java

        }
    
    
        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 );
            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)
Back to top