MCPcopy Create free account

hub / github.com/Debian/dcs / functions

Functions1,028 in github.com/Debian/dcs

↓ 3 callersMethodempty
empty reports whether the postHeap is empty.
index/write.go:391
↓ 3 callersMethodenc
enc encodes z as a string.
regexp/match.go:61
↓ 3 callersFunctionfeed
feed uploads the file to the corresponding dcs-package-importer.
cmd/dcs-feeder/feeder.go:167
↓ 3 callersFunctionfinishQuery
(queryid string)
cmd/dcs-web/querymanager.go:559
↓ 3 callersFunctiongb
()
static/jquery.min.js:2
↓ 3 callersFunctiongetDefault
(searchparams, name, def)
static/instant.js:314
↓ 3 callersFunctiongetEvent
(queryid string, lastseen int)
cmd/dcs-web/querymanager_events.go:98
↓ 3 callersMethodinit
(out *bufWriter)
index/merge.go:444
↓ 3 callersMethodisSubsetOf
isSubsetOf returns true if all strings in s are also in t. It assumes both sets are sorted.
internal/index/regexp.go:857
↓ 3 callersMethodisSubsetOf
isSubsetOf returns true if all strings in s are also in t. It assumes both sets are sorted.
index/regexp.go:857
↓ 3 callersFunctionisWordByte
isWordByte reports whether the byte c is a word character: ASCII only. This is used to implement \b and \B. This is not right for Unicode, but: - it'
regexp/match.go:345
↓ 3 callersFunctionlaunchInBackground
(binary string, args ...string)
internal/localdcs/localdcs.go:144
↓ 3 callersMethodload
()
index/merge.go:349
↓ 3 callersFunctionloadPage
(nr)
static/instant.js:163
↓ 3 callersMethodmatchesWithBufferDirect
(t Trigram, buffers *bufferPair)
internal/index/read.go:420
↓ 3 callersMethodmetaEntry1
(dest *MetaEntry, trigram Trigram)
internal/index/read.go:186
↓ 3 callersMethodmetaEntryAt
(dest *MetaEntry, i int)
internal/index/read.go:203
↓ 3 callersFunctionnewBufferPair
()
internal/index/read.go:93
↓ 3 callersFunctionnewPosrelWriter
(w io.Writer)
internal/index/posrelwriter.go:17
↓ 3 callersFunctionnoMatch
noMatch returns the regexpInfo describing a regexp that matches no strings at all.
internal/index/regexp.go:404
↓ 3 callersFunctionnoMatch
noMatch returns the regexpInfo describing a regexp that matches no strings at all.
index/regexp.go:404
↓ 3 callersFunctionpackageNames
()
cmd/dcs-package-importer/importer.go:216
↓ 3 callersMethodpostingList
(trigram uint32, restrict []uint32)
index/read.go:286
↓ 3 callersFunctionq
(w,y,u)
static/highlightjs.min.js:1
↓ 3 callersFunctionrb
(a,b,c)
static/jquery.min.js:2
↓ 3 callersMethodreadDocids
(t Trigram, restrict []uint32)
internal/index/query.go:139
↓ 3 callersFunctions
(a)
static/jquery.min.js:2
↓ 3 callersFunctionsendProgressUpdate
(stream sourcebackendpb.SourceBackend_SearchServer, connMu *sync.Mutex, filesProcessed, filesTotal int)
internal/sourcebackend/sourcebackend.go:168
↓ 3 callersMethodsize
size returns the number of strings in s.
internal/index/regexp.go:794
↓ 3 callersFunctiontc
(a,b)
static/jquery.min.js:4
↓ 3 callersFunctionwriteResults
(queryid string, page int, results io.Writer, w http.ResponseWriter, r *http.Request)
cmd/dcs-web/results.go:24
↓ 3 callersFunctionx
(D,C)
static/highlightjs.min.js:1
↓ 2 callersFunctionA
(O,r)
static/highlightjs.min.js:1
↓ 2 callersMethodAddDir
(dir string, trimPrefix string, ignored IgnoreFunc, ef ErrFunc, sf SuccessFunc)
internal/index/write.go:93
↓ 2 callersMethodAddFile
(fn, name string)
internal/index/write.go:156
↓ 2 callersMethodCloseAndRecv
()
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:57
↓ 2 callersFunctionD
(a,b)
static/jquery.min.js:2
↓ 2 callersMethodDataBytes
(t Trigram)
internal/index/read.go:356
↓ 2 callersMethodDescriptor
Deprecated: Use Error.ProtoReflect.Descriptor instead.
internal/proto/dcspb/dcs.pb.go:234
↓ 2 callersFunctionFb
(a,b)
static/jquery.min.js:3
↓ 2 callersMethodFile
(name string)
regexp/match.go:375
↓ 2 callersFunctionFiveLines
FiveLines returns five \n-separated lines surrounding pos. The first two lines are context above the line containing pos (which is always element [2])
internal/index/read.go:481
↓ 2 callersMethodGetAPIKey
()
internal/apikeys/apikeys.go:111
↓ 2 callersMethodGetApikey
()
internal/proto/dcspb/dcs.pb.go:190
↓ 2 callersMethodGetContent
()
internal/proto/packageimporterpb/packageimporter.pb.go:166
↓ 2 callersMethodGetLiteral
()
internal/proto/dcspb/dcs.pb.go:183
↓ 2 callersMethodGetSourcePackage
()
internal/proto/packageimporterpb/packageimporter.pb.go:103
↓ 2 callersFunctionHb
(a,b,c,d,e)
static/jquery.min.js:3
↓ 2 callersFunctionIb
(a,b,c)
static/jquery.min.js:3
↓ 2 callersFunctionInit
()
internal/filter/filter.go:47
↓ 2 callersFunctionJb
(a,b)
static/jquery.min.js:3
↓ 2 callersFunctionKc
(a)
static/jquery.min.js:4
↓ 2 callersMethodKeyFilename
()
internal/apikeys/apikeys.go:118
↓ 2 callersMethodLen
()
index/concatn.go:24
↓ 2 callersMethodLen
()
index/regexp.go:746
↓ 2 callersMethodMatch
(b []byte, beginText, endText bool)
regexp/regexp.go:53
↓ 2 callersFunctionNewDCSClient
(cc grpc.ClientConnInterface)
internal/proto/dcspb/dcs_grpc.pb.go:30
↓ 2 callersFunctionNewDeltaReader
()
internal/index/read.go:276
↓ 2 callersFunctionNewPackageImporterClient
(cc grpc.ClientConnInterface)
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:33
↓ 2 callersFunctionNewQueryStr
(query string)
ranking/querystr.go:17
↓ 2 callersFunctionP
(a,b,c)
static/jquery.min.js:2
↓ 2 callersFunctionP4dec256v32
(input []byte, output []uint32)
internal/turbopfor/turbopfor.go:146
↓ 2 callersFunctionP4dec32
(input []byte, output []uint32)
internal/turbopfor/turbopfor.go:125
↓ 2 callersFunctionP4enc256v32
len(input) % 32 must be 0 (pad with 0x00 if necessary).
internal/turbopfor/turbopfor.go:86
↓ 2 callersFunctionP4nenc256v32Buf
len(input) % 32 must be 0 (pad with 0x00 if necessary).
internal/turbopfor/turbopfor.go:94
↓ 2 callersMethodPaths
Paths returns the list of indexed paths.
index/read.go:151
↓ 2 callersFunctionPostRank
(opts RankingOpts, match *regexp.Match, querystr *QueryStr)
ranking/post-ranking.go:28
↓ 2 callersMethodPostingAnd
(list []uint32, trigram uint32)
index/read.go:292
↓ 2 callersMethodPostingOr
(list []uint32, trigram uint32)
index/read.go:302
↓ 2 callersMethodPostingQuery
(q *Query)
index/read.go:312
↓ 2 callersMethodPush
(v any)
index/concatn.go:33
↓ 2 callersFunctionRegisterSourceBackendServer
(s grpc.ServiceRegistrar, srv SourceBackendServer)
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:126
↓ 2 callersMethodResults
(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption)
internal/proto/dcspb/dcs_grpc.pb.go:23
↓ 2 callersFunctionSb
()
static/jquery.min.js:3
↓ 2 callersMethodSearch
Search performs the given query and streams matches/progress updates.
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:24
↓ 2 callersFunctionWriteMatchJSON
WriteMatchJSON was generated when we were still using capnproto. TODO: investigate whether any further performance tuning with regards to generating J
cmd/dcs-web/writejson.go:14
↓ 2 callersFunction_
()
static/jquery.min.js:3
↓ 2 callersMethodaddBranch
(pc uint32)
regexp/utf.go:192
↓ 2 callersMethodaddMem
(x []postEntry)
index/write.go:359
↓ 2 callersMethodaddName
addName adds the file with the given name to the index. It returns the assigned file ID number.
index/write.go:254
↓ 2 callersFunctionaddSuffixesForFiletype
(suffixes *map[string]float32, filetype string)
ranking/opts.go:59
↓ 2 callersMethodand
and returns the query q AND r, possibly reusing q's and r's storage.
internal/index/regexp.go:42
↓ 2 callersMethodand
and returns the query q AND r, possibly reusing q's and r's storage.
index/regexp.go:42
↓ 2 callersMethodandOr
andOr returns the query q AND r or q OR r, possibly reusing q's and r's storage. It works hard to avoid creating unnecessarily complicated structures.
internal/index/regexp.go:53
↓ 2 callersMethodandOr
andOr returns the query q AND r or q OR r, possibly reusing q's and r's storage. It works hard to avoid creating unnecessarily complicated structures.
index/regexp.go:53
↓ 2 callersFunctionanyChar
anyChar returns the regexpInfo describing a regexp that matches any single character.
internal/index/regexp.go:394
↓ 2 callersFunctionanyChar
anyChar returns the regexpInfo describing a regexp that matches any single character.
index/regexp.go:394
↓ 2 callersFunctionanyMatch
anyMatch returns the regexpInfo describing a regexp that matches any string.
internal/index/regexp.go:383
↓ 2 callersFunctionanyMatch
anyMatch returns the regexpInfo describing a regexp that matches any string.
index/regexp.go:383
↓ 2 callersFunctionappendFoldedRange
appendFoldedRange returns the result of appending the range lo-hi and its case folding-equivalent runes to the class r.
regexp/copy.go:85
↓ 2 callersFunctionasciiFold
(r rune)
regexp/utf.go:110
↓ 2 callersFunctionbindAnimationEvent
(element, name, cb)
static/instant.js:572
↓ 2 callersFunctionbitgetx16
internal/turbopfor/bitpack.h:212
↓ 2 callersFunctionbitgetx32
internal/turbopfor/bitpack.h:203
↓ 2 callersFunctionbitgetx8
like bitgetx32 but for 16 bits integer array
internal/turbopfor/bitpack.h:210
↓ 2 callersFunctionbuildFlushIndex
(out string, paths []string, doFlush bool, fileData map[string]string)
index/write_test.go:117
↓ 2 callersFunctionc
(r)
static/highlightjs.min.js:1
↓ 2 callersMethodcallAPI
callAPI do the request.
internal/openapiclient/client.go:148
↓ 2 callersMethodcommon
(w http.ResponseWriter, r *http.Request, writeResults func(io.Writer, queryState) error)
cmd/dcs-web/api.go:217
↓ 2 callersFunctioncontains
contains is a case insenstive match, finding needle in a haystack
internal/openapiclient/client.go:102
← previousnext →201–300 of 1,028, ranked by callers