Commit Graph

123 Commits (c9687df03ab5329be2b00bec2854e2fc68912eea)

Author SHA1 Message Date
YuQing 4480669e03 uniq_skiplist support arg for free callback 2023-08-05 20:46:35 +08:00
YuQing 3924213c9a sorted_queue.[hc]: pop_compare_func support argument 2023-07-05 16:39:57 +08:00
YuQing 8de24ad5b5 add file src/tests/test_thread_local.c 2023-05-24 17:32:06 +08:00
YuQing 5247caa71a uniq_skiplist_clear impl. more optimization 2023-05-09 07:45:11 +08:00
YuQing 2c5734ab22 add function uniq_skiplist_clear 2023-05-08 17:48:28 +08:00
YuQing a19119f962 sorted_queue_pop_all rename to sorted_queue_pop_to_chain 2023-05-05 08:09:08 +08:00
YuQing 428d13a07b sorted_queue.[hc]: sorted_queue_pop and sorted_queue_pop_all 2023-05-04 20:05:32 +08:00
YuQing 6dbc8b8937 sorted queue use double link chain for quick push 2023-05-04 17:08:51 +08:00
YuQing 22c7e31752 shared_func.[hc]: normalize_path use type string_t for general purpose 2022-11-07 08:27:43 +08:00
YuQing 0b539bbba2 json decode supports memory pool for persistency 2022-06-04 12:41:07 +08:00
YuQing 009d33480f tests/test_json_parser.c OK. 2022-06-03 22:03:31 +08:00
YuQing 7b9c257652 rename trim to fc_trim 2022-02-25 09:44:15 +08:00
YuQing 750c2c5e8a normalize_path removes prefix one ./ and multi ../ 2021-12-23 10:04:48 +08:00
YuQing fdb6bfb233 fix test_uniq_skiplist.c compile error 2021-12-16 09:44:16 +08:00
YuQing 8491c5d155 add comments for sorted_array.h 2021-09-14 10:05:27 +08:00
YuQing 8717f85608 fast_allocator.c: optimize for the region with single allocator 2021-09-14 08:28:03 +08:00
YuQing 55f1e139a9 add file src/tests/test_sorted_array.c 2021-09-13 16:54:09 +08:00
YuQing 639d388c6d use libcurl to fetch URL resource 2021-05-26 15:21:55 +08:00
YuQing 6fddce73c5 add function normalize_path_ex and normalize_uri 2021-05-25 16:48:10 +08:00
YuQing 797f4e08b8 fast_mblock.[hc]: support batch alloc and batch free 2021-05-18 15:06:59 +08:00
YuQing 04226e28fc add macros: FC_ABS and FC_NEGATIVE 2021-03-10 14:38:09 +08:00
YuQing 3f15be8d92 correct tests compile error and warning 2021-02-25 15:09:35 +08:00
YuQing 0ed5b405d9 add test_mutex_lock_perf 2021-02-25 15:06:23 +08:00
YuQing 0cd65f088c tcp_quick_ack option for Linux 2020-12-06 16:59:09 +08:00
YuQing 3d74837527 add tests/test_data_visible.c 2020-11-30 10:50:29 +08:00
YuQing 56a5ac4f92 modify license to LGPLv3 and copyright 2020-10-14 11:03:46 +08:00
YuQing bc5efd235e add function fc_sleep_ms 2020-09-12 15:41:16 +08:00
YuQing 4b085fbc09 add functions: get thread counters 2020-07-22 17:54:14 +08:00
YuQing 29586005ba add files: thread_pool.[hc] 2020-07-20 18:03:47 +08:00
YuQing ec22ab681e bugfixed: uniq_addresses use FCAddressPtrArray 2020-06-28 19:26:42 +08:00
YuQing 7187840167 add src/tests/test_file_lock.c 2020-05-24 15:11:31 +08:00
YuQing 85aff01e5e test_crc32.c support offset and size 2020-05-17 15:54:41 +08:00
YuQing b9cae5de7f add macro PTHREAD_MUTEX_LOCK 2020-05-10 20:29:05 +08:00
YuQing 73dba84e82 uniq_skiplist_grow set prev link correctly 2020-04-27 14:16:00 +08:00
YuQing c8bf9f24ef connection_pool support validate connection on error 2020-04-26 11:12:52 +08:00
YuQing 4011fcb39e add test_file_write_hole.c 2020-04-24 22:15:41 +08:00
YuQing 759fd117d8 uniq_skiplist support bidirection 2020-04-21 09:31:04 +08:00
YuQing 427818d005 fast_mblock stats refine 2020-03-29 12:30:42 +08:00
YuQing c2837fde5f add functions getIpAndPort and getPeerIpAndPort 2020-03-26 11:36:44 +08:00
YuQing 6d88bb980d bugfixed: must use lock when free_all_nodes 2020-03-22 13:21:20 +08:00
YuQing edb8b2c4dd sched_add_entries use temp ScheduleArray for rare case 2020-03-21 09:50:03 +08:00
YuQing b88d5b03fe add waiting_queue for Linux eventfd notify 2020-03-08 16:12:54 +08:00
YuQing d87d98dbe0 add function fast_char_unescape 2020-03-04 20:54:50 +08:00
YuQing 3e3bcda2df add functions fc_floor_prime and fc_ceil_prime 2020-02-27 15:31:44 +08:00
YuQing 89ad53974f add uniq server addresses 2020-02-19 15:49:39 +08:00
YuQing 11a441e1f8 server_id_func.[hc] OK 2020-02-17 16:25:42 +08:00
YuQing 81e6455819 add tests/test_server_id_func.c 2020-02-15 20:55:57 +08:00
YuQing 7459f7ded4 add files: server_id_func.[hc] 2020-02-14 21:21:42 +08:00
YuQing 5d3c3c576c add function fast_mpool_log_stats 2020-02-12 19:11:52 +08:00
YuQing 90e61572c0 fast_mblock.[hc]: add init_args for init_func 2020-02-03 22:42:27 +08:00