Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/pkgbits/decoder.go

    func (pr *PkgDecoder) NumElems(k RelocKind) int {
    	count := int(pr.elemEndsEnds[k])
    	if k > 0 {
    		count -= int(pr.elemEndsEnds[k-1])
    	}
    	return count
    }
    
    // TotalElems returns the total number of elements across all sections.
    func (pr *PkgDecoder) TotalElems() int {
    	return len(pr.elemEnds)
    }
    
    // Fingerprint returns the package fingerprint.
    func (pr *PkgDecoder) Fingerprint() [8]byte {
    	var fp [8]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
Back to top