Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for xlMetaInlineData (0.24 sec)

  1. docs/debugging/xl-meta/main.go

    }
    
    const xlMetaInlineDataVer = 1
    
    type xlMetaInlineData []byte
    
    // afterVersion returns the payload after the version, if any.
    func (x xlMetaInlineData) afterVersion() []byte {
    	if len(x) == 0 {
    		return x
    	}
    	return x[1:]
    }
    
    // versionOK returns whether the version is ok.
    func (x xlMetaInlineData) versionOK() bool {
    	if len(x) == 0 {
    		return true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    // isIndexedMetaV2 returns non-nil result if metadata is indexed.
    // Returns 3x nil if not XLV2 or not indexed.
    // If indexed and unable to parse an error will be returned.
    func isIndexedMetaV2(buf []byte) (meta xlMetaBuf, data xlMetaInlineData, err error) {
    	buf, major, minor, err := checkXL2V1(buf)
    	if err != nil || major != 1 || minor < 3 {
    		return nil, nil, nil
    	}
    	meta, buf, err = msgp.ReadBytesZC(buf)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top