Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shangyizhou/A-Tiny-Network-Library
/ functions
Functions
860 in github.com/Shangyizhou/A-Tiny-Network-Library
⨍
Functions
860
◇
Types & classes
264
Function
emplace
src/mysql/json.hpp:17951
Function
emplace_back
src/mysql/json.hpp:17898
Method
enableReading
设置fd相应的事件状态,update()其本质调用epoll_ctl
include/tiny_network/net/Channel.h:47
Method
enableWriting
include/tiny_network/net/Channel.h:49
Method
end
src/logger/FixedBuffer.h:44
Method
end_array
src/mysql/json.hpp:2958
Method
end_array
src/mysql/json.hpp:3182
Method
end_object
src/mysql/json.hpp:2939
Method
end_object
src/mysql/json.hpp:3136
Method
ensureWritableBytes
buffer_.size() - writeIndex_
src/net/Buffer.h:105
Method
ensureWritableBytes
buffer_.size() - writeIndex_
include/tiny_network/net/Buffer.h:105
Method
events
返回封装的fd
include/tiny_network/net/Channel.h:43
Method
exception
src/mysql/json.hpp:158
Method
exception_message
! @param[in] format the current format @param[in] detail a detailed error message @param[in] context further contect information
src/mysql/json.hpp:5482
Method
exception_message
src/mysql/json.hpp:7506
Method
expiration
include/tiny_network/timer/Timer.h:30
Method
fd
include/tiny_network/net/Channel.h:42
Method
fd
获取sockfd
include/tiny_network/net/Socket.h:18
Method
file_input_adapter
src/mysql/json.hpp:2329
Method
fillActiveChannels
填写活跃的连接
src/net/poller/EPollPoller.cc:107
Method
fill_buffer
UTF-32
src/mysql/json.hpp:2436
Method
fill_buffer
UTF-16
src/mysql/json.hpp:2495
Method
fill_buffer
src/mysql/json.hpp:2583
Method
findCRLF
include/tiny_network/net/Buffer.h:133
Function
flatten
! @param[in] reference_string the reference string to the current value @param[in] value the value to consider @param[in,o
src/mysql/json.hpp:9353
Method
flush
src/logger/FileUtil.cc:42
Method
formatInteger
src/logger/LogStream.cc:8
Method
formatTime
Timestamp::toString方法的思路,只不过这里需要输出到流
src/logger/Logging.cc:66
Method
freeResult
释放结果集
src/mysql/MysqlConn.cc:124
Method
from_json
src/mysql/json.hpp:2218
Function
front
! @brief access the first element Returns a reference to the first element in the container. For a JSON container `c`, the expression
src/mysql/json.hpp:16431
Method
get
! @brief get next character from the input This function provides the interface to the used input adapter. It does not throw in case
src/mysql/json.hpp:5357
Method
getAllLoops
src/net/EventLoopThreadPool.cc:69
Method
getConnectionPool
src/mysql/ConnectionPool.cc:7
Method
getExpired
返回删除的定时器节点 (std::vector<Entry> expired)
src/timer/TimerQueue.cc:109
Method
getHeader
获取请求头部的对应值
include/tiny_network/http/HttpRequest.h:126
Method
getLogFileName
src/logger/LogFile.cc:85
Method
getLoop
src/http/HttpServer.h:22
Method
getLoop
src/net/TcpConnection.h:30
Method
getLoop
include/tiny_network/http/HttpServer.h:22
Method
getLoop
include/tiny_network/net/TcpConnection.h:30
Method
getLoop
include/tiny_network/net/TcpServer.h:51
Method
getPool
include/tiny_network/memory/MemoryPool.h:78
Method
getSockAddr
include/tiny_network/net/InetAddress.h:22
Function
get_allocator
! @brief returns the allocator associated with the container */
src/mysql/json.hpp:13187
Method
get_bson_cstr
! @brief Parses a C-style string from the BSON input. @param[in, out] result A reference to the string variable where the read
src/mysql/json.hpp:3710
Method
get_bson_string
src/mysql/json.hpp:3742
Method
get_cbor_array
! @param[in] len the length of the array or std::size_t(-1) for an array of indefinite size @return whether array crea
src/mysql/json.hpp:4331
Method
get_cbor_float_prefix
src/mysql/json.hpp:10697
Method
get_cbor_object
! @param[in] len the length of the object or std::size_t(-1) for an object of indefinite size @return whether object c
src/mysql/json.hpp:4367
Method
get_cbor_string
! @brief reads a CBOR string This function first reads starting bytes to determine the expected string length and then copies this nu
src/mysql/json.hpp:4242
Method
get_character
std::istream/std::streambuf use std::char_traits<char>::to_int_type, to ensure that std::char_traits<char>::eof() and the character 0xFF do not end up
src/mysql/json.hpp:2383
Method
get_character
src/mysql/json.hpp:2415
Method
get_character
src/mysql/json.hpp:2564
Method
get_codepoint
! @brief get codepoint from 4 hex characters following `\u` For input "\u c1 c2 c3 c4" the codepoint is: (c1 * 0x1000) + (c2 * 0x01
src/mysql/json.hpp:5684
Method
get_decimal_point
return the locale-dependent decimal point
src/mysql/json.hpp:5658
Method
get_ignore_noop
! @return character read from the input after ignoring all 'N' entries */
src/mysql/json.hpp:5366
Method
get_msgpack_array
! @param[in] len the length of the array @return whether array creation completed */
src/mysql/json.hpp:4864
Method
get_msgpack_float_prefix
src/mysql/json.hpp:10711
Method
get_msgpack_object
! @param[in] len the length of the object @return whether object creation completed */
src/mysql/json.hpp:4886
Method
get_msgpack_string
! @brief reads a MessagePack string This function first reads starting bytes to determine the expected string length and then copies
src/mysql/json.hpp:4788
Method
get_number
src/mysql/json.hpp:5391
Function
get_ptr
src/mysql/json.hpp:15625
Function
get_ref
src/mysql/json.hpp:15719
Function
get_ref_impl
src/mysql/json.hpp:15371
Function
get_to
src/mysql/json.hpp:15588
Method
get_token
get next token from lexer
src/mysql/json.hpp:7501
Method
get_token_string
! @return a string representation of the last read byte */
src/mysql/json.hpp:5469
Method
get_ubjson_array
! @return whether array creation completed */
src/mysql/json.hpp:5210
Method
get_ubjson_float_prefix
src/mysql/json.hpp:10925
Method
get_ubjson_object
! @return whether object creation completed */
src/mysql/json.hpp:5272
Method
get_ubjson_size_type
! @brief determine the type and size for a container In the optimized UBJSON format, a type and a size can be provided to allow for a
src/mysql/json.hpp:5073
Method
get_ubjson_size_value
! @param[out] result determined size @return whether size determination completed */
src/mysql/json.hpp:4996
Method
get_ubjson_string
! @brief reads a UBJSON string This function is either called after reading the 'S' byte explicitly indicating a string, or in case o
src/mysql/json.hpp:4942
Method
get_ubjson_value
! @param prefix the previously read or set type prefix @return whether value creation completed */
src/mysql/json.hpp:5114
Method
gotAll
include/tiny_network/http/HttpContext.h:27
Method
handleClose
src/net/TcpConnection.cc:286
Method
handleError
src/net/TcpConnection.cc:296
Method
handleEventWithGuard
根据相应事件执行回调操作
src/net/Channel.cc:74
Method
handleRead
listenfd有事件发生了,就是有新用户连接了
src/net/Acceptor.cc:59
Method
handleRead
src/net/EventLoop.cc:156
Method
handleRead
src/net/TcpConnection.cc:222
Method
handleRead
src/timer/TimerQueue.cc:121
Method
handleWrite
src/net/TcpConnection.cc:247
Method
handle_value
src/mysql/json.hpp:3005
Method
handle_value
src/mysql/json.hpp:3260
Method
hasChannel
src/net/EventLoop.cc:176
Method
hasChannel
判断参数channel是否在当前poller当中
src/net/poller/Poller.cc:9
Method
index
* for Poller * const int kNew = -1; // fd还未被poller监视 * const int kAdded = 1; // fd正被poller监视中 * const int kDeleted = 2; // fd被
include/tiny_network/net/Channel.h:64
Function
initFunc
src/base/test/ThreadPool.cc:27
Method
input_adapter
native support
src/mysql/json.hpp:2607
Method
input_buffer_adapter
src/mysql/json.hpp:2404
Method
input_stream_adapter
src/mysql/json.hpp:2370
Method
invalid
失效的时间戳,返回一个值为0的Timestamp
src/base/Timestamp.h:38
Method
invalid
失效的时间戳,返回一个值为0的Timestamp
include/tiny_network/base/Timestamp.h:38
Method
invalid_iterator
src/mysql/json.hpp:310
Method
ipPort
include/tiny_network/net/TcpServer.h:55
Method
isInLoopThread
判断EventLoop是否在自己的线程
include/tiny_network/net/EventLoop.h:51
Method
isNoneEvent
返回fd当前的事件状态
include/tiny_network/net/Channel.h:54
Method
isReading
src/net/Channel.h:56
← previous
next →
401–500 of 860, ranked by callers