Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ functions
Functions
2,320 in github.com/chen3feng/toft
⨍
Functions
2,320
◇
Types & classes
510
↓ 528 callers
Function
GuessStringSize
base/string/append_1.h:141
↓ 206 callers
Method
size
base/intrusive_list.h:216
↓ 111 callers
Method
data
data() may return a pointer to a buffer with embedded NULs, and the returned buffer may or may not be null terminated. Therefore it is typically a mi
base/string/string_piece.h:100
↓ 101 callers
Function
StringPrint
base/string/format/print.cpp:30
↓ 98 callers
Method
get
base/scoped_ptr.h:120
↓ 93 callers
Method
push_back
base/intrusive_list.h:255
↓ 92 callers
Method
find
base/string/string_piece.cpp:103
↓ 89 callers
Method
Run
base/closure.h:5365
↓ 84 callers
Method
reset
Reset. Deletes the current owned object, if any. Then takes ownership of a new object, if given. this->reset(this->get()) works.
base/scoped_ptr.h:102
↓ 74 callers
Method
empty
base/intrusive_list.h:210
↓ 69 callers
Function
StringAppend
base/string/concat.h:29
↓ 69 callers
Method
size
base/string/string_piece.h:101
↓ 59 callers
Method
begin
net/uri/uri.cpp:167
↓ 57 callers
Function
StringScan
base/string/format/scan.cpp:17
↓ 57 callers
Method
end
net/uri/uri.cpp:171
↓ 55 callers
Method
clear
base/intrusive_list.h:280
↓ 51 callers
Method
rfind
base/string/string_piece.cpp:123
↓ 50 callers
Function
NewClosure
base/closure.h:160
↓ 50 callers
Method
ToString
system/net/ip_address.h:165
↓ 46 callers
Function
NewPermanentClosure
base/closure.h:167
↓ 46 callers
Method
clear
base/string/string_piece.h:105
↓ 42 callers
Function
FormatMeasure
base/string/number.cpp:906
↓ 40 callers
Function
IntegerToString
----------------------------------------------------- interface for int to string or buffer Make sure the buffer is big enough -----------------------
base/string/number.cpp:742
↓ 38 callers
Method
as_string
base/string/string_piece.h:159
↓ 38 callers
Method
assign
base/string/string_piece.h:125
↓ 37 callers
Method
substr
base/string/string_piece.cpp:274
↓ 36 callers
Method
find_last_not_of
base/string/string_piece.cpp:237
↓ 35 callers
Method
length
net/uri/uri.cpp:175
↓ 34 callers
Method
find_last_of
base/string/string_piece.cpp:218
↓ 31 callers
Function
StringToNumber
base/string/number.h:69
↓ 29 callers
Method
find_first_not_of
base/string/string_piece.cpp:184
↓ 27 callers
Method
length
base/string/string_piece.h:102
↓ 25 callers
Function
OutputIntegerAsString
base/string/number.cpp:550
↓ 25 callers
Method
find_first_of
base/string/string_piece.cpp:165
↓ 25 callers
Method
resize
base/string/string_piece.h:142
↓ 25 callers
Method
set_path
storage/sstable/types.h:36
↓ 22 callers
Method
AddTask
system/threading/thread_pool.cpp:102
↓ 22 callers
Method
Get
net/http/client.cpp:479
↓ 20 callers
Method
end
base/intrusive_list.h:220
↓ 19 callers
Method
HasHeader
net/http/message.cpp:131
↓ 19 callers
Function
StringVPrintAppend
base/string/format/vprint.cpp:109
↓ 19 callers
Method
Tell
storage/file/mock_file.cpp:40
↓ 19 callers
Method
TryWait
system/threading/event.cpp:48
↓ 18 callers
Method
Parse
net/uri/uri.cpp:805
↓ 18 callers
Method
ToString
net/uri/uri.cpp:862
↓ 18 callers
Method
set_compress_type
storage/sstable/hfile/file_trailer.h:70
↓ 17 callers
Method
Put
container/lru_cache.h:126
↓ 17 callers
Function
StringVPrint
base/string/format/vprint.cpp:125
↓ 17 callers
Function
StringVPrintTo
base/string/format/vprint.cpp:118
↓ 17 callers
Method
key
storage/sstable/reader/sstable_reader_iterator.cpp:17
↓ 16 callers
Function
StringConcat
base/string/concat.h:1860
↓ 16 callers
Function
StringVScan
base/string/format/vscan.cpp:18
↓ 16 callers
Method
Valid
storage/sstable/reader/sstable_reader_iterator.cpp:25
↓ 16 callers
Method
WriteString
base/string/format/print_target.h:22
↓ 16 callers
Method
begin
base/intrusive_list.h:218
↓ 16 callers
Method
end
base/string/string_piece.h:179
↓ 15 callers
Method
SetHeader
Set a header field. if it exists, overwrite the header value.
net/http/message.cpp:108
↓ 15 callers
Function
TestSSTableWriter
storage/sstable/test/sstable_writer_test.cpp:95
↓ 15 callers
Function
swap
net/uri/uri.h:324
↓ 15 callers
Method
value
storage/sstable/reader/sstable_reader_iterator.cpp:21
↓ 14 callers
Method
Add
net/uri/query_params.cpp:148
↓ 14 callers
Method
Address
system/net/socket_address.h:65
↓ 14 callers
Method
Close
storage/file/mock_file.cpp:32
↓ 14 callers
Method
Join
system/threading/thread.cpp:115
↓ 14 callers
Method
Valid
container/skiplist.h:231
↓ 13 callers
Method
Create
system/net/socket.cpp:46
↓ 13 callers
Function
FormatBinaryMeasure
base/string/number.cpp:923
↓ 13 callers
Method
GetOrDefault
container/lru_cache.h:116
↓ 13 callers
Method
MicroSeconds
system/time/clock.cpp:42
↓ 13 callers
Function
PutFixed32
storage/sstable/hfile/coding.cpp:41
↓ 13 callers
Method
SetAt
Set a bit at specified index
container/bitmap.h:166
↓ 13 callers
Method
empty
base/string/string_piece.h:103
↓ 12 callers
Function
GenKey
storage/sstable/test/test_util.h:18
↓ 12 callers
Method
GetValue
Usually get value is only used for debug propose, be careful your design if you need it.
system/threading/semaphore.h:86
↓ 12 callers
Method
Next
container/skiplist.h:242
↓ 12 callers
Method
Parse
net/http/headers.cpp:140
↓ 12 callers
Method
Parse
system/net/socket_address.h:89
↓ 12 callers
Method
SpecifierMatch
base/string/format/specification.h:35
↓ 12 callers
Function
StringTrim
base/string/algorithm.h:222
↓ 12 callers
Method
WriteChars
base/string/format/print_target.h:17
↓ 12 callers
Method
begin
base/string/string_piece.h:178
↓ 12 callers
Method
ends_with
Does "this" end with "x"
base/string/string_piece.cpp:92
↓ 12 callers
Method
erase
base/intrusive_list.h:271
↓ 12 callers
Method
get
Get stored pointer
base/unique_ptr.h:203
↓ 12 callers
Method
path
storage/sstable/types.h:39
↓ 12 callers
Method
starts_with
Does "this" start with "x"
base/string/string_piece.cpp:87
↓ 11 callers
Method
AddMetaData
storage/sstable/writer/single_sstable_writer.cpp:38
↓ 11 callers
Method
AllAreClearInRange
Are all bits clear in the range of bitmap?
container/bitmap.h:211
↓ 11 callers
Function
GenValue
storage/sstable/test/test_util.h:30
↓ 11 callers
Function
ReadInt32
storage/sstable/hfile/coding.cpp:53
↓ 11 callers
Method
Seek
storage/sstable/reader/merged_sstable_reader.cpp:302
↓ 11 callers
Method
SendAll
system/net/socket.cpp:550
↓ 11 callers
Function
StringStartsWith
base/string/algorithm.h:41
↓ 11 callers
Method
ThreadRange
base/benchmark.h:42
↓ 11 callers
Method
swap
Swap two scoped pointers.
base/scoped_ptr.h:129
↓ 10 callers
Method
AddOrDie
storage/sstable/writer/base_sstable_writer.cpp:28
↓ 10 callers
Method
Compare
system/net/socket_address.cpp:125
↓ 10 callers
Method
Connect
system/net/socket.cpp:232
↓ 10 callers
Method
Flush
storage/sstable/writer/single_sstable_writer.cpp:47
↓ 10 callers
Method
HasQuery
Query
net/uri/uri.h:210
next →
1–100 of 2,320, ranked by callers