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
↓ 155 callers
Function
create
src/mysql/json.hpp:13719
↓ 110 callers
Method
size
src/mysql/json.hpp:633
↓ 94 callers
Method
write_character
src/mysql/json.hpp:9609
↓ 43 callers
Method
end
return iterator end (needed for range-based for)
src/mysql/json.hpp:1814
↓ 41 callers
Method
empty
! @brief return whether pointer points to the root document @return true iff the JSON pointer points to the root document @complexi
src/mysql/json.hpp:8786
↓ 39 callers
Method
begin
return iterator begin (needed for range-based for)
src/mysql/json.hpp:1808
↓ 39 callers
Function
get
src/mysql/json.hpp:1823
↓ 39 callers
Method
write_characters
src/mysql/json.hpp:9614
↓ 33 callers
Method
push_back
! @brief append an unescaped token at the end of the reference pointer @param[in] token token to add @complexity Amortized constan
src/mysql/json.hpp:8761
↓ 32 callers
Function
type_name
! @brief return the type as string Returns the type name as string to be used in error messages - usually to indicate that a function
src/mysql/json.hpp:19286
↓ 31 callers
Method
data
src/logger/FixedBuffer.h:31
↓ 26 callers
Method
parse_error
src/mysql/json.hpp:253
↓ 25 callers
Method
append
src/logger/LogFile.cc:22
↓ 24 callers
Function
assert_invariant
! @brief checks the class invariants This function asserts the class invariants. It needs to be called at the end of every constructo
src/mysql/json.hpp:13939
↓ 24 callers
Function
basic_json
! @brief create an empty value with a given type Create an empty JSON value with a given type. The value will be default initialized
src/mysql/json.hpp:14057
↓ 24 callers
Function
is_object
! @brief return whether value is an object This function returns true if and only if the JSON value is an object. @return `true` if
src/mysql/json.hpp:15155
↓ 24 callers
Method
key
src/mysql/json.hpp:3387
↓ 23 callers
Function
begin
! @brief returns an iterator to the first element Returns an iterator to the first element. @image html range-begin-end.svg "Illust
src/mysql/json.hpp:16976
↓ 23 callers
Method
get_position
return position of last read token
src/mysql/json.hpp:6880
↓ 20 callers
Method
operator[]
! @brief access to successor @pre The iterator is initialized; i.e. `m_object != nullptr`. */
src/mysql/json.hpp:8280
↓ 19 callers
Method
join
src/base/Thread.cc:57
↓ 18 callers
Method
number_integer
src/mysql/json.hpp:3362
↓ 17 callers
Function
end
! @brief returns an iterator to one past the last element Returns an iterator to one past the last element. @image html range-begin
src/mysql/json.hpp:17047
↓ 16 callers
Method
count
include/tiny_network/base/chrono/Timer.h:159
↓ 16 callers
Function
is_array
! @brief return whether value is an array This function returns true if and only if the JSON value is an array. @return `true` if t
src/mysql/json.hpp:15177
↓ 16 callers
Function
is_null
! @brief return whether value is null This function returns true if and only if the JSON value is null. @return `true` if type is n
src/mysql/json.hpp:14996
↓ 16 callers
Method
pop_back
! @brief remove last reference token @pre not `empty()` @liveexample{The example shows the usage of `pop_back`.,json_pointer__pop_b
src/mysql/json.hpp:8715
↓ 16 callers
Function
to_json
src/mysql/json.hpp:2055
↓ 15 callers
Function
from_json
src/mysql/json.hpp:1315
↓ 14 callers
Method
get_token_string
return the last read token (for errors only). Will never contain EOF (an arbitrary value that is not a valid char value, often -1), because 255 may l
src/mysql/json.hpp:6888
↓ 14 callers
Function
update
! @brief updates a JSON object from another object, overwriting existing keys Inserts all values from JSON object @a j and overwrites exis
src/mysql/json.hpp:18254
↓ 13 callers
Method
fd
获取sockfd
src/net/Socket.h:18
↓ 13 callers
Method
number_unsigned
src/mysql/json.hpp:3367
↓ 11 callers
Method
sax_parse
src/mysql/json.hpp:7200
↓ 10 callers
Method
boolean
src/mysql/json.hpp:3357
↓ 10 callers
Method
number_float
src/mysql/json.hpp:3372
↓ 10 callers
Method
value
! @brief return the value of an iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
src/mysql/json.hpp:8327
↓ 9 callers
Method
insert
src/timer/TimerQueue.cc:166
↓ 9 callers
Method
microSecondsSinceEpoch
返回当前时间戳的微妙
src/base/Timestamp.h:30
↓ 8 callers
Method
runInLoop
在当前eventLoop中执行回调函数
src/net/EventLoop.cc:110
↓ 8 callers
Method
string
src/mysql/json.hpp:3377
↓ 8 callers
Function
swap
! @brief exchanges the values Exchanges the contents of the JSON value with those of @a other. Does not invoke any move, copy, or swa
src/mysql/json.hpp:18356
↓ 7 callers
Method
end_array
src/mysql/json.hpp:3402
↓ 7 callers
Method
end_object
src/mysql/json.hpp:3392
↓ 7 callers
Method
start_array
src/mysql/json.hpp:3397
↓ 7 callers
Method
start_object
src/mysql/json.hpp:3382
↓ 7 callers
Method
toIpPort
src/net/InetAddress.cc:19
↓ 6 callers
Method
dump
! @brief internal implementation of the serialization function This function is called by the public member function dump and organizes
src/mysql/json.hpp:12216
↓ 6 callers
Function
find
src/mysql/json.hpp:16822
↓ 6 callers
Function
is_string
! @brief return whether value is a string This function returns true if and only if the JSON value is a string. @return `true` if t
src/mysql/json.hpp:15199
↓ 6 callers
Method
null
src/mysql/json.hpp:3352
↓ 5 callers
Function
JSON_CATCH
src/mysql/json.hpp:8967
↓ 5 callers
Method
begin
src/net/Buffer.h:156
↓ 5 callers
Method
connect
连接数据库
src/mysql/MysqlConn.cc:24
↓ 5 callers
Method
disableAll
src/net/Channel.h:51
↓ 5 callers
Method
is_begin
return whether the iterator can be dereferenced
src/mysql/json.hpp:7599
↓ 5 callers
Method
microSecondsSinceEpoch
返回当前时间戳的微妙
include/tiny_network/base/Timestamp.h:30
↓ 5 callers
Function
push_back
! @brief add an object to an array Appends the given element @a val to the end of the JSON value. If the function is called on a JSON
src/mysql/json.hpp:17708
↓ 5 callers
Method
reset
src/logger/FixedBuffer.h:38
↓ 5 callers
Method
setStatusCode
src/http/HttpResponse.h:26
↓ 5 callers
Method
setStatusMessage
src/http/HttpResponse.h:29
↓ 5 callers
Function
showInfo
src/memory/test/MemoryPoolTest.cc:11
↓ 4 callers
Method
addTimer
src/timer/TimerQueue.cc:49
↓ 4 callers
Method
bzero
src/logger/FixedBuffer.h:39
↓ 4 callers
Function
cend
! @brief returns a const iterator to one past the last element Returns a const iterator to one past the last element. @image html r
src/mysql/json.hpp:17087
↓ 4 callers
Function
empty
! @brief checks whether the container is empty. Checks if a JSON value has no elements (i.e. whether its @ref size is `0`). @return
src/mysql/json.hpp:17425
↓ 4 callers
Method
enableReading
设置fd相应的事件状态,update()其本质调用epoll_ctl
src/net/Channel.h:47
↓ 4 callers
Function
escape
escape "~" to "~0" and "/" to "~1"
src/mysql/json.hpp:9332
↓ 4 callers
Function
get_arithmetic_value
src/mysql/json.hpp:1329
↓ 4 callers
Method
get_string
src/mysql/json.hpp:5434
↓ 4 callers
Function
insert_iterator
src/mysql/json.hpp:17981
↓ 4 callers
Method
isWriting
src/net/Channel.h:55
↓ 4 callers
Function
is_boolean
! @brief return whether value is a boolean This function returns true if and only if the JSON value is a boolean. @return `true` if
src/mysql/json.hpp:15018
↓ 4 callers
Method
loop
src/net/EventLoop.cc:65
↓ 4 callers
Method
malloc
src/memory/MemoryPool.cc:146
↓ 4 callers
Method
peek
返回缓冲区中可读数据的起始地址
src/net/Buffer.h:46
↓ 4 callers
Method
queueInLoop
src/net/EventLoop.cc:125
↓ 4 callers
Method
readableBytes
* kCheapPrepend | reader | writer | * writerIndex_ - readerIndex_ */
src/net/Buffer.h:33
↓ 4 callers
Method
remove
在channel所属的EventLoop中,把当前的channel删除掉
src/net/Channel.cc:43
↓ 4 callers
Function
replace_substring
! @brief replace all occurrences of a substring by another string @param[in,out] s the string to manipulate; changed so that all
src/mysql/json.hpp:9320
↓ 4 callers
Method
send
发送数据
src/net/TcpConnection.cc:62
↓ 4 callers
Method
setConnectionCallback
src/net/TcpServer.h:41
↓ 4 callers
Method
setMessageCallback
src/net/TcpServer.h:42
↓ 4 callers
Method
setReadCallback
设置回调函数对象 使用右值引用,延长了cb对象的生命周期,避免了拷贝操作
src/net/Channel.h:34
↓ 4 callers
Method
swap
src/http/HttpRequest.h:142
↓ 4 callers
Function
tid
内联函数
src/base/CurrentThread.h:14
↓ 4 callers
Method
value
得到结果集中的字段值
src/mysql/MysqlConn.cc:70
↓ 3 callers
Method
addHeader
src/http/HttpRequest.h:107
↓ 3 callers
Function
addTime
如果是重复定时任务就会对此时间戳进行增加。
src/base/Timestamp.h:65
↓ 3 callers
Method
avail
src/logger/FixedBuffer.h:35
↓ 3 callers
Function
cbegin
! @brief returns a const iterator to the first element Returns a const iterator to the first element. @image html range-begin-end.s
src/mysql/json.hpp:17016
↓ 3 callers
Method
connected
src/net/TcpConnection.h:35
↓ 3 callers
Method
expiration
src/timer/Timer.h:30
↓ 3 callers
Method
fd
src/net/Channel.h:42
↓ 3 callers
Method
flush
src/logger/LogFile.cc:58
↓ 3 callers
Function
is_number_float
! @brief return whether value is a floating-point number This function returns true if and only if the JSON value is a floating-point
src/mysql/json.hpp:15133
↓ 3 callers
Function
is_number_integer
! @brief return whether value is an integer number This function returns true if and only if the JSON value is a signed or unsigned i
src/mysql/json.hpp:15077
↓ 3 callers
Method
moved_or_copied
src/mysql/json.hpp:9527
↓ 3 callers
Method
parse
! @brief public parser interface @param[in] strict whether to expect the last token to be EOF @param[in,out] result parsed JSON
src/mysql/json.hpp:7132
↓ 3 callers
Method
query
查询数据库
src/mysql/MysqlConn.cc:42
next →
1–100 of 860, ranked by callers