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
↓ 3 callers
Method
retrieveAllAsString
将onMessage函数上报的Buffer数据,转成string类型的数据返回
src/net/Buffer.h:89
↓ 3 callers
Method
setBody
src/http/HttpResponse.h:44
↓ 3 callers
Method
setContentType
src/http/HttpResponse.h:38
↓ 3 callers
Method
set_end
! @brief set the iterator past the last value @pre The iterator is initialized; i.e. `m_object != nullptr`. */
src/mysql/json.hpp:7910
↓ 3 callers
Method
set_index
src/net/Channel.h:65
↓ 3 callers
Method
update
更新数据库:包括 insert update delete 操作
src/mysql/MysqlConn.cc:32
↓ 2 callers
Method
GetBufferAllAsString
DEBUG使用,提取出string类型,但是不会置位
src/net/Buffer.h:81
↓ 2 callers
Method
accept
! @brief public accept interface @param[in] strict whether to expect the last token to be EOF @return whether the input is a proper
src/mysql/json.hpp:7193
↓ 2 callers
Method
add
src/logger/FixedBuffer.h:36
↓ 2 callers
Method
add
src/base/ThreadPool.cc:53
↓ 2 callers
Function
addTime
如果是重复定时任务就会对此时间戳进行增加。
include/tiny_network/base/Timestamp.h:65
↓ 2 callers
Function
cacheTid
src/base/CurrentThread.cc:7
↓ 2 callers
Function
compute_boundaries
src/mysql/json.hpp:11218
↓ 2 callers
Method
createPool
src/memory/MemoryPool.cc:6
↓ 2 callers
Method
current
src/logger/FixedBuffer.h:34
↓ 2 callers
Function
destroy
src/mysql/json.hpp:13894
↓ 2 callers
Method
destroyPool
src/memory/MemoryPool.cc:36
↓ 2 callers
Method
findCRLF
src/net/Buffer.h:133
↓ 2 callers
Method
freeMemory
src/memory/MemoryPool.cc:193
↓ 2 callers
Function
from_json_array_impl
src/mysql/json.hpp:1459
↓ 2 callers
Method
get
@brief get next character from the input This function provides the interface to the used input adapter. It does not throw in case the inp
src/mysql/json.hpp:6777
↓ 2 callers
Method
getConnection
获取连接
src/mysql/ConnectionPool.cc:122
↓ 2 callers
Function
getErrnoMsg
src/logger/Logging.cc:11
↓ 2 callers
Method
getLoop
src/net/TcpServer.h:51
↓ 2 callers
Method
get_character
src/mysql/json.hpp:2340
↓ 2 callers
Function
get_impl_ptr
get a pointer to the value (object)
src/mysql/json.hpp:15276
↓ 2 callers
Function
grisu2_round
src/mysql/json.hpp:11577
↓ 2 callers
Method
index
* for Poller * const int kNew = -1; // fd还未被poller监视 * const int kAdded = 1; // fd正被poller监视中 * const int kDeleted = 2; // fd被
src/net/Channel.h:64
↓ 2 callers
Function
insert
! @brief inserts element Inserts element @a val before iterator @a pos. @param[in] pos iterator before which the content will be in
src/mysql/json.hpp:18019
↓ 2 callers
Method
isInLoopThread
判断EventLoop是否在自己的线程
src/net/EventLoop.h:51
↓ 2 callers
Method
is_end
return whether the iterator is at end
src/mysql/json.hpp:7605
↓ 2 callers
Method
is_errored
src/mysql/json.hpp:2992
↓ 2 callers
Function
is_number_unsigned
! @brief return whether value is an unsigned integer number This function returns true if and only if the JSON value is an unsigned i
src/mysql/json.hpp:15105
↓ 2 callers
Method
length
src/logger/FixedBuffer.h:32
↓ 2 callers
Method
name
src/mysql/json.hpp:160
↓ 2 callers
Method
name
src/net/TcpServer.h:53
↓ 2 callers
Function
parse
src/mysql/json.hpp:19178
↓ 2 callers
Method
refreshAliveTime
刷新起始的空闲时间点
src/mysql/MysqlConn.cc:106
↓ 2 callers
Method
reset
src/timer/TimerQueue.cc:141
↓ 2 callers
Method
retrieveUntil
src/net/Buffer.h:51
↓ 2 callers
Method
setCloseCallback
src/net/Channel.h:36
↓ 2 callers
Method
setCloseConnection
src/http/HttpResponse.h:32
↓ 2 callers
Method
setPath
src/http/HttpRequest.h:86
↓ 2 callers
Method
setVersion
src/http/HttpRequest.h:20
↓ 2 callers
Method
set_begin
! @brief set the iterator to the first value @pre The iterator is initialized; i.e. `m_object != nullptr`. */
src/mysql/json.hpp:7873
↓ 2 callers
Method
shutdown
关闭连接
src/net/TcpConnection.cc:174
↓ 2 callers
Function
size
! @brief returns the number of elements Returns the number of elements in a JSON value. @return The return value depends on the dif
src/mysql/json.hpp:17497
↓ 2 callers
Method
start
example/echoServerAsync.cc:24
↓ 2 callers
Function
test_Logging
src/logger/test/AsyncLoggingTest.cc:16
↓ 2 callers
Method
toFormattedString
2022/08/26 16:29:10 20220826 16:29:10.773804
src/base/Timestamp.cc:17
↓ 2 callers
Method
write_bson
! @param[in] j JSON value to serialize @pre j.type() == value_t::object */
src/mysql/json.hpp:9725
↓ 2 callers
Method
write_cbor
! @param[in] j JSON value to serialize */
src/mysql/json.hpp:9745
↓ 2 callers
Method
write_msgpack
! @param[in] j JSON value to serialize */
src/mysql/json.hpp:9989
↓ 2 callers
Method
write_ubjson
! @param[in] j JSON value to serialize @param[in] use_count whether to use '#' prefixes (optimized format) @param[in] use_type wh
src/mysql/json.hpp:10231
↓ 1 callers
Function
CheckLoopNotNull
src/net/TcpConnection.cc:15
↓ 1 callers
Function
CheckLoopNotNull
检查传入的 baseLoop 指针是否有意义
src/net/TcpServer.cc:9
↓ 1 callers
Function
ReadTimerFd
src/timer/TimerQueue.cc:98
↓ 1 callers
Method
accept
src/net/Socket.cc:33
↓ 1 callers
Method
append
src/logger/AsyncLogging.cc:25
↓ 1 callers
Method
append
string::data() 转换成字符数组,但是没有 '\0'
src/net/Buffer.h:115
↓ 1 callers
Method
appendToBuffer
src/http/HttpResponse.cc:7
↓ 1 callers
Function
append_exponent
! @brief appends a decimal representation of e to buf @return a pointer to the element following the exponent. @pre -1000 < e < 1000 */
src/mysql/json.hpp:11955
↓ 1 callers
Method
bindAddress
src/net/Socket.cc:17
↓ 1 callers
Method
closeConnection
src/http/HttpResponse.h:35
↓ 1 callers
Function
crbegin
! @brief returns a const reverse iterator to the last element Returns a const iterator to the reverse-beginning; that is, the last el
src/mysql/json.hpp:17191
↓ 1 callers
Function
createEventfd
TODO:eventfd使用
src/net/EventLoop.cc:15
↓ 1 callers
Function
createNonblocking
src/net/Acceptor.cc:9
↓ 1 callers
Function
createTimerfd
src/timer/TimerQueue.cc:11
↓ 1 callers
Function
crend
! @brief returns a const reverse iterator to one before the first Returns a const reverse iterator to the reverse-end; that is, one before
src/mysql/json.hpp:17220
↓ 1 callers
Method
data
include/tiny_network/logger/FixedBuffer.h:31
↓ 1 callers
Method
disableWriting
src/net/Channel.h:50
↓ 1 callers
Method
enableWriting
src/net/Channel.h:49
↓ 1 callers
Method
end
include/tiny_network/logger/FixedBuffer.h:44
↓ 1 callers
Function
erase
src/mysql/json.hpp:16542
↓ 1 callers
Method
events
返回封装的fd
src/net/Channel.h:43
↓ 1 callers
Function
find_largest_pow10
! For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k. For n == 0, returns 1 and sets pow10 := 1. */
src/mysql/json.hpp:11521
↓ 1 callers
Method
finish
src/logger/Logging.cc:92
↓ 1 callers
Function
format_buffer
! @brief prettify v = buf * 10^decimal_exponent If v is in the range [10^min_exp, 10^max_exp) it will be printed in fixed-point notation. Otherwi
src/mysql/json.hpp:12005
↓ 1 callers
Function
from_json_tuple_impl
src/mysql/json.hpp:1607
↓ 1 callers
Method
getAliveTime
计算连接存活的总时长
src/mysql/MysqlConn.cc:113
↓ 1 callers
Function
getAsyncLog
src/logger/test/AsyncLoggingTest.cc:11
↓ 1 callers
Method
getHeader
获取请求头部的对应值
src/http/HttpRequest.h:126
↓ 1 callers
Method
getNextLoop
如果工作在多线程中,baseLoop_(mainLoop)会默认以轮询的方式分配Channel给subLoop
src/net/EventLoopThreadPool.cc:47
↓ 1 callers
Method
getPool
src/memory/MemoryPool.h:78
↓ 1 callers
Method
getSockAddr
src/net/InetAddress.h:22
↓ 1 callers
Function
get_cached_power_for_binary_exponent
! For a normalized diyfp w = f * 2^e, this function returns a (normalized) cached power-of-ten c = f_c * 2^e_c, such that the exponent of the produc
src/mysql/json.hpp:11357
↓ 1 callers
Method
get_error_message
return syntax error message
src/mysql/json.hpp:6912
↓ 1 callers
Method
get_number_float
return floating-point value
src/mysql/json.hpp:6864
↓ 1 callers
Method
get_number_integer
return integer value
src/mysql/json.hpp:6852
↓ 1 callers
Method
get_number_unsigned
return unsigned integer value
src/mysql/json.hpp:6858
↓ 1 callers
Method
get_value
src/mysql/json.hpp:7581
↓ 1 callers
Method
gotAll
src/http/HttpContext.h:27
↓ 1 callers
Function
grisu2
! v = buf * 10^decimal_exponent len is the length of the buffer (number of decimal digits) The buffer must be large enough, i.e. >= max_digits10.
src/mysql/json.hpp:11858
↓ 1 callers
Function
grisu2_digit_gen
! Generates V = buffer * 10^decimal_exponent, such that M- <= V <= M+. M- and M+ must be normalized and share the same exponent -60 <= e <= -32. */
src/mysql/json.hpp:11618
↓ 1 callers
Method
handleEvent
fd得到poller通知以后,去处理事件
src/net/Channel.cc:50
↓ 1 callers
Function
initLogLevel
src/logger/Logging.cc:27
↓ 1 callers
Method
ipPort
src/net/TcpServer.h:55
↓ 1 callers
Method
isNoneEvent
返回fd当前的事件状态
src/net/Channel.h:54
↓ 1 callers
Function
is_number
! @brief return whether value is a number This function returns true if and only if the JSON value is a number. This includes both in
src/mysql/json.hpp:15048
↓ 1 callers
Method
methodString
src/http/HttpRequest.h:60
← previous
next →
101–200 of 860, ranked by callers