0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-05 21:38:54 +01:00
Commit graph

91 commits

Author SHA1 Message Date
Jason Volk
f8538d3c5b ircd::buffer: Suppress errant array/stringop-overflow in debug+assert mode. 2023-01-15 22:32:00 -08:00
Jason Volk
c652e8172c ircd::buffer: Add explicit checked convenience type casts. 2022-07-07 16:47:55 -07:00
Jason Volk
edf0448243 ircd::buffer: Fix unconditional emission of inline variable in all units. (81b6c7b003) 2022-07-07 16:47:55 -07:00
Jason Volk
b5781c4fac ircd::buffer::fixed_buffer: Minor cleanup. 2022-07-04 22:25:18 -07:00
Jason Volk
81b6c7b003 ircd::buffer: Hoist null_buffer to inline variable; move buffers typedefs. 2022-07-01 09:49:44 -07:00
Jason Volk
45effc15d8 ircd::buffer: Fix warning from dependent type munge (gcc-11).
ircd:Ⓜ️:fetch: Fix non-trivial aggregate (gcc-10).

ircd::ctx::ole: Fix anonymous may be used uninitialized (gcc-11).
2022-06-28 12:37:13 -07:00
Jason Volk
5a11c31d97 Revert "ircd: ISO C++ requires template on destructor names out-of-line." (gcc-11/12)
This reverts commit e3e3bd7b09.

Add -Wno-dtor-name to clang warning discovery section.
2022-06-20 17:26:39 -07:00
Jason Volk
e3e3bd7b09 ircd: ISO C++ requires template on destructor names out-of-line. 2022-06-17 21:11:54 -07:00
Jason Volk
4d207e3edc ircd::buffer: Minor simplify conversion construction casts. 2022-06-17 21:11:54 -07:00
Jason Volk
a600d59367 ircd::allocator: Reinterface for attributed function instrumentation. 2022-06-17 21:11:53 -07:00
Jason Volk
6c443361bc ircd::buffer: Name some synthetic variables for debuggability. 2022-06-17 21:11:53 -07:00
Jason Volk
2106263dd4 ircd::buffer: Adorn out-of-line asio glue with noexcept. 2022-06-17 21:11:53 -07:00
Jason Volk
2604f1370a ircd::buffer: Move abstract align/padding tools to ircd::util. 2022-06-17 21:11:53 -07:00
Jason Volk
c92481475f ircd::buffer: Add padding bool constexpr; minor cleanup. 2022-06-17 21:11:53 -07:00
Jason Volk
a67b93b8c6 ircd::buffer: Split buffers:: related into header. 2021-09-14 23:39:55 -07:00
Jason Volk
99f087afbe ircd::buffer: Fix anonymous scope ambiguity for gcc-10. 2021-05-14 05:57:47 -07:00
Jason Volk
4ab97bd1a3 ircd::buffer: Minor qualifiers; minor cleanup. 2021-04-22 12:27:56 -07:00
Jason Volk
d6d18f7b08 ircd::buffer: Add non-char array convenience cast constructions. 2021-03-16 12:58:22 -07:00
Jason Volk
b1cc013132 ircd::buffer: Fix missing align_up() result wrapping. 2020-11-05 22:10:53 -08:00
Jason Volk
3bdc26765b ircd::buffer: Fix missing cast in alignment util templates. 2020-11-05 22:10:53 -08:00
Jason Volk
30796e5729 ircd::buffer: Fix template name conflicts for clang-11; apply inline linkages.
ircd::json::tuple: Fix template name related for clang-11.

ircd::ctx: Fix template related for clang-11; inline linkages.

