Commit Graph

37 Commits (c20b7306b00881fc070b3f5e2bcc4400b04ca43f)

Author SHA1 Message Date
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
yuqing cf55d98142 replace INT64_PRINTF_FORMAT with PRId64 2014-08-05 15:52:17 +08:00
yuqing 090c6f819d add function short2buff and buff2short 2014-05-30 16:12:17 +08:00
yuqing 0dd3d17c92 update source code from FastDFS V5.02 2014-05-29 09:21:50 +08:00