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
Jason Volk
801f0d57b7
ircd: Fix attributes for clang.
2019-06-23 07:37:23 -06:00
Jason Volk
656ef1572e
ircd::buffer::parse_buffer: Remove erroneous cast operator.
2019-06-22 16:58:58 -06:00
Jason Volk
95e0ff3bbc
ircd::buffer: Use __builtin_unreachable() for clang.
2019-06-21 04:36:53 -06:00
Jason Volk
864cdd6405
ircd::buffer: Add convenience typedefs for unique/shared buffer common templates.
2019-06-14 14:50:42 -06:00
Jason Volk
160734e3b4
configure: Define HAVE_SODIUM in config.h on pkg found.
2019-06-06 03:54:37 -07:00
Jason Volk
c3b6bba288
ircd::buffer: Always inline fundamental buffer template utils.
2019-05-08 05:19:04 -07:00
Jason Volk
bc82a5a12c
ircd::buffer: Add canary on copy/move.
2019-05-08 05:19:04 -07:00
Jason Volk
afdf0efbd1
ircd::buffer: Tweak unique_buffer semantics.
2019-04-18 00:59:56 -07:00
Jason Volk
128b770429
ircd::buffer: Move aligned_alloc to ircd::allocator; deinline.
2019-04-18 00:21:08 -07:00
Jason Volk
286aee740b
ircd::buffer: Use c++17 switch here; addl assertions.
2019-04-18 00:08:10 -07:00
Jason Volk
541dbadf2f
ircd::buffer: Increase restrictions for unique_buffer<>.
2019-04-12 11:34:00 -07:00
Jason Volk
b45306a012
ircd::buffer: Additional assertions; simplify unique_buffer operations; minor cleanup.
2019-04-10 20:18:50 -07:00
Jason Volk
ca7d401144
ircd::buffer: Add remains() to window_buffer interface.
2019-04-08 20:42:37 -07:00
Jason Volk
70a47c98b1
ircd: Reduce several strict-overflow & related warnings.
2019-03-01 11:35:07 -08:00