Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ functions
Functions
9,470 in github.com/apache/brpc
⨍
Functions
9,470
◇
Types & classes
2,508
↓ 851 callers
Method
c_str
src/brpc/redis_reply.h:260
↓ 747 callers
Method
size
test/file_util_unittest.cc:237
↓ 650 callers
Method
push_back
src/butil/iobuf.cpp:1052
↓ 488 callers
Method
size
src/brpc/redis_reply.h:299
↓ 464 callers
Method
append
src/brpc/couchbase.cpp:2352
↓ 442 callers
Method
SetFailed
src/brpc/stream.cpp:734
↓ 426 callers
Method
Failed
src/brpc/controller.cpp:388
↓ 424 callers
Method
get
src/brpc/ts.cpp:227
↓ 423 callers
Method
append
src/butil/iobuf.cpp:1029
↓ 418 callers
Method
size
src/brpc/builtin/tabbed.h:43
↓ 392 callers
Method
load
src/bthread/task_group.cpp:87
↓ 353 callers
Method
length
src/butil/iobuf_inl.h:144
↓ 351 callers
Method
end
src/brpc/amf.h:223
↓ 324 callers
Method
empty
src/butil/iobuf_inl.h:140
↓ 315 callers
Method
ErrorText
src/brpc/controller.cpp:392
↓ 274 callers
Method
begin
src/brpc/amf.h:221
↓ 259 callers
Method
Init
test/bthread_cond_unittest.cpp:423
↓ 238 callers
Method
Append
test/brpc_channel_unittest.cpp:143
↓ 224 callers
Method
clear
src/brpc/policy/dh.cpp:27
↓ 224 callers
Method
clear
src/butil/arena.cpp:60
↓ 220 callers
Method
empty
True if no closure inside.
src/brpc/closure_guard.h:59
↓ 218 callers
Function
cpuwide_time_us
src/butil/time.h:321
↓ 217 callers
Function
bthread_usleep
src/bthread/bthread.cpp:558
↓ 212 callers
Method
data
src/brpc/redis_reply.h:273
↓ 204 callers
Method
empty
True if no bits any more.
src/brpc/details/rtmp_utils.h:35
↓ 200 callers
Function
PathExists
src/butil/file_util_posix.cc:347
↓ 196 callers
Method
find
tools/trackme_server/trackme_server.cpp:247
↓ 195 callers
Method
ErrorCode
Last error code. Equals 0 iff Failed() is false. If there's retry, latter code overwrites former one.
src/brpc/controller.h:553
↓ 194 callers
Method
fetch_add
src/butil/atomicops.h:304
↓ 184 callers
Method
Start
src/brpc/server.cpp:1248
↓ 177 callers
Method
data
test/bvar_multi_dimension_unittest.cpp:516
↓ 177 callers
Method
value
test/callback_list_unittest.cc:94
↓ 172 callers
Method
start
tools/rpc_press/info_thread.cpp:102
↓ 171 callers
Method
remote_side
src/brpc/rtmp.cpp:1606
↓ 171 callers
Method
stop
tools/rpc_press/info_thread.cpp:118
↓ 159 callers
Method
seek
src/butil/containers/flat_map_inl.h:548
↓ 158 callers
Method
CallMethod
test/brpc_channel_unittest.cpp:354
↓ 156 callers
Method
insert
src/butil/containers/flat_map_inl.h:370
↓ 153 callers
Function
bthread_join
src/bthread/bthread.cpp:408
↓ 147 callers
Function
SafeSPrintf
src/butil/strings/safe_sprintf.h:210
↓ 147 callers
Method
message
definitely NULL when result is failed.
src/brpc/parse_result.h:68
↓ 146 callers
Function
berror
src/butil/errno.cpp:73
↓ 145 callers
Method
reserve
src/butil/iobuf.cpp:1212
↓ 143 callers
Function
string_printf
src/butil/string_printf.cpp:80
↓ 136 callers
Method
AddCommand
src/brpc/redis.cpp:92
↓ 133 callers
Method
AddService
src/brpc/server.cpp:1600
↓ 133 callers
Function
MakeParseError
Wrap ParseError/message into ParseResult. You can also call ctor of ParseError directly.
src/brpc/parse_result.h:78
↓ 132 callers
Method
field
src/butil/string_splitter_inl.h:82
↓ 127 callers
Method
n_elapsed
Get the elapse from start() to stop(), in various units.
src/butil/time.h:410
↓ 127 callers
Function
snprintf
src/butil/strings/string_util.h:56
↓ 122 callers
Method
get_value
src/bvar/gflag.cpp:56
↓ 120 callers
Method
c_str
src/butil/endpoint.h:54
↓ 119 callers
Function
ASCIIToUTF16
src/butil/strings/utf_string_conversions.cc:180
↓ 119 callers
Method
type
src/brpc/span.h:172
↓ 118 callers
Method
find
src/butil/containers/small_map.h:386
↓ 117 callers
Method
store
MUST have extras. MUST have key. MAY have value. Extra data for set/add/replace: Byte/ 0 | 1 | 2 | 3 | /
src/brpc/couchbase.cpp:1094
↓ 116 callers
Method
resize
src/butil/iobuf.cpp:1158
↓ 115 callers
Method
reset
test/thread_collision_warner_unittest.cc:51
↓ 114 callers
Method
erase
src/butil/containers/flat_map_inl.h:387
↓ 112 callers
Method
value
Cast from the node-type to the value type.
src/butil/containers/linked_list.h:146
↓ 108 callers
Method
GetQuery
Get the value of a CASE-SENSITIVE key. Returns pointer to the value, NULL when the key does not exist.
src/brpc/uri.h:107
↓ 108 callers
Function
str2endpoint
src/butil/endpoint.cpp:267
↓ 106 callers
Method
GetHeader
src/brpc/http_header.cpp:57
↓ 105 callers
Function
bthread_start_background
src/bthread/bthread.cpp:344
↓ 104 callers
Method
cutn
src/brpc/amf_inl.h:27
↓ 104 callers
Method
reset
src/brpc/socket.h:193
↓ 103 callers
Method
size
src/butil/iobuf.h:350
↓ 100 callers
Method
Reset
test/callback_unittest.cc:155
↓ 100 callers
Method
substr
substr.
src/butil/strings/string_piece.h:376
↓ 100 callers
Method
to_string
src/brpc/restful.cpp:49
↓ 98 callers
Method
size
src/butil/strings/string_piece.h:209
↓ 97 callers
Method
end
src/butil/containers/flat_map_inl.h:826
↓ 97 callers
Method
pop_front
src/butil/iobuf.cpp:635
↓ 95 callers
Function
bthread_start_urgent
src/bthread/bthread.cpp:330
↓ 95 callers
Method
name
src/butil/files/dir_reader_unix.h:67
↓ 93 callers
Method
call_id
src/brpc/controller.cpp:1336
↓ 92 callers
Method
swap
src/brpc/couchbase.cpp:644
↓ 87 callers
Method
set_content_type
src/brpc/http_header.h:73
↓ 86 callers
Function
EnsureString
src/butil/strings/string_util.h:263
↓ 86 callers
Method
GetDescriptor
src/brpc/baidu_master_service.h:77
↓ 85 callers
Method
fd
src/butil/rand_util_posix.cc:29
↓ 85 callers
Method
options
tools/rpc_press/rpc_press_impl.h:113
↓ 82 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
src/butil/strings/string_piece.h:208
↓ 81 callers
Method
buf
src/butil/iobuf.h:675
↓ 80 callers
Method
Print
src/brpc/uri.cpp:299
↓ 77 callers
Method
description
src/brpc/versioned_ref_with_id.h:616
↓ 75 callers
Method
set_method
src/brpc/http_header.h:131
↓ 74 callers
Method
Join
NOTE: Join() can happen before Stop().
src/brpc/server.cpp:1305
↓ 73 callers
Method
Write
src/brpc/ts.cpp:1084
↓ 72 callers
Method
Clear
src/brpc/uri.cpp:39
↓ 72 callers
Method
begin
src/butil/containers/flat_map_inl.h:819
↓ 71 callers
Method
back
src/butil/memory/scoped_vector.h:68
↓ 68 callers
Function
ProtoMessageToJson
src/json2pb/pb_to_json.cpp:378
↓ 67 callers
Method
GetNext
src/butil/observer_list.h:96
↓ 65 callers
Method
reply_size
Number of replies in this response. (May have more than one reply due to pipeline)
src/brpc/redis.h:148
↓ 64 callers
Function
CreateDirectory
src/butil/file_util.cc:186
↓ 64 callers
Method
SetHeader
src/brpc/http_header.cpp:84
↓ 64 callers
Method
compare
src/butil/strings/string_piece.h:252
↓ 63 callers
Method
release
src/brpc/details/server_private_accessor.h:117
↓ 61 callers
Function
JsonToProtoMessage
src/json2pb/json_to_pb.cpp:662
next →
1–100 of 9,470, ranked by callers