ladybird/Tests
Gunnar Beutner fcaf98361f AK: Turn ByteBuffer into a value type
Previously ByteBuffer would internally hold a RefPtr to the byte
buffer and would behave like a reference type, i.e. copying a
ByteBuffer would not create a duplicate byte buffer, but rather
two objects which refer to the same internal buffer.

This also changes ByteBuffer so that it has some internal capacity
much like the Vector<T> type. Unlike Vector<T> however a byte
buffer's data may be uninitialized.

With this commit ByteBuffer makes use of the kmalloc_good_size()
API to pick an optimal allocation size for its internal buffer.
2021-05-16 17:49:42 +02:00
..
AK Tests: Mark use-after-scope NeverDestroyed test NO_SANITIZE_ADDRESS 2021-05-14 08:34:00 +01:00
Kernel LibC: Move mman.h to sys/mman.h 2021-05-14 22:24:02 +02:00
LibC AK: Turn ByteBuffer into a value type 2021-05-16 17:49:42 +02:00
LibCompress Tests: Move LibCompress tests to Tests/LibCompress 2021-05-06 17:54:28 +02:00
LibCore Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
LibELF Tests: Add LibELF tests 2021-05-15 11:02:04 +01:00
LibGfx Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
LibJS Tests: Don't use TestRunners after their scope ends in test-js 2021-05-14 08:34:00 +01:00
LibM Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
LibPthread LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
LibRegex Tests: Free all memory allocated with regcomp in RegexLibC tests 2021-05-14 08:34:00 +01:00
LibSQL Tests: Move LibSQL tests to Tests/LibSQL 2021-05-06 17:54:28 +02:00
LibWeb LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
UserspaceEmulator LibC: Move mman.h to sys/mman.h 2021-05-14 22:24:02 +02:00
CMakeLists.txt Tests: Add LibELF tests 2021-05-15 11:02:04 +01:00