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
↓ 1 callers
Method
next
遍历查询得到的结果集
src/mysql/MysqlConn.cc:56
↓ 1 callers
Function
onRequest
src/http/main.cc:10
↓ 1 callers
Function
op1
非连接池
src/mysql/test/MysqlPoolTest.cc:11
↓ 1 callers
Function
op2
连接池
src/mysql/test/MysqlPoolTest.cc:24
↓ 1 callers
Method
operator+
add to iterator
src/mysql/json.hpp:8424
↓ 1 callers
Function
operator+=
! @brief add an object to an array @copydoc push_back(basic_json&&) */
src/mysql/json.hpp:17735
↓ 1 callers
Function
operator<
! @brief comparison operator for JSON types Returns an ordering that is similar to Python: - order: null < boolean < number < object < array < st
src/mysql/json.hpp:1294
↓ 1 callers
Method
parseRequest
return false if any error
src/http/HttpContext.cc:57
↓ 1 callers
Method
poll
src/net/poller/EPollPoller.cc:25
↓ 1 callers
Method
quit
src/net/EventLoop.cc:93
↓ 1 callers
Method
readFd
* 从fd上读取数据 Poller工作在LT模式 * Buffer缓冲区是有大小的! 但是从fd上读取数据的时候 却不知道tcp数据的最终大小 * * @description: 从socket读到缓冲区的方法是使用readv先读至buffer_, * Buffer_空间如果不够会读入到栈上
src/net/Buffer.cc:18
↓ 1 callers
Method
removeChannel
src/net/EventLoop.cc:171
↓ 1 callers
Method
repeat
src/timer/Timer.h:31
↓ 1 callers
Method
reset
重置HttpContext状态,异常安全
src/http/HttpContext.h:30
↓ 1 callers
Method
reset
include/tiny_network/logger/FixedBuffer.h:38
↓ 1 callers
Method
resetPool
src/memory/MemoryPool.cc:236
↓ 1 callers
Method
restart
src/timer/Timer.cc:3
↓ 1 callers
Method
retrieve
onMessage string <- Buffer 需要进行复位操作
src/net/Buffer.h:58
↓ 1 callers
Method
retrieveAll
全部读完,则直接将可读缓冲区指针移动到写缓冲区指针那
src/net/Buffer.h:74
↓ 1 callers
Method
run
src/timer/Timer.h:25
↓ 1 callers
Function
sax_parse
src/mysql/json.hpp:19115
↓ 1 callers
Method
scan
src/mysql/json.hpp:6939
↓ 1 callers
Method
setErrorCallback
src/net/Channel.h:37
↓ 1 callers
Method
setHttpCallback
src/http/HttpServer.h:24
↓ 1 callers
Method
setKeepAlive
src/net/Socket.cc:91
↓ 1 callers
Function
setLogging
example/echoServerAsync.cc:67
↓ 1 callers
Method
setMethod
src/http/HttpRequest.h:27
↓ 1 callers
Method
setNewConnectionCallback
src/net/Acceptor.h:23
↓ 1 callers
Method
setQuery
src/http/HttpRequest.h:93
↓ 1 callers
Method
setReceiveTime
src/http/HttpRequest.h:100
↓ 1 callers
Method
setReuseAddr
设置地址复用,其实就是可以使用处于Time-wait的端口
src/net/Socket.cc:78
↓ 1 callers
Method
setReusePort
通过改变内核信息,多个进程可以绑定同一个地址。通俗就是多个服务的ip+port是一样
src/net/Socket.cc:85
↓ 1 callers
Method
setSockAddr
src/net/InetAddress.h:23
↓ 1 callers
Method
setThreadNum
设置底层subloop的个数
src/net/TcpServer.cc:53
↓ 1 callers
Method
setThreadSize
src/base/ThreadPool.h:22
↓ 1 callers
Method
setWriteCallback
src/net/Channel.h:35
↓ 1 callers
Method
setWriteCompleteCallback
src/net/TcpServer.h:43
↓ 1 callers
Method
set_revents
返回感兴趣的事件
src/net/Channel.h:44
↓ 1 callers
Method
shutdownWrite
TODO:socket的各个设置的用法
src/net/Socket.cc:59
↓ 1 callers
Function
split
! @brief split the string input to reference tokens @note This function is only called by the json_pointer constructor. All exc
src/mysql/json.hpp:9245
↓ 1 callers
Method
start
example/echoServer.cc:24
↓ 1 callers
Method
start
src/logger/AsyncLogging.h:33
↓ 1 callers
Method
start
src/http/HttpServer.cc:33
↓ 1 callers
Method
start
src/base/Thread.cc:34
↓ 1 callers
Method
start
开启服务器监听
src/net/TcpServer.cc:60
↓ 1 callers
Method
start
include/tiny_network/base/chrono/Timer.h:125
↓ 1 callers
Method
startLoop
src/net/EventLoopThread.cc:32
↓ 1 callers
Method
stop
src/logger/AsyncLogging.h:39
↓ 1 callers
Method
swap
include/tiny_network/http/HttpRequest.h:142
↓ 1 callers
Function
test1
src/base/test/ThreadPool.cc:15
↓ 1 callers
Function
test2
src/memory/test/MemoryPoolTest.cc:92
↓ 1 callers
Function
test3
src/mysql/test/MysqlPoolTest.cc:129
↓ 1 callers
Function
test_AsyncLogging
src/logger/test/AsyncLoggingTest.cc:30
↓ 1 callers
Function
tid
内联函数
include/tiny_network/base/CurrentThread.h:14
↓ 1 callers
Method
tie
在TcpConnection建立得时候会调用
src/net/Channel.cc:24
↓ 1 callers
Method
toString
src/logger/FixedBuffer.h:41
↓ 1 callers
Function
to_cbor
src/mysql/json.hpp:19424
↓ 1 callers
Function
to_chars
src/mysql/json.hpp:12088
↓ 1 callers
Function
to_json_tuple_impl
src/mysql/json.hpp:2172
↓ 1 callers
Method
top
src/mysql/json.hpp:8813
↓ 1 callers
Function
unescape
unescape "~1" to tilde and "~0" to slash (order is important!)
src/mysql/json.hpp:9340
↓ 1 callers
Method
updateChannel
src/net/EventLoop.cc:166
↓ 1 callers
Method
version
src/http/HttpRequest.h:25
↓ 1 callers
Method
write
src/logger/FileUtil.cc:47
↓ 1 callers
Method
writeFd
inputBuffer_.readFd表示将对端数据读到inputBuffer_中,移动writerIndex_指针 outputBuffer_.writeFd表示将数据写入到outputBuffer_中,从readerIndex_开始,可以写readableBytes()个字节
src/net/Buffer.cc:66
↓ 1 callers
Method
writtenBytes
src/logger/FileUtil.h:17
Method
Acceptor
src/net/Acceptor.cc:20
Method
AsyncLogging
src/logger/AsyncLogging.cc:6
Method
Buffer
src/net/Buffer.h:23
Method
Buffer
include/tiny_network/net/Buffer.h:23
Method
Channel
src/net/Channel.cc:8
Method
ConnectionPool
src/mysql/ConnectionPool.cc:13
Method
ConnectionPool
src/mysql/ConnectionPool.h:22
Method
ConnectionPool
include/tiny_network/mysql/ConnectionPool.h:22
Method
EPollPoller
TODO:epoll_create1(EPOLL_CLOEXEC)
src/net/poller/EPollPoller.cc:9
Method
EchoServer
example/echoServer.cc:9
Method
EchoServer
example/echoServerAsync.cc:9
Method
EventLoop
src/net/EventLoop.cc:25
Method
EventLoopThread
src/net/EventLoopThread.cc:4
Method
EventLoopThreadPool
src/net/EventLoopThreadPool.cc:6
Method
FileUtil
src/logger/FileUtil.cc:4
Method
FixedBuffer
src/logger/FixedBuffer.h:17
Method
FixedBuffer
include/tiny_network/logger/FixedBuffer.h:17
Method
GeneralTemplate
src/logger/LogStream.h:17
Method
GeneralTemplate
include/tiny_network/logger/LogStream.h:17
Method
GetBufferAllAsString
DEBUG使用,提取出string类型,但是不会置位
include/tiny_network/net/Buffer.h:81
Method
HttpContext
src/http/HttpContext.h:20
Method
HttpContext
include/tiny_network/http/HttpContext.h:20
Method
HttpRequest
src/http/HttpRequest.h:14
Method
HttpRequest
include/tiny_network/http/HttpRequest.h:14
Method
HttpResponse
src/http/HttpResponse.h:20
Method
HttpResponse
include/tiny_network/http/HttpResponse.h:20
Method
HttpServer
src/http/HttpServer.cc:19
Method
Impl
src/logger/Logging.cc:47
Method
InetAddress
src/net/InetAddress.h:13
Method
InetAddress
src/net/InetAddress.cc:3
Method
InetAddress
include/tiny_network/net/InetAddress.h:13
Function
JSON_INTERNAL_CATCH
src/mysql/json.hpp:16388
Method
LogFile
src/logger/LogFile.cc:3
Method
Logger
level默认为INFO等级
src/logger/Logging.cc:99
← previous
next →
201–300 of 860, ranked by callers