SYMBOL INDEX (355 symbols across 108 files) FILE: WebBench/socket.c function Socket (line 29) | int Socket(const char *host, int clientPort) FILE: WebBench/webbench.c type option (line 59) | struct option function alarm_handler (line 83) | static void alarm_handler(int signal) function usage (line 88) | static void usage(void) function main (line 110) | int main(int argc, char *argv[]) function build_request (line 223) | void build_request(const char *url) function bench (line 336) | static int bench(void) function benchcore (line 455) | void benchcore(const char *host,const int port,const char *req) FILE: WebServer/Channel.h function class (line 15) | class Channel { type std (line 97) | typedef std::shared_ptr SP_Channel; FILE: WebServer/Epoll.cpp type epoll_event (line 37) | struct epoll_event type epoll_event (line 55) | struct epoll_event type epoll_event (line 68) | struct epoll_event FILE: WebServer/Epoll.h function class (line 13) | class Epoll { FILE: WebServer/EventLoop.cpp function createEventfd (line 14) | int createEventfd() { FILE: WebServer/EventLoop.h function class (line 18) | class EventLoop { FILE: WebServer/EventLoopThread.cpp function EventLoop (line 21) | EventLoop* EventLoopThread::startLoop() { FILE: WebServer/EventLoopThread.h function class (line 11) | class EventLoopThread : noncopyable { FILE: WebServer/EventLoopThreadPool.cpp function EventLoop (line 23) | EventLoop *EventLoopThreadPool::getNextLoop() { FILE: WebServer/EventLoopThreadPool.h function class (line 11) | class EventLoopThreadPool : noncopyable { FILE: WebServer/HttpData.cpp function URIState (line 320) | URIState HttpData::parseURI() { function HeaderState (line 397) | HeaderState HttpData::parseHeaders() { function AnalysisState (line 485) | AnalysisState HttpData::analysisRequest() { FILE: WebServer/HttpData.h type ProcessState (line 18) | enum ProcessState { type URIState (line 26) | enum URIState { type HeaderState (line 32) | enum HeaderState { type AnalysisState (line 38) | enum AnalysisState { ANALYSIS_SUCCESS = 1, ANALYSIS_ERROR } type ParseState (line 40) | enum ParseState { type ConnectionState (line 52) | enum ConnectionState { H_CONNECTED = 0, H_DISCONNECTING, H_DISCONNECTED } type HttpMethod (line 54) | enum HttpMethod { METHOD_POST = 1, METHOD_GET, METHOD_HEAD } type HttpVersion (line 56) | enum HttpVersion { HTTP_10 = 1, HTTP_11 } function class (line 58) | class MimeType { function class (line 72) | class HttpData : public std::enable_shared_from_this { FILE: WebServer/Main.cpp function main (line 10) | int main(int argc, char *argv[]) { FILE: WebServer/Server.cpp type sockaddr_in (line 38) | struct sockaddr_in type sockaddr_in (line 39) | struct sockaddr_in type sockaddr (line 42) | struct sockaddr FILE: WebServer/Server.h function class (line 9) | class Server { FILE: WebServer/ThreadPool.h type ShutDownOption (line 22) | typedef enum type ThreadPoolTask (line 28) | struct ThreadPoolTask function class (line 35) | class ThreadPool FILE: WebServer/Timer.cpp type timeval (line 10) | struct timeval type timeval (line 25) | struct timeval type timeval (line 32) | struct timeval FILE: WebServer/Timer.h function class (line 15) | class TimerNode { type TimerCmp (line 33) | struct TimerCmp { function class (line 40) | class TimerManager { FILE: WebServer/Util.cpp function readn (line 16) | ssize_t readn(int fd, void *buff, size_t n) { function readn (line 39) | ssize_t readn(int fd, std::string &inBuffer, bool &zero) { function readn (line 68) | ssize_t readn(int fd, std::string &inBuffer) { function writen (line 96) | ssize_t writen(int fd, void *buff, size_t n) { function writen (line 120) | ssize_t writen(int fd, std::string &sbuff) { function handle_for_sigpipe (line 148) | void handle_for_sigpipe() { function setSocketNonBlocking (line 156) | int setSocketNonBlocking(int fd) { function setSocketNodelay (line 165) | void setSocketNodelay(int fd) { function setSocketNoLinger (line 170) | void setSocketNoLinger(int fd) { function shutDownWR (line 178) | void shutDownWR(int fd) { function socket_bind_listen (line 183) | int socket_bind_listen(int port) { FILE: WebServer/base/AsyncLogging.h function class (line 14) | class AsyncLogging : noncopyable { FILE: WebServer/base/Condition.h function class (line 13) | class Condition : noncopyable { FILE: WebServer/base/CountDownLatch.h function class (line 10) | class CountDownLatch : noncopyable { FILE: WebServer/base/CurrentThread.h function namespace (line 6) | namespace CurrentThread { FILE: WebServer/base/FileUtil.h function class (line 8) | class AppendFile : noncopyable { FILE: WebServer/base/LogFile.h function class (line 12) | class LogFile : noncopyable { FILE: WebServer/base/LogStream.cpp function convert (line 16) | size_t convert(char buf[], T value) { class FixedBuffer (line 35) | class FixedBuffer class FixedBuffer (line 36) | class FixedBuffer function LogStream (line 47) | LogStream& LogStream::operator<<(short v) { function LogStream (line 52) | LogStream& LogStream::operator<<(unsigned short v) { function LogStream (line 57) | LogStream& LogStream::operator<<(int v) { function LogStream (line 62) | LogStream& LogStream::operator<<(unsigned int v) { function LogStream (line 67) | LogStream& LogStream::operator<<(long v) { function LogStream (line 72) | LogStream& LogStream::operator<<(unsigned long v) { function LogStream (line 77) | LogStream& LogStream::operator<<(long long v) { function LogStream (line 82) | LogStream& LogStream::operator<<(unsigned long long v) { function LogStream (line 87) | LogStream& LogStream::operator<<(double v) { function LogStream (line 95) | LogStream& LogStream::operator<<(long double v) { FILE: WebServer/base/LogStream.h function append (line 20) | void append(const char* buf, size_t len) { function add (line 32) | void add(size_t len) { cur_ += len; } function reset (line 34) | void reset() { cur_ = data_; } function bzero (line 35) | void bzero() { memset(data_, 0, sizeof data_); } function class (line 44) | class LogStream : noncopyable { function append (line 93) | void append(const char* data, int len) { buffer_.append(data, len); } function resetBuffer (line 95) | void resetBuffer() { buffer_.reset(); } FILE: WebServer/base/Logging.cpp function once_init (line 18) | void once_init() function output (line 24) | void output(const char* msg, int len) type timeval (line 40) | struct timeval type tm (line 45) | struct tm FILE: WebServer/base/Logging.h function class (line 13) | class Logger { FILE: WebServer/base/MutexLock.h function class (line 9) | class MutexLock : noncopyable { function class (line 28) | class MutexLockGuard : noncopyable { FILE: WebServer/base/Thread.cpp type CurrentThread (line 19) | namespace CurrentThread { function pid_t (line 26) | pid_t gettid() { return static_cast(::syscall(SYS_gettid)); } type ThreadData (line 37) | struct ThreadData { method ThreadData (line 44) | ThreadData(const ThreadFunc& func, const string& name, pid_t* tid, method runInThread (line 48) | void runInThread() { FILE: WebServer/base/Thread.h function class (line 13) | class Thread : noncopyable { FILE: WebServer/base/noncopyable.h function class (line 5) | class noncopyable { FILE: WebServer/base/tests/LoggingTest.cpp function threadFunc (line 12) | void threadFunc() function type_test (line 20) | void type_test() function stressing_single_thread (line 39) | void stressing_single_thread() function stressing_multi_threads (line 49) | void stressing_multi_threads(int threadNum = 4) function other (line 66) | void other() function main (line 74) | int main() FILE: WebServer/tests/HTTPClient.cpp function setSocketNonBlocking1 (line 33) | int setSocketNonBlocking1(int fd) { function main (line 41) | int main(int argc, char *argv[]) { FILE: old_version/old_version_0.1/epoll.cpp type epoll_event (line 6) | struct epoll_event function epoll_init (line 8) | int epoll_init() function epoll_add (line 19) | int epoll_add(int epoll_fd, int fd, void *request, __uint32_t events) function epoll_mod (line 34) | int epoll_mod(int epoll_fd, int fd, void *request, __uint32_t events) function epoll_del (line 48) | int epoll_del(int epoll_fd, int fd, void *request, __uint32_t events) function my_epoll_wait (line 62) | int my_epoll_wait(int epoll_fd, struct epoll_event* events, int max_even... FILE: old_version/old_version_0.1/epoll.h type epoll_event (line 12) | struct epoll_event FILE: old_version/old_version_0.1/main.cpp type epoll_event (line 33) | struct epoll_event function socket_bind_listen (line 38) | int socket_bind_listen(int port) function myHandler (line 77) | void myHandler(void *args) function acceptConnection (line 83) | void acceptConnection(int listen_fd, int epoll_fd, const string &path) function handle_events (line 123) | void handle_events(int epoll_fd, int listen_fd, struct epoll_event* even... function handle_expired_event (line 167) | void handle_expired_event() function main (line 191) | int main() FILE: old_version/old_version_0.1/requestData.cpp type epoll_event (line 76) | struct epoll_event type stat (line 528) | struct stat type timeval (line 588) | struct timeval type timeval (line 607) | struct timeval type timeval (line 614) | struct timeval FILE: old_version/old_version_0.1/requestData.h function class (line 37) | class MimeType type HeadersState (line 48) | enum HeadersState type mytimer (line 61) | struct mytimer type requestData (line 62) | struct requestData type requestData (line 64) | struct requestData type mytimer (line 103) | struct mytimer type timerCmp (line 119) | struct timerCmp FILE: old_version/old_version_0.1/threadpool.cpp function threadpool_t (line 3) | threadpool_t *threadpool_create(int thread_count, int queue_size, int fl... function threadpool_add (line 59) | int threadpool_add(threadpool_t *pool, void (*function)(void *), void *a... function threadpool_destroy (line 106) | int threadpool_destroy(threadpool_t *pool, int flags) function threadpool_free (line 157) | int threadpool_free(threadpool_t *pool) FILE: old_version/old_version_0.1/threadpool.h type threadpool_shutdown_t (line 16) | typedef enum type threadpool_task_t (line 30) | typedef struct { type threadpool_t (line 50) | struct threadpool_t FILE: old_version/old_version_0.1/util.cpp function readn (line 8) | ssize_t readn(int fd, void *buff, size_t n) function writen (line 38) | ssize_t writen(int fd, void *buff, size_t n) function handle_for_sigpipe (line 66) | void handle_for_sigpipe() function setSocketNonBlocking (line 76) | int setSocketNonBlocking(int fd) FILE: old_version/old_version_0.2/epoll.cpp type epoll_event (line 6) | struct epoll_event function epoll_init (line 8) | int epoll_init() function epoll_add (line 19) | int epoll_add(int epoll_fd, int fd, void *request, __uint32_t events) function epoll_mod (line 34) | int epoll_mod(int epoll_fd, int fd, void *request, __uint32_t events) function epoll_del (line 48) | int epoll_del(int epoll_fd, int fd, void *request, __uint32_t events) function my_epoll_wait (line 62) | int my_epoll_wait(int epoll_fd, struct epoll_event* events, int max_even... FILE: old_version/old_version_0.2/epoll.h type epoll_event (line 13) | struct epoll_event FILE: old_version/old_version_0.2/main.cpp type epoll_event (line 32) | struct epoll_event function socket_bind_listen (line 37) | int socket_bind_listen(int port) function myHandler (line 76) | void myHandler(void *args) function acceptConnection (line 82) | void acceptConnection(int listen_fd, int epoll_fd, const string &path) function handle_events (line 121) | void handle_events(int epoll_fd, int listen_fd, struct epoll_event* even... function handle_expired_event (line 165) | void handle_expired_event() function main (line 188) | int main() FILE: old_version/old_version_0.2/requestData.cpp type epoll_event (line 86) | struct epoll_event type stat (line 540) | struct stat type timeval (line 600) | struct timeval type timeval (line 619) | struct timeval type timeval (line 626) | struct timeval FILE: old_version/old_version_0.2/requestData.h function class (line 37) | class MimeType type HeadersState (line 48) | enum HeadersState type mytimer (line 61) | struct mytimer type requestData (line 62) | struct requestData type requestData (line 64) | struct requestData type mytimer (line 103) | struct mytimer type timerCmp (line 119) | struct timerCmp function class (line 125) | class MutexLockGuard FILE: old_version/old_version_0.2/threadpool.cpp function threadpool_t (line 3) | threadpool_t *threadpool_create(int thread_count, int queue_size, int fl... function threadpool_add (line 59) | int threadpool_add(threadpool_t *pool, void (*function)(void *), void *a... function threadpool_destroy (line 106) | int threadpool_destroy(threadpool_t *pool, int flags) function threadpool_free (line 157) | int threadpool_free(threadpool_t *pool) FILE: old_version/old_version_0.2/threadpool.h type threadpool_shutdown_t (line 16) | typedef enum type threadpool_task_t (line 30) | typedef struct { type threadpool_t (line 50) | struct threadpool_t FILE: old_version/old_version_0.2/util.cpp function readn (line 8) | ssize_t readn(int fd, void *buff, size_t n) function writen (line 38) | ssize_t writen(int fd, void *buff, size_t n) function handle_for_sigpipe (line 66) | void handle_for_sigpipe() function setSocketNonBlocking (line 76) | int setSocketNonBlocking(int fd) FILE: old_version/old_version_0.3/epoll.cpp type epoll_event (line 33) | struct epoll_event type epoll_event (line 48) | struct epoll_event type epoll_event (line 63) | struct epoll_event type sockaddr_in (line 102) | struct sockaddr_in type sockaddr_in (line 103) | struct sockaddr_in type sockaddr (line 106) | struct sockaddr FILE: old_version/old_version_0.3/epoll.h function class (line 8) | class Epoll FILE: old_version/old_version_0.3/main.cpp function socket_bind_listen (line 40) | int socket_bind_listen(int port) function handle_expired_event (line 89) | void handle_expired_event() function main (line 112) | int main() FILE: old_version/old_version_0.3/requestData.cpp type stat (line 551) | struct stat type timeval (line 613) | struct timeval type timeval (line 637) | struct timeval type timeval (line 644) | struct timeval FILE: old_version/old_version_0.3/requestData.h function class (line 37) | class MimeType type HeadersState (line 48) | enum HeadersState type mytimer (line 61) | struct mytimer function class (line 64) | class requestData : public std::enable_shared_from_this type mytimer (line 103) | struct mytimer type timerCmp (line 119) | struct timerCmp function class (line 125) | class MutexLockGuard FILE: old_version/old_version_0.3/threadpool.cpp function myHandler (line 56) | void myHandler(std::shared_ptr req) FILE: old_version/old_version_0.3/threadpool.h type threadpool_shutdown_t (line 19) | typedef enum type ThreadPoolTask (line 25) | struct ThreadPoolTask function class (line 47) | class ThreadPool FILE: old_version/old_version_0.3/util.cpp function readn (line 8) | ssize_t readn(int fd, void *buff, size_t n) function writen (line 38) | ssize_t writen(int fd, void *buff, size_t n) function handle_for_sigpipe (line 66) | void handle_for_sigpipe() function setSocketNonBlocking (line 76) | int setSocketNonBlocking(int fd) FILE: old_version/old_version_0.4/base/mutexLock.hpp class MutexLock (line 6) | class MutexLock: noncopyable method MutexLock (line 9) | MutexLock() method lock (line 18) | void lock() method unlock (line 22) | void unlock() class MutexLockGuard (line 31) | class MutexLockGuard: noncopyable method MutexLockGuard (line 34) | explicit MutexLockGuard(MutexLock &_mutex): FILE: old_version/old_version_0.4/base/nocopyable.hpp class noncopyable (line 2) | class noncopyable method noncopyable (line 5) | noncopyable() {} FILE: old_version/old_version_0.4/epoll.cpp type epoll_event (line 34) | struct epoll_event type epoll_event (line 49) | struct epoll_event type epoll_event (line 64) | struct epoll_event type sockaddr_in (line 104) | struct sockaddr_in type sockaddr_in (line 105) | struct sockaddr_in type sockaddr (line 109) | struct sockaddr FILE: old_version/old_version_0.4/epoll.h function class (line 9) | class Epoll FILE: old_version/old_version_0.4/main.cpp function socket_bind_listen (line 34) | int socket_bind_listen(int port) function main (line 73) | int main() FILE: old_version/old_version_0.4/requestData.cpp type stat (line 543) | struct stat FILE: old_version/old_version_0.4/requestData.h function class (line 38) | class MimeType type HeadersState (line 53) | enum HeadersState function class (line 68) | class RequestData : public std::enable_shared_from_this FILE: old_version/old_version_0.4/threadpool.cpp function myHandler (line 56) | void myHandler(std::shared_ptr req) FILE: old_version/old_version_0.4/threadpool.h type ShutDownOption (line 19) | typedef enum type ThreadPoolTask (line 25) | struct ThreadPoolTask function class (line 47) | class ThreadPool FILE: old_version/old_version_0.4/timer.cpp type timeval (line 19) | struct timeval type timeval (line 43) | struct timeval type timeval (line 50) | struct timeval FILE: old_version/old_version_0.4/timer.h function class (line 12) | class TimerNode type timerCmp (line 30) | struct timerCmp function class (line 38) | class TimerManager FILE: old_version/old_version_0.4/util.cpp function readn (line 8) | ssize_t readn(int fd, void *buff, size_t n) function writen (line 38) | ssize_t writen(int fd, void *buff, size_t n) function handle_for_sigpipe (line 66) | void handle_for_sigpipe() function setSocketNonBlocking (line 76) | int setSocketNonBlocking(int fd) FILE: old_version/old_version_0.5/base/condition.hpp class Condition (line 6) | class Condition: nocopyable method Condition (line 9) | explicit Condition(MutexLock &_mutex): method wait (line 18) | void wait() method notify (line 22) | void notify() method notifyAll (line 26) | void notifyAll() FILE: old_version/old_version_0.5/base/mutexLock.hpp class MutexLock (line 6) | class MutexLock: noncopyable method MutexLock (line 9) | MutexLock() method lock (line 18) | void lock() method unlock (line 22) | void unlock() method pthread_mutex_t (line 26) | pthread_mutex_t *get() class MutexLockGuard (line 39) | class MutexLockGuard: noncopyable method MutexLockGuard (line 42) | explicit MutexLockGuard(MutexLock &_mutex): FILE: old_version/old_version_0.5/base/nocopyable.hpp class noncopyable (line 2) | class noncopyable method noncopyable (line 5) | noncopyable() {} FILE: old_version/old_version_0.5/epoll.cpp type epoll_event (line 38) | struct epoll_event type epoll_event (line 54) | struct epoll_event type epoll_event (line 70) | struct epoll_event type sockaddr_in (line 107) | struct sockaddr_in type sockaddr_in (line 108) | struct sockaddr_in type sockaddr (line 112) | struct sockaddr FILE: old_version/old_version_0.5/epoll.h function class (line 9) | class Epoll FILE: old_version/old_version_0.5/main.cpp function socket_bind_listen (line 34) | int socket_bind_listen(int port) function main (line 73) | int main() FILE: old_version/old_version_0.5/requestData.cpp type stat (line 541) | struct stat FILE: old_version/old_version_0.5/requestData.h function class (line 46) | class MimeType type HeadersState (line 61) | enum HeadersState function class (line 76) | class RequestData : public std::enable_shared_from_this FILE: old_version/old_version_0.5/threadpool.cpp function myHandler (line 56) | void myHandler(std::shared_ptr req) FILE: old_version/old_version_0.5/threadpool.h type ShutDownOption (line 19) | typedef enum type ThreadPoolTask (line 25) | struct ThreadPoolTask function class (line 33) | class ThreadPool FILE: old_version/old_version_0.5/timer.cpp type timeval (line 19) | struct timeval type timeval (line 43) | struct timeval type timeval (line 50) | struct timeval FILE: old_version/old_version_0.5/timer.h function class (line 12) | class TimerNode type timerCmp (line 30) | struct timerCmp function class (line 38) | class TimerManager FILE: old_version/old_version_0.5/util.cpp function readn (line 9) | ssize_t readn(int fd, void *buff, size_t n) function readn (line 39) | ssize_t readn(int fd, std::string &inBuffer) function writen (line 73) | ssize_t writen(int fd, void *buff, size_t n) function writen (line 105) | ssize_t writen(int fd, std::string &sbuff) function handle_for_sigpipe (line 139) | void handle_for_sigpipe() function setSocketNonBlocking (line 149) | int setSocketNonBlocking(int fd) FILE: old_version/old_version_0.6/AsyncLogging.h function class (line 18) | class AsyncLogging : noncopyable FILE: old_version/old_version_0.6/Condition.h function class (line 10) | class Condition: noncopyable FILE: old_version/old_version_0.6/CountDownLatch.h function class (line 8) | class CountDownLatch : noncopyable FILE: old_version/old_version_0.6/FileUtil.h function class (line 6) | class AppendFile : noncopyable FILE: old_version/old_version_0.6/LogFile.h function class (line 8) | class LogFile : noncopyable FILE: old_version/old_version_0.6/LogStream.cpp function convert (line 18) | size_t convert(char buf[], T value) class FixedBuffer (line 41) | class FixedBuffer class FixedBuffer (line 42) | class FixedBuffer function LogStream (line 55) | LogStream& LogStream::operator<<(short v) function LogStream (line 61) | LogStream& LogStream::operator<<(unsigned short v) function LogStream (line 67) | LogStream& LogStream::operator<<(int v) function LogStream (line 73) | LogStream& LogStream::operator<<(unsigned int v) function LogStream (line 79) | LogStream& LogStream::operator<<(long v) function LogStream (line 85) | LogStream& LogStream::operator<<(unsigned long v) function LogStream (line 91) | LogStream& LogStream::operator<<(long long v) function LogStream (line 97) | LogStream& LogStream::operator<<(unsigned long long v) function LogStream (line 104) | LogStream& LogStream::operator<<(double v) FILE: old_version/old_version_0.6/LogStream.h function append (line 25) | void append(const char* buf, size_t len) function add (line 40) | void add(size_t len) { cur_ += len; } function reset (line 42) | void reset() { cur_ = data_; } function bzero (line 43) | void bzero() { memset(data_, 0, sizeof data_); } function class (line 56) | class LogStream : noncopyable function append (line 117) | void append(const char* data, int len) { buffer_.append(data, len); } function resetBuffer (line 119) | void resetBuffer() { buffer_.reset(); } FILE: old_version/old_version_0.6/Logging.cpp function once_init (line 15) | void once_init() function output (line 21) | void output(const char* msg, int len) FILE: old_version/old_version_0.6/Logging.h function class (line 10) | class Logger FILE: old_version/old_version_0.6/MutexLock.h function class (line 6) | class MutexLock: noncopyable function class (line 39) | class MutexLockGuard: noncopyable FILE: old_version/old_version_0.6/Thread.cpp type CurrentThread (line 18) | namespace CurrentThread function tid (line 31) | inline int tid() function tidStringLength (line 45) | inline int tidStringLength() // for logging function pid_t (line 56) | pid_t gettid() type ThreadData (line 62) | struct ThreadData method ThreadData (line 70) | ThreadData(const ThreadFunc& func, method runInThread (line 80) | void runInThread() FILE: old_version/old_version_0.6/Thread.h function class (line 10) | class Thread : noncopyable FILE: old_version/old_version_0.6/epoll.cpp type epoll_event (line 38) | struct epoll_event type epoll_event (line 54) | struct epoll_event type epoll_event (line 70) | struct epoll_event type sockaddr_in (line 107) | struct sockaddr_in type sockaddr_in (line 108) | struct sockaddr_in type sockaddr (line 112) | struct sockaddr FILE: old_version/old_version_0.6/epoll.h function class (line 9) | class Epoll FILE: old_version/old_version_0.6/main.cpp function socket_bind_listen (line 35) | int socket_bind_listen(int port) function main (line 74) | int main() FILE: old_version/old_version_0.6/noncopyable.h function class (line 2) | class noncopyable FILE: old_version/old_version_0.6/requestData.cpp type stat (line 541) | struct stat FILE: old_version/old_version_0.6/requestData.h function class (line 46) | class MimeType type HeadersState (line 61) | enum HeadersState function class (line 76) | class RequestData : public std::enable_shared_from_this FILE: old_version/old_version_0.6/threadpool.cpp function myHandler (line 56) | void myHandler(std::shared_ptr req) FILE: old_version/old_version_0.6/threadpool.h type ShutDownOption (line 19) | typedef enum type ThreadPoolTask (line 25) | struct ThreadPoolTask function class (line 33) | class ThreadPool FILE: old_version/old_version_0.6/timer.cpp type timeval (line 19) | struct timeval type timeval (line 43) | struct timeval type timeval (line 50) | struct timeval FILE: old_version/old_version_0.6/timer.h function class (line 12) | class TimerNode type timerCmp (line 30) | struct timerCmp function class (line 38) | class TimerManager FILE: old_version/old_version_0.6/util.cpp function readn (line 9) | ssize_t readn(int fd, void *buff, size_t n) function readn (line 39) | ssize_t readn(int fd, std::string &inBuffer) function writen (line 73) | ssize_t writen(int fd, void *buff, size_t n) function writen (line 105) | ssize_t writen(int fd, std::string &sbuff) function handle_for_sigpipe (line 139) | void handle_for_sigpipe() function setSocketNonBlocking (line 149) | int setSocketNonBlocking(int fd)