Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WriterBlockSize (0.1 sec)

  1. cmd/metacache-stream.go

    	if blockSize < 8<<10 {
    		blockSize = 128 << 10
    	}
    	w := metacacheWriter{
    		mw:        nil,
    		blockSize: blockSize,
    	}
    	w.creator = func() error {
    		s2w := s2.NewWriter(out, s2.WriterBlockSize(blockSize), s2.WriterConcurrency(2))
    		w.mw = msgp.NewWriter(s2w)
    		w.creator = nil
    		if err := w.mw.WriteByte(metacacheStreamVersion); err != nil {
    			return err
    		}
    
    		w.closer = func() (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top