Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for AppendBytes (0.18 sec)

  1. cmd/bucket-metadata_gen.go

    	o = msgp.AppendBytes(o, z.PolicyConfigJSON)
    	// string "NotificationConfigXML"
    	o = append(o, 0xb5, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
    	o = msgp.AppendBytes(o, z.NotificationConfigXML)
    	// string "LifecycleConfigXML"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. internal/grid/types.go

    // MarshalMsg appends the bytes representation of b to the provided byte slice.
    func (b *Bytes) MarshalMsg(bytes []byte) ([]byte, error) {
    	if b == nil || *b == nil {
    		return msgp.AppendNil(bytes), nil
    	}
    	return msgp.AppendBytes(bytes, *b), nil
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message.
    func (b *Bytes) Msgsize() int {
    	if b == nil || *b == nil {
    		return msgp.NilSize
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. 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)
  4. cmd/mrf_gen.go

    	o = append(o, 0xa9, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44)
    	o = msgp.AppendString(o, z.VersionID)
    	// string "Versions"
    	o = append(o, 0xa8, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73)
    	o = msgp.AppendBytes(o, z.Versions)
    	// string "SetIndex"
    	o = append(o, 0xa8, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78)
    	o = msgp.AppendInt(o, z.SetIndex)
    	// string "PoolIndex"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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