MCPcopy Create free account

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

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

↓ 155 callersFunctioncreate
src/mysql/json.hpp:13719
↓ 110 callersMethodsize
src/mysql/json.hpp:633
↓ 94 callersMethodwrite_character
src/mysql/json.hpp:9609
↓ 43 callersMethodend
return iterator end (needed for range-based for)
src/mysql/json.hpp:1814
↓ 41 callersMethodempty
! @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 callersMethodbegin
return iterator begin (needed for range-based for)
src/mysql/json.hpp:1808
↓ 39 callersFunctionget
src/mysql/json.hpp:1823
↓ 39 callersMethodwrite_characters
src/mysql/json.hpp:9614
↓ 33 callersMethodpush_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 callersFunctiontype_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 callersMethoddata
src/logger/FixedBuffer.h:31
↓ 26 callersMethodparse_error
src/mysql/json.hpp:253
↓ 25 callersMethodappend
src/logger/LogFile.cc:22
↓ 24 callersFunctionassert_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 callersFunctionbasic_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 callersFunctionis_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 callersMethodkey
src/mysql/json.hpp:3387
↓ 23 callersFunctionbegin
! @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 callersMethodget_position
return position of last read token
src/mysql/json.hpp:6880
↓ 20 callersMethodoperator[]
! @brief access to successor @pre The iterator is initialized; i.e. `m_object != nullptr`. */
src/mysql/json.hpp:8280
↓ 19 callersMethodjoin
src/base/Thread.cc:57
↓ 18 callersMethodnumber_integer
src/mysql/json.hpp:3362
↓ 17 callersFunctionend
! @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 callersMethodcount
include/tiny_network/base/chrono/Timer.h:159
↓ 16 callersFunctionis_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 callersFunctionis_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 callersMethodpop_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 callersFunctionto_json
src/mysql/json.hpp:2055
↓ 15 callersFunctionfrom_json
src/mysql/json.hpp:1315
↓ 14 callersMethodget_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 callersFunctionupdate
! @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 callersMethodfd
获取sockfd
src/net/Socket.h:18
↓ 13 callersMethodnumber_unsigned
src/mysql/json.hpp:3367
↓ 11 callersMethodsax_parse
src/mysql/json.hpp:7200
↓ 10 callersMethodboolean
src/mysql/json.hpp:3357
↓ 10 callersMethodnumber_float
src/mysql/json.hpp:3372
↓ 10 callersMethodvalue
! @brief return the value of an iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
src/mysql/json.hpp:8327
↓ 9 callersMethodinsert
src/timer/TimerQueue.cc:166
↓ 9 callersMethodmicroSecondsSinceEpoch
返回当前时间戳的微妙
src/base/Timestamp.h:30
↓ 8 callersMethodrunInLoop
在当前eventLoop中执行回调函数
src/net/EventLoop.cc:110
↓ 8 callersMethodstring
src/mysql/json.hpp:3377
↓ 8 callersFunctionswap
! @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 callersMethodend_array
src/mysql/json.hpp:3402
↓ 7 callersMethodend_object
src/mysql/json.hpp:3392
↓ 7 callersMethodstart_array
src/mysql/json.hpp:3397
↓ 7 callersMethodstart_object
src/mysql/json.hpp:3382
↓ 7 callersMethodtoIpPort
src/net/InetAddress.cc:19
↓ 6 callersMethoddump
! @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 callersFunctionfind
src/mysql/json.hpp:16822
↓ 6 callersFunctionis_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 callersMethodnull
src/mysql/json.hpp:3352
↓ 5 callersFunctionJSON_CATCH
src/mysql/json.hpp:8967
↓ 5 callersMethodbegin
src/net/Buffer.h:156
↓ 5 callersMethodconnect
连接数据库
src/mysql/MysqlConn.cc:24
↓ 5 callersMethoddisableAll
src/net/Channel.h:51
↓ 5 callersMethodis_begin
return whether the iterator can be dereferenced
src/mysql/json.hpp:7599
↓ 5 callersMethodmicroSecondsSinceEpoch
返回当前时间戳的微妙
include/tiny_network/base/Timestamp.h:30
↓ 5 callersFunctionpush_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 callersMethodreset
src/logger/FixedBuffer.h:38
↓ 5 callersMethodsetStatusCode
src/http/HttpResponse.h:26
↓ 5 callersMethodsetStatusMessage
src/http/HttpResponse.h:29
↓ 5 callersFunctionshowInfo
src/memory/test/MemoryPoolTest.cc:11
↓ 4 callersMethodaddTimer
src/timer/TimerQueue.cc:49
↓ 4 callersMethodbzero
src/logger/FixedBuffer.h:39
↓ 4 callersFunctioncend
! @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 callersFunctionempty
! @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 callersMethodenableReading
设置fd相应的事件状态,update()其本质调用epoll_ctl
src/net/Channel.h:47
↓ 4 callersFunctionescape
escape "~" to "~0" and "/" to "~1"
src/mysql/json.hpp:9332
↓ 4 callersFunctionget_arithmetic_value
src/mysql/json.hpp:1329
↓ 4 callersMethodget_string
src/mysql/json.hpp:5434
↓ 4 callersFunctioninsert_iterator
src/mysql/json.hpp:17981
↓ 4 callersMethodisWriting
src/net/Channel.h:55
↓ 4 callersFunctionis_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 callersMethodloop
src/net/EventLoop.cc:65
↓ 4 callersMethodmalloc
src/memory/MemoryPool.cc:146
↓ 4 callersMethodpeek
返回缓冲区中可读数据的起始地址
src/net/Buffer.h:46
↓ 4 callersMethodqueueInLoop
src/net/EventLoop.cc:125
↓ 4 callersMethodreadableBytes
* kCheapPrepend | reader | writer | * writerIndex_ - readerIndex_ */
src/net/Buffer.h:33
↓ 4 callersMethodremove
在channel所属的EventLoop中,把当前的channel删除掉
src/net/Channel.cc:43
↓ 4 callersFunctionreplace_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 callersMethodsend
发送数据
src/net/TcpConnection.cc:62
↓ 4 callersMethodsetConnectionCallback
src/net/TcpServer.h:41
↓ 4 callersMethodsetMessageCallback
src/net/TcpServer.h:42
↓ 4 callersMethodsetReadCallback
设置回调函数对象 使用右值引用,延长了cb对象的生命周期,避免了拷贝操作
src/net/Channel.h:34
↓ 4 callersMethodswap
src/http/HttpRequest.h:142
↓ 4 callersFunctiontid
内联函数
src/base/CurrentThread.h:14
↓ 4 callersMethodvalue
得到结果集中的字段值
src/mysql/MysqlConn.cc:70
↓ 3 callersMethodaddHeader
src/http/HttpRequest.h:107
↓ 3 callersFunctionaddTime
如果是重复定时任务就会对此时间戳进行增加。
src/base/Timestamp.h:65
↓ 3 callersMethodavail
src/logger/FixedBuffer.h:35
↓ 3 callersFunctioncbegin
! @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 callersMethodconnected
src/net/TcpConnection.h:35
↓ 3 callersMethodexpiration
src/timer/Timer.h:30
↓ 3 callersMethodfd
src/net/Channel.h:42
↓ 3 callersMethodflush
src/logger/LogFile.cc:58
↓ 3 callersFunctionis_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 callersFunctionis_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 callersMethodmoved_or_copied
src/mysql/json.hpp:9527
↓ 3 callersMethodparse
! @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 callersMethodquery
查询数据库
src/mysql/MysqlConn.cc:42
next →1–100 of 860, ranked by callers