Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/834810071/muduo_study
/ functions
Functions
847 in github.com/834810071/muduo_study
⨍
Functions
847
◇
Types & classes
200
↓ 91 callers
Method
c_str
base/StringPiece.h:63
↓ 66 callers
Method
size
base/StringPiece.h:97
↓ 58 callers
Function
tid
在c/c++中,为了解决一些频繁调用的小函数大量消耗栈空间(栈内存)的问题, 特别的引入了inline修饰符,表示为内联函数。
base/CurrentThread.h:34
↓ 33 callers
Method
end
返回尾指针
base/LogStream.h:106
↓ 31 callers
Method
runAfter
reactor/EventLoop.cpp:144
↓ 30 callers
Method
fd
reactor/Socket.h:30
↓ 26 callers
Method
append
base/LogFile.cpp:32
↓ 25 callers
Method
loop
主要功能是运行事件循环EventLoop::loop()
reactor/EventLoop.cpp:79
↓ 21 callers
Method
assertInLoopThread
reactor/Poller.h:42
↓ 20 callers
Method
begin
reactor/Buffer.h:198
↓ 18 callers
Method
empty
base/StringPiece.h:98
↓ 18 callers
Method
get
base/Atomic.h:27
↓ 18 callers
Method
start
base/Thread.cpp:177
↓ 17 callers
Method
join
base/Thread.cpp:198
↓ 15 callers
Method
quit
reactor/EventLoop.cpp:115
↓ 14 callers
Method
microSecondsSinceEpoch
for internal usage.
base/Timestamp.h:47
↓ 14 callers
Method
readableBytes
reactor/Buffer.h:43
↓ 14 callers
Method
toHostPort
reactor/SocketsOps.cpp:162
↓ 14 callers
Method
toString
base/Timestamp.cpp:17
↓ 13 callers
Method
runInLoop
reactor/EventLoop.cpp:178
↓ 13 callers
Function
timeDifference
返回时间戳之差 秒为单位
base/Timestamp.h:87
↓ 12 callers
Method
start
reactor/Connector.cpp:32
↓ 12 callers
Method
wait
base/CountDownLatch.cpp:18
↓ 11 callers
Method
julianDayNumber
base/Date.h:81
↓ 11 callers
Method
toFormattedString
base/Timestamp.cpp:26
↓ 10 callers
Method
notify
base/Condition.h:37
↓ 10 callers
Method
reset
重置,不清数据,只需让cur指回首地址
base/LogStream.h:74
↓ 10 callers
Method
run
base/tests/BlockingQueue_test.cpp:38
↓ 10 callers
Method
send
reactor/TcpConnection.cpp:183
↓ 10 callers
Method
setConnectionCallback
Set connection callback. Not thread safe.
reactor/TcpClient.h:43
↓ 10 callers
Method
setMessageCallback
Set message callback. Not thread safe.
reactor/TcpClient.h:48
↓ 9 callers
Function
memZero
base/Types.h:20
↓ 9 callers
Method
queueInLoop
reactor/EventLoop.cpp:156
↓ 8 callers
Method
clear
base/StringPiece.h:102
↓ 8 callers
Method
connected
reactor/TcpConnection.h:63
↓ 8 callers
Method
data
base/LogStream.h:236
↓ 8 callers
Method
getHeader
http/HttpRequest.h:155
↓ 8 callers
Method
readInt32
base/TimeZone.cpp:145
↓ 7 callers
Method
append
base/LogStream.h:198
↓ 7 callers
Method
setReadCallback
reactor/Channel.h:34
↓ 6 callers
Function
addTime
base/Timestamp.h:93
↓ 6 callers
Function
bench
base/tests/Logging_test.cpp:30
↓ 6 callers
Method
enableReading
reactor/Channel.h:71
↓ 6 callers
Method
events
reactor/Channel.h:58
↓ 6 callers
Function
get_pointer
net/Callbacks.h:21
↓ 6 callers
Method
isWriting
reactor/Channel.h:92
↓ 6 callers
Method
length
base/LogStream.h:240
↓ 6 callers
Method
put
base/BlockingQueue.h:25
↓ 6 callers
Method
reset
reactor/TimerQueue.cpp:185
↓ 6 callers
Method
setNewConnectionCallback
reactor/Acceptor.h:32
↓ 6 callers
Method
what
base/Exception.h:20
↓ 5 callers
Method
avail
返回剩余可用地址
base/LogStream.h:64
↓ 5 callers
Method
gotAll
http/HttpContext.h:50
↓ 5 callers
Method
incrementAndGet
base/Atomic.h:42
↓ 5 callers
Method
index
for Poller
reactor/Channel.h:97
↓ 5 callers
Method
parseRequest
解析请求 return false if any error
http/HttpContext.cc:67
↓ 5 callers
Method
peek
reactor/Buffer.h:58
↓ 5 callers
Method
runEvery
reactor/EventLoop.cpp:150
↓ 5 callers
Method
setStatusCode
http/HttpResponse.h:47
↓ 5 callers
Method
setStatusMessage
http/HttpResponse.h:50
↓ 5 callers
Method
setWriteCompleteCallback
Set write complete callback. Not thread safe.
reactor/TcpClient.h:53
↓ 5 callers
Method
set_index
reactor/Channel.h:101
↓ 5 callers
Method
shutdown
reactor/TcpConnection.cpp:157
↓ 5 callers
Function
stackTrace
base/CurrentThread.cpp:22
↓ 5 callers
Function
strerror_tl
base/Logging.cpp:22
↓ 5 callers
Function
test
base/tests/ThreadPool_test.cpp:27
↓ 5 callers
Function
test
base/tests/TimeZone_unittest.cpp:55
↓ 5 callers
Method
toIsoString
base/Date.cpp:63
↓ 5 callers
Method
valid
base/Date.h:50
↓ 4 callers
Method
add
base/Atomic.h:52
↓ 4 callers
Method
addAndGet
base/Atomic.h:37
↓ 4 callers
Method
assertInLoopThread
net/Poller.h:55
↓ 4 callers
Method
begin
base/StringPiece.h:99
↓ 4 callers
Method
bzero
清零
base/LogStream.h:79
↓ 4 callers
Method
countDown
base/CountDownLatch.cpp:27
↓ 4 callers
Method
current
write to data_ directly 返回当前数据末端地址
base/LogStream.h:59
↓ 4 callers
Method
expiration
net/Timer.h:42
↓ 4 callers
Method
expiration
reactor/Timer.h:37
↓ 4 callers
Method
flush
base/LogFile.cpp:44
↓ 4 callers
Method
full
base/BoundedBlockingQueue.h:73
↓ 4 callers
Method
getVersion
http/HttpRequest.h:52
↓ 4 callers
Method
isNoneEvent
reactor/Channel.h:66
↓ 4 callers
Function
name
base/CurrentThread.h:53
↓ 4 callers
Method
retrieveAsString
reactor/Buffer.h:78
↓ 4 callers
Method
sequence
net/Timer.h:44
↓ 4 callers
Method
sequence
reactor/Timer.h:47
↓ 4 callers
Method
setName
base/tests/ThreadLocal_test.cpp:30
↓ 4 callers
Function
setNonBlockAndCloseOnExec
net/SocketsOps.cc:32
↓ 4 callers
Method
startLoop
* 线程池所在线程在每创建一个EventLoopThread后会调用相应对象的startLoop函数,注意主线程和子线程之分 * 主线程是TcpServer所在线程,也是线程池所在线程 * 子线程是由线程池通过pthread_create创建的线程,每一个子线程运行一个EventLoop::lo
reactor/EventLoopThread.cpp:53
↓ 4 callers
Method
take
base/ThreadPool.cpp:97
↓ 3 callers
Method
addHeader
http/HttpRequest.h:137
↓ 3 callers
Method
append
reactor/Buffer.h:98
↓ 3 callers
Method
cancel
reactor/EventLoop.cpp:227
↓ 3 callers
Method
disableAll
reactor/Channel.h:86
↓ 3 callers
Method
enableWriting
reactor/Channel.h:76
↓ 3 callers
Method
getAndAdd
base/Atomic.h:32
↓ 3 callers
Function
getJulianDayNumber
algorithm and explanation see: http://www.faqs.org/faqs/calendars/faq/part2/ http://blog.csdn.net/Solstice
base/Date.cpp:17
↓ 3 callers
Method
getLoop
reactor/TcpServer.h:37
↓ 3 callers
Method
getPthreadMutex
book_study/Chapter02/Mutex.h:52
↓ 3 callers
Function
getTm
base/tests/TimeZone_unittest.cpp:13
next →
1–100 of 847, ranked by callers