Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for WriteUint8 (0.06 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. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        }
        static long readInt8( byte[] src, int srcIndex ) {
            return (readInt4( src, srcIndex ) & 0xFFFFFFFFL) +
                ((long)(readInt4( src, srcIndex + 4 )) << 32);
        }
        static void writeInt8( long val, byte[] dst, int dstIndex ) {
            dst[dstIndex] = (byte)(val);
            dst[++dstIndex] = (byte)(val >>= 8);
            dst[++dstIndex] = (byte)(val >>= 8);
            dst[++dstIndex] = (byte)(val >>= 8);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            dst[ dstIndex + 3 ] = this.requestedOplockLevel;
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.impersonationLevel, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt8(this.smbCreateFlags, dst, dstIndex);
            dstIndex += 8;
            dstIndex += 8; // Reserved
    
            SMBUtil.writeInt4(this.desiredAccess, 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)
Back to top