Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IntAt (0.04 sec)

  1. src/cmd/go/internal/modindex/read.go

    	pos := sf.pos + sourceFileNumPlusBuildConstraints
    	n := sf.d.intAt(pos)
    	pos += 4
    	ret := make([]string, n)
    	for i := 0; i < n; i++ {
    		ret[i] = sf.d.stringAt(pos)
    		pos += 4
    	}
    	return ret
    }
    
    func (sf *sourceFile) importsOffset() int {
    	pos := sf.pos + sourceFileNumPlusBuildConstraints
    	n := sf.d.intAt(pos)
    	// each build constraint is 1 uint32
    	return pos + 4 + n*4
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top