Home
last modified time | relevance | path

Searched defs:ClassifierBackend (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/licenseclassifier/v2/tools/identify_license/backend/
H A Dbackend.go43 type ClassifierBackend struct { struct
44 results results.LicenseTypes
45 mu sync.Mutex
46 classifier *classifier.Classifier
63 func (b *ClassifierBackend) Close() {
67 func (b *ClassifierBackend) SetTraceConfiguration(tc *classifier.TraceConfiguration) {
72 …ssifierBackend) ClassifyLicenses(numTasks int, filenames []string, headers bool) (errors []error) {
111 …WithContext(ctx context.Context, numTasks int, filenames []string, headers bool) (errors []error) {
129 func (b *ClassifierBackend) classifyLicense(filename string, headers bool) error {
164 func (b *ClassifierBackend) GetResults() results.LicenseTypes {
/aosp_15_r20/external/licenseclassifier/tools/identify_license/backend/
H A Dbackend.go41 type ClassifierBackend struct { struct
42 results results.LicenseTypes
43 mu sync.Mutex
44 classifier *licenseclassifier.License
63 func (b *ClassifierBackend) Close() {
67 func (b *ClassifierBackend) ClassifyLicenses(filenames []string, headers bool) (errors []error) {
73 …assifyLicensesWithContext(ctx context.Context, filenames []string, headers bool) (errors []error) {
128 func (b *ClassifierBackend) classifyLicense(filename string, headers bool) error {
164 func (b *ClassifierBackend) GetResults() results.LicenseTypes {