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
↓ 69 callers
Method
push
(ch *postChunk)
index/write.go:425
↓ 66 callers
Method
Name
Name returns the name corresponding to the given fileid.
index/read.go:181
↓ 64 callers
Method
Get
(s string)
stringpool/stringpool.go:21
↓ 60 callers
Function
$
()
static/jquery.min.js:3
↓ 58 callers
Method
String
()
index/regexp.go:284
↓ 56 callers
Method
Error
Error returns non-empty string if there was an error.
internal/openapiclient/client.go:463
↓ 54 callers
Method
Write
(p []byte)
internal/index/write.go:47
↓ 53 callers
Method
slice
slice returns the slice of index data starting at the given byte offset. If n >= 0, the slice must have length at least n and is truncated to length n
index/read.go:125
↓ 50 callers
Function
Compare
Compare compares the two provided Debian versions. It returns 0 if a and b are equal, a value < 0 if a is smaller than b and a value > 0 if a is great
dpkgversion/dpkgversion.go:108
↓ 44 callers
Function
n
(a,b)
static/jquery.min.js:2
↓ 40 callers
Method
Close
()
cmd/dcs-web/api.go:132
↓ 38 callers
Method
offset
offset returns the current write offset.
index/write.go:530
↓ 36 callers
Function
u32
(x uint32)
index/write_test.go:91
↓ 32 callers
Function
v
Abbreviation for creating a new Version object.
dpkgversion/dpkgversion_test.go:8
↓ 31 callers
Function
Parse
Parse returns a Version struct filled with the epoch, version and revision specified in input. It verifies the version string as a whole, just like dp
dpkgversion/dpkgversion.go:127
↓ 29 callers
Method
writeUint32
(x uint32)
index/write.go:565
↓ 28 callers
Method
Add
Add adds the file f to the index under the given name. It logs errors using package log.
index/write.go:128
↓ 27 callers
Method
writeString
(s string)
index/write.go:515
↓ 26 callers
Method
Close
()
internal/index/read.go:675
↓ 18 callers
Function
bw
(b *bytes.Buffer, args ...string)
regexp/copy.go:156
↓ 17 callers
Method
Flush
()
internal/index/write.go:267
↓ 17 callers
Method
Marshal
(b []byte)
internal/index/types.go:27
↓ 17 callers
Function
ob
(a)
static/jquery.min.js:2
↓ 16 callers
Function
Open
(file string)
index/read.go:98
↓ 16 callers
Method
Unmarshal
(b []byte)
internal/index/types.go:21
↓ 16 callers
Function
m
(p)
static/highlightjs.min.js:1
↓ 16 callers
Method
match
(b []byte, beginText, endText bool)
regexp/match.go:281
↓ 15 callers
Method
Close
()
internal/mmap/mmap.go:44
↓ 15 callers
Method
Close
()
internal/index/write.go:37
↓ 15 callers
Function
b
(c,e)
static/jquery.min.js:2
↓ 14 callers
Method
have
have reports whether we have a stringSet.
internal/index/regexp.go:735
↓ 14 callers
Method
have
have reports whether we have a stringSet.
index/regexp.go:735
↓ 14 callers
Function
u32
(i uint32)
regexp/copy.go:178
↓ 13 callers
Function
Compile
Compile parses a regular expression and returns, if successful, a Regexp object that can be used to match against lines of text.
regexp/regexp.go:30
↓ 13 callers
Method
Decode
(apikey string)
internal/apikeys/apikeys.go:27
↓ 13 callers
Method
String
()
internal/index/regexp.go:284
↓ 13 callers
Method
WriteByte
(bits byte, n int)
internal/index/posrelwriter.go:21
↓ 13 callers
Function
rewrite
(t *testing.T, urlstr string)
cmd/dcs-web/search/query-rewrite_test.go:9
↓ 13 callers
Function
tri
(x, y, z byte)
index/read_test.go:19
↓ 13 callers
Function
usage
(fset *flag.FlagSet, help string)
cmd/dcs/dcs.go:46
↓ 12 callers
Method
Match
(path *string)
ranking/querystr.go:31
↓ 12 callers
Method
Read
Read returns up to 256 uint32 deltas. When all deltas have been read, Read returns nil. The first Read call after Reset returns a non-nil result.
internal/index/read.go:294
↓ 12 callers
Function
fileList
(list ...uint32)
index/write_test.go:100
↓ 12 callers
Method
flush
()
index/write.go:539
↓ 11 callers
Function
bufCreate
bufCreate creates a new file with the given name and returns a corresponding bufWriter. If name is empty, bufCreate uses a temporary file.
index/write.go:474
↓ 11 callers
Method
contains
contains reports whether s contains str.
index/regexp.go:740
↓ 11 callers
Function
e
(a,b)
static/jquery.min.js:4
↓ 11 callers
Function
g
()
static/jquery.min.js:3
↓ 11 callers
Function
h
(a,b,c)
static/jquery.min.js:2
↓ 11 callers
Function
ib
(a)
static/jquery.min.js:2
↓ 11 callers
Method
merge
(srcdir string)
internal/index/merge.go:71
↓ 11 callers
Method
union
union returns the union of s and t, reusing s's storage.
internal/index/regexp.go:827
↓ 11 callers
Method
union
union returns the union of s and t, reusing s's storage.
index/regexp.go:827
↓ 10 callers
Function
J
(N,r)
static/highlightjs.min.js:1
↓ 10 callers
Function
Open
(dir string)
internal/index/read.go:385
↓ 10 callers
Function
Read
()
internal/version/version.go:21
↓ 10 callers
Method
Reset
Reset positions the reader on a posting list.
internal/index/read.go:283
↓ 10 callers
Method
Search
(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption)
internal/proto/dcspb/dcs_grpc.pb.go:22
↓ 10 callers
Function
a
(s)
static/highlightjs.min.js:1
↓ 10 callers
Function
error
(fatal, permanent, unique_id, message)
static/instant.js:24
↓ 10 callers
Function
hb
(a)
static/jquery.min.js:2
↓ 10 callers
Method
nextId
()
index/merge.go:366
↓ 9 callers
Method
PostingList
(trigram uint32)
index/read.go:282
↓ 9 callers
Method
Recv
()
internal/proto/dcspb/dcs_grpc.pb.go:50
↓ 9 callers
Function
cisdigit
(r rune)
dpkgversion/dpkgversion.go:31
↓ 9 callers
Function
copyFile
(dst, src *bufWriter)
index/write.go:244
↓ 9 callers
Function
d
(a)
static/jquery.min.js:3
↓ 9 callers
Function
equalList
(x, y []uint32)
index/read_test.go:49
↓ 9 callers
Function
file_sourcebackend_proto_rawDescGZIP
()
internal/proto/sourcebackendpb/sourcebackend.pb.go:642
↓ 9 callers
Method
fileid
(id uint32)
index/merge.go:457
↓ 9 callers
Function
nb
(a)
static/jquery.min.js:2
↓ 9 callers
Method
nextTrigram
()
index/merge.go:344
↓ 9 callers
Function
progress
(percentage, temporary, text)
static/instant.js:48
↓ 8 callers
Function
ConcatN
(destdir string, srcdirs []string)
internal/index/merge.go:152
↓ 8 callers
Function
EncodingSize
Corresponding to p4nbound256v32: #define VP4BOUND(_n_, _esize_, _csize_) ((_esize_*_n_) + ((_n_+_csize_-1)/_csize_)) size_t p4nbound256v32(size_t n)
internal/turbopfor/turbopfor.go:50
↓ 8 callers
Method
Lookup
(docid uint32)
internal/index/read.go:59
↓ 8 callers
Function
boolFromQuery
TODO: parse floats which specify the weight of each ranking
ranking/opts.go:50
↓ 8 callers
Function
buildIndex
(name string, paths []string, fileData map[string]string)
index/write_test.go:134
↓ 8 callers
Function
corrupt
(file string)
index/read.go:434
↓ 8 callers
Function
f
(f,g,h,i,k)
static/jquery.min.js:2
↓ 8 callers
Function
file_dcs_proto_rawDescGZIP
()
internal/proto/dcspb/dcs.pb.go:617
↓ 8 callers
Function
file_packageimporter_proto_rawDescGZIP
()
internal/proto/packageimporterpb/packageimporter.pb.go:432
↓ 8 callers
Function
maybeAppendContext
(context []string, line string)
cmd/dcs-web/serverrendered.go:40
↓ 8 callers
Function
pageUrl
(page, perpackage)
static/instant.js:256
↓ 8 callers
Function
result
(docid uint32, filename string, pos uint32)
internal/index/concatn_test.go:62
↓ 7 callers
Method
PutUint32
(u uint32)
internal/index/pforwriter.go:44
↓ 7 callers
Method
Send
(*Event)
internal/proto/dcspb/dcs_grpc.pb.go:139
↓ 7 callers
Method
add
add adds str to the set.
internal/index/regexp.go:771
↓ 7 callers
Method
add
add adds the chunk to the postHeap. All adds must be called before the first call to next.
index/write.go:382
↓ 7 callers
Method
add
add adds str to the set.
index/regexp.go:771
↓ 7 callers
Function
c
(a)
static/jquery.min.js:3
↓ 7 callers
Method
endTrigram
()
index/merge.go:466
↓ 7 callers
Method
max
()
index/read.go:248
↓ 7 callers
Method
pop
()
index/write.go:414
↓ 7 callers
Method
trigram
(t uint32)
index/merge.go:450
↓ 6 callers
Method
Close
()
index/read.go:116
↓ 6 callers
Method
Flush
Flush flushes the index entry to the target file.
index/write.go:208
↓ 6 callers
Method
MatchString
(s string, beginText, endText bool)
regexp/regexp.go:57
↓ 6 callers
Function
appendRange
appendRange returns the result of appending the range lo-hi to the class r.
regexp/copy.go:52
↓ 6 callers
Method
clean
clean removes duplicates from the stringSet.
internal/index/regexp.go:776
next →
1–100 of 1,028, ranked by callers