go/token.File.Size (method)

5 uses

	go/token (current package)
		position.go#L126: func (f *File) Size() int {
		position.go#L528: 		s.base = max(s.base, f.Base()+f.Size()+1)

	go/scanner
		scanner.go#L144: 	if file.Size() != len(src) {
		scanner.go#L145: 		panic(fmt.Sprintf("file size (%d) does not match src len (%d)", file.Size(), len(src)))

	golang.org/x/tools/internal/gcimporter
		iexport.go#L464: 	size := uint64(file.Size())