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
setCloseCallback
include/tiny_network/net/Channel.h:36
Method
setCloseConnection
include/tiny_network/http/HttpResponse.h:32
Method
setConnectionCallback
保存用户自定义的回调函数
src/net/TcpConnection.h:45
Method
setConnectionCallback
保存用户自定义的回调函数
include/tiny_network/net/TcpConnection.h:45
Method
setConnectionCallback
include/tiny_network/net/TcpServer.h:41
Method
setContentType
include/tiny_network/http/HttpResponse.h:38
Method
setDefaultName
src/base/Thread.cc:64
Method
setErrorCallback
include/tiny_network/net/Channel.h:37
Method
setFlush
src/logger/Logging.cc:142
Method
setHighWaterMarkCallback
src/net/TcpConnection.h:53
Method
setHighWaterMarkCallback
include/tiny_network/net/TcpConnection.h:53
Method
setHttpCallback
include/tiny_network/http/HttpServer.h:24
Method
setLogLevel
src/logger/Logging.cc:132
Method
setMessageCallback
src/net/TcpConnection.h:47
Method
setMessageCallback
include/tiny_network/net/TcpConnection.h:47
Method
setMessageCallback
include/tiny_network/net/TcpServer.h:42
Method
setMethod
include/tiny_network/http/HttpRequest.h:27
Method
setNewConnectionCallback
include/tiny_network/net/Acceptor.h:23
Method
setOutput
src/logger/Logging.cc:137
Method
setPath
include/tiny_network/http/HttpRequest.h:86
Method
setQuery
include/tiny_network/http/HttpRequest.h:93
Method
setReadCallback
设置回调函数对象 使用右值引用,延长了cb对象的生命周期,避免了拷贝操作
include/tiny_network/net/Channel.h:34
Method
setReceiveTime
include/tiny_network/http/HttpRequest.h:100
Method
setSockAddr
include/tiny_network/net/InetAddress.h:23
Method
setState
src/net/TcpConnection.h:68
Method
setState
include/tiny_network/net/TcpConnection.h:68
Method
setStatusCode
include/tiny_network/http/HttpResponse.h:26
Method
setStatusMessage
include/tiny_network/http/HttpResponse.h:29
Method
setTcpNoDelay
不启动Nagle算法
src/net/Socket.cc:71
Method
setThreadInitCallback
src/base/ThreadPool.h:21
Method
setThreadInitCallback
设置回调函数(用户自定义的函数传入)
src/net/TcpServer.h:40
Method
setThreadInitCallback
include/tiny_network/base/ThreadPool.h:21
Method
setThreadInitCallback
设置回调函数(用户自定义的函数传入)
include/tiny_network/net/TcpServer.h:40
Method
setThreadNum
设置线程数量
src/net/EventLoopThreadPool.h:21
Method
setThreadNum
设置线程数量
include/tiny_network/net/EventLoopThreadPool.h:21
Method
setThreadSize
include/tiny_network/base/ThreadPool.h:22
Method
setVersion
include/tiny_network/http/HttpRequest.h:20
Method
setWriteCallback
include/tiny_network/net/Channel.h:35
Method
setWriteCompleteCallback
src/net/TcpConnection.h:49
Method
setWriteCompleteCallback
include/tiny_network/net/TcpConnection.h:49
Method
setWriteCompleteCallback
include/tiny_network/net/TcpServer.h:43
Method
set_begin
set iterator to a defined beginning
src/mysql/json.hpp:7587
Method
set_end
set iterator to a defined past the end
src/mysql/json.hpp:7593
Method
set_index
include/tiny_network/net/Channel.h:65
Method
set_revents
返回感兴趣的事件
include/tiny_network/net/Channel.h:44
Function
showInfo
src/base/test/ThreadPool.cc:10
Method
shutdownInLoop
src/net/TcpConnection.cc:184
Method
skip_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
Method
start
src/base/ThreadPool.cc:21
Method
start
src/net/EventLoopThreadPool.cc:20
Method
start
include/tiny_network/logger/AsyncLogging.h:33
Method
start_array
src/mysql/json.hpp:2945
Method
start_array
src/mysql/json.hpp:3165
Method
start_object
src/mysql/json.hpp:2919
Method
start_object
src/mysql/json.hpp:3101
Method
started
src/base/Thread.h:21
Method
started
src/net/EventLoopThreadPool.h:31
Method
started
include/tiny_network/base/Thread.h:21
Method
started
include/tiny_network/net/EventLoopThreadPool.h:31
Method
stop
src/base/ThreadPool.cc:40
Method
stop
include/tiny_network/logger/AsyncLogging.h:39
Method
stop
include/tiny_network/base/chrono/Timer.h:139
Method
string
src/mysql/json.hpp:2913
Method
string
src/mysql/json.hpp:3095
Method
string to_string
src/mysql/json.hpp:20918
Method
strtof
src/mysql/json.hpp:6355
Method
sub
! @brief returns x - y @pre x.e == y.e and x.f >= y.f */
src/mysql/json.hpp:11099
Function
test1
src/memory/test/MemoryPoolTest.cc:47
Function
test1
单线程
src/mysql/test/MysqlPoolTest.cc:61
Function
test2
多线程
src/mysql/test/MysqlPoolTest.cc:85
Method
threadFunc
src/logger/AsyncLogging.cc:53
Method
threadFunc
src/net/EventLoopThread.cc:50
Method
tid
src/base/Thread.h:22
Method
tid
include/tiny_network/base/Thread.h:22
Method
toIp
src/net/InetAddress.cc:12
Method
toPort
src/net/InetAddress.cc:29
Method
toString
include/tiny_network/logger/FixedBuffer.h:41
Function
to_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
Method
to_char_type
src/mysql/json.hpp:10974
Method
to_json
src/mysql/json.hpp:2235
Function
to_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
Method
to_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
Function
to_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
Method
token_type_name
return name of values of type token_type (only used for errors)
src/mysql/json.hpp:5599
Method
transaction
事务操作
src/mysql/MysqlConn.cc:86
Function
type
! @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
Method
type_error
src/mysql/json.hpp:363
Method
ubjson_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
Method
unexpect_eof
! @param[in] format the current format (for diagnostics) @param[in] context further context information (for diagnostics) @return wh
src/mysql/json.hpp:5456
Function
unflatten
! @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
Method
unget
! @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
Method
update
* 当改变channel所表示fd的events事件后,update负责在poller里面更改fd相应的事件epoll_ctl * */
src/net/Channel.cc:35
Method
update
src/net/poller/EPollPoller.cc:135
Method
updateChannel
* Channel::update => EventLoop::updateChannel => Poller::updateChannel * Channel::remove => EventLoop::removeChannel => Poller::removeChannel */
src/net/poller/EPollPoller.cc:66
Function
value
src/mysql/json.hpp:16306
Method
value
return value of the iterator
src/mysql/json.hpp:1789
Method
value
return the value of an iterator
src/mysql/json.hpp:8455
Method
version
include/tiny_network/http/HttpRequest.h:25
Method
wakeup
src/net/EventLoop.cc:146
Method
what
returns the explanatory string
src/mysql/json.hpp:149
← previous
next →
701–800 of 860, ranked by callers