MCPcopy Create free account

hub / github.com/Shangyizhou/A-Tiny-Network-Library / functions

Functions860 in github.com/Shangyizhou/A-Tiny-Network-Library

MethodMemoryPool
* @brief 默认构造,真正初始化工作交给 createPool */
src/memory/MemoryPool.h:38
MethodMemoryPool
* @brief 默认构造,真正初始化工作交给 createPool */
include/tiny_network/memory/MemoryPool.h:38
MethodMysqlConn
初始化数据库连接
src/mysql/MysqlConn.cc:4
MethodPoller
src/net/poller/Poller.cc:3
MethodSocket
src/net/Socket.h:11
MethodSocket
include/tiny_network/net/Socket.h:11
MethodSourceFile
src/logger/Logging.h:17
MethodSourceFile
include/tiny_network/logger/Logging.h:17
MethodTcpConnection
src/net/TcpConnection.cc:26
MethodTcpServer
src/net/TcpServer.cc:18
MethodThread
* TODO:error * default argument given for parameter 2 of ‘Thread::Thread(Thread::ThreadFunc, const string&)’GCC * 默认参数在定义和声明中只能出现一次,不能声明和定义都有默认参数
src/base/Thread.cc:12
MethodThreadPool
src/base/ThreadPool.cc:3
MethodTimer
src/timer/Timer.h:17
MethodTimer
* Copy constructor. * * @param other * The object to be copied. */
include/tiny_network/base/chrono/Timer.h:42
MethodTimer
include/tiny_network/base/chrono/Timer.h:116
MethodTimer
include/tiny_network/timer/Timer.h:17
MethodTimerQueue
src/timer/TimerQueue.cc:26
MethodTimestamp
src/base/Timestamp.h:11
MethodTimestamp
include/tiny_network/base/Timestamp.h:11
Functionaccept
src/mysql/json.hpp:19056
Methodadd
add a character to token_buffer
src/mysql/json.hpp:6841
Methodadd
include/tiny_network/logger/FixedBuffer.h:36
MethodaddConnection
src/mysql/ConnectionPool.cc:112
MethodaddHeader
src/http/HttpResponse.h:41
MethodaddHeader
include/tiny_network/http/HttpResponse.h:41
MethodaddHeader
include/tiny_network/http/HttpRequest.h:107
MethodaddTimerInLoop
src/timer/TimerQueue.cc:58
Methodappend
src/logger/LogStream.h:36
Methodappend
src/logger/FixedBuffer.h:22
Methodappend
src/logger/FileUtil.cc:17
Methodappend
include/tiny_network/logger/LogStream.h:36
Methodappend
include/tiny_network/logger/FixedBuffer.h:22
Methodappend
string::data() 转换成字符数组,但是没有 '\0'
include/tiny_network/net/Buffer.h:115
MethodappendInLock
src/logger/LogFile.cc:28
Methodarray_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
FunctionasyncLog
src/logger/test/AsyncLoggingTest.cc:38
FunctionasyncOutput
example/echoServerAsync.cc:62
Functionat
! @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
Methodavail
include/tiny_network/logger/FixedBuffer.h:35
Functionback
! @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
Functionbasic_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
Functionbasic_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
Functionbasic_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
Functionbasic_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
Functionbasic_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
Functionbasic_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
Functionbasic_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
Functionbasic_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
Functionbasic_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
Methodbegin
include/tiny_network/net/Buffer.h:156
MethodbeginWrite
src/net/Buffer.h:140
MethodbeginWrite
include/tiny_network/net/Buffer.h:140
Methodbinary_reader
! @brief create a binary reader @param[in] adapter input adapter to read from */
src/mysql/json.hpp:3593
Methodbinary_writer
! @brief create a binary writer @param[in] adapter output adapter to write to */
src/mysql/json.hpp:9716
Methodboolean
src/mysql/json.hpp:2889
Methodboolean
src/mysql/json.hpp:3071
Methodbzero
include/tiny_network/logger/FixedBuffer.h:39
Methodcalc_bson_array_size
! @return The size of the BSON-encoded array @a value */
src/mysql/json.hpp:10542
Methodcalc_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
Methodcalc_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
Methodcalc_bson_integer_size
! @return The size of the BSON-encoded integer @a value */
src/mysql/json.hpp:10472
Methodcalc_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
Methodcalc_bson_string_size
! @return The size of the BSON-encoded string in @a value */
src/mysql/json.hpp:10442
Methodcalc_bson_unsigned_size
! @return The size of the BSON-encoded unsigned integer in @a j */
src/mysql/json.hpp:10500
Methodcalloc
src/memory/MemoryPool.cc:183
Functionclear
! @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
MethodcloseConnection
include/tiny_network/http/HttpResponse.h:35
Methodcommit
提交事务
src/mysql/MysqlConn.cc:94
MethodconnectDestroyed
连接销毁
src/net/TcpConnection.cc:211
MethodconnectEstablished
连接建立
src/net/TcpConnection.cc:193
Methodconnected
include/tiny_network/net/TcpConnection.h:35
Methodconstruct
src/mysql/json.hpp:1887
Methodconstruct
src/mysql/json.hpp:1899
Methodconstruct
src/mysql/json.hpp:1929
Methodconstruct
src/mysql/json.hpp:1941
Methodconstruct
src/mysql/json.hpp:1953
Methodconstruct
src/mysql/json.hpp:1965
Methodconstruct
src/mysql/json.hpp:2021
Functioncontains
! @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
Functioncount
src/mysql/json.hpp:16873
Methodcount_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
Methodcreate
! @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
Methodcreate
src/mysql/json.hpp:303
Methodcreate
src/mysql/json.hpp:356
Methodcreate
src/mysql/json.hpp:402
Methodcreate
src/mysql/json.hpp:439
Methodcurrent
include/tiny_network/logger/FixedBuffer.h:34
Methoddecode
! @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
FunctiondefaultFlush
src/logger/Logging.cc:39
FunctiondefaultHttpCallback
* 默认的http回调函数 * 设置响应状态码,响应信息并关闭连接 */
src/http/HttpServer.cc:12
FunctiondefaultOutput
src/logger/Logging.cc:34
MethoddisableAll
include/tiny_network/net/Channel.h:51
MethoddisableReading
src/net/Channel.h:48
MethoddisableReading
include/tiny_network/net/Channel.h:48
MethoddisableWriting
include/tiny_network/net/Channel.h:50
Methoddiyfp
src/mysql/json.hpp:11093
MethoddoPendingFunctors
src/net/EventLoop.cc:181
Methoddump_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
Methoddump_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
Methoddump_integer
src/mysql/json.hpp:12721
← previousnext →301–400 of 860, ranked by callers