Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/flare
/ functions
Functions
4,521 in github.com/Tencent/flare
⨍
Functions
4,521
◇
Types & classes
1,233
↓ 310 callers
Method
size
flare/base/buffer.cc:35
↓ 297 callers
Method
get
flare/fiber/fiber_local.h:51
↓ 251 callers
Method
load
Loads from this atomic ref-ptr.
flare/base/ref_ptr.h:464
↓ 229 callers
Method
Append
flare/base/crypto/blake3.cc:64
↓ 219 callers
Method
push_back
flare/base/internal/singly_linked_list.h:234
↓ 209 callers
Method
end
flare/base/buffer/view.h:150
↓ 202 callers
Function
ReadSteadyClock
Originally bypassed `std::chrono::steady_clock::now()` for performance on CentOS6 where libstdc++ could fall back to a real `syscall` via `_GLIBCXX_US
flare/base/chrono.h:64
↓ 178 callers
Method
empty
flare/base/internal/hash_map.h:81
↓ 174 callers
Function
CreateBufferSlow
flare/base/buffer.cc:144
↓ 170 callers
Function
Format
flare/base/string.h:50
↓ 166 callers
Method
set_body
flare/net/cos/ops/task.cc:46
↓ 161 callers
Method
Get
flare/base/object_pool.h:278
↓ 157 callers
Method
find
flare/base/internal/hash_map.h:718
↓ 151 callers
Method
body
flare/rpc/protocol/http/message.h:67
↓ 150 callers
Method
size
flare/base/internal/hash_map.h:82
↓ 148 callers
Method
join
flare/fiber/fiber.cc:93
↓ 141 callers
Method
begin
flare/base/buffer/view.h:145
↓ 132 callers
Function
FlattenSlow
flare/base/buffer.cc:156
↓ 130 callers
Method
emplace_back
flare/base/object_pool/types.h:135
↓ 119 callers
Method
store
Stores to this atomic ref-ptr.
flare/base/ref_ptr.h:456
↓ 116 callers
Method
ToString
flare/base/status.cc:39
↓ 113 callers
Method
ByteSize
Total size of all buffers blocks.
flare/base/buffer.h:175
↓ 104 callers
Method
set_status
flare/net/http/http_response.h:37
↓ 103 callers
Function
cont
()
flare/rpc/protocol/http/builtin/resources/static/codemirror/mode/javascript/javascript.js:282
↓ 95 callers
Method
data
flare/base/buffer.cc:32
↓ 77 callers
Function
Random
flare/base/random.h:82
↓ 73 callers
Method
Get
Accessor.
flare/rpc/internal/stream_call_gate_pool.h:160
↓ 71 callers
Method
data
Accessor.
flare/base/buffer/polymorphic_buffer.h:107
↓ 66 callers
Method
Then
flare/base/future/future-impl.h:65
↓ 63 callers
Function
ReadTsc
flare/base/tsc.h:77
↓ 62 callers
Method
size
flare/net/http/query_string.h:68
↓ 61 callers
Function
cb
()
flare/rpc/protocol/http/builtin/resources/static/jquery-1.11.2.min.js:3
↓ 59 callers
Function
PickAvailableEndpoint
flare/testing/endpoint.cc:56
↓ 59 callers
Function
SleepFor
flare/fiber/this_fiber.h:45
↓ 59 callers
Function
elt
(tag, content, className, style)
flare/rpc/protocol/http/builtin/resources/static/codemirror/lib/codemirror.js:8373
↓ 56 callers
Method
DestructiveGet
flare/base/crypto/blake3.cc:79
↓ 56 callers
Function
getLine
(doc, n)
flare/rpc/protocol/http/builtin/resources/static/codemirror/lib/codemirror.js:7761
↓ 56 callers
Method
status
flare/net/internal/http_task.cc:197
↓ 55 callers
Function
ReadCoarseSteadyClock
This method is faster than `ReadSteadyClock`, but it only provide a precision in (several) milliseconds (deviates less than 10ms.). This clock is not
flare/base/chrono.h:79
↓ 54 callers
Function
m
(a,b)
flare/rpc/protocol/http/builtin/resources/static/jquery-1.11.2.min.js:2
↓ 53 callers
Function
EncodeHex
flare/base/encoding/hex.cc:25
↓ 53 callers
Function
EndpointFromIpv4
flare/base/net/endpoint.cc:139
↓ 52 callers
Method
ListenOn
flare/rpc/server.cc:204
↓ 52 callers
Method
headers
flare/rpc/protocol/http/message.h:63
↓ 50 callers
Function
BlockingGet
flare/fiber/future.h:30
↓ 50 callers
Method
Empty
Test if this is a default initialized (empty) one. FIXME: Use `operator bool()` instead? I don't think it's appropriate.
flare/base/net/endpoint.h:76
↓ 49 callers
Method
clear
flare/base/internal/hash_map.h:590
↓ 47 callers
Function
option
(name, deflt, handle, notOnInit)
flare/rpc/protocol/http/builtin/resources/static/codemirror/lib/codemirror.js:5345
↓ 46 callers
Function
clipPos
(doc, pos)
flare/rpc/protocol/http/builtin/resources/static/codemirror/lib/codemirror.js:2088
↓ 45 callers
Method
method
Accessors, they're mostly used by UTs.
flare/net/cos/ops/task.h:69
↓ 44 callers
Method
max
flare/base/thread/semaphore.h:39
↓ 43 callers
Method
AddProtocol
flare/rpc/server.cc:145
↓ 42 callers
Method
splice
flare/base/internal/singly_linked_list.h:245
↓ 41 callers
Method
Skip
flare/base/buffer/zero_copy_stream.cc:51
↓ 41 callers
Function
f
(f,g,h,i,k)
flare/rpc/protocol/http/builtin/resources/static/jquery-1.11.2.min.js:2
↓ 40 callers
Method
erase
flare/base/internal/hash_map.h:629
↓ 38 callers
Method
Append
flare/net/http/http_headers.cc:81
↓ 38 callers
Function
Split
flare/base/string.cc:154
↓ 38 callers
Function
StartsWith
flare/base/string.cc:111
↓ 38 callers
Method
headers
flare/net/http/http_message.h:34
↓ 37 callers
Function
GetCurrentFiberEntity
flare/fiber/detail/fiber_entity.cc:316
↓ 36 callers
Method
Failed
flare/rpc/protocol/protobuf/rpc_client_controller.cc:34
↓ 36 callers
Method
SetValue
flare/base/future/promise-impl.h:39
↓ 36 callers
Function
Trim
flare/base/string.cc:137
↓ 36 callers
Method
TryGet
flare/base/exposed_var.cc:156
↓ 36 callers
Function
underlying_value
flare/base/enum.h:25
↓ 35 callers
Method
Cut
Cut off first `bytes` bytes. That is, the first `bytes` bytes are removed from `*this` and returned to the caller. `bytes` could be larger than `First
flare/base/buffer.h:135
↓ 35 callers
Method
GetFuture
flare/base/future/promise-impl.h:33
↓ 35 callers
Function
Replace
flare/base/string.cc:120
↓ 35 callers
Method
Start
flare/rpc/server.cc:243
↓ 34 callers
Function
EndsWith
flare/base/string.cc:115
↓ 34 callers
Method
exchange
Exchanges with a (possibly) different ref-ptr.
flare/base/ref_ptr.h:473
↓ 33 callers
Method
AddHttpHandler
flare/rpc/server.cc:170
↓ 33 callers
Function
RunAsFiber
flare/fiber/fiber_test.cc:41
↓ 33 callers
Function
SetNonBlocking
flare/io/util/socket.cc:177
↓ 33 callers
Method
TryGet
flare/net/http/query_string.cc:24
↓ 33 callers
Method
body
If internally the body is stored as `NoncontiguousBuffer`, this method flattens it. After calling this method, `noncontiguous_body()` is no longer av
flare/net/http/http_message.h:41
↓ 33 callers
Method
contains
flare/base/internal/hash_map.h:734
↓ 33 callers
Method
count_down
flare/fiber/latch.cc:21
↓ 33 callers
Method
set_body
flare/net/http/http_message.h:48
↓ 33 callers
Function
size
flare/base/buffer.h:57
↓ 32 callers
Function
lst
(arr)
flare/rpc/protocol/http/builtin/resources/static/codemirror/lib/codemirror.js:8301
↓ 32 callers
Method
size
flare/base/buffer/view.h:82
↓ 31 callers
Method
Add
flare/base/monitoring.h:283
↓ 31 callers
Function
Join
flare/base/string.cc:186
↓ 31 callers
Method
body
flare/net/internal/http_task.cc:191
↓ 31 callers
Method
reset
flare/base/hazptr/hazptr.h:105
↓ 30 callers
Method
insert
insert one byte
flare/base/experimental/byte_set.h:55
↓ 29 callers
Method
Get
flare/net/http/http_client.cc:543
↓ 29 callers
Function
lineNo
(line)
flare/rpc/protocol/http/builtin/resources/static/codemirror/lib/codemirror.js:7803
↓ 29 callers
Function
pass
()
flare/rpc/protocol/http/builtin/resources/static/codemirror/mode/javascript/javascript.js:279
↓ 28 callers
Function
GetGlobalEventLoop
flare/io/event_loop.cc:304
↓ 28 callers
Function
ReadHeader
flare/rpc/protocol/http/buffer_io.cc:107
↓ 28 callers
Function
TryGet
flare/rpc/binlog/log_reader.cc:33
↓ 28 callers
Function
swap
flare/base/internal/singly_linked_list.h:345
↓ 28 callers
Method
wait
flare/fiber/latch.cc:39
↓ 27 callers
Method
AddService
flare/rpc/protocol/protobuf/service.cc:101
↓ 27 callers
Method
Close
flare/rpc/protocol/protobuf/rpc_controller_common_inl.h:63
↓ 27 callers
Method
Execute
flare/net/cos/cos_client.h:90
↓ 27 callers
Method
Read
flare/rpc/protocol/protobuf/rpc_controller_common_inl.h:154
next →
1–100 of 4,521, ranked by callers