mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
fcaf98361f
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. |
||
---|---|---|
.. | ||
accuracy-strtod.cpp | ||
CMakeLists.txt | ||
memmem-tests.cpp | ||
overlong_realpath.cpp | ||
qsort-sorts-and-copies.cpp | ||
scanf.cpp | ||
snprintf-correctness.cpp | ||
stack-smash.cpp | ||
strlcpy-correctness.cpp | ||
TestLibCDirEnt.cpp | ||
TestLibCExec.cpp | ||
TestLibCInodeWatcher.cpp | ||
TestLibCMkTemp.cpp | ||
TestLibCTime.cpp |