mirror of
https://github.com/RGBCube/serenity
synced 2026-01-16 02:20:59 +00:00
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 | ||