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 |
|
Jason Volk
|
d41be90197
|
ircd::buffer: Add parse_buffer variant.
|
2019-02-28 10:10:43 -08:00 |
|
Jason Volk
|
5d3ce83f52
|
ircd::buffer: Allow decay-like conversion to begin pointer.
|
2019-02-08 18:22:40 -08:00 |
|
Jason Volk
|
a30c808b0e
|
ircd: Start a README.md for any directory missing one; fix conformity of existing.
|
2019-01-26 12:29:08 -08:00 |
|
Jason Volk
|
c312f07893
|
ircd::buffer: Export buffers:: down to ircd::.
|
2018-12-18 14:44:25 -08:00 |
|
Jason Volk
|
26ed0ee0e4
|
ircd::buffer: Add an alignment check util.
|
2018-11-16 19:22:44 -08:00 |
|
Jason Volk
|
adf2de8aed
|
ircd::buffer: Add include-conditioned zero() fallback and improve return semantic.
|
2018-11-16 14:28:03 -08:00 |
|
Jason Volk
|
4dd8f5ab3a
|
ircd::buffer: Minor move misplaced buffer base cast operators.
|
2018-11-14 00:31:55 -08:00 |
|
Jason Volk
|
2ab314e687
|
ircd::buffer: Improve exceptions thrown from aligned_alloc().
|
2018-11-12 16:49:06 -08:00 |
|
Jason Volk
|
382dc67ca1
|
ircd::buffer: Use runtime alignment for unique_buffer rather than template value.
|
2018-11-09 15:55:20 -08:00 |
|
Jason Volk
|
10cf8e798c
|
ircd::buffer: Abstract the aligned_alloc() out of the unique_buffer template.
|
2018-11-01 23:27:51 -07:00 |
|
Jason Volk
|
5eacd22866
|
ircd::buffer: Enable the templated value for unique_buffer alignment.
|
2018-10-18 09:01:25 -07:00 |
|
Jason Volk
|
efd8a8c640
|
ircd::buffer: Make shared_buffer work.
|
2018-10-04 15:42:24 -07:00 |
|
Jason Volk
|
994916b7eb
|
ircd::buffer: Deconflict buffers templates in separate namespace.
|
2018-09-13 05:12:10 -07:00 |
|
Jason Volk
|
a7f43fe48d
|
ircd::buffer: Support release() for unique_buffer.
|
2018-08-18 17:43:59 -07:00 |
|