MCPcopy Create free account

hub / github.com/an-tao/trantor / functions

Functions724 in github.com/an-tao/trantor

↓ 59 callersMethodempty
trantor/utils/LockFreeQueue.h:89
↓ 42 callersMethodfd
trantor/net/inner/Socket.h:96
↓ 29 callersMethodqueueInLoop
trantor/net/EventLoop.cc:273
↓ 29 callersFunctionsplitString
trantor/utils/Funcs.h:35
↓ 24 callersMethodgetLoop
trantor/net/EventLoopThreadPool.cc:57
↓ 23 callersMethodappend
trantor/utils/MsgBuffer.cc:68
↓ 23 callersMethodassertInLoopThread
trantor/net/inner/Poller.h:35
↓ 23 callersMethodsend
The order of data sending should be same as the order of calls of send()
trantor/net/inner/TcpConnectionImpl.cc:433
↓ 22 callersFunctionnow
* @brief Same as the date() method. * * @return const Date */
trantor/utils/Date.h:70
↓ 19 callersMethodretrieveAll
trantor/utils/MsgBuffer.cc:140
↓ 18 callersFunctionsetLogLevel
* @brief Set the log level. Logs below the level are not printed. * * @param level */
trantor/utils/Logger.h:146
↓ 17 callersMethodreset
trantor/net/inner/TimerQueue.cc:153
↓ 16 callersFunctionInetAddress
* @brief Constructs an endpoint with given struct `sockaddr_in`. Mostly * used when accepting new connections * * @param addr */
trantor/net/InetAddress.h:75
↓ 15 callersMethodconnected
trantor/net/inner/TcpConnectionImpl.h:99
↓ 15 callersMethodremainingBytes
trantor/net/inner/MemBufferNode.cc:18
↓ 15 callersMethodrun
trantor/net/inner/Timer.cc:43
↓ 14 callersMethodget
Returns a session with an additional reference held by the caller. Caller must SSL_SESSION_free() when done. Required because the entry in sessionMap_
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:377
↓ 14 callersFunctionreadableBytes
* @brief Return the size of the data in the buffer. * * @return size_t */
trantor/utils/MsgBuffer.h:153
↓ 13 callersFunctionDate
* @brief Construct a new Date instance. * * @param microSec The microseconds from 1970-01-01 00:00:00. */
trantor/utils/Date.h:37
↓ 13 callersFunctionbegin
trantor/utils/MsgBuffer.h:355
↓ 13 callersMethodctx
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:219
↓ 13 callersMethodshutdown
trantor/net/inner/TcpConnectionImpl.cc:332
↓ 13 callersMethodtoIpPort
trantor/net/InetAddress.cc:114
↓ 12 callersMethodafter
trantor/utils/Date.cc:73
↓ 12 callersFunctionappend
trantor/utils/LogStream.h:46
↓ 12 callersMethodloop
trantor/net/EventLoop.cc:204
↓ 12 callersMethodstart
trantor/net/TcpServer.cc:113
↓ 11 callersFunctiontoNativePath
* @details Convert an UTF-8 path to a native path. * * This is a helper for Windows and multi-platform projects. * * Converts the path from UTF-8
trantor/utils/Utilities.h:103
↓ 10 callersFunctionassertInLoopThread
* @brief Assertion that the current thread is the thread to which the event * loop belongs. If the assertion fails, the program aborts. */
trantor/net/EventLoop.h:78
↓ 10 callersMethodrunAfter
trantor/net/EventLoop.cc:310
↓ 10 callersFunctionstrerror_tl
trantor/utils/Logger.cc:69
↓ 10 callersFunctiontoHexString
trantor/utils/Utilities.h:253
↓ 10 callersMethodwait
trantor/net/EventLoopThread.cc:49
↓ 9 callersMethoddisconnected
trantor/net/inner/TcpConnectionImpl.h:103
↓ 9 callersFunctionpeek
* @brief Get the beginning of the buffer. * * @return const char* */
trantor/utils/MsgBuffer.h:54
↓ 8 callersMethodquit
trantor/net/EventLoop.cc:166
↓ 8 callersMethodrunTaskInQueue
trantor/utils/SerialTaskQueue.cc:40
↓ 8 callersMethodsendInLoop
trantor/net/inner/TcpConnectionImpl.cc:384
↓ 8 callersMethodstore
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:330
↓ 7 callersFunctionfromUtf8
trantor/utils/Utilities.cc:183
↓ 7 callersFunctionfromWidePath
trantor/utils/Utilities.cc:219
↓ 7 callersMethodsetCloseCallback
trantor/net/inner/TLSProvider.h:113
↓ 7 callersMethodsetMessageCallback
trantor/net/inner/TLSProvider.h:109
↓ 7 callersMethodtoDbStringLocal
trantor/utils/Date.cc:230
↓ 7 callersFunctiontoUtf8
trantor/utils/Utilities.cc:157
↓ 7 callersFunctiontoWidePath
trantor/utils/Utilities.cc:209
↓ 6 callersMethodappend
trantor/net/inner/BufferNode.h:44
↓ 6 callersFunctiondefaultClientPolicy
trantor/net/TLSPolicy.h:197
↓ 6 callersMethodforceClose
trantor/net/inner/TcpConnectionImpl.cc:366
↓ 6 callersFunctionfromNativePath
* @note fromWidePath() on all OSes */ Convert on all systems
trantor/utils/Utilities.h:169
↓ 6 callersMethodid
trantor/net/inner/Timer.h:54
↓ 6 callersFunctionisInLoopThread
* @brief Return true if the current thread is the thread to which the event * loop belongs. * * @return true * @return false
trantor/net/EventLoop.h:105
↓ 6 callersMethodisIntranetIp
trantor/net/InetAddress.cc:133
↓ 6 callersMethodremove
trantor/net/Channel.cc:41
↓ 6 callersMethodresolve
trantor/net/inner/NormalResolver.cc:24
↓ 6 callersMethodtoDbString
trantor/utils/Date.cc:284
↓ 6 callersMethodtoIp
trantor/net/InetAddress.cc:230
↓ 5 callersMethodconnect
trantor/net/TcpClient.cc:94
↓ 5 callersFunctiondefaultServerPolicy
trantor/net/TLSPolicy.h:184
↓ 5 callersMethodenableSSL
trantor/net/TcpServer.cc:223
↓ 5 callersMethodensureWritableBytes
trantor/utils/MsgBuffer.cc:39
↓ 5 callersMethodinsert
trantor/net/inner/TimerQueue.cc:224
↓ 5 callersMethodisFile
trantor/net/inner/BufferNode.h:34
↓ 5 callersMethodsetErrorCallback
trantor/net/inner/Connector.h:43
↓ 5 callersFunctionswap
* @brief Swap the time point with another. * * @param that */
trantor/utils/Date.h:350
↓ 5 callersMethodupdate
trantor/net/Channel.cc:48
↓ 5 callersFunctionwritableBytes
* @brief Return the size of the empty part in the buffer * * @return size_t */
trantor/utils/MsgBuffer.h:163
↓ 4 callersMethodaddTimer
trantor/net/inner/TimerQueue.cc:186
↓ 4 callersMethodavailable
trantor/net/inner/BufferNode.h:55
↓ 4 callersFunctionbyteToChars
trantor/net/InetAddress.cc:199
↓ 4 callersMethodclose
trantor/net/inner/TcpConnectionImpl.cc:864
↓ 4 callersMethodconnectDestroyed
trantor/net/inner/TcpConnectionImpl.cc:320
↓ 4 callersMethodenqueue
* @brief Put a item into the queue. * * @param input * @note This method can be called in multiple threads. */
trantor/utils/LockFreeQueue.h:53
↓ 4 callersMethodinsertEntry
trantor/utils/TimingWheel.cc:76
↓ 4 callersMethodretrieve
trantor/net/inner/MemBufferNode.cc:14
↓ 4 callersFunctionretry
* @brief Check whether the client re-connect to the server. * * @return true * @return false */
trantor/net/TcpClient.h:98
↓ 4 callersMethodrunEvery
trantor/net/EventLoop.cc:318
↓ 4 callersMethodsetWriteCallback
* @brief Set a function to be called when the TLSProvider wants to send * data * * @note The caller MUST guarantee that it will not mak
trantor/net/inner/TLSProvider.h:94
↓ 4 callersMethodstartEncryption
trantor/net/inner/TcpConnectionImpl.cc:795
↓ 4 callersMethodswap
trantor/utils/MsgBuffer.cc:61
↓ 4 callersMethodtoCustomFormattedStringLocal
trantor/utils/Date.cc:513
↓ 4 callersFunctiontrantor_sha1_update
trantor/utils/crypto/sha1.cc:252
↓ 4 callersFunctiontrantor_sha3_keccakf
trantor/utils/crypto/sha3.cc:11
↓ 3 callersFunctionF
* The blake2b compress function which takes a full 128-byte chunk of the * input message and mixes it into the ongoing state array * * @param
trantor/utils/crypto/blake2.cc:162
↓ 3 callersFunctionbeginWrite
* @brief Get the end of the buffer where new data can be written. * * @return const char* */
trantor/utils/MsgBuffer.h:64
↓ 3 callersFunctionclamp
trantor/utils/Logger.cc:42
↓ 3 callersMethoddequeue
* @brief Get a item from the queue. * * @param output * @return false if the queue is empty. * @note This method must be called in
trantor/utils/LockFreeQueue.h:73
↓ 3 callersMethodflush
trantor/utils/AsyncFileLogger.cc:109
↓ 3 callersFunctionhton64
trantor/utils/Funcs.h:21
↓ 3 callersMethodinvalidateTimer
trantor/net/EventLoop.cc:332
↓ 3 callersMethodisStream
trantor/net/inner/BufferNode.h:39
↓ 3 callersFunctionresetTimerfd
trantor/net/inner/TimerQueue.cc:54
↓ 3 callersMethodrunAt
trantor/net/EventLoop.cc:290
↓ 3 callersMethodsendAsyncDataInLoop
trantor/net/inner/TcpConnectionImpl.cc:972
↓ 3 callersMethodsendNodeInLoop
trantor/net/inner/TcpConnectionImpl.cc:661
↓ 3 callersFunctiontrantor_blake2b_increment_counter
* Increments the blake2b state counter * * @param S blake2b_state instance * @param[in] inc the increment value */
trantor/utils/crypto/blake2.cc:128
↓ 3 callersFunctiontrantor_md5_transform
FUNCTION DEFINITIONS ***********************/
trantor/utils/crypto/md5.cc:48
↓ 3 callersFunctiontrantor_sha256_transform
FUNCTION DEFINITIONS ***********************/
trantor/utils/crypto/sha256.cc:46
↓ 2 callersMethodaccept
trantor/net/inner/Socket.cc:81
↓ 2 callersMethodaddInFrontInt64
trantor/utils/MsgBuffer.cc:106
next →1–100 of 724, ranked by callers