github.com/google/licensecheck/old.Match.Start (field)
21 uses
github.com/google/licensecheck/old (current package)
license.go#L157: Start int // The byte offset of the first word in the input that matches.
license.go#L231: miWords := mi.Percent * float64(mi.End-mi.Start)
license.go#L239: if miWords > mj.Percent*float64(mj.End-mj.Start) {
license.go#L276: if mi.Start != mj.Start {
license.go#L277: return mi.Start < mj.Start
license.go#L322: start := m.Start
license.go#L324: m.Start = 0
license.go#L326: m.Start = int(doc.byteOff[start])
license.go#L351: endWord = matches[i].Start
license.go#L376: Start: doc.wordOffset(u0),
license.go#L425: matchLength += m.End - m.Start
license.go#L438: return m.Start
license.go#L450: return (m.Start + prev.End) / 2
license.go#L464: return next.Start
license.go#L466: return (m.End + next.Start) / 2
license.go#L474: match.Start = s.start
license.go#L475: match.End = match.Start + (s.end - s.start)
license.go#L481: return m.Start < n.End && n.Start < m.End
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |