Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for treeProofIndex (0.13 sec)

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

    	}
    	return p, nil
    }
    
    // treeProofIndex builds the list of indexes needed to construct
    // the sub-proof related to the subtree containing records [lo, hi).
    // See https://tools.ietf.org/html/rfc6962#section-2.1.2.
    func treeProofIndex(lo, hi, n int64, need []int64) []int64 {
    	// See treeProof below for commentary.
    	if !(lo < n && n <= hi) {
    		panic("tlog: bad math in treeProofIndex")
    	}
    
    	if n == hi {
    		if lo == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top