MCPcopy Create free account

hub / github.com/apache/brpc / functions

Functions9,470 in github.com/apache/brpc

↓ 61 callersMethodassign
src/butil/single_iobuf.cpp:206
↓ 61 callersMethodok
Returns true iff the status indicates success.
src/butil/status.h:87
↓ 59 callersMethodfetch_sub
src/butil/atomicops.h:305
↓ 58 callersFunctionIsAskedToQuit
src/brpc/controller.cpp:1663
↓ 58 callersFunctionVerifyPathControlledByUser
src/butil/file_util_posix.cc:759
↓ 58 callersMethodlength
src/butil/strings/string_piece.h:210
↓ 58 callersMethodmove_to
src/brpc/builtin/vars_service.cpp:297
↓ 57 callersMethodunlock
src/brpc/couchbase.h:88
↓ 56 callersFunctioncpuwide_time_ns
--------------------------------------------------------------- Get cpu-wide (wall-) time. Cost ~9ns on Intel(R) Xeon(R) CPU E5620 @ 2.40GHz ---------
src/butil/time.h:281
↓ 56 callersMethodload
NOTE: the memory_order parameters must be present.
src/butil/atomicops.h:293
↓ 56 callersMethodrfind
rfind: Reverse find.
src/butil/strings/string_piece.h:329
↓ 55 callersMethodCallMethod
src/brpc/channel.cpp:446
↓ 54 callersMethodset_bad
If the error prevents parsing from going on, call this method. This method is also called in other functions in this class.
src/mcpack2pb/parser.h:77
↓ 53 callersFunctionbthread_id_join
src/bthread/id.cpp:513
↓ 53 callersMethodexpose
Expose this variable globally so that it's counted in following functions: list_exposed count_exposed describe_exposed find_exposed Return 0 on succes
src/bvar/variable.h:149
↓ 52 callersMethodbegin
src/butil/strings/string_piece.h:274
↓ 51 callersFunctionTruncated
Helper used to test TruncateUTF8ToByteSize.
test/string_util_unittest.cc:57
↓ 51 callersMethodend
src/butil/strings/string_piece.h:275
↓ 51 callersMethodresponse
Response of the RPC call (passed to CallMethod)
src/brpc/controller.h:222
↓ 50 callersMethodNext
src/butil/iobuf.cpp:1826
↓ 50 callersMethodStop
src/brpc/server.cpp:1286
↓ 50 callersFunctiongettimeofday_us
-------------------------------------------------------------------- Get elapse since the Epoch. No gettimeofday_ns() because resolution of timeval is
src/butil/time.h:338
↓ 50 callersMethodmethod
Get the called method. May-be NULL for non-pb services.
src/brpc/controller.h:294
↓ 49 callersMethodunlock
src/bthread/mutex.cpp:1155
↓ 48 callersFunctionAssertIOAllowed
src/butil/threading/thread_restrictions.h:170
↓ 48 callersFunctionSafeSNPrintf
src/butil/strings/safe_sprintf.h:196
↓ 47 callersMethodIsValid
test/file_util_unittest.cc:148
↓ 47 callersMethodexpose_as
Expose this variable with a prefix. Example: namespace foo { namespace bar { class ApplePie { ApplePie() { // foo_bar_apple_pie_error _error.expose_as
src/bvar/variable.h:169
↓ 47 callersMethodlatency_us
This function has different meanings in client and server side. In client side it gets latency of the RPC call. While in server side, it gets queue ti
src/brpc/controller.h:214
↓ 47 callersMethodset_status_code
src/brpc/http_header.cpp:122
↓ 46 callersMethodInit
example/rdma_performance/client.cpp:103
↓ 46 callersMethodexchange
src/bthread/task_group_inl.h:49
↓ 46 callersFunctionpthread_mutex_unlock
src/bthread/mutex.cpp:1324
↓ 45 callersFunctionCreateTextFile
Simple function to dump some text into a new file.
test/file_util_unittest.cc:246
↓ 45 callersMethodcopy_to
src/butil/iobuf.cpp:1295
↓ 45 callersMethoderror_code
src/brpc/span.h:174
↓ 45 callersMethodfind_last_of
find_last_of: Find the last occurence of one of a set of characters.
src/butil/strings/string_piece.h:356
↓ 45 callersMethodpop_back
src/butil/iobuf.cpp:676
↓ 45 callersMethodsize
src/mcpack2pb/parser.h:106
↓ 44 callersFunctionDeleteFile
TODO(erikkay): The Windows version of this accepts paths like "foo/bar/*" which works both with and without the recursive flag. I'm not sure we need
src/butil/file_util_posix.cc:199
↓ 44 callersMethodRead
src/brpc/rtmp.cpp:228
↓ 44 callersFunctionendpoint2str
src/butil/endpoint.cpp:168
↓ 44 callersMethodformat
Override Layout::format to have shorter prefixes. Patterns are just ignored.
src/butil/comlog_sink.cc:57
↓ 44 callersMethodget
src/butil/thread_key.h:172
↓ 44 callersMethodstatus_code
Get/set status-code and reason-phrase. Notice that the const char returned by reason_phrase() will be invalidated after next call to set_status_code()
src/brpc/http_header.h:136
↓ 43 callersMethodHasFile
Returns true if the enumerator found the file.
test/file_util_unittest.cc:233
↓ 43 callersFunctionto_str
test/iobuf_unittest.cpp:134
↓ 42 callersFunctionIsStringUTF8
src/butil/strings/string_util.cc:362
↓ 42 callersMethodempty
True if there's no samples.
src/bvar/detail/percentile.h:238
↓ 42 callersMethodempty
src/butil/containers/flat_map.h:274
↓ 42 callersFunctionget
src/butil/object_pool_inl.h:225
↓ 42 callersMethodinit
tools/rpc_press/rpc_press_impl.cpp:58
↓ 42 callersMethodlog_id
src/brpc/span.h:167
↓ 42 callersMethodset_log_id
src/brpc/span.h:125
↓ 42 callersFunctionswap
src/brpc/uri.h:270
↓ 42 callersMethodtoken
src/butil/strings/string_tokenizer.h:149
↓ 41 callersMethodkey
src/brpc/uri.h:222
↓ 41 callersMethodlife_cycle_state
test/scoped_vector_unittest.cc:84
↓ 40 callersFunctionHostToNet32
src/butil/sys_byteorder.h:124
↓ 40 callersMethodModify
src/butil/containers/doubly_buffered_data.h:514
↓ 40 callersFunctionbit_array_set
Set i-th bit (from left, counting from 0) of |array| to be 1
src/butil/bit_array.h:56
↓ 40 callersFunctionfast_rand_less_than
src/butil/fast_rand.cpp:100
↓ 40 callersFunctionmove
src/butil/unique_ptr.h:76
↓ 40 callersMethodreceived_us
src/brpc/nshead_service.h:53
↓ 40 callersMethodsub
src/brpc/controller.cpp:1392
↓ 39 callersMethodAddChannel
src/brpc/parallel_channel.cpp:469
↓ 39 callersFunctionMakeH2Error
src/brpc/policy/http2_rpc_protocol.h:60
↓ 39 callersMethod_ref_num
src/butil/iobuf_inl.h:153
↓ 39 callersMethodfind_first_of
find_first_of: Find the first occurence of one of a set of characters.
src/butil/strings/string_piece.h:338
↓ 39 callersMethodget_stats
src/bvar/multi_dimension.h:117
↓ 39 callersFunctionpthread_mutex_lock
src/bthread/mutex.cpp:1309
↓ 39 callersMethodu_elapsed
src/butil/time.h:411
↓ 38 callersFunctionDoNothing
src/brpc/controller.cpp:1675
↓ 38 callersMethodcontent_str
src/butil/logging.h:976
↓ 38 callersMethodfind_last_not_of
find_last_not_of: Find the last occurence not of a set of characters.
src/butil/strings/string_piece.h:366
↓ 38 callersMethodstore
src/bthread/task_group.cpp:107
↓ 37 callersFunctionJoin
src/brpc/controller.cpp:593
↓ 37 callersMethodvalue
src/brpc/uri.h:223
↓ 36 callersMethodAddSample
src/brpc/policy/auto_concurrency_limiter.cpp:155
↓ 36 callersMethodas_string
src/butil/strings/string_piece.h:262
↓ 36 callersFunctionbthread_id_unlock_and_destroy
src/bthread/id.cpp:609
↓ 36 callersMethodcompare_exchange_strong
src/butil/atomicops.h:300
↓ 36 callersMethodfname
Get name of the temporary file.
src/butil/files/temp_file.h:62
↓ 35 callersFunctionWriteAMFString
src/brpc/amf.cpp:944
↓ 35 callersMethodcapacity
src/butil/iobuf.h:103
↓ 35 callersMethoddefault_method
test/brpc_mongo_protocol_unittest.cpp:52
↓ 35 callersMethodid
src/brpc/versioned_ref_with_id.h:264
↓ 35 callersMethodsub_count
src/brpc/controller.cpp:1384
↓ 34 callersFunctionWriteBigEndian4Bytes
src/brpc/policy/rtmp_protocol.h:618
↓ 34 callersMethoderror_cstr
Return a string representation of the status. Returns "OK" for success. NOTICE: You can print a Status to std::ostream directly if message contains '\
src/butil/status.h:99
↓ 34 callersMethodm_elapsed
src/butil/time.h:412
↓ 34 callersFunctionmin_width
src/brpc/builtin/common.h:134
↓ 34 callersMethodresize
src/brpc/builtin/tabbed.h:45
↓ 33 callersMethodEcho
test/brpc_rdma_unittest.cpp:91
↓ 33 callersFunctionPrintToStderr
src/butil/debug/stack_trace_posix.cc:204
↓ 33 callersFunctionbthread_mutex_unlock
src/bthread/mutex.cpp:1254
↓ 33 callersMethodcount
src/butil/containers/small_map.h:534
↓ 33 callersMethodends_with
Does "this" end with "x"
src/butil/strings/string_piece.h:313
↓ 33 callersMethodfind_first_not_of
find_first_not_of: Find the first occurence not of a set of characters.
src/butil/strings/string_piece.h:347
↓ 33 callersMethodstarts_with
Does "this" start with "x"
src/butil/strings/string_piece.h:307
← previousnext →101–200 of 9,470, ranked by callers