github.com/go-git/gcfg/token.File.base (field)

14 uses

	github.com/go-git/gcfg/token (current package)
		position.go#L96: 	base int    // Pos value range for this file is [base...base+size]
		position.go#L111: 	return f.base
		position.go#L217: 	return Pos(f.base + offset)
		position.go#L225: 	if int(p) < f.base || int(p) > f.base+f.size {
		position.go#L228: 	return int(p) - f.base
		position.go#L263: 	offset := int(p) - f.base
		position.go#L274: 		if int(p) < f.base || int(p) > f.base+f.size {
		position.go#L366: 	return sort.Search(len(a), func(i int) bool { return a[i].base > x }) - 1
		position.go#L371: 	if f := s.last; f != nil && f.base <= int(p) && int(p) <= f.base+f.size {
		position.go#L378: 		if int(p) <= f.base+f.size {
		serialize.go#L50: 		files[i] = serializedFile{f.name, f.base, f.size, f.lines, f.infos}