MCPcopy
hub / github.com/mudler/LocalAI / Contains

Method Contains

pkg/functions/peg/parser.go:217–219  ·  view source on GitHub ↗
(cp rune)

Source from the content-addressed store, hash-verified

215}
216
217func (r CharRange) Contains(cp rune) bool {
218 return cp >= r.Start && cp <= r.End
219}
220
221// CharsParser matches characters from a character class.
222type CharsParser struct {

Callers 15

preprocessTextFunction · 0.80
LoadMethod · 0.80
GenerateImageMethod · 0.80
isRefAudioOverrideFunction · 0.80
discoverTokenizerFunction · 0.80
asrFamilyFunction · 0.80
findZipformerTripleFunction · 0.80
discoverTokenizerFunction · 0.80
TestAudioTranscriptionFunction · 0.80
notFoundHandlerFunction · 0.80
APIFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestAudioTranscriptionFunction · 0.64
ScoreMethod · 0.64
ScoreMethod · 0.64
pinAfterCardFunction · 0.64