MCPcopy Create free account

hub / github.com/Debian/dcs / functions

Functions1,028 in github.com/Debian/dcs

↓ 1 callersFunctionmarkFed
(pkg string)
cmd/dcs-feeder/feeder.go:514
↓ 1 callersMethodmatchString
(b string, beginText, endText bool)
regexp/match.go:313
↓ 1 callersFunctionmatches
(args []string)
cmd/dcs/matches.go:22
↓ 1 callersMethodmatchesWithBuffer
(t Trigram, buffers *bufferPair)
internal/index/read.go:447
↓ 1 callersFunctionmaxRune
(n int)
regexp/utf.go:124
↓ 1 callersMethodmaybeMadvise
release every 512KB maybeMadvise calls MADV_DONTNEED on processed pages to reduce RSS.
internal/index/read.go:147
↓ 1 callersFunctionmeasure
(dir string, pos bool)
cmd/dcs/du.go:59
↓ 1 callersMethodmeasure
(idx int, query string, pos, skipFile, skipGrep bool)
cmd/dcs/replay.go:460
↓ 1 callersFunctionmerge
Calls /merge on the specified shard in a period of inactivity (2 minutes after being called), or every 10 minutes in case there is continuous activity
cmd/dcs-feeder/feeder.go:127
↓ 1 callersFunctionmerge
(args []string)
cmd/dcs/merge.go:19
↓ 1 callersFunctionmergeDocidMaps
(destdir string, srcdirs []string)
internal/index/merge.go:113
↓ 1 callersFunctionmergeOr
(l1, l2 []uint32)
internal/index/query.go:118
↓ 1 callersFunctionmergeOr
(l1, l2 []uint32)
index/read.go:413
↓ 1 callersMethodmergePost
mergePost reads the flushed index entries and merges them into posting lists, writing the resulting lists to out.
index/write.go:296
↓ 1 callersFunctionmergeToShard
Merges all packages in *unpackedPath into a big index shard.
cmd/dcs-package-importer/importer.go:314
↓ 1 callersFunctionmmap
mmap maps the given file into memory.
index/read.go:446
↓ 1 callersFunctionmyPostingAnd
(data []byte, count int, list []uint32, restrict []uint32)
index/myvarint.go:134
↓ 1 callersFunctionmyPostingLast
(data []byte, count uint32, fileid uint32)
index/myvarint.go:184
↓ 1 callersFunctionmyPostingList
(data []byte, count int, restrict []uint32)
index/myvarint.go:117
↓ 1 callersFunctionmyPostingOr
(data []byte, count int, list []uint32, restrict []uint32)
index/myvarint.go:157
↓ 1 callersFunctionn
(t,w,r)
static/highlightjs.min.js:1
↓ 1 callersFunctionneedRefeed
(pkg string)
cmd/dcs-feeder/feeder.go:493
↓ 1 callersFunctionnewDocidReader
(dir string)
internal/index/read.go:35
↓ 1 callersFunctiononeByteRange
(i *syntax.Inst)
regexp/utf.go:72
↓ 1 callersFunctiononloadcssdefined
( cb )
static/loadCSS.js:44
↓ 1 callersFunctionp
(e)
static/url-search-params.min.js:2
↓ 1 callersFunctionp4getx16
internal/turbopfor/vp4.h:307
↓ 1 callersFunctionp4getx32
internal/turbopfor/vp4.h:311
↓ 1 callersFunctionp4getx8
---------- Get a single value with index "idx" from a "p4encx32" packed array
internal/turbopfor/vp4.h:302
↓ 1 callersFunctionpackageImporter
()
cmd/dcs-package-importer/importer.go:572
↓ 1 callersFunctionparseCacheControl
(headers http.Header)
internal/openapiclient/client.go:405
↓ 1 callersFunctionpb
()
static/jquery.min.js:2
↓ 1 callersFunctionperiodically
(checkFunc func() healthUpdate, updates chan healthUpdate)
cmd/dcs-web/health/health.go:30
↓ 1 callersFunctionpopconInstallations
(binaryPackages []godebiancontrol.Paragraph)
cmd/dcs-compute-ranking/popcon.go:20
↓ 1 callersFunctionposting
(args []string)
cmd/dcs/posting.go:27
↓ 1 callersMethodpostingAnd
(list []uint32, tri uint32, restrict []uint32)
internal/index/query.go:179
↓ 1 callersMethodpostingOr
(list []uint32, tri uint32, restrict []uint32)
internal/index/query.go:199
↓ 1 callersMethodpostingQuery
(qry *Query, restrict []uint32)
internal/index/query.go:33
↓ 1 callersMethodpostingQuery
(q *Query, restrict []uint32)
index/read.go:337
↓ 1 callersMethodputUint32flush
()
internal/index/pforwriter.go:32
↓ 1 callersFunctionquery
(args []string)
cmd/dcs/query.go:32
↓ 1 callersMethodquery
(query *index.Query)
internal/sourcebackend/sourcebackend.go:276
↓ 1 callersFunctionqueryBackend
(ctx context.Context, queryid, src string, backend sourcebackendpb.SourceBackendClient, backendidx int, search
cmd/dcs-web/querymanager.go:183
↓ 1 callersFunctionqueryExists
queryExists returns true if a query with the specified queryid exists and is not expired yet.
cmd/dcs-web/querymanager.go:284
↓ 1 callersMethodqueryPositional
(literal string)
internal/sourcebackend/sourcebackend.go:253
↓ 1 callersFunctionraw
(args []string)
cmd/dcs/raw.go:28
↓ 1 callersFunctionreadMeta
(dir, typ string, idx map[Trigram][]uint32, idxid uint32)
internal/index/merge.go:35
↓ 1 callersFunctionready
( cb )
static/loadCSS.js:29
↓ 1 callersFunctionrecordResource
recordResource appends a line to a file in -localnet_dir so that we can clean up resources (tempdirs, pids) when being called with -stop later.
internal/localdcs/localdcs.go:99
↓ 1 callersFunctionrenderPerPackage
(w http.ResponseWriter, r *http.Request, queryid string, page int)
cmd/dcs-web/serverrendered.go:119
↓ 1 callersFunctionreplay
(args []string)
cmd/dcs/replay.go:511
↓ 1 callersFunctions
(r,O)
static/highlightjs.min.js:1
↓ 1 callersFunctionsearch
(args []string)
cmd/dcs/search.go:29
↓ 1 callersFunctionsendPaginationUpdate
Caller needs to hold s.clientsMu
cmd/dcs-web/querymanager.go:462
↓ 1 callersFunctionserveAPIOnMux
(mux *http.ServeMux, apiOpts apikeys.Options)
cmd/dcs-web/api.go:323
↓ 1 callersFunctionsetBody
Set request body from an interface{}
internal/openapiclient/client.go:351
↓ 1 callersMethodsiftUp
(j int)
index/write.go:452
↓ 1 callersFunctionstartQuery
(queryid string, querystate queryState)
cmd/dcs-web/querymanager.go:291
↓ 1 callersMethodstepByte
stepByte steps runq to nextq consuming c and then expanding according to flag. It returns true if a match ends immediately before c. c is either an in
regexp/match.go:159
↓ 1 callersMethodstepEmpty
stepEmpty steps runq to nextq expanding according to flag.
regexp/match.go:149
↓ 1 callersFunctionstoreResult
(queryid string, backendidx int, result *sourcebackendpb.Match, resultLen int)
cmd/dcs-web/querymanager.go:479
↓ 1 callersFunctiontoByteProg
(prog *syntax.Prog)
regexp/utf.go:21
↓ 1 callersFunctiontoEventProto
TODO: consider refactoring so that protos are retained instead of JSON bytes. maybe accompanied by a lazily-initialized JSON version?
cmd/dcs-web/dcs-web.go:512
↓ 1 callersFunctiontrigram
(args []string)
cmd/dcs/trigram.go:18
↓ 1 callersFunctiontrigramsImply
(t []string, q *Query)
internal/index/regexp.go:199
↓ 1 callersFunctiontrigramsImply
(t []string, q *Query)
index/regexp.go:199
↓ 1 callersFunctionu
()
static/highlightjs.min.js:1
↓ 1 callersFunctionuc
(a,b,c)
static/jquery.min.js:4
↓ 1 callersFunctionunpack
(dscPath, unpacked string)
cmd/dcs-package-importer/importer.go:481
↓ 1 callersFunctionunpackAndIndex
unpackAndIndex unpacks a .dsc file, indexes its contents and deletes the .dsc and referenced files.
cmd/dcs-package-importer/importer.go:522
↓ 1 callersFunctionvalidUTF8
validUTF8 reports whether the byte pair can appear in a valid sequence of UTF-8-encoded code points.
internal/index/write.go:130
↓ 1 callersFunctionvalidUTF8
validUTF8 reports whether the byte pair can appear in a valid sequence of UTF-8-encoded code points.
index/write.go:592
↓ 1 callersFunctionvb
(a,b,c,d,e,f)
static/jquery.min.js:2
↓ 1 callersFunctionvc
(a,b,c,d)
static/jquery.min.js:4
↓ 1 callersFunctionverifyBinariesAreExecutable
()
internal/localdcs/localdcs.go:73
↓ 1 callersFunctionverifyMatches
TODO: refactor to verifyBundle(), use bcmills concurrency pattern
cmd/dcs/replay.go:125
↓ 1 callersFunctionw
(M,r)
static/highlightjs.min.js:1
↓ 1 callersMethodwriteByte
(x byte)
index/write.go:508
↓ 1 callersMethodwriteDocid
(dir string, trigrams []Trigram)
internal/index/write.go:355
↓ 1 callersMethodwriteDocidMap
writeDocidMap creates the index’s docid.map file, which is a list of \n-separated strings (for easy printing by humans using less(1) or strings(1)), f
internal/index/write.go:333
↓ 1 callersFunctionwriteDocids
(destdir string, trigrams []Trigram, idxDocid map[Trigram][]uint32, idxMetaDocid []indexMeta)
internal/index/merge.go:252
↓ 1 callersFunctionwritePos
(destdir string, trigrams []Trigram, idxDocid map[Trigram][]uint32, idxMetaPos []indexMeta)
internal/index/merge.go:407
↓ 1 callersMethodwritePos
(dir string, trigrams []Trigram)
internal/index/write.go:413
↓ 1 callersFunctionwritePosrel
(destdir string, trigrams []Trigram, idxDocid map[Trigram][]uint32, idxMetaPos []indexMeta, idxMetaPosrel []po
internal/index/merge.go:343
↓ 1 callersMethodwritePosrel
(dir string, trigrams []Trigram)
internal/index/write.go:468
↓ 1 callersMethodwritePostingList
Directly writes the entire posting list to w. Useful to avoid function call overhead, and also expects to be called from ConcatN only (i.e. takes shor
index/merge.go:398
↓ 1 callersFunctionwriteToDisk
(queryid string)
cmd/dcs-web/querymanager.go:671
MethodAddFile
AddFile adds the file with the given name (opened using os.Open) to the index. It logs errors using package log.
index/write.go:116
MethodAddFlags
()
regexp/match.go:368
FunctionB
(a,b)
static/jquery.min.js:2
FunctionBenchmarkConcatN
(b *testing.B)
internal/index/concatn_test.go:268
FunctionBenchmarkRewriteQuery
(b *testing.B)
cmd/dcs-web/search/query-rewrite_test.go:20
MethodBody
Body returns the raw bytes of the response
internal/openapiclient/client.go:468
FunctionCacheExpires
CacheExpires helper function to determine remaining time before repeating a request.
internal/openapiclient/client.go:424
MethodChangeBasePath
Change base path to allow switching to mocks
internal/openapiclient/client.go:153
MethodClose
()
internal/index/pforwriter.go:80
MethodClose
()
internal/index/read.go:51
MethodClose
()
internal/index/read.go:133
MethodClose
()
internal/index/read.go:364
MethodCloseAndRecv
()
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:69
← previousnext →501–600 of 1,028, ranked by callers