Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AppendBytes (0.06 sec)

  1. cmd/xl-storage-format-v2_gen.go

    	o = msgp.AppendMapHeader(o, zb0001Len)
    	if zb0001Len == 0 {
    		return
    	}
    	// string "ID"
    	o = append(o, 0xa2, 0x49, 0x44)
    	o = msgp.AppendBytes(o, (z.VersionID)[:])
    	// string "DDir"
    	o = append(o, 0xa4, 0x44, 0x44, 0x69, 0x72)
    	o = msgp.AppendBytes(o, (z.DataDir)[:])
    	// string "EcAlgo"
    	o = append(o, 0xa6, 0x45, 0x63, 0x41, 0x6c, 0x67, 0x6f)
    	o = msgp.AppendUint8(o, uint8(z.ErasureAlgorithm))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1_gen.go

    	// string "Algorithm"
    	o = append(o, 0xa9, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d)
    	o = msgp.AppendUint(o, uint(z.Algorithm))
    	// string "Hash"
    	o = append(o, 0xa4, 0x48, 0x61, 0x73, 0x68)
    	o = msgp.AppendBytes(o, z.Hash)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *ChecksumInfo) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Data)
    	}
    	o = msgp.AppendInt(o, z.NumVersions)
    	o = msgp.AppendTime(o, z.SuccessorModTime)
    	o = msgp.AppendBool(o, z.Fresh)
    	o = msgp.AppendInt(o, z.Idx)
    	if z.Checksum == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Checksum)
    	}
    	o = msgp.AppendBool(o, z.Versioned)
    	return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    		var err error
    
    		// Add header
    		tmp, err = ver.header.MarshalMsg(tmp[:0])
    		if err != nil {
    			return nil, err
    		}
    		dst = msgp.AppendBytes(dst, tmp)
    
    		// Add full meta
    		dst = msgp.AppendBytes(dst, ver.meta)
    	}
    
    	// Update size...
    	binary.BigEndian.PutUint32(dst[dataOffset-4:dataOffset], uint32(len(dst)-dataOffset))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
Back to top