ladybird/Tests/LibC
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
..
accuracy-strtod.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
CMakeLists.txt Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
memmem-tests.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
overlong_realpath.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
qsort-sorts-and-copies.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
scanf.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
snprintf-correctness.cpp AK: Turn ByteBuffer into a value type 2021-05-16 17:49:42 +02:00
stack-smash.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
strlcpy-correctness.cpp AK: Turn ByteBuffer into a value type 2021-05-16 17:49:42 +02:00
TestLibCDirEnt.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
TestLibCExec.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
TestLibCInodeWatcher.cpp Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
TestLibCMkTemp.cpp LibC: Move mman.h to sys/mman.h 2021-05-14 22:24:02 +02:00
TestLibCTime.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00