Commit Graph

1217 Commits

Author SHA1 Message Date
levlam
dd68528ae4 Add JsonObject constructor. 2023-07-31 19:47:55 +03:00
levlam
a7b6f55d7a Add and use JsonObject::foreach. 2023-07-31 19:38:53 +03:00
levlam
a5a408290e Add field getters to JsonObject class. 2023-07-31 16:30:39 +03:00
levlam
44d4fcfa07 Add test for get_json_object_*_field. 2023-07-31 15:54:36 +03:00
levlam
6d05e8af6e Make object const in get_json_object_*_field. 2023-07-31 15:37:54 +03:00
levlam
43941c1e69 Add JsonObject::field_count. 2023-07-31 13:33:35 +03:00
levlam
59044294a8 Make JsonObject class. 2023-07-31 13:31:48 +03:00
levlam
86ecb3db18 Fix compilation error. 2023-07-29 17:55:05 +03:00
levlam
75b0f28d45 Fix GCC compilation error. 2023-07-29 02:41:29 +03:00
levlam
070399c89a Add combine_hashes function. 2023-07-27 19:05:15 +03:00
levlam
b914b28bf0 Use FlatHashMap instead of unordered_map in ChainScheduler. 2023-07-27 14:18:39 +03:00
levlam
d8116aa796 Use FlatHashMap for limited_tasks_ in ChainScheduler. 2023-07-27 14:03:39 +03:00
levlam
aa59e4cbd7 Avoid big memory consumption in ConcurrentHashMap benchmark with n = 1 << 27 when the benchmark ends very fast. 2023-07-26 20:45:52 +03:00
levlam
cfe47b6cc2 Disable MpmcSleepyWaiter_stress_one_one test. 2023-07-26 19:45:10 +03:00
levlam
65710fcec6 Inline zero_encode implementation to speed up it 25% more. 2023-07-26 15:07:15 +03:00
levlam
c50afa3820 Optimize zero_encode. 2023-07-26 14:58:08 +03:00
levlam
69c2315c10 Add zero_encode benchamrk. 2023-07-26 14:40:36 +03:00
levlam
4c2859b85c Add test for zero_encode. 2023-07-26 14:21:27 +03:00
levlam
44c58ee242 Move logging of OS freezes to WARNING. 2023-07-22 14:06:57 +03:00
levlam
2bf47d0809 Minor fixes. 2023-07-01 16:22:01 +03:00
levlam
e3256e7b4c Use td::append if possible. 2023-06-10 23:14:03 +03:00
levlam
328cf83c4d Allow all ZWJ sequence as valid emoji. 2023-05-29 17:15:48 +03:00
levlam
348a209ab7 Fix includes. 2023-05-18 14:33:00 +03:00
levlam
46b6ba578f Add FlatHashSet initialization test. 2023-05-18 13:51:27 +03:00
levlam
bd480941a1 Fix AsyncFileLog test. 2023-05-18 13:09:59 +03:00
levlam
3d06cdd94e Add --offset parameter to TestRunner. 2023-05-18 12:52:30 +03:00
levlam
f3a1407f8f Simplify constant FlatHashSet initialization. 2023-05-18 02:03:39 +03:00
levlam
7bea39b6fa Improve is_emoji. 2023-05-17 20:04:12 +03:00
levlam
f900fc2480 Remove unused Status::Error(). 2023-05-17 13:50:36 +03:00
levlam
d93c06fceb Remove unsafe Status::operator==. 2023-05-17 13:45:26 +03:00
levlam
6f94c363f7 Add Enumerator benchmark. 2023-05-10 14:35:21 +03:00
levlam
018f8022f7 More consistently delete or default move/copy constructor/assignment. 2023-05-05 14:31:55 +03:00
levlam
dbcf3e5eec Use more empty names for unused parameters. 2023-05-05 14:18:46 +03:00
levlam
c0911577f7 Use empty name for unused move constructor/assignment parameter. 2023-05-05 13:51:19 +03:00
levlam
14eda7a97c Fix MpscPollableQueue:is_empty. 2023-04-30 16:54:55 +03:00
levlam
7e60c440ff Delete temporary files after test finish. 2023-04-23 02:01:51 +03:00
levlam
4b7c1aee03 Add and use Random::shuffle. 2023-04-19 10:02:34 +03:00
levlam
af54239018 Workaround MSVC 2015 compilation error. 2023-04-19 01:40:12 +03:00
levlam
d1c25f2135 Fix compilation error. 2023-04-04 16:39:20 +03:00
levlam
fd217d1b3e Add more BufferedFd logging. 2023-04-04 15:31:40 +03:00
levlam
4ee61aae2b Improve error messages and documentation. 2023-03-31 15:01:38 +03:00
levlam
511689877c Improve some log messages. 2023-03-22 19:29:33 +03:00
levlam
b5fe088574 Avoid the use of low-numbered file descriptors for sockets. 2023-03-21 13:54:43 +03:00
levlam
28362c1879 Avoid duplicate is_error() check in TRY_STATUS/TRY_RESULT. 2023-03-21 13:30:42 +03:00
levlam
489e5dbc62 Add debug logging. 2023-03-14 22:43:28 +03:00
levlam
7e4f349da8 Move EFAULT to the list of expected errors for ::read. 2023-03-09 00:05:44 +03:00
levlam
a8d0459827 Remove duplicated fields from log message. 2023-03-08 17:23:27 +03:00
levlam
e7242b1188 Fix includes. 2023-03-06 20:36:56 +03:00
levlam
d4646d4cd9 Minor improvements. 2023-03-06 16:59:18 +03:00
levlam
2c86bc719b Improve test assertion messages. 2023-03-02 17:35:57 +03:00