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
Method
MemoryPool
* @brief 默认构造,真正初始化工作交给 createPool */
src/memory/MemoryPool.h:38
Method
MemoryPool
* @brief 默认构造,真正初始化工作交给 createPool */
include/tiny_network/memory/MemoryPool.h:38
Method
MysqlConn
初始化数据库连接
src/mysql/MysqlConn.cc:4
Method
Poller
src/net/poller/Poller.cc:3
Method
Socket
src/net/Socket.h:11
Method
Socket
include/tiny_network/net/Socket.h:11
Method
SourceFile
src/logger/Logging.h:17
Method
SourceFile
include/tiny_network/logger/Logging.h:17
Method
TcpConnection
src/net/TcpConnection.cc:26
Method
TcpServer
src/net/TcpServer.cc:18
Method
Thread
* TODO:error * default argument given for parameter 2 of ‘Thread::Thread(Thread::ThreadFunc, const string&)’GCC * 默认参数在定义和声明中只能出现一次,不能声明和定义都有默认参数
src/base/Thread.cc:12
Method
ThreadPool
src/base/ThreadPool.cc:3
Method
Timer
src/timer/Timer.h:17
Method
Timer
* Copy constructor. * * @param other * The object to be copied. */
include/tiny_network/base/chrono/Timer.h:42
Method
Timer
include/tiny_network/base/chrono/Timer.h:116
Method
Timer
include/tiny_network/timer/Timer.h:17
Method
TimerQueue
src/timer/TimerQueue.cc:26
Method
Timestamp
src/base/Timestamp.h:11
Method
Timestamp
include/tiny_network/base/Timestamp.h:11
Function
accept
src/mysql/json.hpp:19056
Method
add
add a character to token_buffer
src/mysql/json.hpp:6841
Method
add
include/tiny_network/logger/FixedBuffer.h:36
Method
addConnection
src/mysql/ConnectionPool.cc:112
Method
addHeader
src/http/HttpResponse.h:41
Method
addHeader
include/tiny_network/http/HttpResponse.h:41
Method
addHeader
include/tiny_network/http/HttpRequest.h:107
Method
addTimerInLoop
src/timer/TimerQueue.cc:58
Method
append
src/logger/LogStream.h:36
Method
append
src/logger/FixedBuffer.h:22
Method
append
src/logger/FileUtil.cc:17
Method
append
include/tiny_network/logger/LogStream.h:36
Method
append
include/tiny_network/logger/FixedBuffer.h:22
Method
append
string::data() 转换成字符数组,但是没有 '\0'
include/tiny_network/net/Buffer.h:115
Method
appendInLock
src/logger/LogFile.cc:28
Method
array_index
! @param[in] s reference token to be converted into an array index @return integer representation of @a s @throw out_of_range.404
src/mysql/json.hpp:8799
Function
asyncLog
src/logger/test/AsyncLoggingTest.cc:38
Function
asyncOutput
example/echoServerAsync.cc:62
Function
at
! @brief access specified array element with bounds checking Returns a reference to the element at specified location @a idx, with bo
src/mysql/json.hpp:15824
Method
avail
include/tiny_network/logger/FixedBuffer.h:35
Function
back
! @brief access the last element Returns a reference to the last element in the container. For a JSON container `c`, the expression `
src/mysql/json.hpp:16475
Function
basic_json array
! @brief explicitly create an array from an initializer list Creates a JSON array value from a given initializer list. That is, given a
src/mysql/json.hpp:14393
Function
basic_json diff
! @brief creates a diff as a JSON patch Creates a [JSON Patch](http://jsonpatch.com) so that value @a source can be changed into the
src/mysql/json.hpp:20704
Function
basic_json from_bson
! @brief Create a JSON value from an input in BSON format Deserializes a given input @a i to a JSON value using the BSON (Binary JSON)
src/mysql/json.hpp:20099
Function
basic_json from_cbor
! @brief create a JSON value from an input in CBOR format Deserializes a given input @a i to a JSON value using the CBOR (Concise Bin
src/mysql/json.hpp:19815
Function
basic_json from_msgpack
! @brief create a JSON value from an input in MessagePack format Deserializes a given input @a i to a JSON value using the MessagePack
src/mysql/json.hpp:19924
Function
basic_json from_ubjson
! @brief create a JSON value from an input in UBJSON format Deserializes a given input @a i to a JSON value using the UBJSON (Universal
src/mysql/json.hpp:20012
Function
basic_json meta
! @brief returns version information on the library This function returns a JSON object with information about the library, including
src/mysql/json.hpp:13218
Function
basic_json object
! @brief explicitly create an object from an initializer list Creates a JSON object value from a given initializer list. The initializer
src/mysql/json.hpp:14437
Function
basic_json parse
! @brief deserialize from a compatible input This function reads from a compatible input. Examples are: - an array of 1-byte values
src/mysql/json.hpp:19046
Method
begin
include/tiny_network/net/Buffer.h:156
Method
beginWrite
src/net/Buffer.h:140
Method
beginWrite
include/tiny_network/net/Buffer.h:140
Method
binary_reader
! @brief create a binary reader @param[in] adapter input adapter to read from */
src/mysql/json.hpp:3593
Method
binary_writer
! @brief create a binary writer @param[in] adapter output adapter to write to */
src/mysql/json.hpp:9716
Method
boolean
src/mysql/json.hpp:2889
Method
boolean
src/mysql/json.hpp:3071
Method
bzero
include/tiny_network/logger/FixedBuffer.h:39
Method
calc_bson_array_size
! @return The size of the BSON-encoded array @a value */
src/mysql/json.hpp:10542
Method
calc_bson_element_size
! @brief Calculates the size necessary to serialize the JSON value @a j with its @a name @return The calculated size for the BSON document e
src/mysql/json.hpp:10578
Method
calc_bson_entry_header_size
! @return The size of a BSON document entry header, including the id marker and the entry name size (and its null-terminator).
src/mysql/json.hpp:10395
Method
calc_bson_integer_size
! @return The size of the BSON-encoded integer @a value */
src/mysql/json.hpp:10472
Method
calc_bson_object_size
! @brief Calculates the size of the BSON serialization of the given JSON-object @a j. @param[in] j JSON value to serialize
src/mysql/json.hpp:10666
Method
calc_bson_string_size
! @return The size of the BSON-encoded string in @a value */
src/mysql/json.hpp:10442
Method
calc_bson_unsigned_size
! @return The size of the BSON-encoded unsigned integer in @a j */
src/mysql/json.hpp:10500
Method
calloc
src/memory/MemoryPool.cc:183
Function
clear
! @brief clears the contents Clears the content of a JSON value and resets it to the default value as if @ref basic_json(value_t) wou
src/mysql/json.hpp:17637
Method
closeConnection
include/tiny_network/http/HttpResponse.h:35
Method
commit
提交事务
src/mysql/MysqlConn.cc:94
Method
connectDestroyed
连接销毁
src/net/TcpConnection.cc:211
Method
connectEstablished
连接建立
src/net/TcpConnection.cc:193
Method
connected
include/tiny_network/net/TcpConnection.h:35
Method
construct
src/mysql/json.hpp:1887
Method
construct
src/mysql/json.hpp:1899
Method
construct
src/mysql/json.hpp:1929
Method
construct
src/mysql/json.hpp:1941
Method
construct
src/mysql/json.hpp:1953
Method
construct
src/mysql/json.hpp:1965
Method
construct
src/mysql/json.hpp:2021
Function
contains
! @throw parse_error.106 if an array index begins with '0' @throw parse_error.109 if an array index was not a number */
src/mysql/json.hpp:9169
Function
count
src/mysql/json.hpp:16873
Method
count_digits
! @brief count digits Count the number of decimal (base 10) digits for an input unsigned integer. @param[in] x unsigned integer nu
src/mysql/json.hpp:12682
Method
create
! @brief create a parse error exception @param[in] id_ the id of the exception @param[in] pos the position where the error
src/mysql/json.hpp:226
Method
create
src/mysql/json.hpp:303
Method
create
src/mysql/json.hpp:356
Method
create
src/mysql/json.hpp:402
Method
create
src/mysql/json.hpp:439
Method
current
include/tiny_network/logger/FixedBuffer.h:34
Method
decode
! @brief check whether a string is UTF-8 encoded The function checks each byte of a string whether it is UTF-8 encoded. The result of
src/mysql/json.hpp:12906
Function
defaultFlush
src/logger/Logging.cc:39
Function
defaultHttpCallback
* 默认的http回调函数 * 设置响应状态码,响应信息并关闭连接 */
src/http/HttpServer.cc:12
Function
defaultOutput
src/logger/Logging.cc:34
Method
disableAll
include/tiny_network/net/Channel.h:51
Method
disableReading
src/net/Channel.h:48
Method
disableReading
include/tiny_network/net/Channel.h:48
Method
disableWriting
include/tiny_network/net/Channel.h:50
Method
diyfp
src/mysql/json.hpp:11093
Method
doPendingFunctors
src/net/EventLoop.cc:181
Method
dump_escaped
! @brief dump escaped string Escape a string by replacing certain special characters by a sequence of an escape character (backslash)
src/mysql/json.hpp:12426
Method
dump_float
! @brief dump a floating-point number Dump a given floating-point number to output stream @a o. Works internally with @a number_buffe
src/mysql/json.hpp:12807
Method
dump_integer
src/mysql/json.hpp:12721
← previous
next →
301–400 of 860, ranked by callers