Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for metaDataPoolGet (0.9 sec)

  1. cmd/metacache-stream.go

    		return m, err
    	}
    	if m.name, err = r.mr.ReadString(); err != nil {
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    		r.err = err
    		return m, err
    	}
    	m.metadata, err = r.mr.ReadBytes(metaDataPoolGet())
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	if len(m.metadata) == 0 && cap(m.metadata) >= metaDataReadDefault {
    		metaDataPoolPut(m.metadata)
    		m.metadata = nil
    	}
    	r.err = err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/metacache-entries.go

    	if len(selected.cached.versions) == 0 {
    		return nil, false
    	}
    
    	// Reserialize
    	var err error
    	selected.metadata, err = selected.cached.AppendTo(metaDataPoolGet())
    	if err != nil {
    		bugLogIf(context.Background(), err)
    		return nil, false
    	}
    	return selected, true
    }
    
    // firstFound returns the first found and the number of set entries.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top