Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Debian/dcs
/ functions
Functions
1,028 in github.com/Debian/dcs
⨍
Functions
1,028
◇
Types & classes
198
↓ 2 callers
Method
copy
copy returns a copy of the set that does not share storage with the original.
internal/index/regexp.go:851
↓ 2 callers
Method
copy
copy returns a copy of the set that does not share storage with the original.
index/regexp.go:851
↓ 2 callers
Function
ctou32
internal/turbopfor/conf.h:182
↓ 2 callers
Method
dec
dec decodes the encoding s into z.
regexp/match.go:84
↓ 2 callers
Method
deltas
(meta *MetaEntry, buffer *reusableBuffer)
internal/index/read.go:231
↓ 2 callers
Method
deltasWithBuffer
(t Trigram, buffer *reusableBuffer)
internal/index/read.go:251
↓ 2 callers
Function
dumpInst
(b *bytes.Buffer, i *syntax.Inst)
regexp/copy.go:182
↓ 2 callers
Function
ensureEnoughSpaceAvailable
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 callers
Method
fileid
()
index/write.go:90
↓ 2 callers
Method
findList
(trigram uint32)
index/read.go:205
↓ 2 callers
Method
flushPost
flushPost writes ix.post to a new temporary file and clears the slice.
index/write.go:269
↓ 2 callers
Method
flushTo
flushTo writes the current in-memory index to the specified directory.
internal/index/write.go:302
↓ 2 callers
Function
fold
fold is the usual higher-order function.
internal/index/regexp.go:544
↓ 2 callers
Function
fold
fold is the usual higher-order function.
index/regexp.go:544
↓ 2 callers
Method
fromPointers
(pointers []resultPointer)
cmd/dcs-web/api.go:90
↓ 2 callers
Function
fsBytes
(path string)
cmd/dcs-web/querymanager.go:569
↓ 2 callers
Function
g
(t)
static/highlightjs.min.js:1
↓ 2 callers
Function
g
(e)
static/url-search-params.min.js:2
↓ 2 callers
Function
grep
(query string, files ranking.ResultPaths, rankingopts ranking.RankingOpts, skipFile, skipGrep bool)
cmd/dcs/replay.go:205
↓ 2 callers
Function
httpErrorWrapper
(h func(http.ResponseWriter, *http.Request) error)
cmd/dcs-web/api.go:204
↓ 2 callers
Function
i
()
static/jquery.min.js:3
↓ 2 callers
Method
implies
implies reports whether q implies r. It is okay for it to return false negatives.
internal/index/regexp.go:175
↓ 2 callers
Method
implies
implies reports whether q implies r. It is okay for it to return false negatives.
index/regexp.go:175
↓ 2 callers
Method
init
(p *syntax.Prog, begin, out uint32)
regexp/utf.go:147
↓ 2 callers
Method
intermediateFlush
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 callers
Function
isTar
(filename string)
cmd/dcs-package-importer/importer.go:473
↓ 2 callers
Function
j
(l)
static/jquery.min.js:2
↓ 2 callers
Function
k
(y,w,x)
static/highlightjs.min.js:1
↓ 2 callers
Function
kb
(a,b)
static/jquery.min.js:2
↓ 2 callers
Function
m
(e,t)
static/url-search-params.min.js:2
↓ 2 callers
Function
makePostEntry
(trigram, fileid uint32)
index/write.go:94
↓ 2 callers
Method
metaEntry1
(dest *MetaEntry, trigram Trigram)
internal/index/read.go:327
↓ 2 callers
Function
mmapFile
(f *os.File)
index/mmap_bsd.go:21
↓ 2 callers
Function
mustLoadMirroredControlFile
(name string)
cmd/dcs-compute-ranking/compute-ranking.go:33
↓ 2 callers
Function
newIndexMeta
(docidBase uint32, rd *PForReader)
internal/index/merge.go:21
↓ 2 callers
Function
newPosrelReader
(dir string)
internal/index/read.go:315
↓ 2 callers
Method
next
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 callers
Function
onQueryDone
(msg)
static/instant.js:319
↓ 2 callers
Method
or
or returns the query q OR r, possibly reusing q's and r's storage.
internal/index/regexp.go:47
↓ 2 callers
Method
or
or returns the query q OR r, possibly reusing q's and r's storage.
index/regexp.go:47
↓ 2 callers
Function
order
(r rune)
dpkgversion/dpkgversion.go:39
↓ 2 callers
Function
perBackendFromState
(state queryState)
cmd/dcs-web/api.go:142
↓ 2 callers
Function
poolPath
(filename string)
cmd/dcs-feeder/feeder.go:230
↓ 2 callers
Method
postingAnd
(list []uint32, trigram uint32, restrict []uint32)
index/read.go:296
↓ 2 callers
Method
postingList
(tri uint32, restrict []uint32)
internal/index/query.go:170
↓ 2 callers
Method
postingOr
(list []uint32, trigram uint32, restrict []uint32)
index/read.go:306
↓ 2 callers
Method
prepareRequest
prepareRequest build the request
internal/openapiclient/client.go:158
↓ 2 callers
Function
queryCompleted
(queryid string)
cmd/dcs-web/querymanager_events.go:111
↓ 2 callers
Function
queryExistsLocked
queryExistsLocked returns whether state for the query exists and whether that state is expired.
cmd/dcs-web/querymanager.go:277
↓ 2 callers
Function
rc
(a)
static/jquery.min.js:4
↓ 2 callers
Function
readPackagesFile
(queryid string)
cmd/dcs-web/serverrendered.go:113
↓ 2 callers
Function
requestMerge
(idx int)
cmd/dcs-feeder/feeder.go:150
↓ 2 callers
Function
resultWriterFor
(w io.Writer, state queryState)
cmd/dcs-web/api.go:156
↓ 2 callers
Function
rewriteFilters
(query url.Values, filtersRe *regexp.Regexp)
cmd/dcs-web/search/query-rewrite.go:15
↓ 2 callers
Function
sc
(a,b,c,d)
static/jquery.min.js:4
↓ 2 callers
Function
selectHeaderAccept
selectHeaderAccept join all accept types and return
internal/openapiclient/client.go:89
↓ 2 callers
Function
selectHeaderContentType
selectHeaderContentType select a content type from the available list.
internal/openapiclient/client.go:78
↓ 2 callers
Function
sendQuery
(term, literal)
static/instant.js:71
↓ 2 callers
Method
setGovernor
(g string)
internal/frequency/frequency.go:17
↓ 2 callers
Function
setPositionAbsolute
(selector)
static/instant.js:460
↓ 2 callers
Function
setPositionStatic
(selector)
static/instant.js:469
↓ 2 callers
Method
siftDown
(i int)
index/write.go:433
↓ 2 callers
Method
simplifySet
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 callers
Method
simplifySet
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 callers
Method
sortPost
(post []postEntry)
index/write.go:607
↓ 2 callers
Function
splitPath
(path string)
cmd/dcs-web/serverrendered.go:52
↓ 2 callers
Function
storeProgress
(queryid string, backendidx int, progress *sourcebackendpb.ProgressUpdate)
cmd/dcs-web/querymanager.go:762
↓ 2 callers
Method
str
(off uint32)
index/read.go:171
↓ 2 callers
Method
suffix
(lo, hi byte, fold bool, next uint32)
regexp/utf.go:176
↓ 2 callers
Function
t
(e)
static/url-search-params.min.js:2
↓ 2 callers
Function
taskIdxForPackage
(pkg string, tasks int)
cmd/dcs-reshard/reshard.go:35
↓ 2 callers
Function
testTrivialWrite
(t *testing.T, doFlush bool)
index/write_test.go:138
↓ 2 callers
Method
trigram
()
index/write.go:86
↓ 2 callers
Method
uncachedSuffix
(lo, hi byte, fold bool, next uint32)
regexp/utf.go:163
↓ 2 callers
Function
updatePagination
NB: Updates to this function must also be performed in static/instant.js.
cmd/dcs-web/serverrendered.go:64
↓ 2 callers
Function
v
(e)
static/url-search-params.min.js:2
↓ 2 callers
Function
verrevcmp
(a string, b string)
dpkgversion/dpkgversion.go:55
↓ 2 callers
Function
writeFromPointers
(queryid string, f io.Writer, pointers []resultPointer)
cmd/dcs-web/querymanager.go:621
↓ 2 callers
Function
writePerPkgResults
(queryid string, page int, results io.Writer, w http.ResponseWriter, r *http.Request)
cmd/dcs-web/results.go:46
↓ 2 callers
Method
writeTrigram
(t uint32)
index/write.go:558
↓ 2 callers
Function
yb
(a,b)
static/jquery.min.js:3
↓ 1 callers
Method
AddDefaultHeader
(key string, value string)
internal/openapiclient/configuration.go:71
↓ 1 callers
Method
AddPaths
AddPaths adds the given paths to the index's list of paths.
index/write.go:110
↓ 1 callers
Method
All
()
internal/index/read.go:55
↓ 1 callers
Function
B
(M,N)
static/highlightjs.min.js:1
↓ 1 callers
Function
Bc
(a,b,c,d)
static/jquery.min.js:4
↓ 1 callers
Function
Concat
src1 and src2 must not cover the same files. dst will contain an index that contains src1 and src2.
index/merge.go:236
↓ 1 callers
Function
ConcatN
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 callers
Function
Create
64 MB worth of post entries Create returns a new IndexWriter that will write the index to file.
index/write.go:70
↓ 1 callers
Function
DecUsers
()
internal/frequency/frequency.go:70
↓ 1 callers
Method
Descriptor
()
internal/proto/dcspb/dcs.pb.go:61
↓ 1 callers
Method
Descriptor
()
internal/proto/dcspb/dcs.pb.go:116
↓ 1 callers
Method
Descriptor
()
internal/proto/sourcebackendpb/sourcebackend.pb.go:54
↓ 1 callers
Method
Descriptor
Deprecated: Use Match.ProtoReflect.Descriptor instead.
internal/proto/sourcebackendpb/sourcebackend.pb.go:280
↓ 1 callers
Method
EventType
()
cmd/dcs-web/querymanager_events.go:30
↓ 1 callers
Method
Flush
()
internal/index/posrelwriter.go:56
↓ 1 callers
Function
G
(M,Q)
static/highlightjs.min.js:1
↓ 1 callers
Function
G
(a)
static/jquery.min.js:2
↓ 1 callers
Function
Gb
(a,b,c)
static/jquery.min.js:3
↓ 1 callers
Method
GetContext
()
internal/proto/sourcebackendpb/sourcebackend.pb.go:312
← previous
next →
301–400 of 1,028, ranked by callers