MCPcopy Create free account

hub / github.com/834810071/muduo_study / functions

Functions847 in github.com/834810071/muduo_study

Methodappend
添加数据
base/LogStream.h:38
Methodappend_unlock
base/LogFile.cpp:56
MethodassertInLoopThread
net/EventLoop.h:107
MethodassertInLoopThread
断言是否在当前线程
reactor/EventLoop.h:33
MethodassertInLoopThread
reactor/EPoller.h:43
FunctionasyncOutput
base/tests/AsyncLogging_test.cpp:18
MethodbeginWrite
reactor/Buffer.h:125
FunctionbenchLogStream
base/tests/LogStream_bench.cpp:48
FunctionbenchPrintf
base/tests/LogStream_bench.cpp:20
FunctionbenchStringStream
base/tests/LogStream_bench.cpp:32
MethodbindOrDie
net/SocketsOps.cc:97
MethodbindOrDie
reactor/SocketsOps.cpp:184
Methodbuffer
base/FileUtil.h:39
MethodcacheTid
base/Thread.cpp:121
Methodcallback
base/tests/Exception_test.cpp:37
Functioncancel
reactor/test/test8.cpp:33
Methodcancel
net/TimerQueue.cc:126
Methodcancel
取消Timer 取消某个定时器事件
net/EventLoop.cpp:253
Methodcancel
reactor/TimerQueue.cpp:243
MethodcancelInLoop
net/TimerQueue.cc:143
MethodcancelInLoop
reactor/TimerQueue.cpp:249
FunctioncancelSelf
reactor/test/test17.cpp:31
Methodcapacity
base/BoundedBlockingQueue.h:85
MethodclockTicksPerSecond
base/ProcessInfo.cc:105
Methodclose
net/SocketsOps.cc:179
Methodclose
reactor/SocketsOps.cpp:154
Methodcompare
base/StringPiece.h:143
Methodconnect
net/SocketsOps.cc:159
Methodconnect
reactor/Connector.cpp:67
Methodconnect
reactor/SocketsOps.cpp:228
FunctionconnectCallback
reactor/test/test16.cpp:13
MethodconnectDestroyed
reactor/TcpConnection.cpp:145
Methodconnecting
reactor/Connector.cpp:107
Methodconnection
reactor/TcpClient.h:29
MethodcookieEnd
base/LogStream.cpp:225
MethodcookieStart
base/LogStream.cpp:219
Methodcopyable
base/copyable.h:13
MethodcpuTime
base/ProcessInfo.cc:212
MethodcreateNonblockingOrDie
net/SocketsOps.cc:77
MethodcreateNonblockingOrDie
reactor/SocketsOps.cpp:78
Methoddata
返回首地址
base/LogStream.h:48
MethoddebugString
使用非类型模版参数
base/LogStream.cpp:211
Methoddecrement
base/Atomic.h:62
MethoddecrementAndGet
base/Atomic.h:47
FunctiondefaultFlush
base/Logging.cpp:92
FunctiondefaultHttpCallback
默认http回调,返回错误码
http/HttpServer.cc:29
FunctiondefaultOutput
base/Logging.cpp:85
Methoddestroy
程序结束后自动调用该函数销毁
base/Singleton.h:64
Methoddestructor
base/ThreadLocalSingleton_test.h:38
Methoddestructor
base/ThreadLocal.h:42
MethoddisableReading
或上事件,就是关注可读事件,注册到EventLoop,通过它注册到Poller中
net/Channel.h:63
MethoddisableWriting
net/Channel.h:65
Methoddisconnect
reactor/TcpClient.cpp:79
MethoddoNotLogHup
net/Channel.h:78
MethoddoPendingFunctors
执行任务队列中的任务 1. 不是简单的在临界区内依次调用functor,而是把回调列表swap到functors中,这一方面减小了 临界区的长度,意味着不会阻塞其他线程的queueInLoop(),另一方面也避免了死锁(因为Functor可能再次调用quueInLoop) 2. 由于doPendin
net/EventLoop.cpp:331
MethoddoPendingFunctors
reactor/EventLoop.cpp:190
Functiondown_cast
use like this: down_cast<T*>(foo);
base/Types.h:104
Functiondown_pointer_cast
net/Callbacks.h:35
FunctiondummyOutput
base/tests/Logging_test.cpp:17
MethodenableWriting
net/Channel.h:64
Methodend
base/StringPiece.h:100
MethodensureWritableBytes
reactor/Buffer.h:115
Methodeuid
base/ProcessInfo.cc:95
MethodeventHandling
net/EventLoop.h:119
Methodevents
net/Channel.h:57
MethodeventsToString
net/Channel.cc:123
MethodexePath
base/ProcessInfo.cc:180
Methodfd
reactor/Channel.h:54
FunctionfdDirFilter
base/ProcessInfo.cc:26
MethodfillActiveChannel
reactor/Poller.cpp:43
MethodfillActiveChannel
reactor/EPoller.cpp:135
MethodfindEOL
reactor/Buffer.h:176
Methodflush
base/FileUtil.cc:57
FunctionflushFunc
base/tests/LogFile_test.cpp:17
FunctionformatIEC
[0, 1023] [1.00Ki, 9.99Ki] [10.0Ki, 99.9Ki] [ 100Ki, 1023Ki] [1.00Mi, 9.99Mi] */
base/LogStream.cpp:154
MethodformatInteger
base/LogStream.cpp:244
FunctionformatSI
Format a number with 5 characters, including SI units. [0, 999] [1.00k, 999k] [1.00M, 999M] [1.00G, 999G] [1.00T, 999T]
base/LogStream.cpp:106
MethodformatTime
base/Logging.cpp:125
MethodfromHostPort
reactor/SocketsOps.cpp:172
MethodfromIpPort
net/SocketsOps.cc:223
MethodfromUnixTime
base/Timestamp.h:60
MethodfromUtcTime
base/TimeZone.cpp:370
MethodgetCount
base/CountDownLatch.cpp:37
MethodgetEventLoopOfCurrentThread
net/EventLoop.cpp:68
MethodgetEventLoopOfCurrentThread
reactor/EventLoop.cpp:110
MethodgetExpired
net/TimerQueue.cc:183
MethodgetExpired
reactor/TimerQueue.cpp:129
MethodgetLocalAddr
net/SocketsOps.cc:260
MethodgetLocalAddr
reactor/SocketsOps.cpp:192
MethodgetLogFileName
base/LogFile.cpp:105
MethodgetLoop
http/HttpServer.h:43
MethodgetLoop
reactor/TcpConnection.h:43
MethodgetMutableContext
reactor/TcpConnection.h:111
MethodgetPeerAddr
net/SocketsOps.cc:272
MethodgetPeerAddr
reactor/SocketsOps.cpp:259
MethodgetSockAddr
reactor/InetAddress.h:50
MethodgetSocketError
net/SocketsOps.cc:245
MethodgetSocketError
reactor/SocketsOps.cpp:204
MethodhandleClose
reactor/TcpConnection.cpp:127
MethodhandleError
reactor/Connector.cpp:160
← previousnext →401–500 of 847, ranked by callers