MCPcopy Create free account

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

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

MethodsetCloseCallback
include/tiny_network/net/Channel.h:36
MethodsetCloseConnection
include/tiny_network/http/HttpResponse.h:32
MethodsetConnectionCallback
保存用户自定义的回调函数
src/net/TcpConnection.h:45
MethodsetConnectionCallback
保存用户自定义的回调函数
include/tiny_network/net/TcpConnection.h:45
MethodsetConnectionCallback
include/tiny_network/net/TcpServer.h:41
MethodsetContentType
include/tiny_network/http/HttpResponse.h:38
MethodsetDefaultName
src/base/Thread.cc:64
MethodsetErrorCallback
include/tiny_network/net/Channel.h:37
MethodsetFlush
src/logger/Logging.cc:142
MethodsetHighWaterMarkCallback
src/net/TcpConnection.h:53
MethodsetHighWaterMarkCallback
include/tiny_network/net/TcpConnection.h:53
MethodsetHttpCallback
include/tiny_network/http/HttpServer.h:24
MethodsetLogLevel
src/logger/Logging.cc:132
MethodsetMessageCallback
src/net/TcpConnection.h:47
MethodsetMessageCallback
include/tiny_network/net/TcpConnection.h:47
MethodsetMessageCallback
include/tiny_network/net/TcpServer.h:42
MethodsetMethod
include/tiny_network/http/HttpRequest.h:27
MethodsetNewConnectionCallback
include/tiny_network/net/Acceptor.h:23
MethodsetOutput
src/logger/Logging.cc:137
MethodsetPath
include/tiny_network/http/HttpRequest.h:86
MethodsetQuery
include/tiny_network/http/HttpRequest.h:93
MethodsetReadCallback
设置回调函数对象 使用右值引用,延长了cb对象的生命周期,避免了拷贝操作
include/tiny_network/net/Channel.h:34
MethodsetReceiveTime
include/tiny_network/http/HttpRequest.h:100
MethodsetSockAddr
include/tiny_network/net/InetAddress.h:23
MethodsetState
src/net/TcpConnection.h:68
MethodsetState
include/tiny_network/net/TcpConnection.h:68
MethodsetStatusCode
include/tiny_network/http/HttpResponse.h:26
MethodsetStatusMessage
include/tiny_network/http/HttpResponse.h:29
MethodsetTcpNoDelay
不启动Nagle算法
src/net/Socket.cc:71
MethodsetThreadInitCallback
src/base/ThreadPool.h:21
MethodsetThreadInitCallback
设置回调函数(用户自定义的函数传入)
src/net/TcpServer.h:40
MethodsetThreadInitCallback
include/tiny_network/base/ThreadPool.h:21
MethodsetThreadInitCallback
设置回调函数(用户自定义的函数传入)
include/tiny_network/net/TcpServer.h:40
MethodsetThreadNum
设置线程数量
src/net/EventLoopThreadPool.h:21
MethodsetThreadNum
设置线程数量
include/tiny_network/net/EventLoopThreadPool.h:21
MethodsetThreadSize
include/tiny_network/base/ThreadPool.h:22
MethodsetVersion
include/tiny_network/http/HttpRequest.h:20
MethodsetWriteCallback
include/tiny_network/net/Channel.h:35
MethodsetWriteCompleteCallback
src/net/TcpConnection.h:49
MethodsetWriteCompleteCallback
include/tiny_network/net/TcpConnection.h:49
MethodsetWriteCompleteCallback
include/tiny_network/net/TcpServer.h:43
Methodset_begin
set iterator to a defined beginning
src/mysql/json.hpp:7587
Methodset_end
set iterator to a defined past the end
src/mysql/json.hpp:7593
Methodset_index
include/tiny_network/net/Channel.h:65
Methodset_revents
返回感兴趣的事件
include/tiny_network/net/Channel.h:44
FunctionshowInfo
src/base/test/ThreadPool.cc:10
MethodshutdownInLoop
src/net/TcpConnection.cc:184
Methodskip_bom
! @brief skip the UTF-8 byte order mark @return true iff there is no BOM or the correct BOM has been skipped */
src/mysql/json.hpp:6925
Methodstart
src/base/ThreadPool.cc:21
Methodstart
src/net/EventLoopThreadPool.cc:20
Methodstart
include/tiny_network/logger/AsyncLogging.h:33
Methodstart_array
src/mysql/json.hpp:2945
Methodstart_array
src/mysql/json.hpp:3165
Methodstart_object
src/mysql/json.hpp:2919
Methodstart_object
src/mysql/json.hpp:3101
Methodstarted
src/base/Thread.h:21
Methodstarted
src/net/EventLoopThreadPool.h:31
Methodstarted
include/tiny_network/base/Thread.h:21
Methodstarted
include/tiny_network/net/EventLoopThreadPool.h:31
Methodstop
src/base/ThreadPool.cc:40
Methodstop
include/tiny_network/logger/AsyncLogging.h:39
Methodstop
include/tiny_network/base/chrono/Timer.h:139
Methodstring
src/mysql/json.hpp:2913
Methodstring
src/mysql/json.hpp:3095
Methodstring to_string
src/mysql/json.hpp:20918
Methodstrtof
src/mysql/json.hpp:6355
Methodsub
! @brief returns x - y @pre x.e == y.e and x.f >= y.f */
src/mysql/json.hpp:11099
Functiontest1
src/memory/test/MemoryPoolTest.cc:47
Functiontest1
单线程
src/mysql/test/MysqlPoolTest.cc:61
Functiontest2
多线程
src/mysql/test/MysqlPoolTest.cc:85
MethodthreadFunc
src/logger/AsyncLogging.cc:53
MethodthreadFunc
src/net/EventLoopThread.cc:50
Methodtid
src/base/Thread.h:22
Methodtid
include/tiny_network/base/Thread.h:22
MethodtoIp
src/net/InetAddress.cc:12
MethodtoPort
src/net/InetAddress.cc:29
MethodtoString
include/tiny_network/logger/FixedBuffer.h:41
Functionto_bson
! @brief Serializes the given JSON object `j` to BSON and returns a vector containing the corresponding BSON-representation. B
src/mysql/json.hpp:19687
Methodto_char_type
src/mysql/json.hpp:10974
Methodto_json
src/mysql/json.hpp:2235
Functionto_msgpack
! @brief create a MessagePack serialization of a given JSON value Serializes a given JSON value @a j to a byte vector using the MessagePac
src/mysql/json.hpp:19513
Methodto_string
! @brief return a string representation of the JSON pointer @invariant For each JSON pointer `ptr`, it holds: @code {.cpp} ptr =
src/mysql/json.hpp:8533
Functionto_ubjson
! @brief create a UBJSON serialization of a given JSON value Serializes a given JSON value @a j to a byte vector using the UBJSON (Un
src/mysql/json.hpp:19610
Methodtoken_type_name
return name of values of type token_type (only used for errors)
src/mysql/json.hpp:5599
Methodtransaction
事务操作
src/mysql/MysqlConn.cc:86
Functiontype
! @brief return the type of the JSON value (explicit) Return the type of the JSON value as a value from the @ref value_t enumeration.
src/mysql/json.hpp:14917
Methodtype_error
src/mysql/json.hpp:363
Methodubjson_prefix
! @brief determine the type prefix of container values @note This function does not need to be 100% accurate when it comes to i
src/mysql/json.hpp:10854
Methodunexpect_eof
! @param[in] format the current format (for diagnostics) @param[in] context further context information (for diagnostics) @return wh
src/mysql/json.hpp:5456
Functionunflatten
! @param[in] value flattened JSON @return unflattened JSON @throw parse_error.109 if array index is not a number @throw type_
src/mysql/json.hpp:9415
Methodunget
! @brief unget current character (read it again on next get) We implement unget by setting variable next_unget to true. The input is not
src/mysql/json.hpp:6814
Methodupdate
* 当改变channel所表示fd的events事件后,update负责在poller里面更改fd相应的事件epoll_ctl * */
src/net/Channel.cc:35
Methodupdate
src/net/poller/EPollPoller.cc:135
MethodupdateChannel
* Channel::update => EventLoop::updateChannel => Poller::updateChannel * Channel::remove => EventLoop::removeChannel => Poller::removeChannel */
src/net/poller/EPollPoller.cc:66
Functionvalue
src/mysql/json.hpp:16306
Methodvalue
return value of the iterator
src/mysql/json.hpp:1789
Methodvalue
return the value of an iterator
src/mysql/json.hpp:8455
Methodversion
include/tiny_network/http/HttpRequest.h:25
Methodwakeup
src/net/EventLoop.cc:146
Methodwhat
returns the explanatory string
src/mysql/json.hpp:149
← previousnext →701–800 of 860, ranked by callers