MCPcopy Create free account

hub / github.com/834810071/muduo_study / functions

Functions847 in github.com/834810071/muduo_study

↓ 91 callersMethodc_str
base/StringPiece.h:63
↓ 66 callersMethodsize
base/StringPiece.h:97
↓ 58 callersFunctiontid
在c/c++中,为了解决一些频繁调用的小函数大量消耗栈空间(栈内存)的问题, 特别的引入了inline修饰符,表示为内联函数。
base/CurrentThread.h:34
↓ 33 callersMethodend
返回尾指针
base/LogStream.h:106
↓ 31 callersMethodrunAfter
reactor/EventLoop.cpp:144
↓ 30 callersMethodfd
reactor/Socket.h:30
↓ 26 callersMethodappend
base/LogFile.cpp:32
↓ 25 callersMethodloop
主要功能是运行事件循环EventLoop::loop()
reactor/EventLoop.cpp:79
↓ 21 callersMethodassertInLoopThread
reactor/Poller.h:42
↓ 20 callersMethodbegin
reactor/Buffer.h:198
↓ 18 callersMethodempty
base/StringPiece.h:98
↓ 18 callersMethodget
base/Atomic.h:27
↓ 18 callersMethodstart
base/Thread.cpp:177
↓ 17 callersMethodjoin
base/Thread.cpp:198
↓ 15 callersMethodquit
reactor/EventLoop.cpp:115
↓ 14 callersMethodmicroSecondsSinceEpoch
for internal usage.
base/Timestamp.h:47
↓ 14 callersMethodreadableBytes
reactor/Buffer.h:43
↓ 14 callersMethodtoHostPort
reactor/SocketsOps.cpp:162
↓ 14 callersMethodtoString
base/Timestamp.cpp:17
↓ 13 callersMethodrunInLoop
reactor/EventLoop.cpp:178
↓ 13 callersFunctiontimeDifference
返回时间戳之差 秒为单位
base/Timestamp.h:87
↓ 12 callersMethodstart
reactor/Connector.cpp:32
↓ 12 callersMethodwait
base/CountDownLatch.cpp:18
↓ 11 callersMethodjulianDayNumber
base/Date.h:81
↓ 11 callersMethodtoFormattedString
base/Timestamp.cpp:26
↓ 10 callersMethodnotify
base/Condition.h:37
↓ 10 callersMethodreset
重置,不清数据,只需让cur指回首地址
base/LogStream.h:74
↓ 10 callersMethodrun
base/tests/BlockingQueue_test.cpp:38
↓ 10 callersMethodsend
reactor/TcpConnection.cpp:183
↓ 10 callersMethodsetConnectionCallback
Set connection callback. Not thread safe.
reactor/TcpClient.h:43
↓ 10 callersMethodsetMessageCallback
Set message callback. Not thread safe.
reactor/TcpClient.h:48
↓ 9 callersFunctionmemZero
base/Types.h:20
↓ 9 callersMethodqueueInLoop
reactor/EventLoop.cpp:156
↓ 8 callersMethodclear
base/StringPiece.h:102
↓ 8 callersMethodconnected
reactor/TcpConnection.h:63
↓ 8 callersMethoddata
base/LogStream.h:236
↓ 8 callersMethodgetHeader
http/HttpRequest.h:155
↓ 8 callersMethodreadInt32
base/TimeZone.cpp:145
↓ 7 callersMethodappend
base/LogStream.h:198
↓ 7 callersMethodsetReadCallback
reactor/Channel.h:34
↓ 6 callersFunctionaddTime
base/Timestamp.h:93
↓ 6 callersFunctionbench
base/tests/Logging_test.cpp:30
↓ 6 callersMethodenableReading
reactor/Channel.h:71
↓ 6 callersMethodevents
reactor/Channel.h:58
↓ 6 callersFunctionget_pointer
net/Callbacks.h:21
↓ 6 callersMethodisWriting
reactor/Channel.h:92
↓ 6 callersMethodlength
base/LogStream.h:240
↓ 6 callersMethodput
base/BlockingQueue.h:25
↓ 6 callersMethodreset
reactor/TimerQueue.cpp:185
↓ 6 callersMethodsetNewConnectionCallback
reactor/Acceptor.h:32
↓ 6 callersMethodwhat
base/Exception.h:20
↓ 5 callersMethodavail
返回剩余可用地址
base/LogStream.h:64
↓ 5 callersMethodgotAll
http/HttpContext.h:50
↓ 5 callersMethodincrementAndGet
base/Atomic.h:42
↓ 5 callersMethodindex
for Poller
reactor/Channel.h:97
↓ 5 callersMethodparseRequest
解析请求 return false if any error
http/HttpContext.cc:67
↓ 5 callersMethodpeek
reactor/Buffer.h:58
↓ 5 callersMethodrunEvery
reactor/EventLoop.cpp:150
↓ 5 callersMethodsetStatusCode
http/HttpResponse.h:47
↓ 5 callersMethodsetStatusMessage
http/HttpResponse.h:50
↓ 5 callersMethodsetWriteCompleteCallback
Set write complete callback. Not thread safe.
reactor/TcpClient.h:53
↓ 5 callersMethodset_index
reactor/Channel.h:101
↓ 5 callersMethodshutdown
reactor/TcpConnection.cpp:157
↓ 5 callersFunctionstackTrace
base/CurrentThread.cpp:22
↓ 5 callersFunctionstrerror_tl
base/Logging.cpp:22
↓ 5 callersFunctiontest
base/tests/ThreadPool_test.cpp:27
↓ 5 callersFunctiontest
base/tests/TimeZone_unittest.cpp:55
↓ 5 callersMethodtoIsoString
base/Date.cpp:63
↓ 5 callersMethodvalid
base/Date.h:50
↓ 4 callersMethodadd
base/Atomic.h:52
↓ 4 callersMethodaddAndGet
base/Atomic.h:37
↓ 4 callersMethodassertInLoopThread
net/Poller.h:55
↓ 4 callersMethodbegin
base/StringPiece.h:99
↓ 4 callersMethodbzero
清零
base/LogStream.h:79
↓ 4 callersMethodcountDown
base/CountDownLatch.cpp:27
↓ 4 callersMethodcurrent
write to data_ directly 返回当前数据末端地址
base/LogStream.h:59
↓ 4 callersMethodexpiration
net/Timer.h:42
↓ 4 callersMethodexpiration
reactor/Timer.h:37
↓ 4 callersMethodflush
base/LogFile.cpp:44
↓ 4 callersMethodfull
base/BoundedBlockingQueue.h:73
↓ 4 callersMethodgetVersion
http/HttpRequest.h:52
↓ 4 callersMethodisNoneEvent
reactor/Channel.h:66
↓ 4 callersFunctionname
base/CurrentThread.h:53
↓ 4 callersMethodretrieveAsString
reactor/Buffer.h:78
↓ 4 callersMethodsequence
net/Timer.h:44
↓ 4 callersMethodsequence
reactor/Timer.h:47
↓ 4 callersMethodsetName
base/tests/ThreadLocal_test.cpp:30
↓ 4 callersFunctionsetNonBlockAndCloseOnExec
net/SocketsOps.cc:32
↓ 4 callersMethodstartLoop
* 线程池所在线程在每创建一个EventLoopThread后会调用相应对象的startLoop函数,注意主线程和子线程之分 * 主线程是TcpServer所在线程,也是线程池所在线程 * 子线程是由线程池通过pthread_create创建的线程,每一个子线程运行一个EventLoop::lo
reactor/EventLoopThread.cpp:53
↓ 4 callersMethodtake
base/ThreadPool.cpp:97
↓ 3 callersMethodaddHeader
http/HttpRequest.h:137
↓ 3 callersMethodappend
reactor/Buffer.h:98
↓ 3 callersMethodcancel
reactor/EventLoop.cpp:227
↓ 3 callersMethoddisableAll
reactor/Channel.h:86
↓ 3 callersMethodenableWriting
reactor/Channel.h:76
↓ 3 callersMethodgetAndAdd
base/Atomic.h:32
↓ 3 callersFunctiongetJulianDayNumber
algorithm and explanation see: http://www.faqs.org/faqs/calendars/faq/part2/ http://blog.csdn.net/Solstice
base/Date.cpp:17
↓ 3 callersMethodgetLoop
reactor/TcpServer.h:37
↓ 3 callersMethodgetPthreadMutex
book_study/Chapter02/Mutex.h:52
↓ 3 callersFunctiongetTm
base/tests/TimeZone_unittest.cpp:13
next →1–100 of 847, ranked by callers