Commit Graph

53 Commits (773f1bc28cc94703b520f42dc7a136e59711d1ef)

Author SHA1 Message Date
YuQing 773f1bc28c shared_func.[hc]: add functions getFileSize 2020-03-03 10:19:53 +08:00
YuQing 3e3bcda2df add functions fc_floor_prime and fc_ceil_prime 2020-02-27 15:31:44 +08:00
YuQing 74bcd17360 in func writeToFile: change write to fc_safe_write 2020-02-25 21:25:29 +08:00
YuQing 798244cc1b add function fc_memrchr 2020-02-08 09:19:10 +08:00
YuQing a6066181ae add function split_string_ex 2020-02-02 20:49:57 +08:00
YuQing 12dde730c8 add function fc_delete_file_ex 2019-12-25 15:20:07 +08:00
YuQing d818e59009 add function get_gzip_command_filename 2019-11-30 15:33:59 +08:00
YuQing 938a6a7fac modify website name 2019-11-23 10:03:54 +08:00
YuQing c1f0d855c8 change CIDR network_bits range from [16, 32) to [10, 32) 2019-05-23 18:59:29 +08:00
YuQing 91f707d1b4 log more info when setrlimit fail 2019-03-19 14:29:52 +08:00
YuQing 32c1445d41 add function resolve_path and fast_buffer_append_file 2018-10-29 16:48:08 +08:00
YuQing d27948ed9c add function format_http_date 2018-10-11 16:33:38 +08:00
YuQing ea74bac9d0 add function fc_memmem 2018-09-27 10:12:24 +08:00
yuqing 8403f2246c add functions: string trim and fast_mpool_strdup 2018-09-13 18:21:32 +08:00
yuqing 85cc906b1d add function fc_strdup 2018-08-27 15:14:53 +08:00
yuqing 94741c51c2 add function fc_split_string and fc_match_delim 2018-08-20 18:11:18 +08:00
yuqing c20b7306b0 shared_func.h: add function starts_with and ends_with 2018-07-10 12:47:12 +08:00
yuqing 571be969dd shared_func.h: add functions int2str and long2str 2018-06-11 17:04:46 +08:00
yuqing b3c89b2316 add IS_HEX_CHAR macro define 2017-07-06 10:47:03 +08:00
yuqing 5359199fb7 correct getFileContentEx read bytes 2017-03-08 15:24:05 +08:00
yuqing 92f4763638 ini_file_reader support flags 2017-03-02 09:55:24 +08:00
yuqing 6172c54f10 init context support dynamic annotations 2017-03-01 16:57:09 +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
Yu Qing ff60187490 getExecResult code refine 2017-02-02 12:31:19 +08:00
Yu Qing 5c7ba700b6 ini_file_reader support #@set directive 2017-02-01 10:35:17 +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
hanyunqi 7e09d1f94f Update shared_func.c
update is_power2: return ((n != 0) && !(n & (n - 1)));
2016-12-08 18:47:01 +08:00
yuqing 8b563ce830 add file trylock functions 2016-11-13 12:44:24 +08:00
yuqing e16e0f5d4f add function get_time_item_from_str 2016-11-11 15:14:51 +08:00
yuqing bf8023287e add function iovent_add_to_deleted_list 2016-09-02 19:14:00 +08:00
yuqing 094f3900c1 inet_aton to inet_pton 2016-05-17 21:22:08 +08:00
yuqing 6bd718079e add file lock and unlock functions 2016-04-09 22:11:28 +08:00
yuqing b2b933e5a7 add function fd_set_cloexec 2016-03-31 15:51:58 +08:00
yuqing 700f8d2c2b add system_info.h and system_info.c 2016-01-12 15:14:47 +08:00
Yu Qing 389234ff76 fast allocator ok 2015-11-05 18:44:12 +08:00
yuqing 0fe90e35da add function get_sys_cpu_count() 2015-11-04 15:02:56 +08:00
yuqing 3e1d1e2ae1 add function get_sys_total_mem_size, ONLY support Linux and FreeBSD 2015-11-02 16:19:49 +08:00
yuqing cb81992905 add function get_current_time_us and get_current_time_ms 2015-10-26 17:07:43 +08:00
yuqing 3a3abaf148 add function is_private_ip 2015-10-09 16:12:30 +08:00
liuwei 07ffa9e6bd ignore annotation in some cases 2015-09-11 19:40:15 +08:00
liuwei 5f52349bd6 ignore annotation in some cases 2015-09-11 18:22:49 +08:00
yuqing fe9b8dad60 allow_ips support CIDR addresses such as 172.16.12.0/22 2015-09-05 19:40:23 +08:00
yuqing ba6cc38703 add GEO function get_line_distance_km 2015-08-06 16:04:58 +08:00
yuqing e610e8a45d OS macro defines put in _os_define.h 2015-07-15 14:26:39 +08:00
yuqing 7afa2a9e40 set_run_by log more info 2015-02-27 17:27:55 +08:00
yuqing 9ca29b6b06 http_parse_query_ex support binary buffer, and set both lengths of key and name 2014-08-11 16:58:27 +08:00