ladybird/Tests/AK
dgaston 08aaf4fb07 AK: Add methods to BufferedStream to resize the user supplied buffer
These changes allow lines of arbitrary length to be read with
BufferedStream. When the user supplied buffer is smaller than
the line, it will be resized to fit the line. When the internal
buffer in BufferedStream is smaller than the line, it will be
read into the user supplied buffer chunk by chunk with the
buffer growing accordingly.

Other behaviors match the behavior of the existing read_line method.
2024-04-21 11:46:55 +02:00
..
CMakeLists.txt AK: Introduce AK::enumerate 2024-03-23 09:02:58 -04:00
TestAllOf.cpp LibTest: Add more numeric generators 2024-01-12 16:42:51 -07:00
TestAnyOf.cpp LibTest: Add more numeric generators 2024-01-12 16:42:51 -07:00
TestArbitrarySizedEnum.cpp
TestArray.cpp Tests/AK: Add a test for the array ctor deduction guide 2024-02-11 18:53:00 +01:00
TestAtomic.cpp
TestBadge.cpp
TestBase64.cpp AK: Reject invalid Base64 encoded string lengths 2024-03-25 08:13:27 +01:00
TestBinaryHeap.cpp LibTest: Add more numeric generators 2024-01-12 16:42:51 -07:00
TestBinarySearch.cpp LibTest: Add more numeric generators 2024-01-12 16:42:51 -07:00
TestBitCast.cpp
TestBitmap.cpp LibTest: Add more numeric generators 2024-01-12 16:42:51 -07:00
TestBitStream.cpp LibTest: Add more numeric generators 2024-01-12 16:42:51 -07:00
TestBuiltinWrappers.cpp LibTest: Add more numeric generators 2024-01-12 16:42:51 -07:00
TestByteBuffer.cpp AK: Add an option to zero-fill ByteBuffer data upon growth 2023-12-27 19:30:39 +01:00
TestByteString.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
TestCharacterTypes.cpp AK: Add CharacterTypes::is_ascii_base36_digit() 2024-01-13 19:01:35 -07:00
TestChecked.cpp
TestCircularBuffer.cpp Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
TestCircularDeque.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestCircularQueue.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestComplex.cpp AK: Cover TestComplex with more tests 2024-01-12 16:42:51 -07:00
TestDisjointChunks.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestDistinctNumeric.cpp
TestDoublyLinkedList.cpp
TestDuration.cpp Tests: Fix TestDuration build with 32-bit time_t 2023-09-06 07:21:07 -06:00
TestEndian.cpp
TestEnumBits.cpp
TestEnumerate.cpp AK: Introduce AK::enumerate 2024-03-23 09:02:58 -04:00
TestFind.cpp
TestFixedArray.cpp
TestFixedPoint.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestFloatingPoint.cpp
TestFloatingPointParsing.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
TestFlyString.cpp AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
TestFormat.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestFuzzyMatch.cpp Tests/AK: Add FuzzyMatch tests 2023-10-06 22:09:18 +02:00
TestGenericLexer.cpp AK: Remove ByteString from GenericLexer 2024-01-12 17:03:53 -07:00
TestHashFunctions.cpp AK: Implement SipHash as the default hash algorithm for most use cases 2023-10-01 11:06:36 +03:30
TestHashMap.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
TestHashTable.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestHex.cpp
TestIndexSequence.cpp AK: Make IndexSequence use size_t 2024-02-11 18:53:00 +01:00
TestInsertionSort.cpp
TestIntegerMath.cpp AK: Use correct type when calculating integral exp2() 2023-10-27 21:59:44 -04:00
TestIntrusiveList.cpp AK: Fix crash during teardown of self-owning objects 2023-04-21 18:15:00 +02:00
TestIntrusiveRedBlackTree.cpp
TestIPv4Address.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestIPv6Address.cpp AK: Migrate IPv6Address::to_deprecated_string() to ::to_string() 2023-06-09 19:38:14 +01:00
TestJSON.cpp AK+Everywhere: Remove JsonValue APIs with implicit default values 2024-01-21 15:47:53 -07:00
TestLEB128.cpp
TestLexicalPath.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestMACAddress.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestMemory.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestMemoryStream.cpp AK: Add methods to BufferedStream to resize the user supplied buffer 2024-04-21 11:46:55 +02:00
TestNeverDestroyed.cpp
TestNonnullOwnPtr.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestNonnullRefPtr.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestNumberFormat.cpp
TestOptional.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestOptionParser.cpp AK: Update OptionParser::m_arg_index by substracting skipped args 2024-02-06 00:08:30 +01:00
TestOwnPtr.cpp AK: Fix crash during teardown of self-owning objects 2023-04-21 18:15:00 +02:00
TestPrint.cpp
TestQueue.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
TestQuickSelect.cpp
TestQuickSort.cpp Tests: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes in default impls 2023-06-18 08:47:51 +01:00
TestRedBlackTree.cpp
TestRefPtr.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestSegmentedVector.cpp AK+LibWeb: Use segmented vector to store commands in RecordingPainter 2023-12-30 23:02:46 +01:00
TestSIMD.cpp Tests: Fix building TestSIMD on non-SSE ABIs 2023-09-06 07:21:07 -06:00
TestSinglyLinkedList.cpp
TestSlugify.cpp AK: Implement slugify function for URL slug generation 2023-10-30 10:39:59 +00:00
TestSourceGenerator.cpp AK: Make SourceGenerator::fork() infallible 2023-08-22 13:08:24 +02:00
TestSourceLocation.cpp
TestSpan.cpp AK: Generalize Span::contains_slow to use the Traits infrastructure 2024-03-16 08:42:33 +01:00
TestStack.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestStatistics.cpp
TestStdLibExtras.cpp
TestString.cpp LibUnicode+Tests: Remove now unused to_unicode_*_full methods 2023-11-28 17:15:27 -05:00
TestStringFloatingPointConversions.cpp
TestStringUtils.cpp AK: Add unit tests for StringUtils::find_last 2024-01-04 11:28:03 -05:00
TestStringView.cpp AK: Add a StringView method to count the number of lines in a string 2024-03-08 14:43:33 -05:00
TestTrie.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestTuple.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestTypedTransfer.cpp
TestTypeTraits.cpp Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
TestUFixedBigInt.cpp AK: Make BigIntBase more agnostic to non native word sizes 2024-03-25 14:26:29 -06:00
TestUtf8.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestUtf16.cpp AK: Add a Utf16View::starts_with method 2024-01-04 12:43:10 +01:00
TestVariant.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestVector.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestWeakPtr.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30