Commit Graph

417 Commits (f9881d96b74caec8f9b5a83731d88d65f90b5678)

Author SHA1 Message Date
YuQing e9822aa8e3 php7_ext_wrapper.h: add ZEND_IS_FALSE 2018-12-01 16:18:41 +08:00
YuQing f6609c7612 add function id_generator_next_extra_ptr 2018-11-09 22:07:21 +08:00
YuQing 32c1445d41 add function resolve_path and fast_buffer_append_file 2018-10-29 16:48:08 +08:00
YuQing f64a00c0f2 add function log_try_init 2018-10-26 15:07:55 +08:00
YuQing 350f923710 add function hash_find1 and hash_find2 2018-10-26 10:24:23 +08:00
YuQing d27948ed9c add function format_http_date 2018-10-11 16:33:38 +08:00
YuQing 660a471b98 correct macro define parameter 2018-10-10 18:43:49 +08:00
YuQing 0a442615ae add types: string_array_t and key_value_array_t 2018-10-04 20:22:43 +08:00
YuQing d74e3f3b13 change DEFAULT_CONNECT_TIMEOUT from 30 to 10 2018-09-27 10:13:17 +08:00
YuQing ea74bac9d0 add function fc_memmem 2018-09-27 10:12:24 +08:00
yuqing 6ef844bd6b add FC_IS_CHINESE_UTF8_CHAR 2018-09-17 12:01:03 +08:00
yuqing 3c9054f215 add fast_buffer_append_string2 2018-09-14 11:58:49 +08:00
yuqing 8403f2246c add functions: string trim and fast_mpool_strdup 2018-09-13 18:21:32 +08:00
yuqing ce98e53ae2 add FC_SET_STRING 2018-09-10 21:21:54 +08:00
yuqing b2dd1c322e add macro FC_IS_LETTER 2018-09-04 15:51:35 +08:00
yuqing 5e2b104970 add function fc_string_equal 2018-09-03 18:01:39 +08:00
yuqing 85cc906b1d add function fc_strdup 2018-08-27 15:14:53 +08:00
yuqing e53cbda01b json parser refine error info 2018-08-24 16:25:29 +08:00
yuqing 3e28a90d0c json parse array and map 2018-08-24 11:41:11 +08:00
yuqing 827fc115e2 add json_parser.[hc] for parse json array and map 2018-08-22 10:35:33 +08:00
yuqing 94741c51c2 add function fc_split_string and fc_match_delim 2018-08-20 18:11:18 +08:00
yuqing 15526c7277 set result to 0 in switch default branch 2018-08-20 16:39:28 +08:00
yuqing 2aab8aa4c5 support directive: #@add_annotation 2018-08-20 16:24:52 +08:00
yuqing 9cd25c3686 ini_file_reader code refine 2018-08-17 11:56:35 +08:00
yuqing 74e00bb244 add function conn_pool_parse_server_info and conn_pool_load_server_info 2018-08-14 17:44:55 +08:00
yuqing 722a944266 sockopt.c: add global variable try_again_when_interrupt 2018-07-31 16:46:05 +08:00
yuqing 4ae9c8f55f add function fc_compare_string 2018-07-31 14:27:13 +08:00
yuqing 08dce9933e add file fc_list.h 2018-07-26 15:28:39 +08:00
yuqing 0bdb5e4b03 ini_file_reader add function iniGetRequiredStrValueEx 2018-07-23 12:48:44 +08:00
yuqing 142d557c8f sched_thread.c: fix first schedule time 2018-07-19 17:43:15 +08:00
yuqing d0729c2540 common_blocked_queue.h: add function common_blocked_queue_try_pop 2018-07-16 15:08:59 +08:00
yuqing 2c83c992ce logger.h use gcc attribute to check format 2018-07-15 21:02:33 +08:00
yuqing 3e47901340 logger.c add new line with fprintf 2018-07-10 18:34:44 +08:00
yuqing c20b7306b0 shared_func.h: add function starts_with and ends_with 2018-07-10 12:47:12 +08:00
YuQing 9589d315be correct print_all_sched_entries 2018-07-07 14:21:31 +08:00
YuQing fd94604ba4 #@set value can embed %{VARIABLE} 2018-07-07 13:29:51 +08:00
yuqing 0005b1dc08 bug fixed for set->vars and set->offset 2018-07-06 18:48:46 +08:00
yuqing 6ba4379b1e call func_free of annotation 2018-07-06 17:48:50 +08:00
yuqing 96a57d65ee add @function REPLACE_VARS 2018-07-06 15:35:15 +08:00
yuqing 8ef67cef6b log more info 2018-06-29 10:31:26 +08:00
yuqing db5672c132 add likely and unlikely macro defines 2018-06-29 09:21:16 +08:00
yuqing 0d13a2de17 sched_thread.h: add function sched_print_all_entries 2018-06-26 10:56:34 +08:00
yuqing d664e70fdb add function blocked_queue_terminate_all 2018-06-13 10:12:34 +08:00
yuqing 37eeef3f23 common_blocked_queue_terminate with count 2018-06-12 16:49:12 +08:00
yuqing 571be969dd shared_func.h: add functions int2str and long2str 2018-06-11 17:04:46 +08:00
yuqing 530c17aaa1 correct CRC32 2018-06-07 20:43:32 +08:00
yuqing 63978b63ed remove remarks 2018-06-01 18:36:38 +08:00
yuqing 890d0bf2d4 skiplist add function find_range 2018-06-01 18:30:26 +08:00
yuqing 2f76b8c4b1 code refine 2018-05-30 16:35:08 +08:00
yuqing beb0c77ebb skiplist optimization 2018-05-30 13:49:27 +08:00
yuqing fd894d810b add skiplist_set.[hc] and skiplist bug fixed 2018-05-29 18:10:50 +08:00
yuqing 6d9d71005a make.sh and Makefile changed 2018-05-22 17:32:04 +08:00
yuqing bbcd9f492d remove warning: dereferencing type-punned pointer will break strict-aliasing rules 2018-05-22 15:26:25 +08:00
yuqing 004c0036b2 restore target path from /usr/local/include to /usr/include 2018-05-22 09:29:19 +08:00
yuqing 8b0c655039 ioevent refined for FreeBSD/MacOS 2018-05-21 21:36:16 +08:00
yuqing 03037c5d5f ioevent.[hc]: remove care_events in FreeBSD or MacOS 2018-05-21 19:04:02 +08:00
yuqing 6c9b0b4401 add files: multi_socket_client.[hc] 2018-05-18 16:48:26 +08:00
yuqing 83d1eb2bde add files: common_blocked_queue.[hc] 2018-05-17 09:36:55 +08:00
yuqing a6901b5bca fast_task_queue.c: set alloc_once gracefully 2018-05-14 18:19:58 +08:00
yuqing 679c8162fa logger.h: add function log_get_level_caption 2018-05-11 18:32:40 +08:00
yuqing 7751ae2808 shared_func.h: add functions float2buff / buff2float, double2buff / buff2double 2018-05-10 18:24:42 +08:00
yuqing 5416c29a27 set err_no to 0 when success 2018-05-10 11:35:56 +08:00
yuqing 1c0ebb1433 use HW_MEMSIZE instead of HW_PHYSMEM in FreeBSD 2018-04-20 11:25:36 +08:00
yuqing 87dc7dd4d8 ini_file_reader.c function annotations LOCAL_IP_GET support index 2018-02-24 14:10:22 +08:00
yuqing b3c89b2316 add IS_HEX_CHAR macro define 2017-07-06 10:47:03 +08:00
yuqing 0aa66e2823 add type string_t 2017-07-04 10:39:49 +08:00
Yu Qing 794eca7285 test_mblock.c changed 2017-03-09 09:50:37 +08:00
yuqing 5359199fb7 correct getFileContentEx read bytes 2017-03-08 15:24:05 +08:00
yuqing 27046ca80c doc/ini_file_reader-Chinese.pdf 2017-03-03 10:47:09 +08:00
yuqing 92f4763638 ini_file_reader support flags 2017-03-02 09:55:24 +08:00
yuqing 2d60671511 test_ini_parser.c changed 2017-03-01 17:41:32 +08:00
yuqing 6172c54f10 init context support dynamic annotations 2017-03-01 16:57:09 +08:00
yuqing b967e39e64 support annotataion map set incrementally 2017-02-28 17:59:02 +08:00
yuqing c78d3d7a2a ini_file_reader code refine 2017-02-28 16:08:38 +08:00
yuqing 5fb8531218 add function fc_trim to avoid conflict with trim 2017-02-27 16:08:55 +08:00
yuqing f6ad3bdb79 php7_ext_wrapper.h add zend_add_assoc_double_ex 2017-02-22 15:17:24 +08:00
yuqing 2496e697dc add function fc_ftok 2017-02-20 14:57:27 +08:00
yuqing 16455133f3 add function fc_safe_read and fc_safe_write 2017-02-16 16:34:54 +08:00
yuqing df428e6a2d add php extension function: fastcommon_file_put_contents 2017-02-15 15:38:47 +08:00
yuqing 7a0fae8f01 logger judge log_level in function log_it_ex and log_it_ex1 2017-02-09 18:35:39 +08:00
yuqing 14b477f034 add time_precision macro: LOG_TIME_PRECISION_NONE 2017-02-07 15:25:34 +08:00
yuqing 2b0706775a ini_file_reader use extra context for compatible 2017-02-06 15:06:30 +08:00
Yu Qing 41c6c6d17b code refine 2017-02-03 11:05:18 +08:00
Yu Qing ff60187490 getExecResult code refine 2017-02-02 12:31:19 +08:00
Yu Qing 7ba58c02c0 free pContext->set.vars 2017-02-01 10:47:45 +08:00
Yu Qing 5c7ba700b6 ini_file_reader support #@set directive 2017-02-01 10:35:17 +08:00
yuqing f76f3f6206 correct PTHREAD_MUTEX_ERRORCHECK macro define 2017-01-20 10:43:08 +08:00
yuqing 87995c650d ini_file_reader: return the last when get single value 2017-01-19 18:19:45 +08:00
yuqing 39e569a649 ini_file_reader: LOCAL_IP support CIDR addresses 2017-01-19 11:11:39 +08:00
Yu Qing 5120b1daf0 MacOS does NOT support macro RLIMIT_MSGQUEUE 2017-01-12 09:51:41 +08:00
yuqing af49c430a6 show resource label when setrlimit fail 2017-01-04 09:33:17 +08:00
yuqing e4871c205f refine getFileContent log info 2016-12-22 15:09:39 +08:00
YuQing 182ad4b72a Merge pull request #10 from hanyunqi/is_power2
Update function is_power2 in shared_func.c
2016-12-17 09:52:45 +08:00
yuqing c02a55ba28 add function hash_get_prime_capacity 2016-12-13 15:56:22 +08:00
hanyunqi 7e09d1f94f Update shared_func.c
update is_power2: return ((n != 0) && !(n & (n - 1)));
2016-12-08 18:47:01 +08:00
yuqing d8b92e2421 logWarning to logDebug 2016-12-01 18:18:47 +08:00
Yu Qing beab8dad5a add test_char_convert_loader.c 2016-11-27 18:34:52 +08:00
Yu Qing 2fe5e5fb8f add tests/test_char_convert.c 2016-11-26 19:16:02 +08:00
yuqing 2e1d5eb8d2 char_converter code refine 2016-11-26 13:36:14 +08:00
yuqing 562513b358 fast_char_convert function changed 2016-11-26 13:04:45 +08:00