Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for AppendBytes (0.1 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. internal/grid/msg_gen.go

    func (z *connectReq) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "ID"
    	o = append(o, 0x84, 0xa2, 0x49, 0x44)
    	o = msgp.AppendBytes(o, (z.ID)[:])
    	// string "Host"
    	o = append(o, 0xa4, 0x48, 0x6f, 0x73, 0x74)
    	o = msgp.AppendString(o, z.Host)
    	// string "Time"
    	o = append(o, 0xa4, 0x54, 0x69, 0x6d, 0x65)
    	o = msgp.AppendTime(o, z.Time)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-meta-inline.go

    	payload[0] = xlMetaInlineDataVer
    	payload = msgp.AppendMapHeader(payload, uint32(len(keys)))
    	for i := range keys {
    		payload = msgp.AppendStringFromBytes(payload, keys[i])
    		payload = msgp.AppendBytes(payload, vals[i])
    	}
    	*x = payload
    }
    
    // entries returns the number of entries in the data.
    func (x xlMetaInlineData) entries() int {
    	if len(x) == 0 || !x.versionOK() {
    		return 0
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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 (1)
  10. cmd/object-api-datatypes_gen.go

    	o = msgp.AppendTime(o, z.SuccessorModTime)
    	// string "Checksum"
    	o = append(o, 0xa8, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d)
    	o = msgp.AppendBytes(o, z.Checksum)
    	// string "Inlined"
    	o = append(o, 0xa7, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x64)
    	o = msgp.AppendBool(o, z.Inlined)
    	// string "DataBlocks"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
Back to top