MCPcopy Create free account

hub / github.com/Debian/dcs / functions

Functions1,028 in github.com/Debian/dcs

↓ 2 callersMethodcopy
copy returns a copy of the set that does not share storage with the original.
internal/index/regexp.go:851
↓ 2 callersMethodcopy
copy returns a copy of the set that does not share storage with the original.
index/regexp.go:851
↓ 2 callersFunctionctou32
internal/turbopfor/conf.h:182
↓ 2 callersMethoddec
dec decodes the encoding s into z.
regexp/match.go:84
↓ 2 callersMethoddeltas
(meta *MetaEntry, buffer *reusableBuffer)
internal/index/read.go:231
↓ 2 callersMethoddeltasWithBuffer
(t Trigram, buffer *reusableBuffer)
internal/index/read.go:251
↓ 2 callersFunctiondumpInst
(b *bytes.Buffer, i *syntax.Inst)
regexp/copy.go:182
↓ 2 callersFunctionensureEnoughSpaceAvailable
Makes sure 20% of the filesystem backing -query_results_path are available, cleans up old query results otherwise.
cmd/dcs-web/querymanager.go:582
↓ 2 callersMethodfileid
()
index/write.go:90
↓ 2 callersMethodfindList
(trigram uint32)
index/read.go:205
↓ 2 callersMethodflushPost
flushPost writes ix.post to a new temporary file and clears the slice.
index/write.go:269
↓ 2 callersMethodflushTo
flushTo writes the current in-memory index to the specified directory.
internal/index/write.go:302
↓ 2 callersFunctionfold
fold is the usual higher-order function.
internal/index/regexp.go:544
↓ 2 callersFunctionfold
fold is the usual higher-order function.
index/regexp.go:544
↓ 2 callersMethodfromPointers
(pointers []resultPointer)
cmd/dcs-web/api.go:90
↓ 2 callersFunctionfsBytes
(path string)
cmd/dcs-web/querymanager.go:569
↓ 2 callersFunctiong
(t)
static/highlightjs.min.js:1
↓ 2 callersFunctiong
(e)
static/url-search-params.min.js:2
↓ 2 callersFunctiongrep
(query string, files ranking.ResultPaths, rankingopts ranking.RankingOpts, skipFile, skipGrep bool)
cmd/dcs/replay.go:205
↓ 2 callersFunctionhttpErrorWrapper
(h func(http.ResponseWriter, *http.Request) error)
cmd/dcs-web/api.go:204
↓ 2 callersFunctioni
()
static/jquery.min.js:3
↓ 2 callersMethodimplies
implies reports whether q implies r. It is okay for it to return false negatives.
internal/index/regexp.go:175
↓ 2 callersMethodimplies
implies reports whether q implies r. It is okay for it to return false negatives.
index/regexp.go:175
↓ 2 callersMethodinit
(p *syntax.Prog, begin, out uint32)
regexp/utf.go:147
↓ 2 callersMethodintermediateFlush
intermediateFlush flushes the current index to disk and starts a fresh one. The intermediate index files will be merged before indexing completes.
internal/index/write.go:237
↓ 2 callersFunctionisTar
(filename string)
cmd/dcs-package-importer/importer.go:473
↓ 2 callersFunctionj
(l)
static/jquery.min.js:2
↓ 2 callersFunctionk
(y,w,x)
static/highlightjs.min.js:1
↓ 2 callersFunctionkb
(a,b)
static/jquery.min.js:2
↓ 2 callersFunctionm
(e,t)
static/url-search-params.min.js:2
↓ 2 callersFunctionmakePostEntry
(trigram, fileid uint32)
index/write.go:94
↓ 2 callersMethodmetaEntry1
(dest *MetaEntry, trigram Trigram)
internal/index/read.go:327
↓ 2 callersFunctionmmapFile
(f *os.File)
index/mmap_bsd.go:21
↓ 2 callersFunctionmustLoadMirroredControlFile
(name string)
cmd/dcs-compute-ranking/compute-ranking.go:33
↓ 2 callersFunctionnewIndexMeta
(docidBase uint32, rd *PForReader)
internal/index/merge.go:21
↓ 2 callersFunctionnewPosrelReader
(dir string)
internal/index/read.go:315
↓ 2 callersMethodnext
next returns the next entry from the postHeap. It returns a postEntry with trigram == 1<<24 - 1 if h is empty.
index/write.go:397
↓ 2 callersFunctiononQueryDone
(msg)
static/instant.js:319
↓ 2 callersMethodor
or returns the query q OR r, possibly reusing q's and r's storage.
internal/index/regexp.go:47
↓ 2 callersMethodor
or returns the query q OR r, possibly reusing q's and r's storage.
index/regexp.go:47
↓ 2 callersFunctionorder
(r rune)
dpkgversion/dpkgversion.go:39
↓ 2 callersFunctionperBackendFromState
(state queryState)
cmd/dcs-web/api.go:142
↓ 2 callersFunctionpoolPath
(filename string)
cmd/dcs-feeder/feeder.go:230
↓ 2 callersMethodpostingAnd
(list []uint32, trigram uint32, restrict []uint32)
index/read.go:296
↓ 2 callersMethodpostingList
(tri uint32, restrict []uint32)
internal/index/query.go:170
↓ 2 callersMethodpostingOr
(list []uint32, trigram uint32, restrict []uint32)
index/read.go:306
↓ 2 callersMethodprepareRequest
prepareRequest build the request
internal/openapiclient/client.go:158
↓ 2 callersFunctionqueryCompleted
(queryid string)
cmd/dcs-web/querymanager_events.go:111
↓ 2 callersFunctionqueryExistsLocked
queryExistsLocked returns whether state for the query exists and whether that state is expired.
cmd/dcs-web/querymanager.go:277
↓ 2 callersFunctionrc
(a)
static/jquery.min.js:4
↓ 2 callersFunctionreadPackagesFile
(queryid string)
cmd/dcs-web/serverrendered.go:113
↓ 2 callersFunctionrequestMerge
(idx int)
cmd/dcs-feeder/feeder.go:150
↓ 2 callersFunctionresultWriterFor
(w io.Writer, state queryState)
cmd/dcs-web/api.go:156
↓ 2 callersFunctionrewriteFilters
(query url.Values, filtersRe *regexp.Regexp)
cmd/dcs-web/search/query-rewrite.go:15
↓ 2 callersFunctionsc
(a,b,c,d)
static/jquery.min.js:4
↓ 2 callersFunctionselectHeaderAccept
selectHeaderAccept join all accept types and return
internal/openapiclient/client.go:89
↓ 2 callersFunctionselectHeaderContentType
selectHeaderContentType select a content type from the available list.
internal/openapiclient/client.go:78
↓ 2 callersFunctionsendQuery
(term, literal)
static/instant.js:71
↓ 2 callersMethodsetGovernor
(g string)
internal/frequency/frequency.go:17
↓ 2 callersFunctionsetPositionAbsolute
(selector)
static/instant.js:460
↓ 2 callersFunctionsetPositionStatic
(selector)
static/instant.js:469
↓ 2 callersMethodsiftDown
(i int)
index/write.go:433
↓ 2 callersMethodsimplifySet
simplifySet reduces the size of the given set (either prefix or suffix). There is no need to pass around enormous prefix or suffix sets, since they wi
internal/index/regexp.go:667
↓ 2 callersMethodsimplifySet
simplifySet reduces the size of the given set (either prefix or suffix). There is no need to pass around enormous prefix or suffix sets, since they wi
index/regexp.go:667
↓ 2 callersMethodsortPost
(post []postEntry)
index/write.go:607
↓ 2 callersFunctionsplitPath
(path string)
cmd/dcs-web/serverrendered.go:52
↓ 2 callersFunctionstoreProgress
(queryid string, backendidx int, progress *sourcebackendpb.ProgressUpdate)
cmd/dcs-web/querymanager.go:762
↓ 2 callersMethodstr
(off uint32)
index/read.go:171
↓ 2 callersMethodsuffix
(lo, hi byte, fold bool, next uint32)
regexp/utf.go:176
↓ 2 callersFunctiont
(e)
static/url-search-params.min.js:2
↓ 2 callersFunctiontaskIdxForPackage
(pkg string, tasks int)
cmd/dcs-reshard/reshard.go:35
↓ 2 callersFunctiontestTrivialWrite
(t *testing.T, doFlush bool)
index/write_test.go:138
↓ 2 callersMethodtrigram
()
index/write.go:86
↓ 2 callersMethoduncachedSuffix
(lo, hi byte, fold bool, next uint32)
regexp/utf.go:163
↓ 2 callersFunctionupdatePagination
NB: Updates to this function must also be performed in static/instant.js.
cmd/dcs-web/serverrendered.go:64
↓ 2 callersFunctionv
(e)
static/url-search-params.min.js:2
↓ 2 callersFunctionverrevcmp
(a string, b string)
dpkgversion/dpkgversion.go:55
↓ 2 callersFunctionwriteFromPointers
(queryid string, f io.Writer, pointers []resultPointer)
cmd/dcs-web/querymanager.go:621
↓ 2 callersFunctionwritePerPkgResults
(queryid string, page int, results io.Writer, w http.ResponseWriter, r *http.Request)
cmd/dcs-web/results.go:46
↓ 2 callersMethodwriteTrigram
(t uint32)
index/write.go:558
↓ 2 callersFunctionyb
(a,b)
static/jquery.min.js:3
↓ 1 callersMethodAddDefaultHeader
(key string, value string)
internal/openapiclient/configuration.go:71
↓ 1 callersMethodAddPaths
AddPaths adds the given paths to the index's list of paths.
index/write.go:110
↓ 1 callersMethodAll
()
internal/index/read.go:55
↓ 1 callersFunctionB
(M,N)
static/highlightjs.min.js:1
↓ 1 callersFunctionBc
(a,b,c,d)
static/jquery.min.js:4
↓ 1 callersFunctionConcat
src1 and src2 must not cover the same files. dst will contain an index that contains src1 and src2.
index/merge.go:236
↓ 1 callersFunctionConcatN
type concatHeap struct { vector.Vector } func (h *concatHeap) Less(i, j int) bool { return h.At(i).(postMapReader).trigram < h.At(j).(postMapReader
index/concatn.go:45
↓ 1 callersFunctionCreate
64 MB worth of post entries Create returns a new IndexWriter that will write the index to file.
index/write.go:70
↓ 1 callersFunctionDecUsers
()
internal/frequency/frequency.go:70
↓ 1 callersMethodDescriptor
()
internal/proto/dcspb/dcs.pb.go:61
↓ 1 callersMethodDescriptor
()
internal/proto/dcspb/dcs.pb.go:116
↓ 1 callersMethodDescriptor
()
internal/proto/sourcebackendpb/sourcebackend.pb.go:54
↓ 1 callersMethodDescriptor
Deprecated: Use Match.ProtoReflect.Descriptor instead.
internal/proto/sourcebackendpb/sourcebackend.pb.go:280
↓ 1 callersMethodEventType
()
cmd/dcs-web/querymanager_events.go:30
↓ 1 callersMethodFlush
()
internal/index/posrelwriter.go:56
↓ 1 callersFunctionG
(M,Q)
static/highlightjs.min.js:1
↓ 1 callersFunctionG
(a)
static/jquery.min.js:2
↓ 1 callersFunctionGb
(a,b,c)
static/jquery.min.js:3
↓ 1 callersMethodGetContext
()
internal/proto/sourcebackendpb/sourcebackend.pb.go:312
← previousnext →301–400 of 1,028, ranked by callers