0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00
Commit graph

53 commits

Author SHA1 Message Date
Jason Volk
b271007fd2 ircd::util: Fix unsafe instance_list emplace; assert for allocator state. 2022-07-20 18:32:38 -07:00
Jason Volk
6a961e5b38 ircd::util: Add instance_map. 2022-07-18 16:58:02 -07:00
Jason Volk
fe8c11dc94 ircd::util: Add a constexpr bitset. 2022-07-13 13:56:53 -07:00
Jason Volk
7f2ac27cc5 ircd::util: Add is_pod wrapper; fix deprecation warning. 2022-06-28 12:37:13 -07:00
Jason Volk
014d0281d7 ircd::math: Start supplemental library; move log2 constexprs from util. 2021-03-05 13:02:12 -08:00
Jason Volk
770088d677 ircd::util: Add a non-atomic compare_exchange(). 2020-12-21 00:44:14 -08:00
Jason Volk
d10576a03e ircd::util: Remove separate header for pair gimmick; move to stdinc.h 2020-10-10 01:16:39 -07:00
Jason Volk
7b335a8285 ircd::util: Move _constexpr_equal() out of util for now. 2020-08-04 16:50:56 -07:00
Jason Volk
4371d803a4 ircd: Move fpe out of util. 2020-06-17 23:01:23 -07:00
Jason Volk
eb00134100 ircd::util: Move syscall() templates out of util; minor reorg includes.
ircd::sys: Add abstract sysfs tool and template from fs::dev.
2020-06-11 09:49:33 -07:00
Jason Volk
ee4d64ff28 ircd::util: Start an all() convenience template w/ bool specialization. 2020-06-08 16:13:00 -07:00
Jason Volk
52831893da ircd::util: Add next_powerof2(u64) constexpr. 2020-05-07 21:31:02 -07:00
Jason Volk
8058fbc6e9 ircd::util: Add template typedef convenience for std::pair. 2020-04-12 14:33:47 -07:00
Jason Volk
0eb66b52d4 ircd::util: Apply noexcept to several participating overloads. 2020-03-14 17:15:53 -07:00
Jason Volk
d579dd54aa ircd::util: Add pre-c++2a identity functor template. 2020-02-26 18:10:41 -08:00
Jason Volk
71edd9adee ircd::util: Add maybe() exception tool. 2019-09-03 12:15:44 -07:00
Jason Volk
4c924b2a43 ircd::util: Add the construction utility device. 2019-08-24 16:49:01 -07:00
Jason Volk
7c5ef32008 ircd::util: Add a strong boolean typedef customization. 2019-08-02 17:34:31 -07:00
Jason Volk
59467cf670 ircd::util: Add minmax(). 2019-07-11 18:58:17 -07:00
Jason Volk
cf3b1218c4 ircd: Misc fixes for clang. 2019-06-23 16:22:06 -06:00
Jason Volk
fa7b708e03 ircd::util: Fix inline namespace reopening for clang. 2019-06-23 07:37:23 -06:00
Jason Volk
91ce49d671 ircd::util: Add a weak interface for the test trigger stub. 2019-05-24 18:24:33 -07:00
Jason Volk
cd8b645b91 ircd::util: Stub a TODO for util::closure. 2019-04-09 21:08:15 -07:00
Jason Volk
1b0853a9c5 ircd::util: Split custom_ptr; make strong type; pointer conversion. 2019-04-03 17:18:21 -07:00
Jason Volk
d8536ca9a9 ircd: Move fpe into util. 2019-02-16 13:17:44 -08:00
Jason Volk
1cb3db6726 ircd::util: Add scope_restore; remove scope_light because generalized. 2019-01-02 15:19:05 -08:00
Jason Volk
7628b8b7f7 ircd::util: Add scope_count tool. 2019-01-02 10:48:05 -08:00
Jason Volk
09424ab344 ircd::util: Add scope_light tool. 2019-01-02 10:47:56 -08:00
Jason Volk
a7e4acc519 ircd: Split and reorg ircd::hash/ircd::crh related headers and units. 2018-11-08 17:04:15 -08:00
Jason Volk
13f38782f5 ircd::util: Deinline various utils; minor cleanup. 2018-10-25 13:39:41 -07:00
Jason Volk
045a944911 ircd: Move a2u / pretty() suites from lex_cast to util::; start util.cc unit. 2018-10-21 01:00:41 -07:00
Jason Volk
0d4013536a ircd::util: Add overload to ircd::string() to pubsetbuf() a provided buffer. 2018-09-27 17:00:15 -07:00
Jason Volk
e6a62b41b3 ircd::util: Start an env var convenience suite. 2018-09-15 03:27:26 -07:00
Jason Volk
16bbecf649 ircd::util: Add a callbacks list util. 2018-09-15 00:35:57 -07:00
Jason Volk
7d94b1c17b ircd: Relax noexcept in std::function template declarations. 2018-09-13 05:12:25 -07:00
Jason Volk
1154d15c5e ircd::util: Add instance_multimap. 2018-09-01 21:04:34 -07:00
Jason Volk
69e1c3478f ircd::util: Add index() util. 2018-08-15 23:00:42 -07:00
Jason Volk
63d77c2392 ircd::util: Split what(); use default param of std::current_exception(). 2018-05-07 19:20:59 -07:00
Jason Volk
47dc4c2afa ircd::util: Split various from util.h 2018-04-24 17:01:11 -07:00
Jason Volk
05fcdd458a ircd::util: Assert the stream didn't overflow our buffer. 2018-04-06 22:35:14 -07:00
Jason Volk
4760d36847 ircd::ctx: Move unlock_guard from util:: to ctx::. 2018-03-28 22:17:09 -07:00
Jason Volk
15c65924ee ircd::util: Abstract stringstream utils into template; add view hack. 2018-03-25 23:17:42 -07:00
Jason Volk
19e6db0a33 ircd::util: Add util to get what() from std::exception_ptr. 2018-03-08 08:23:50 -08:00
Jason Volk
a9b87a5c09 ircd::util: Add pointer transform suite. 2018-03-03 21:53:09 -08:00
Jason Volk
3683341aa9 ircd::util: Ensure null termination after all direct writes into string. 2018-02-18 22:38:23 -08:00
Jason Volk
9ebf8b0b73 ircd::util: Eliminate false -Wnull-dereference seen with g++ 6.3.0 20170519. 2018-02-18 01:20:39 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
bce1206c70 ircd::util: Add string construction buffer closures over a common pattern. 2018-01-29 08:19:14 -08:00
Jason Volk
e23ee1543b ircd::util: Comment on the ircd::string() template; minor cleanup. 2018-01-28 21:30:53 -08:00
Jason Volk
fd2a7974e8 ircd: Minor cleanup; comments; spacing. 2018-01-26 19:27:12 -08:00