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
↓ 6 callers
Method
clean
clean removes duplicates from the stringSet.
index/regexp.go:776
↓ 6 callers
Function
createIndex
(t *testing.T, sourceDir, indexDir string)
internal/index/concatn_test.go:29
↓ 6 callers
Function
t
(D)
static/highlightjs.min.js:1
↓ 6 callers
Method
uint32
uint32 returns the uint32 value at the given offset in the index data.
index/read.go:137
↓ 6 callers
Function
x
(a,b,c)
static/jquery.min.js:2
↓ 5 callers
Function
DialTLS
(addr, certFile, keyFile string, opts ...grpc.DialOption)
grpcutil/grpcutil.go:49
↓ 5 callers
Function
K
(r,M)
static/highlightjs.min.js:1
↓ 5 callers
Function
Open
(path string)
internal/mmap/mmap.go:16
↓ 5 callers
Method
Rank
(opts *RankingOpts)
ranking/pre-ranking.go:54
↓ 5 callers
Method
Reader
(r io.Reader, name string)
regexp/match.go:421
↓ 5 callers
Method
SecureCookie
()
internal/apikeys/apikeys.go:92
↓ 5 callers
Method
String
()
regexp/match.go:56
↓ 5 callers
Function
addEventMarshal
Like addEvent, but marshals data using encoding/json.
cmd/dcs-web/querymanager_events.go:64
↓ 5 callers
Method
addq
addq adds id to the queue, expanding according to flag.
regexp/match.go:189
↓ 5 callers
Function
analyze
analyze returns the regexpInfo for the regexp re.
internal/index/regexp.go:421
↓ 5 callers
Function
analyze
analyze returns the regexpInfo for the regexp re.
index/regexp.go:421
↓ 5 callers
Function
emptyString
emptyString returns the regexpInfo describing a regexp that matches only the empty string.
internal/index/regexp.go:412
↓ 5 callers
Function
emptyString
emptyString returns the regexpInfo describing a regexp that matches only the empty string.
index/regexp.go:412
↓ 5 callers
Function
f
(r,q,p)
static/highlightjs.min.js:1
↓ 5 callers
Function
jb
(a,b)
static/jquery.min.js:2
↓ 5 callers
Function
maybeStartQuery
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 callers
Method
metaEntry
(trigram Trigram)
internal/index/read.go:161
↓ 5 callers
Method
minLen
minLen returns the length of the shortest string in s.
internal/index/regexp.go:799
↓ 5 callers
Method
minLen
minLen returns the length of the shortest string in s.
index/regexp.go:799
↓ 5 callers
Function
newCountingWriter
(f *os.File)
internal/index/write.go:30
↓ 5 callers
Function
sb
(a)
static/jquery.min.js:2
↓ 5 callers
Method
size
size returns the number of strings in s.
index/regexp.go:794
↓ 5 callers
Function
validateQuery
(query string)
cmd/dcs-web/dcs-web.go:98
↓ 5 callers
Function
wb
(a)
static/jquery.min.js:2
↓ 5 callers
Function
writeFiles
(t *testing.T, dir string, files map[string]string)
internal/index/concatn_test.go:15
↓ 5 callers
Function
xb
(a,b)
static/jquery.min.js:2
↓ 4 callers
Function
Create
(dir string)
internal/index/write.go:67
↓ 4 callers
Function
DecodingSize
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 callers
Function
FilterByKeywords
(rewritten *url.URL, files []ranking.ResultPath)
internal/sourcebackend/sourcebackend.go:28
↓ 4 callers
Method
GetData
()
internal/proto/dcspb/dcs.pb.go:423
↓ 4 callers
Method
Len
()
internal/index/regexp.go:746
↓ 4 callers
Method
Merge
(ctx context.Context, in *MergeRequest, opts ...grpc.CallOption)
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:25
↓ 4 callers
Method
Offset
()
internal/index/pforwriter.go:28
↓ 4 callers
Function
RegexpQuery
RegexpQuery returns a Query for the given regexp.
internal/index/regexp.go:334
↓ 4 callers
Function
RewriteQuery
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 callers
Function
S
(a,b)
static/jquery.min.js:3
↓ 4 callers
Method
String
()
internal/openapiclient/configuration.go:23
↓ 4 callers
Function
Tb
(a,b)
static/jquery.min.js:3
↓ 4 callers
Method
addExact
addExact adds to the match query the trigrams for matching info.exact.
internal/index/regexp.go:627
↓ 4 callers
Method
addExact
addExact adds to the match query the trigrams for matching info.exact.
index/regexp.go:627
↓ 4 callers
Method
computeNext
computeNext computes the next DFA state if we're in d reading c (an input byte or endText).
regexp/match.go:211
↓ 4 callers
Function
countNL
(b []byte)
regexp/match.go:387
↓ 4 callers
Method
cross
cross returns the cross product of s and t.
internal/index/regexp.go:834
↓ 4 callers
Method
cross
cross returns the cross product of s and t.
index/regexp.go:834
↓ 4 callers
Function
ctou16
internal/turbopfor/conf.h:175
↓ 4 callers
Function
ctou64
internal/turbopfor/conf.h:189
↓ 4 callers
Method
decode
(v any, b []byte, contentType string)
internal/openapiclient/client.go:313
↓ 4 callers
Function
fb
(a,b,d,e)
static/jquery.min.js:2
↓ 4 callers
Method
init
(ix *Index, idmap []idrange)
index/merge.go:337
↓ 4 callers
Method
init
(ix *Index, trigram uint32, restrict []uint32)
index/read.go:235
↓ 4 callers
Function
loadPerPkgPage
(nr, preload)
static/instant.js:202
↓ 4 callers
Function
mb
(a)
static/jquery.min.js:2
↓ 4 callers
Function
newPForReader
(dir, section string)
internal/index/read.go:111
↓ 4 callers
Function
newPForWriter
(dir, typ string)
internal/index/pforwriter.go:17
↓ 4 callers
Method
numResults
()
cmd/dcs-web/querymanager.go:170
↓ 4 callers
Function
o
()
static/highlightjs.min.js:1
↓ 4 callers
Function
parameterToString
parameterToString convert interface{} parameters to string, using a delimiter if format is provided.
internal/openapiclient/client.go:126
↓ 4 callers
Function
qb
(a)
static/jquery.min.js:2
↓ 4 callers
Function
searchIndex
(t *testing.T, indexDir string, query string)
internal/index/concatn_test.go:70
↓ 4 callers
Method
simplify
simplify simplifies the regexpInfo when the exact set gets too large.
internal/index/regexp.go:634
↓ 4 callers
Method
simplify
simplify simplifies the regexpInfo when the exact set gets too large.
index/regexp.go:634
↓ 4 callers
Function
startJsonResponse
(w http.ResponseWriter)
cmd/dcs-web/results.go:12
↓ 4 callers
Function
tb
(a,b,c)
static/jquery.min.js:2
↓ 4 callers
Function
ub
(a,b,c,d,e)
static/jquery.min.js:2
↓ 4 callers
Function
updatePagination
(currentpage, resultpages, perpackage)
static/instant.js:273
↓ 4 callers
Method
write
(x []byte)
index/write.go:494
↓ 4 callers
Method
writeUvarint
(x uint32)
index/write.go:572
↓ 3 callers
Method
Data
Streams returns a reader for the specified trigram data.
internal/index/read.go:218
↓ 3 callers
Method
Deltas
(t Trigram)
internal/index/read.go:259
↓ 3 callers
Method
File
File reads the file and returns its contents.
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:22
↓ 3 callers
Method
GarbageCollect
(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption)
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:26
↓ 3 callers
Method
GetQueryId
()
internal/proto/dcspb/dcs.pb.go:295
↓ 3 callers
Method
GetUserInfo
()
internal/apikeys/apikeys.go:104
↓ 3 callers
Method
Import
(ctx context.Context, opts ...grpc.CallOption)
internal/proto/packageimporterpb/packageimporter_grpc.pb.go:24
↓ 3 callers
Function
ListenAndServeTLS
(addr, certFile, keyFile string, register func(s *grpc.Server))
grpcutil/grpcutil.go:74
↓ 3 callers
Method
MetaEntry
(trigram Trigram)
internal/index/read.go:212
↓ 3 callers
Function
NewSourceBackendClient
(cc grpc.ClientConnInterface)
internal/proto/sourcebackendpb/sourcebackend_grpc.pb.go:35
↓ 3 callers
Function
P4nenc256v32
len(input) % 32 must be 0 (pad with 0x00 if necessary).
internal/turbopfor/turbopfor.go:102
↓ 3 callers
Method
Packages
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 callers
Method
QueryPositional
(query string)
internal/index/read.go:527
↓ 3 callers
Function
RankingOptsFromQuery
(query url.Values)
ranking/opts.go:118
↓ 3 callers
Method
ReplaceIndex
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 callers
Function
Start
(args ...string)
internal/localdcs/localdcs.go:292
↓ 3 callers
Function
TaskIdxForPackage
(pkg string, tasks int)
shardmapping/shardmapping.go:11
↓ 3 callers
Function
addEvent
(queryid string, data []byte, origdata any)
cmd/dcs-web/querymanager_events.go:40
↓ 3 callers
Method
addRange
(lo, hi rune, fold bool)
regexp/utf.go:213
↓ 3 callers
Function
addSearchResult
(results, result)
static/instant.js:125
↓ 3 callers
Method
andTrigrams
andTrigrams returns q AND the OR of the AND of the trigrams present in each string.
internal/index/regexp.go:261
↓ 3 callers
Method
andTrigrams
andTrigrams returns q AND the OR of the AND of the trigrams present in each string.
index/regexp.go:261
↓ 3 callers
Function
bug
()
regexp/regexp.go:11
↓ 3 callers
Method
cache
(z *nstate)
regexp/match.go:267
↓ 3 callers
Function
changeGrouping
()
static/instant.js:491
↓ 3 callers
Function
cisalpha
(r rune)
dpkgversion/dpkgversion.go:35
↓ 3 callers
Function
d
(D,E)
static/highlightjs.min.js:1
↓ 3 callers
Function
e
(e)
static/url-search-params.min.js:2
← previous
next →
101–200 of 1,028, ranked by callers