MCPcopy Create free account

hub / github.com/Debian/dcs / functions

Functions1,028 in github.com/Debian/dcs

↓ 6 callersMethodclean
clean removes duplicates from the stringSet.
index/regexp.go:776
↓ 6 callersFunctioncreateIndex
(t *testing.T, sourceDir, indexDir string)
internal/index/concatn_test.go:29
↓ 6 callersFunctiont
(D)
static/highlightjs.min.js:1
↓ 6 callersMethoduint32
uint32 returns the uint32 value at the given offset in the index data.
index/read.go:137
↓ 6 callersFunctionx
(a,b,c)
static/jquery.min.js:2
↓ 5 callersFunctionDialTLS
(addr, certFile, keyFile string, opts ...grpc.DialOption)
grpcutil/grpcutil.go:49
↓ 5 callersFunctionK
(r,M)
static/highlightjs.min.js:1
↓ 5 callersFunctionOpen
(path string)
internal/mmap/mmap.go:16
↓ 5 callersMethodRank
(opts *RankingOpts)
ranking/pre-ranking.go:54
↓ 5 callersMethodReader
(r io.Reader, name string)
regexp/match.go:421
↓ 5 callersMethodSecureCookie
()
internal/apikeys/apikeys.go:92
↓ 5 callersMethodString
()
regexp/match.go:56
↓ 5 callersFunctionaddEventMarshal
Like addEvent, but marshals data using encoding/json.
cmd/dcs-web/querymanager_events.go:64
↓ 5 callersMethodaddq
addq adds id to the queue, expanding according to flag.
regexp/match.go:189
↓ 5 callersFunctionanalyze
analyze returns the regexpInfo for the regexp re.
internal/index/regexp.go:421
↓ 5 callersFunctionanalyze
analyze returns the regexpInfo for the regexp re.
index/regexp.go:421
↓ 5 callersFunctionemptyString
emptyString returns the regexpInfo describing a regexp that matches only the empty string.
internal/index/regexp.go:412
↓ 5 callersFunctionemptyString
emptyString returns the regexpInfo describing a regexp that matches only the empty string.
index/regexp.go:412
↓ 5 callersFunctionf
(r,q,p)
static/highlightjs.min.js:1
↓ 5 callersFunctionjb
(a,b)
static/jquery.min.js:2
↓ 5 callersFunctionmaybeStartQuery
XXX: Starting a new query while there may still be clients reading that query is not a great idea. Best fix may be to make getEvent() use a querystate
cmd/dcs-web/querymanager.go:329
↓ 5 callersMethodmetaEntry
(trigram Trigram)
internal/index/read.go:161
↓ 5 callersMethodminLen
minLen returns the length of the shortest string in s.
internal/index/regexp.go:799
↓ 5 callersMethodminLen
minLen returns the length of the shortest string in s.
index/regexp.go:799
↓ 5 callersFunctionnewCountingWriter
(f *os.File)
internal/index/write.go:30
↓ 5 callersFunctionsb
(a)
static/jquery.min.js:2
↓ 5 callersMethodsize
size returns the number of strings in s.
index/regexp.go:794
↓ 5 callersFunctionvalidateQuery
(query string)
cmd/dcs-web/dcs-web.go:98
↓ 5 callersFunctionwb
(a)
static/jquery.min.js:2
↓ 5 callersFunctionwriteFiles
(t *testing.T, dir string, files map[string]string)
internal/index/concatn_test.go:15
↓ 5 callersFunctionxb
(a,b)
static/jquery.min.js:2
↓ 4 callersFunctionCreate
(dir string)
internal/index/write.go:67
↓ 4 callersFunctionDecodingSize
Corresponding to p4nbound32: #define VP4BOUND(_n_, _esize_, _csize_) ((_esize_*_n_) + ((_n_+_csize_-1)/_csize_)) size_t p4nbound32( size_t n) { re
internal/turbopfor/turbopfor.go:62
↓ 4 callersFunctionFilterByKeywords
(rewritten *url.URL, files []ranking.ResultPath)
internal/sourcebackend/sourcebackend.go:28
↓ 4 callersMethodGetData
()
internal/proto/dcspb/dcs.pb.go:423
↓ 4 callersMethodLen
()
internal/index/regexp.go:746
↓ 4 callersMethodMerge
(ctx context.Context, in *MergeRequest, opts ...grpc.CallOption)
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:25
↓ 4 callersMethodOffset
()
internal/index/pforwriter.go:28
↓ 4 callersFunctionRegexpQuery
RegexpQuery returns a Query for the given regexp.
internal/index/regexp.go:334
↓ 4 callersFunctionRewriteQuery
Parses the querystring (q= parameter) and moves special tokens such as "lang:c" from the querystring into separate arguments.
cmd/dcs-web/search/query-rewrite.go:52
↓ 4 callersFunctionS
(a,b)
static/jquery.min.js:3
↓ 4 callersMethodString
()
internal/openapiclient/configuration.go:23
↓ 4 callersFunctionTb
(a,b)
static/jquery.min.js:3
↓ 4 callersMethodaddExact
addExact adds to the match query the trigrams for matching info.exact.
internal/index/regexp.go:627
↓ 4 callersMethodaddExact
addExact adds to the match query the trigrams for matching info.exact.
index/regexp.go:627
↓ 4 callersMethodcomputeNext
computeNext computes the next DFA state if we're in d reading c (an input byte or endText).
regexp/match.go:211
↓ 4 callersFunctioncountNL
(b []byte)
regexp/match.go:387
↓ 4 callersMethodcross
cross returns the cross product of s and t.
internal/index/regexp.go:834
↓ 4 callersMethodcross
cross returns the cross product of s and t.
index/regexp.go:834
↓ 4 callersFunctionctou16
internal/turbopfor/conf.h:175
↓ 4 callersFunctionctou64
internal/turbopfor/conf.h:189
↓ 4 callersMethoddecode
(v any, b []byte, contentType string)
internal/openapiclient/client.go:313
↓ 4 callersFunctionfb
(a,b,d,e)
static/jquery.min.js:2
↓ 4 callersMethodinit
(ix *Index, idmap []idrange)
index/merge.go:337
↓ 4 callersMethodinit
(ix *Index, trigram uint32, restrict []uint32)
index/read.go:235
↓ 4 callersFunctionloadPerPkgPage
(nr, preload)
static/instant.js:202
↓ 4 callersFunctionmb
(a)
static/jquery.min.js:2
↓ 4 callersFunctionnewPForReader
(dir, section string)
internal/index/read.go:111
↓ 4 callersFunctionnewPForWriter
(dir, typ string)
internal/index/pforwriter.go:17
↓ 4 callersMethodnumResults
()
cmd/dcs-web/querymanager.go:170
↓ 4 callersFunctiono
()
static/highlightjs.min.js:1
↓ 4 callersFunctionparameterToString
parameterToString convert interface{} parameters to string, using a delimiter if format is provided.
internal/openapiclient/client.go:126
↓ 4 callersFunctionqb
(a)
static/jquery.min.js:2
↓ 4 callersFunctionsearchIndex
(t *testing.T, indexDir string, query string)
internal/index/concatn_test.go:70
↓ 4 callersMethodsimplify
simplify simplifies the regexpInfo when the exact set gets too large.
internal/index/regexp.go:634
↓ 4 callersMethodsimplify
simplify simplifies the regexpInfo when the exact set gets too large.
index/regexp.go:634
↓ 4 callersFunctionstartJsonResponse
(w http.ResponseWriter)
cmd/dcs-web/results.go:12
↓ 4 callersFunctiontb
(a,b,c)
static/jquery.min.js:2
↓ 4 callersFunctionub
(a,b,c,d,e)
static/jquery.min.js:2
↓ 4 callersFunctionupdatePagination
(currentpage, resultpages, perpackage)
static/instant.js:273
↓ 4 callersMethodwrite
(x []byte)
index/write.go:494
↓ 4 callersMethodwriteUvarint
(x uint32)
index/write.go:572
↓ 3 callersMethodData
Streams returns a reader for the specified trigram data.
internal/index/read.go:218
↓ 3 callersMethodDeltas
(t Trigram)
internal/index/read.go:259
↓ 3 callersMethodFile
File reads the file and returns its contents.
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:22
↓ 3 callersMethodGarbageCollect
(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption)
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:26
↓ 3 callersMethodGetQueryId
()
internal/proto/dcspb/dcs.pb.go:295
↓ 3 callersMethodGetUserInfo
()
internal/apikeys/apikeys.go:104
↓ 3 callersMethodImport
(ctx context.Context, opts ...grpc.CallOption)
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:24
↓ 3 callersFunctionListenAndServeTLS
(addr, certFile, keyFile string, register func(s *grpc.Server))
grpcutil/grpcutil.go:74
↓ 3 callersMethodMetaEntry
(trigram Trigram)
internal/index/read.go:212
↓ 3 callersFunctionNewSourceBackendClient
(cc grpc.ClientConnInterface)
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:35
↓ 3 callersFunctionP4nenc256v32
len(input) % 32 must be 0 (pad with 0x00 if necessary).
internal/turbopfor/turbopfor.go:102
↓ 3 callersMethodPackages
Packages returns a list of Debian source package names which are present on this package importer instance.
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:23
↓ 3 callersMethodQueryPositional
(query string)
internal/index/read.go:527
↓ 3 callersFunctionRankingOptsFromQuery
(query url.Values)
ranking/opts.go:118
↓ 3 callersMethodReplaceIndex
Replaces the loaded index with the specified replacement index. On a file system level, the specified file is mv'ed to the file specified by -index_pa
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:28
↓ 3 callersFunctionStart
(args ...string)
internal/localdcs/localdcs.go:292
↓ 3 callersFunctionTaskIdxForPackage
(pkg string, tasks int)
shardmapping/shardmapping.go:11
↓ 3 callersFunctionaddEvent
(queryid string, data []byte, origdata any)
cmd/dcs-web/querymanager_events.go:40
↓ 3 callersMethodaddRange
(lo, hi rune, fold bool)
regexp/utf.go:213
↓ 3 callersFunctionaddSearchResult
(results, result)
static/instant.js:125
↓ 3 callersMethodandTrigrams
andTrigrams returns q AND the OR of the AND of the trigrams present in each string.
internal/index/regexp.go:261
↓ 3 callersMethodandTrigrams
andTrigrams returns q AND the OR of the AND of the trigrams present in each string.
index/regexp.go:261
↓ 3 callersFunctionbug
()
regexp/regexp.go:11
↓ 3 callersMethodcache
(z *nstate)
regexp/match.go:267
↓ 3 callersFunctionchangeGrouping
()
static/instant.js:491
↓ 3 callersFunctioncisalpha
(r rune)
dpkgversion/dpkgversion.go:35
↓ 3 callersFunctiond
(D,E)
static/highlightjs.min.js:1
↓ 3 callersFunctione
(e)
static/url-search-params.min.js:2
← previousnext →101–200 of 1,028, ranked by callers