ircd:Ⓜ️🪝 Fix template related for clang-11.
2020-10-29 04:06:59 -07:00
Jason Volk
c5478cd151 ircd::buffer: Remove builtin requiring constexpr size for clang-11. 2020-10-28 12:42:59 -07:00
Jason Volk
de0650d3f7 ircd: Reorg simd.h / buffer.h interface dependency relationship. 2020-10-10 00:43:59 -07:00
Jason Volk
28c4baf2b2 ircd:Ⓜ️:buffer: Remove cruft/unused from interface. 2020-09-30 16:35:34 -07:00
Jason Volk
c325c0338e ircd::buffer: Export align related suite to ircd::. 2020-09-15 04:33:28 -07:00
Jason Volk
a297976cd4 ircd::buffer: Apply saturating advance semantic to all consume() callpaths. 2020-09-13 08:42:34 -07:00
Jason Volk
55c3c54aef ircd::buffer: Minor cleanup; operator stack reuse. 2020-08-29 17:38:54 -07:00
Jason Volk
a276009516 ircd::buffer: Export move to ircd::. 2020-08-28 05:18:57 -07:00
Jason Volk
c863e09f08 ircd::buffer: Additional alignment related tools. 2020-08-28 05:18:57 -07:00
Jason Volk
2b0c3addfe ircd: Fix inlining attributes for clang-10. 2020-07-10 20:04:39 -07:00
Jason Volk
60d2f04c14 ircd::buffer: Add pointer alignment check tool to suite. 2020-07-09 20:18:35 -07:00
Jason Volk
e730c1a0bb ircd::buffer: Add ifdef for clang; mark todo for gcc. 2020-07-08 17:22:19 -07:00
Jason Volk
ce551e6bd4 ircd::buffer: Minor simplify. 2020-07-08 17:20:47 -07:00
Jason Volk
026cce95b7 ircd::buffer: Add alignment related constexpr convenience utils. 2020-07-08 16:27:27 -07:00
Jason Volk
8777add24e ircd::buffer: Added padded() alignment query util. 2020-07-08 16:27:27 -07:00
Jason Volk
f1c8eb3c1c ircd::buffer: Add experimental non-temporal copy device. 2020-07-08 16:27:27 -07:00
Jason Volk
2235acae61 ircd::buffer: Split copy() and move() suites to files. 2020-07-08 16:27:20 -07:00
Jason Volk
6e1d58c2e6 ircd::buffer: Improve the overlap tool. 2020-06-07 01:51:19 -07:00
Jason Volk
04020a91b7 ircd::buffer: lte range assertion on ctor; remove attr; minor reorg.
ircd::buffer::window_buffer: Assertion on consumption increments.
2020-06-05 04:32:57 -07:00
Jason Volk
3b485d79f1 ircd::buffer: Return bytes consumed from consume(). 2020-05-27 10:50:56 -07:00
Jason Volk
5fae1f36cf ircd::buffer: Use buffer::empty() rather than buffer::null() for bool operators. 2020-04-29 01:58:29 -07:00
Jason Volk
e08fc4b99f ircd::buffer: non-call copy and move. 2020-04-25 00:28:39 -07:00
Jason Volk
b2795c0338 ircd::buffer: Branchfree copy overload for single character. 2020-04-13 23:58:33 -07:00
Jason Volk
66be4ba6c3 ircd::buffer: Minor cleanup; named parameters. 2020-04-13 22:49:16 -07:00
Jason Volk
031f3e0a72 ircd::buffer: Add constructors which limit requested size to input buffer. 2019-12-31 11:23:20 -08:00
Jason Volk
35c37f6a67 ircd::buffer: Add boolean operators. 2019-09-14 17:15:56 -07:00
Jason Volk
02009c4aa9 ircd::buffer: Cleanup/simplify shared_buffer. 2019-09-03 10:07:08 -07:00
Jason Volk
062ea9ddf5 ircd::buffer: Support aligned allocations and aligned unique_buffer conversion. 2019-09-01 21:06:30 -07:00
Jason Volk
7e3b5db06a ircd::buffer: Add unique to shared buffer conversion. 2019-08-31 22:54:49 -07:00
Jason Volk
808148e326 ircd::buffer: Add buffer overlap util;
ircd::buffer: Assert on overlap.

ircd::buffer: Add operator+=.

irde::buffer: More aggressive inlining.
2019-07-11 15:51:08 -07:00