github.com/google/licensecheck/old.document.words (field)
20 uses
github.com/google/licensecheck/old (current package)
license.go#L70: words []int32 // Normalized words (indexes into c.words)
license.go#L113: c.updateIndex(int32(id), cl.doc.words)
license.go#L207: for _, s := range c.submatches(doc.words, opts) {
license.go#L289: return len(doc.words)
license.go#L298: if end == len(doc.words) {
license.go#L301: if doc.words[end-1] >= 0 {
license.go#L302: return int(doc.byteOff[end-1]) + len(c.words[doc.words[end-1]])
license.go#L349: endWord := len(doc.words)
license.go#L417: if len(doc.words) == 0 {
license.go#L429: return 100 * float64(matchLength) / float64(len(doc.words))
license.go#L460: return len(doc.words)
license.go#L473: match.Percent = 100 * float64(s.matched) / float64(len(l.doc.words))
license.go#L535: for _, w := range l.doc.words[int(ix.start)+len(p):] {
license.go#L577: if prev.licenseEnd < len(l.doc.words) && l.doc.words[prev.licenseEnd] == blankID {
license.go#L599: for matchLicenseStart >= 2 && l.doc.words[matchLicenseStart-1] == blankID && l.doc.words[matchLicenseStart-2] != blankID {
license.go#L608: if text[i] == l.doc.words[matchLicenseStart-2] {
license.go#L614: for start > 0 && matchLicenseStart > 0 && text[start-1] == l.doc.words[matchLicenseStart-1] {
normalize.go#L90: words: words,
![]() |
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. |