Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for finishBlock (0.09 sec)

  1. cmd/metacache-stream.go

    				current.First = o.name
    			}
    
    			if n >= w.blockEntries-1 {
    				finishBlock()
    				n = 0
    			}
    			n++
    
    			w.streamErr = block.write(o)
    			if w.streamErr != nil {
    				continue
    			}
    			current.Last = o.name
    		}
    		if n > 0 || current.n == 0 {
    			current.EOS = true
    			finishBlock()
    		}
    	}()
    	return &w
    }
    
    // Close the stream.
    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