Commit Graph

93 Commits (aa5506191f64da019951b4a8e084e0f98f47caf7)

Author SHA1 Message Date
YuQing 5f34bc872b add functions common_blocked_queue_empty/count 2022-06-03 15:30:49 +08:00
YuQing 275279a264 json_parser.[hc] refined for better performance 2022-05-29 10:55:16 +08:00
YuQing f836b1a9e2 bugfixed: fc_get_file_line_count_ex should rewind file 2022-04-14 16:48:32 +08:00
YuQing ba011767f8 add functions: fc_get_path_child_count and fc_copy_file 2022-03-16 11:46:43 +08:00
YuQing 7d5e94f9dd rename fc_format_path to fc_remove_redundant_slashes 2022-03-15 08:51:20 +08:00
YuQing 80b751980b add function fc_format_path 2022-03-14 17:10:43 +08:00
YuQing 08f74db732 add function fc_check_rename_ex 2022-03-09 08:21:07 +08:00
YuQing 7b9c257652 rename trim to fc_trim 2022-02-25 09:44:15 +08:00
YuQing 9f1d1b6d48 rename hash_xxx to fc_hash_xxx 2022-02-09 22:35:40 +08:00
YuQing 787eb3a7d6 NULL from parameter for getcwd 2022-01-29 17:18:13 +08:00
YuQing 750c2c5e8a normalize_path removes prefix one ./ and multi ../ 2021-12-23 10:04:48 +08:00
YuQing 9ca9592326 shared_func.[hc]: add function fc_read_lines 2021-10-19 20:29:15 +08:00
YuQing 09e00bcf5e add functions fc_safe_write_file_init/open/close 2021-10-10 14:45:08 +08:00
YuQing c6b2c32fe2 add function: fast_allocator_avail_memory 2021-08-17 10:01:42 +08:00
YuQing 44dcf4f821 add functions getFileContentEx1 and getFileContent1 2021-08-08 15:11:29 +08:00
YuQing 8174aed8e3 set errno to result ASAP for safety 2021-05-26 18:05:50 +08:00
YuQing 768fbb68d4 normalize_path support file resource start with file:// 2021-05-26 09:38:04 +08:00
YuQing 6fddce73c5 add function normalize_path_ex and normalize_uri 2021-05-25 16:48:10 +08:00
YuQing 4558290e1e add macro fc_fallocate 2021-05-11 09:07:23 +08:00
YuQing 9d9cee76ac add functions fc_server_load_from_ini_context etc. 2021-04-28 20:31:00 +08:00
YuQing f37c3bf013 parse_bytes function more graceful 2021-04-17 21:51:27 +08:00
YuQing 097a7db3cb add functions: fc_check_filename_ex 2021-03-28 21:08:20 +08:00
YuQing 07ba689835 add FilenameString type and macro 2021-03-19 09:17:11 +08:00
YuQing 13de41bc05 add functions: fc_mkdirs and str_replace 2021-03-16 09:10:34 +08:00
YuQing 41a4ca78c7 fast_buffer.[hc]: add function fast_buffer_append_binary 2021-01-27 21:10:43 +08:00
YuQing 89c68e11db add function get_time_item_from_conf_ex 2020-12-29 15:15:49 +08:00
YuQing 0cd65f088c tcp_quick_ack option for Linux 2020-12-06 16:59:09 +08:00
YuQing ff7109fcd4 add function: get_current_time_ns 2020-12-04 19:33:21 +08:00
YuQing 56a5ac4f92 modify license to LGPLv3 and copyright 2020-10-14 11:03:46 +08:00
YuQing 55fc4013b3 add function fc_get_last_lines 2020-09-26 11:15:57 +08:00
YuQing d9b914ea6e set rlim_max for setrlimit call 2020-09-04 09:09:14 +08:00
YuQing 6eb2d1c2e7 shared_func.[hc]: add function fc_path_contains 2020-08-31 16:02:10 +08:00
YuQing cc80f721f2 add functions: fc_get_first_line and fc_get_last_line 2020-08-24 11:35:31 +08:00
YuQing f776a818f4 correct old_value in the log info 2020-08-22 12:02:23 +08:00
YuQing c2d8faaba7 thread pool enhance 2020-08-05 15:00:37 +08:00
YuQing 4aad4f78b9 add files: fc_memory.[hc] 2020-07-07 10:32:16 +08:00
YuQing fb03bf23ba add fc_queue.[hc] 2020-06-01 16:38:48 +08:00
YuQing 759fd117d8 uniq_skiplist support bidirection 2020-04-21 09:31:04 +08:00
YuQing 01b1841fda add function fc_get_file_line_count_ex 2020-03-31 10:10:49 +08:00
YuQing 21336eee3e add function fc_init_buffer 2020-03-13 15:09:08 +08:00
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