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
↓ 3 callers
Method
empty
empty reports whether the postHeap is empty.
index/write.go:391
↓ 3 callers
Method
enc
enc encodes z as a string.
regexp/match.go:61
↓ 3 callers
Function
feed
feed uploads the file to the corresponding dcs-package-importer.
cmd/dcs-feeder/feeder.go:167
↓ 3 callers
Function
finishQuery
(queryid string)
cmd/dcs-web/querymanager.go:559
↓ 3 callers
Function
gb
()
static/jquery.min.js:2
↓ 3 callers
Function
getDefault
(searchparams, name, def)
static/instant.js:314
↓ 3 callers
Function
getEvent
(queryid string, lastseen int)
cmd/dcs-web/querymanager_events.go:98
↓ 3 callers
Method
init
(out *bufWriter)
index/merge.go:444
↓ 3 callers
Method
isSubsetOf
isSubsetOf returns true if all strings in s are also in t. It assumes both sets are sorted.
internal/index/regexp.go:857
↓ 3 callers
Method
isSubsetOf
isSubsetOf returns true if all strings in s are also in t. It assumes both sets are sorted.
index/regexp.go:857
↓ 3 callers
Function
isWordByte
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 callers
Function
launchInBackground
(binary string, args ...string)
internal/localdcs/localdcs.go:144
↓ 3 callers
Method
load
()
index/merge.go:349
↓ 3 callers
Function
loadPage
(nr)
static/instant.js:163
↓ 3 callers
Method
matchesWithBufferDirect
(t Trigram, buffers *bufferPair)
internal/index/read.go:420
↓ 3 callers
Method
metaEntry1
(dest *MetaEntry, trigram Trigram)
internal/index/read.go:186
↓ 3 callers
Method
metaEntryAt
(dest *MetaEntry, i int)
internal/index/read.go:203
↓ 3 callers
Function
newBufferPair
()
internal/index/read.go:93
↓ 3 callers
Function
newPosrelWriter
(w io.Writer)
internal/index/posrelwriter.go:17
↓ 3 callers
Function
noMatch
noMatch returns the regexpInfo describing a regexp that matches no strings at all.
internal/index/regexp.go:404
↓ 3 callers
Function
noMatch
noMatch returns the regexpInfo describing a regexp that matches no strings at all.
index/regexp.go:404
↓ 3 callers
Function
packageNames
()
cmd/dcs-package-importer/importer.go:216
↓ 3 callers
Method
postingList
(trigram uint32, restrict []uint32)
index/read.go:286
↓ 3 callers
Function
q
(w,y,u)
static/highlightjs.min.js:1
↓ 3 callers
Function
rb
(a,b,c)
static/jquery.min.js:2
↓ 3 callers
Method
readDocids
(t Trigram, restrict []uint32)
internal/index/query.go:139
↓ 3 callers
Function
s
(a)
static/jquery.min.js:2
↓ 3 callers
Function
sendProgressUpdate
(stream sourcebackendpb.SourceBackend_SearchServer, connMu *sync.Mutex, filesProcessed, filesTotal int)
internal/sourcebackend/sourcebackend.go:168
↓ 3 callers
Method
size
size returns the number of strings in s.
internal/index/regexp.go:794
↓ 3 callers
Function
tc
(a,b)
static/jquery.min.js:4
↓ 3 callers
Function
writeResults
(queryid string, page int, results io.Writer, w http.ResponseWriter, r *http.Request)
cmd/dcs-web/results.go:24
↓ 3 callers
Function
x
(D,C)
static/highlightjs.min.js:1
↓ 2 callers
Function
A
(O,r)
static/highlightjs.min.js:1
↓ 2 callers
Method
AddDir
(dir string, trimPrefix string, ignored IgnoreFunc, ef ErrFunc, sf SuccessFunc)
internal/index/write.go:93
↓ 2 callers
Method
AddFile
(fn, name string)
internal/index/write.go:156
↓ 2 callers
Method
CloseAndRecv
()
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:57
↓ 2 callers
Function
D
(a,b)
static/jquery.min.js:2
↓ 2 callers
Method
DataBytes
(t Trigram)
internal/index/read.go:356
↓ 2 callers
Method
Descriptor
Deprecated: Use Error.ProtoReflect.Descriptor instead.
internal/proto/dcspb/dcs.pb.go:234
↓ 2 callers
Function
Fb
(a,b)
static/jquery.min.js:3
↓ 2 callers
Method
File
(name string)
regexp/match.go:375
↓ 2 callers
Function
FiveLines
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 callers
Method
GetAPIKey
()
internal/apikeys/apikeys.go:111
↓ 2 callers
Method
GetApikey
()
internal/proto/dcspb/dcs.pb.go:190
↓ 2 callers
Method
GetContent
()
internal/proto/packageimporterpb/packageimporter.pb.go:166
↓ 2 callers
Method
GetLiteral
()
internal/proto/dcspb/dcs.pb.go:183
↓ 2 callers
Method
GetSourcePackage
()
internal/proto/packageimporterpb/packageimporter.pb.go:103
↓ 2 callers
Function
Hb
(a,b,c,d,e)
static/jquery.min.js:3
↓ 2 callers
Function
Ib
(a,b,c)
static/jquery.min.js:3
↓ 2 callers
Function
Init
()
internal/filter/filter.go:47
↓ 2 callers
Function
Jb
(a,b)
static/jquery.min.js:3
↓ 2 callers
Function
Kc
(a)
static/jquery.min.js:4
↓ 2 callers
Method
KeyFilename
()
internal/apikeys/apikeys.go:118
↓ 2 callers
Method
Len
()
index/concatn.go:24
↓ 2 callers
Method
Len
()
index/regexp.go:746
↓ 2 callers
Method
Match
(b []byte, beginText, endText bool)
regexp/regexp.go:53
↓ 2 callers
Function
NewDCSClient
(cc grpc.ClientConnInterface)
internal/proto/dcspb/dcs_grpc.pb.go:30
↓ 2 callers
Function
NewDeltaReader
()
internal/index/read.go:276
↓ 2 callers
Function
NewPackageImporterClient
(cc grpc.ClientConnInterface)
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:33
↓ 2 callers
Function
NewQueryStr
(query string)
ranking/querystr.go:17
↓ 2 callers
Function
P
(a,b,c)
static/jquery.min.js:2
↓ 2 callers
Function
P4dec256v32
(input []byte, output []uint32)
internal/turbopfor/turbopfor.go:146
↓ 2 callers
Function
P4dec32
(input []byte, output []uint32)
internal/turbopfor/turbopfor.go:125
↓ 2 callers
Function
P4enc256v32
len(input) % 32 must be 0 (pad with 0x00 if necessary).
internal/turbopfor/turbopfor.go:86
↓ 2 callers
Function
P4nenc256v32Buf
len(input) % 32 must be 0 (pad with 0x00 if necessary).
internal/turbopfor/turbopfor.go:94
↓ 2 callers
Method
Paths
Paths returns the list of indexed paths.
index/read.go:151
↓ 2 callers
Function
PostRank
(opts RankingOpts, match *regexp.Match, querystr *QueryStr)
ranking/post-ranking.go:28
↓ 2 callers
Method
PostingAnd
(list []uint32, trigram uint32)
index/read.go:292
↓ 2 callers
Method
PostingOr
(list []uint32, trigram uint32)
index/read.go:302
↓ 2 callers
Method
PostingQuery
(q *Query)
index/read.go:312
↓ 2 callers
Method
Push
(v any)
index/concatn.go:33
↓ 2 callers
Function
RegisterSourceBackendServer
(s grpc.ServiceRegistrar, srv SourceBackendServer)
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:126
↓ 2 callers
Method
Results
(ctx context.Context, in *ResultsRequest, opts ...grpc.CallOption)
internal/proto/dcspb/dcs_grpc.pb.go:23
↓ 2 callers
Function
Sb
()
static/jquery.min.js:3
↓ 2 callers
Method
Search
Search performs the given query and streams matches/progress updates.
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:24
↓ 2 callers
Function
WriteMatchJSON
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 callers
Function
_
()
static/jquery.min.js:3
↓ 2 callers
Method
addBranch
(pc uint32)
regexp/utf.go:192
↓ 2 callers
Method
addMem
(x []postEntry)
index/write.go:359
↓ 2 callers
Method
addName
addName adds the file with the given name to the index. It returns the assigned file ID number.
index/write.go:254
↓ 2 callers
Function
addSuffixesForFiletype
(suffixes *map[string]float32, filetype string)
ranking/opts.go:59
↓ 2 callers
Method
and
and returns the query q AND r, possibly reusing q's and r's storage.
internal/index/regexp.go:42
↓ 2 callers
Method
and
and returns the query q AND r, possibly reusing q's and r's storage.
index/regexp.go:42
↓ 2 callers
Method
andOr
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 callers
Method
andOr
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 callers
Function
anyChar
anyChar returns the regexpInfo describing a regexp that matches any single character.
internal/index/regexp.go:394
↓ 2 callers
Function
anyChar
anyChar returns the regexpInfo describing a regexp that matches any single character.
index/regexp.go:394
↓ 2 callers
Function
anyMatch
anyMatch returns the regexpInfo describing a regexp that matches any string.
internal/index/regexp.go:383
↓ 2 callers
Function
anyMatch
anyMatch returns the regexpInfo describing a regexp that matches any string.
index/regexp.go:383
↓ 2 callers
Function
appendFoldedRange
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 callers
Function
asciiFold
(r rune)
regexp/utf.go:110
↓ 2 callers
Function
bindAnimationEvent
(element, name, cb)
static/instant.js:572
↓ 2 callers
Function
bitgetx16
internal/turbopfor/bitpack.h:212
↓ 2 callers
Function
bitgetx32
internal/turbopfor/bitpack.h:203
↓ 2 callers
Function
bitgetx8
like bitgetx32 but for 16 bits integer array
internal/turbopfor/bitpack.h:210
↓ 2 callers
Function
buildFlushIndex
(out string, paths []string, doFlush bool, fileData map[string]string)
index/write_test.go:117
↓ 2 callers
Function
c
(r)
static/highlightjs.min.js:1
↓ 2 callers
Method
callAPI
callAPI do the request.
internal/openapiclient/client.go:148
↓ 2 callers
Method
common
(w http.ResponseWriter, r *http.Request, writeResults func(io.Writer, queryState) error)
cmd/dcs-web/api.go:217
↓ 2 callers
Function
contains
contains is a case insenstive match, finding needle in a haystack
internal/openapiclient/client.go:102
← previous
next →
201–300 of 1,028, ranked by callers