Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for oldTreeSize (0.44 sec)

  1. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    // that must be published when publishing from a tree of
    // size newTreeSize to replace a tree of size oldTreeSize.
    // (No tiles need to be published for a tree of size zero.)
    //
    // If h ≤ 0, NewTiles panics.
    func NewTiles(h int, oldTreeSize, newTreeSize int64) []Tile {
    	if h <= 0 {
    		panic(fmt.Sprintf("NewTiles: invalid height %d", h))
    	}
    	H := uint(h)
    	var tiles []Tile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top