MCPcopy Create free account

hub / github.com/EricPengShuai/Interview / functions

Functions682 in github.com/EricPengShuai/Interview

↓ 1 callersFunctionaddsig
设置信号的处理函数
Linux/ch10/10-3sigurg.cpp:32
↓ 1 callersMethodadjust_timer
当某个定时任务发生变化时,调整对应的定时器在链表中的位置(只考虑被调整的定时器超时时间延长的情况)
Linux/ch11/11-2lst_timer.h:73
↓ 1 callersMethodadjust_timer
当某个定时任务发生变化时,调整对应的定时器在链表中的位置。这个函数只考虑被调整的定时器的 超时时间延长的情况,即该定时器需要往链表的尾部移动。*/
Linux/nowcoder/5-WebServer/webserver/lst_timer.h:69
↓ 1 callersMethodappend
Linux/ch15/15-3threadpool.h:77
↓ 1 callersMethodappend
Linux/nowcoder/5-WebServer/webserver/threadpool.h:86
↓ 1 callersFunctionbench
vraci system rc error kod */
Linux/nowcoder/5-WebServer/webserver/test_presure/webbench-1.5/webbench.c:294
↓ 1 callersFunctionbuild_request
Linux/nowcoder/5-WebServer/webserver/test_presure/webbench-1.5/webbench.c:199
↓ 1 callersFunctionbyteorder
Linux/ch5/5-1byteorder.cpp:2
↓ 1 callersFunctioncalculateRPE
计算逆波兰表达式的值
practice/calExp.cpp:63
↓ 1 callersMethodclear
Linux/nowcoder/5-WebServer/asyncLog/blockqueue.h:85
↓ 1 callersFunctiondel_resource
Linux/ch13/13-4shm_talk_server.cpp:82
↓ 1 callersMethoddel_timer
将目标定时器 timer 从链表中删除
Linux/nowcoder/5-WebServer/webserver/lst_timer.h:93
↓ 1 callersFunctiondoA
base_code/explicit.cpp:24
↓ 1 callersMethodempty
Linux/ch11/11-6time_heap.h:164
↓ 1 callersFunctionf
C++2.0/unique_ptr.cpp:11
↓ 1 callersMethodflush
Linux/nowcoder/5-WebServer/asyncLog/log.cpp:167
↓ 1 callersFunctionfoo
C++2.0/shared_ptr.cpp:5
↓ 1 callersMethodfull
Linux/nowcoder/5-WebServer/asyncLog/blockqueue.h:141
↓ 1 callersMethodfun
base_code/pure_virtual.cpp:24
↓ 1 callersMethodfun
base_code/virtual_function.cpp:41
↓ 1 callersMethodfun
base_code/default_arg.cpp:11
↓ 1 callersFunctionfunc
base_code/using_global.cpp:9
↓ 1 callersFunctionfunc4
practice/file.cpp:68
↓ 1 callersFunctiongeta
base_code/friend_func_class.cpp:27
↓ 1 callersFunctionglobalRaiseSalary
base_code/virtual.cpp:42
↓ 1 callersFunctionhandler
practice/exception.cpp:27
↓ 1 callersFunctionhelp
review/code/baidu_0313_2.cpp:15
↓ 1 callersMethodinit
初始化连接,外部调用初始化套接字地址
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:74
↓ 1 callersFunctionisOperator
判断字符是否为运算符(包括加减乘除)
practice/calExp.cpp:6
↓ 1 callersFunctionisPossible
STL/unordered_map.cpp:6
↓ 1 callersFunctionlistNodeToString
链表转字符串
memo/listnode.cpp:95
↓ 1 callersFunctionlt
LT 模式工作流程
Linux/ch9/9-3mtlt.cpp:42
↓ 1 callersFunctionmerge
review/code/mihoyo_0319_1_uf.cpp:13
↓ 1 callersMethodmergeTrees
memo/treenode.cpp:24
↓ 1 callersMethodmergeTwoLists
memo/listnode.cpp:21
↓ 1 callersFunctionmultiply
base_code/decltype.cpp:14
↓ 1 callersFunctionmy_find_if
C++2.0/bind_function.cpp:78
↓ 1 callersFunctionmybind1st
C++2.0/bind_function.cpp:70
↓ 1 callersMethodoperator()
重载 ()
base_code/overload.cpp:19
↓ 1 callersFunctionparse_requestline
分析请求行
Linux/ch8/8-3httpparser.cpp:93
↓ 1 callersMethodpop
Linux/nowcoder/5-WebServer/asyncLog/blockqueue.h:147
↓ 1 callersMethodpost
Linux/ch14/14-2locker.h:27
↓ 1 callersMethodpost
增加信号量
Linux/nowcoder/5-WebServer/webserver/locker.h:103
↓ 1 callersMethodprint
base_code/struct_function.cpp:15
↓ 1 callersMethodprocess
由线程池中的工作线程调用,这是处理HTTP请求的入口函数 */
Linux/ch15/15-5http_conn.cpp:548
↓ 1 callersMethodprocess
Linux/ch15/15-1processpool.h:24
↓ 1 callersMethodprocess
由线程池中的工作线程调用,这是处理HTTP请求的入口函数
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:559
↓ 1 callersMethodraiseSalary
base_code/virtual.cpp:21
↓ 1 callersMethodread
循环读取客户数据,直到无数据可读或者对方关闭连接 */
Linux/ch15/15-5http_conn.cpp:127
↓ 1 callersMethodread
循环读取客户数据,直到无数据可读或者对方关闭连接
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:112
↓ 1 callersFunctionread_once
Linux/ch16/16-4stress_client.cpp:57
↓ 1 callersFunctionrecv_fd
接收目标文件描述符
Linux/ch13/13-5passfd.cpp:38
↓ 1 callersFunctionremovefd
从epoll中移除监听的文件描述符
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:42
↓ 1 callersFunctionreset_oneshot
重置 fd 上的事件,这样操作之后,尽管 fd 上的 EPOLLONESHOT 事件被注册 但是操作系统仍然会触发 fd 上的 EPOLLIN 事件,且只触发一次
Linux/ch9/9-4oneshot.cpp:47
↓ 1 callersFunctionreversePolarExp
practice/calExp.cpp:21
↓ 1 callersMethodrun
Linux/nowcoder/5-WebServer/webserver/threadpool.h:110
↓ 1 callersFunctionsend_fd
发送文件描述符,fd 参数是用来传递信息的 UNIX 域 socket fd_to_send 参数是待发送的文件描述符
Linux/ch13/13-5passfd.cpp:13
↓ 1 callersFunctionsetnonblocking
Linux/ch15/15-5http_conn.cpp:17
↓ 1 callersFunctionsetnonblocking
Linux/ch16/16-4stress_client.cpp:15
↓ 1 callersFunctionsetnonblocking
设置非阻塞 sockfd,并返回原有 option
Linux/ch9/9-8multi_port.cpp:21
↓ 1 callersFunctionsetnonblocking
设置 fd 为非阻塞
Linux/ch9/9-3mtlt.cpp:19
↓ 1 callersFunctionsetnonblocking
设置非阻塞的 socket
Linux/ch9/9-5unblockconnect.cpp:19
↓ 1 callersFunctionsetnonblocking
Linux/ch9/9-4oneshot.cpp:23
↓ 1 callersFunctionsetnonblocking
Linux/ch9/9-7mytalk_server.cpp:28
↓ 1 callersMethodshow
base_code/virtual_base.cpp:9
↓ 1 callersMethodshow
base_code/static_in_class.cpp:10
↓ 1 callersFunctionshow_error
Linux/ch15/15-6main.cpp:37
↓ 1 callersFunctionsolve
review/code/mihoyo_0319_2.cpp:16
↓ 1 callersMethodstart
practice/threadpool.cpp:14
↓ 1 callersMethodstartPool
开启线程池
practice/threadpool.cpp:36
↓ 1 callersFunctionstart_conn
Linux/ch16/16-4stress_client.cpp:75
↓ 1 callersFunctionstringToIntegerVector
字符串输入转 vector:[1,2,3,4,5]
memo/listnode.cpp:60
↓ 1 callersFunctiont1
STL/thread.cpp:16
↓ 1 callersMethodtick
Linux/ch11/11-6time_heap.h:142
↓ 1 callersMethodtick
SIGALARM 信号每次被触发就在其信号处理函数中执行一次 tick() 函数,以处理链表上到期任务。*/
Linux/nowcoder/5-WebServer/webserver/lst_timer.h:128
↓ 1 callersFunctiontimeout_connect
连接超时函数
Linux/ch11/11-1connect_timeout.cpp:15
↓ 1 callersFunctiontimer_handler
Linux/ch11/11-3nonactive_conn.cpp:60
↓ 1 callersFunctiontimer_handler
Linux/nowcoder/5-WebServer/webserver/main.cpp:48
↓ 1 callersFunctiontreeNodeToString
二叉树层序遍历形式输出
memo/treenode.cpp:107
↓ 1 callersFunctiontrimLeftTrailingSpaces
去掉左边 white-space:https://cplusplus.com/reference/cctype/isspace/?kw=isspace
memo/listnode.cpp:46
↓ 1 callersFunctiontrimRightTrailingSpaces
base 从其 reverse_iterator还原基础迭代器,因为 earse 参数只能是基础迭代器
memo/listnode.cpp:53
↓ 1 callersFunctiontrimRightTrailingSpaces
去掉右空白字符串
memo/treenode.cpp:50
↓ 1 callersFunctionunblock_connect
超时连接函数,参数分别是服务器 IP 地址、端口号和超时时间(毫秒) 函数成功时返回已经处于连接状态的 socket,失败则返回 -1
Linux/ch9/9-5unblockconnect.cpp:29
↓ 1 callersMethodwrite
写HTTP响应
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:386
↓ 1 callersFunctionwrite_nbytes
Linux/ch16/16-4stress_client.cpp:32
MethodA
C++2.0/variadic.cpp:45
MethodA
base_code/friend_func_class.cpp:12
MethodA
base_code/explicit.cpp:10
MethodA
base_code/virtual_public.cpp:9
MethodAppendLogLevelTitle_
Linux/nowcoder/5-WebServer/asyncLog/log.cpp:147
MethodB
base_code/explicit.cpp:18
MethodB
base_code/virtual_public.cpp:18
MethodBase
纯虚函数
base_code/pure_virtual.cpp:10
MethodBase
base_code/derived_base.cpp:26
MethodBase
base_code/struct_function.cpp:18
MethodBase1
base_code/derived_base.cpp:11
MethodBlockDeque
Linux/nowcoder/5-WebServer/asyncLog/blockqueue.h:58
MethodC
base_code/virtual_public.cpp:27
MethodCSmartPtr
C++2.0/smart_ptr.cpp:27
MethodD
B C 虚继承 A 之后,ma 必须交给 D 初始化,所以这里必须调用 A(data)
base_code/virtual_public.cpp:37
← previousnext →101–200 of 682, ranked by callers