Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ functions
Functions
682 in github.com/EricPengShuai/Interview
⨍
Functions
682
◇
Types & classes
284
Method
Derived
base_code/pure_virtual.cpp:20
Method
Derived
base_code/struct_function.cpp:39
Method
DisplayPoint
practice/++i_i++.cpp:61
Method
FlushLogThread
Linux/nowcoder/5-WebServer/asyncLog/log.cpp:187
Method
Foo
C++2.0/unique_ptr.cpp:6
Function
FunA
base_code/c_polymorphism.c:19
Function
FunB
base_code/c_polymorphism.c:24
Method
GetLevel
Linux/nowcoder/5-WebServer/asyncLog/log.cpp:29
Method
Instance
Linux/nowcoder/5-WebServer/asyncLog/log.cpp:182
Method
IsOpen
Linux/nowcoder/5-WebServer/asyncLog/log.h:29
Method
Length
Retrieves the length of the data resource.
STL/move.cpp:110
Method
ListNode
memo/listnode.cpp:12
Method
Log
Linux/nowcoder/5-WebServer/asyncLog/log.cpp:5
Method
MemoryBlock
Simple constructor that initializes the resource.
STL/move.cpp:12
Method
Point
practice/++i_i++.cpp:8
Method
Queue
practice/itemPool.cpp:8
Method
QueueItem
practice/itemPool.cpp:54
Method
RefCnt
C++2.0/smart_ptr.cpp:8
Method
SeqStack
构造和析构函数名不用加 <T>,其它出现模板的地方都加上类型参数列表
base_code/template.cpp:40
Method
SetLevel
Linux/nowcoder/5-WebServer/asyncLog/log.cpp:34
Method
Task
practice/unique_ptr_ex.cpp:14
Method
Test
base_code/template.cpp:303
Method
Thread
practice/threadpool.cpp:12
Method
ThreadPool
practice/threadpool.cpp:27
Method
Time
base_code/overload.cpp:8
Method
TreeNode
memo/treenode.cpp:14
Method
Vector
base_code/template.cpp:161
Method
_mybind1st
C++2.0/bind_function.cpp:56
Method
add_blank_line
Linux/ch15/15-5http_conn.cpp:456
Method
add_blank_line
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:487
Method
add_content
Linux/ch15/15-5http_conn.cpp:461
Method
add_content
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:492
Method
add_content_length
Linux/ch15/15-5http_conn.cpp:446
Method
add_content_length
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:477
Method
add_content_type
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:497
Method
add_headers
Linux/ch15/15-5http_conn.cpp:437
Method
add_headers
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:469
Method
add_linger
Linux/ch15/15-5http_conn.cpp:451
Method
add_linger
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:482
Method
add_response
往写缓冲中写入待发送的数据 */
Linux/ch15/15-5http_conn.cpp:412
Method
add_response
往写缓冲中写入待发送的数据
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:447
Method
add_status_line
Linux/ch15/15-5http_conn.cpp:432
Method
add_status_line
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:464
Method
add_timer
将目标定时器 timer 添加到链表中
Linux/ch11/11-2lst_timer.h:52
Method
add_timer
根据定时值 timeout 创建一个定时器,并把它插入合适的槽中
Linux/ch11/11-5tw_timer.h:62
Function
alarm_handler
Linux/nowcoder/5-WebServer/webserver/test_presure/webbench-1.5/webbench.c:77
Function
another
子线程运行的函数,首先获得互斥锁,然后暂停 5s,在释放互斥锁
Linux/ch14/14-3thread_atfork.c:10
Function
another
Linux/ch14/14-1mutual_lock.c:10
Method
back
Linux/nowcoder/5-WebServer/asyncLog/blockqueue.h:97
Method
back
base_code/template.cpp:267
Method
broadcast
Linux/nowcoder/5-WebServer/webserver/locker.h:69
Function
call_back
定时器回调函数,它删除非活动连接socket上的注册事件,并关闭之
Linux/nowcoder/5-WebServer/webserver/main.cpp:57
Function
callback
Linux/nowcoder/3.1-pthread/pthread_detach.c:17
Function
callback
子线程是可以修改 arg 的
Linux/nowcoder/3.1-pthread/pthread_create.c:29
Function
callback
Linux/nowcoder/3.1-pthread/pthread_cancel.c:15
Function
callback
Linux/nowcoder/3.1-pthread/pthread_join.c:23
Function
callback
Linux 里面 pthread_t 是 unsigned long int
Linux/nowcoder/3.1-pthread/pthread_exit.c:22
Function
callback
Linux/nowcoder/3.1-pthread/pthread_attr.c:20
Method
capacity
Linux/nowcoder/5-WebServer/asyncLog/blockqueue.h:109
Method
cgi_conn
Linux/ch15/15-2pool_cgi.cpp:22
Function
child_term_handler
停止一个子进程
Linux/ch13/13-4shm_talk_server.cpp:94
Function
cmp
STL/sort1.cpp:7
Function
cmp1
STL/sort1.cpp:13
Function
cmp2
自定义sort 2.使用函数
STL/sort2.cpp:30
Function
compare<const char *>
base_code/template.cpp:20
Method
cond
Linux/ch14/14-2locker.h:68
Method
cond
Linux/nowcoder/5-WebServer/webserver/locker.h:44
Function
consumer
消费者线程
Linux/nowcoder/3.8-thread-sync/4.2-producer_customer.c:37
Function
consumer
practice/producer_consumer.cpp:60
Method
create
单例模式,保证程序最多创建一个 processpool 实例,这是程序正确信号的必要条件 懒汉式?
Linux/ch15/15-1processpool.h:42
Function
critical_section
C++2.0/unique_lock.cpp:7
Function
critical_section
C++2.0/lock_guard.cpp:8
Function
customer
Linux/nowcoder/3.8-thread-sync/6-semaphore.c:82
Function
customer
Linux/nowcoder/3.8-thread-sync/5-cond.c:61
Function
customer
Linux/nowcoder/3.8-thread-sync/4.1-prodcust.c:42
Function
daemonize
Linux/ch7/7-3daemonize.cpp:7
Method
del_timer
将目标定时器 timer 从链表中删除
Linux/ch11/11-2lst_timer.h:97
Method
del_timer
删除目标定时器 timer
Linux/ch11/11-5tw_timer.h:91
Function
display
STL/sort1.cpp:22
Function
doB
base_code/explicit.cpp:26
Method
do_request
当得到一个完整、正确的HTTP请求时,我们就分析目标文件的属性。如果目标文件存在、 * 对所有用户可读,且不是目录,则使用mmap将其映射到内存地址m_file_address处, * 并告诉调用者获取文件成功 */
Linux/ch15/15-5http_conn.cpp:323
Method
do_request
当得到一个完整、正确的HTTP请求时,我们就分析目标文件的属性, 如果目标文件存在、对所有用户可读,且不是目录,则使用mmap将其 映射到内存地址m_file_address处,并告诉调用者获取文件成功
Linux/nowcoder/5-WebServer/webserver/http_conn.cpp:343
Method
empty
base_code/template.cpp:101
Method
empty
base_code/template.cpp:270
Function
et
ET 模式的工作流程
Linux/ch9/9-3mtlt.cpp:76
Method
expand
base_code/template.cpp:108
Method
expand
base_code/template.cpp:279
Method
f
base_code/using_derived.cpp:22
Method
f
base_code/c++_polymorphism.cpp:15
Method
flush
Linux/nowcoder/5-WebServer/asyncLog/blockqueue.h:80
Method
full
base_code/template.cpp:99
Method
full
base_code/template.cpp:269
Method
fun
base_code/virtual_function.cpp:47
Method
fun
base_code/rtti.cpp:18
Method
fun
base_code/default_arg.cpp:19
Method
func
base_code/sizeof.cpp:16
Function
func1
practice/file.cpp:22
Function
func2
practice/file.cpp:33
Function
func3
this is string****************----L1 ****************this is string----L2 **********************-1234.90----L3 ******************-1234.897600----L4 **
practice/file.cpp:53
Method
get
Linux/nowcoder/5-WebServer/webserver/locker.h:32
← previous
next →
201–300 of 682, ranked by callers