summaryrefslogtreecommitdiff
path: root/AK/ByteBuffer.h
AgeCommit message (Expand)Author
2022-05-12AK+DHCPClient: Fix false positive gcc 12 warningsDaniel Bertalan
2022-02-13AK: Don't call memcpy() in ByteBuffer::append(u8)Andreas Kling
2022-01-24Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOrSam Atkins
2022-01-13AK: Add ByteBuffer::{must_,}get_bytes_for_writing()sin-ack
2022-01-09AK: Add ByteBuffer::append(char)Maciej
2021-12-16AK: Use __builtin_memmove for ByteBuffer and Span's overwritesin-ack
2021-11-14AK: Resolve clang-tidy readability-qualified-auto warningsAndrew Kaster
2021-11-14AK: Resolve clang-tidy readability-bool-conversion warningsAndrew Kaster
2021-11-11Everywhere: Pass AK::ReadonlyBytes by valueAndreas Kling
2021-11-10AK: Make ByteBuffer::try_* functions return ErrorOr<void>Andreas Kling
2021-09-06Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safeAli Mohammad Pur
2021-09-06AK: Add OOM-safe ByteBuffer::try_{resize,append,ensure_capacity}() APIsAli Mohammad Pur
2021-07-11AK: Don't forget to kfree_sized() in ByteBufferAndreas Kling
2021-07-11AK: Don't use realloc() in AK::ByteBufferAndreas Kling
2021-07-11AK: Use kfree_sized() in AK::ByteBufferAndreas Kling
2021-06-12AK: Add ByteBuffer::append(ReadonlyBytes)Matthew Olsson
2021-06-08LibC+AK: Remove our custom macros from <assert.h>Gunnar Beutner
2021-05-31AK: Split the ByteBuffer::trim method into two methodsGunnar Beutner
2021-05-31AK: Remove the public ByteBuffer::trim methodGunnar Beutner
2021-05-31AK: Replace ByteBuffer::grow with resize()/ensure_capacity()Gunnar Beutner
2021-05-30Revert "AK: Fix accidentally-quadratic behavior in StringBuilder"Ben Wiederhake
2021-05-30AK: Fix accidentally-quadratic behavior in StringBuilderBen Wiederhake
2021-05-27AK: Convince GCC that m_outline_capacity isn't being readGunnar Beutner
2021-05-27AK: Explicitly initialize buffer member in ByteBufferAndrew Kaster
2021-05-16AK: Don't call memcpy with null argument in ByteBuffer::copy()Andrew Kaster
2021-05-16AK+Userland: Remove nullability feature for the ByteBuffer typeGunnar Beutner
2021-05-16AK: Turn ByteBuffer into a value typeGunnar Beutner
2021-05-14AK: Avoid allocations in ByteBufferGunnar Beutner
2021-05-14AK: Avoid passing nullptr to __buitin_memcpy() in ByteBuffer::grow()Ali Mohammad Pur
2021-04-23AK: Rename adopt() to adopt_ref()Andreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
2021-04-21AK: Decorate most of ByteBuffer with [[nodiscard]]Andreas Kling
2021-03-15AK: Make ByteBuffer::slice(0, size()) a freebieAndreas Kling
2021-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
2021-02-21AK: Add safe memset() wrapper to ByteBufferBrian Gianforcaro
2021-02-08Everywhere: Remove unnecessary headers 3/4Ben Wiederhake
2021-01-12AK: Simplify constructors and conversions from nullptr_tLenny Maiorani
2021-01-02AK: Remove redundant compare() functions.asynts
2020-12-30AK: Add a ByteBuffer::copy(ReadonlyBytes) overloadAnotherTest
2020-12-19AK: Remove awkward ByteBuffer construction modes (wrap & adopt)Andreas Kling
2020-12-14Kernel: Generate a coredump file when a process crashesItamar
2020-08-30AK: Fix ByteBuffer zero bytes allocationsTom
2020-08-22AK: Prevent confusing silent misuse of ByteBufferBen Wiederhake
2020-08-15AK: Rename span() to bytes() when appropriate.asynts
2020-08-06Refactor: Expose const_cast by removing ByteBuffer::warp(const void*, size_t)asynts
2020-07-27AK: Add span() / bytes() methods to container types.asynts
2020-07-03AK: Serialize entire log statementsTom
2020-05-02AK: Correct ByteBuffer::{overwrite,slice*} bounds checkAnotherTest
2020-04-08AK: Appending 0 bytes to a ByteBuffer should be a no-op (#1699)Paul Redmond