1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-05 21:55:08 +00:00
serenity/AK
kleines Filmröllchen 9a026fc8d5 AK: Implement SipHash as the default hash algorithm for most use cases
SipHash is highly HashDoS-resistent, initialized with a random seed at
startup (i.e. non-deterministic) and usable for security-critical use
cases with large enough parameters. We just use it because it's
reasonably secure with parameters 1-3 while having excellent properties
and not being significantly slower than before.
2023-10-01 11:06:36 +03:30
..
.clang-tidy
AllOf.h
AnyOf.h
ArbitrarySizedEnum.h
Array.h AK: Let Array::from_span take a readonly Span 2023-07-09 15:40:41 +01:00
Assertions.cpp AK: Add support for backtraces on Haiku 2023-09-29 15:11:52 +01:00
Assertions.h AK: Always use our assertion failure method, and add backtrace to it 2023-09-01 11:50:47 +02:00
Atomic.h AK: Fix volatile qualifier in Atomic<T*>::ptr() 2023-08-18 16:20:13 +02:00
AtomicRefCounted.h
Badge.h
Base64.cpp AK: Include Array.h in Base64.h 2023-05-18 22:49:02 +02:00
Base64.h AK: Include Array.h in Base64.h 2023-05-18 22:49:02 +02:00
BigIntBase.h Everywhere: Remove 'clang-format off' comments that are no longer needed 2023-07-08 10:32:56 +01:00
BinaryBufferWriter.h
BinaryHeap.h
BinarySearch.h
BitCast.h
Bitmap.h AK: Replace C-style casts 2023-03-09 21:43:54 +01:00
BitmapView.h AK: Replace C-style casts 2023-03-09 21:43:54 +01:00
BitStream.h AK: Account for bit position 8 in bit stream alignment 2023-05-18 22:23:15 +02:00
BufferedStream.h Revert "AK: Refill a BufferedStream when it has less than the 2023-09-11 21:38:24 -04:00
BuiltinWrappers.h AK: Don't use GCC's __builtin_ffs on riscv64 without Zbb extension 2023-08-21 13:28:22 +02:00
BumpAllocator.h AK: Replace C-style casts 2023-03-09 21:43:54 +01:00
ByteBuffer.h AK: Silence false positive -Warray-bounds warning 2023-05-15 07:00:29 +02:00
ByteReader.h
CharacterTypes.h
Checked.h LibAudio: Prevent overflows during prediction 2023-09-09 11:23:57 -06:00
CheckedFormatString.h AK: Bake CLion IDE check into AK_COMPILER_CLANG 2023-04-08 13:43:25 +02:00
CircularBuffer.cpp AK: Use hashing to accelerate searching a CircularBuffer 2023-07-06 15:06:20 +01:00
CircularBuffer.h AK: Use hashing to accelerate searching a CircularBuffer 2023-07-06 15:06:20 +01:00
CircularDeque.h
CircularQueue.h
CMakeLists.txt AK: Implement SipHash as the default hash algorithm for most use cases 2023-10-01 11:06:36 +03:30
Complex.h AK: Remove conditional noexcept from Complex 2023-06-01 06:26:08 +02:00
Concepts.h AK: Add a CallableAs<R, Args...> concept 2023-07-08 23:13:00 +01:00
ConstrainedStream.cpp AK: Move ConstrainedStream from LibWasm and limit discarding 2023-03-21 10:25:13 +01:00
ConstrainedStream.h AK: Move ConstrainedStream from LibWasm and limit discarding 2023-03-21 10:25:13 +01:00
CountingStream.cpp AK: Add a Stream wrapper that counts read bytes 2023-03-21 10:25:13 +01:00
CountingStream.h AK: Add a Stream wrapper that counts read bytes 2023-03-21 10:25:13 +01:00
DateConstants.h
Debug.h.in LibGfx/ILBM: Add an IFF-ILBM decoder :) 2023-08-15 18:36:11 +01:00
DefaultDelete.h
Demangle.h
DeprecatedFlyString.cpp Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
DeprecatedFlyString.h Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
DeprecatedString.cpp Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
DeprecatedString.h AK: Add DeprecatedString::from_utf8(StringView) 2023-03-28 15:55:35 +01:00
Diagnostics.h
DisjointChunks.h LibRegex: Generate a search tree when patterns would benefit from it 2023-07-31 05:31:33 +02:00
DistinctNumeric.h AK: Add helper to make DistinctNumeric types comparable to enums 2023-09-22 18:39:37 -06:00
DOSPackedTime.cpp Kernel: Use UnixDateTime wherever applicable 2023-05-24 23:18:07 +02:00
DOSPackedTime.h Kernel: Use UnixDateTime wherever applicable 2023-05-24 23:18:07 +02:00
DoublyLinkedList.h
Endian.h AK: Add a 'HostIsLittleEndian' constant and use it instead of BYTE_ORDER 2023-08-21 13:39:32 +03:30
EnumBits.h
Error.cpp
Error.h AK: Mark Error nodiscard 2023-07-12 17:03:07 +02:00
ExtraMathConstants.h
Find.h AK: Use Iterator's trait when comparing a value 2023-08-23 20:21:09 +02:00
FixedArray.h AK: Make FixedArray movable 2023-07-21 10:47:34 -06:00
FixedPoint.h AK: Make FixedPoint work on platforms without __int128 2023-09-06 07:17:03 -06:00
FixedStringBuffer.h AK+Kernel: Introduce StdLib function to copy FixedStringBuffer to user 2023-08-25 11:51:52 +02:00
FloatingPoint.h
FloatingPointStringConversions.cpp AK: Add a 'HostIsLittleEndian' constant and use it instead of BYTE_ORDER 2023-08-21 13:39:32 +03:30
FloatingPointStringConversions.h
FlyString.cpp AK: Add FlyString::operator<=>(FlyString const&) 2023-09-06 11:29:03 -04:00
FlyString.h AK: Add FlyString::operator<=>(FlyString const&) 2023-09-06 11:29:03 -04:00
Format.cpp AK: Send dbgln/outln/warnln to the NDK logger on Android 2023-09-15 14:18:52 -06:00
Format.h AK: Send dbgln/outln/warnln to the NDK logger on Android 2023-09-15 14:18:52 -06:00
Forward.h AK: Move parts for searching CircularBuffer into a new class 2023-07-06 15:06:20 +01:00
FPControl.h
Function.h AK: Use outline Function storage if alignment requirements are not met 2023-09-22 22:10:16 +03:30
FuzzyMatch.cpp
FuzzyMatch.h
GenericLexer.cpp
GenericLexer.h
GenericShorthands.h AK: Mark generic shorthand functions as constexpr 2023-06-01 06:25:00 +02:00
HashFunctions.h
HashMap.h AK: Implement SipHash as the default hash algorithm for most use cases 2023-10-01 11:06:36 +03:30
HashTable.h AK: Implement SipHash as the default hash algorithm for most use cases 2023-10-01 11:06:36 +03:30
Hex.cpp
Hex.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
IDAllocator.h AK: Allow specifying a minimum value for IDs returned by IDAllocator 2023-04-07 16:02:22 +02:00
InsertionSort.h
IntegralMath.h Kernel/Ext2: Write superblock backups 2023-07-28 14:51:07 +02:00
IntrusiveDetails.h
IntrusiveList.h AK: Accomodate always-32-bit data member pointers in IntrusiveList 2023-05-02 17:46:39 +03:30
IntrusiveListRelaxedConst.h
IntrusiveRedBlackTree.h
IPv4Address.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
IPv6Address.h Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
IterationDecision.h
Iterator.h
JsonArray.h AK: Remove must_set() from JsonArray 2023-05-09 06:21:34 +02:00
JsonArraySerializer.h
JsonObject.cpp AK: Make all HashMap copy-constructs explicit 2023-05-19 22:33:57 +02:00
JsonObject.h
JsonObjectSerializer.h
JsonParser.cpp AK: Use JsonArray::append when parsing array 2023-04-24 09:21:51 +02:00
JsonParser.h
JsonPath.cpp
JsonPath.h
JsonValue.cpp
JsonValue.h
kmalloc.cpp
kmalloc.h
kstdio.h
LEB128.h
LexicalPath.cpp
LexicalPath.h AK: Add argument to LexicalPath::basename to strip the extension 2023-07-30 17:50:44 -06:00
MACAddress.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
Math.h AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
MaybeOwned.h AK: Simplify MaybeOwned constructor 2023-06-23 01:34:27 +02:00
MemMem.h
Memory.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
MemoryStream.cpp AK: Make writability violation of FixedMemoryStream non-fatal 2023-09-27 03:22:56 +02:00
MemoryStream.h AK: Allow specifying writability of a FixedMemoryStream 2023-09-27 03:22:56 +02:00
NeverDestroyed.h
NoAllocationGuard.h
Noncopyable.h AK: Introduce AK_MAKE_DEFAULT_MOVABLE macro for easier default impls 2023-06-18 08:47:51 +01:00
NonnullOwnPtr.h AK: Make Formatter for NonnullOwnPtr<T> format the T 2023-08-25 20:10:47 +02:00
NonnullRefPtr.h AK: Work around Xcode 15 beta mishandling trailing requires clauses 2023-07-12 15:43:18 +01:00
NumberFormat.cpp AK: Allow human_readable_size_long to use a thousands separator 2023-04-11 13:03:30 +02:00
NumberFormat.h AK: Allow human_readable_size_long to use a thousands separator 2023-04-11 13:03:30 +02:00
NumericLimits.h AK+LibJS: Make Number.MIN_VALUE a denormal 2023-07-02 21:19:09 +01:00
Optional.h
OptionParser.cpp
OptionParser.h
OwnPtr.h AK: Don't refer to AK::swap() as ::swap() 2023-04-28 05:56:04 +02:00
Platform.h AK: Defined _COARSE clocks as the normal ones on Haiku 2023-09-17 13:38:12 -06:00
PrintfImplementation.h
Ptr32.h
Queue.h AK: Add Queue::tail() 2023-03-14 16:52:44 +01:00
QuickSelect.h
QuickSort.h
Random.cpp
Random.h AK: Implement fill_with_random() for Haiku 2023-09-17 13:38:12 -06:00
RecursionDecision.h AK: Add missing include in RecursionDecision.h 2023-08-18 08:58:51 +03:30
RedBlackTree.h Everywhere: Run spellcheck on all documentation 2023-05-07 01:05:09 +02:00
RefCounted.h
RefCountForwarder.h
RefPtr.h AK: Work around Xcode 15 beta mishandling trailing requires clauses 2023-07-12 15:43:18 +01:00
Result.h
ReverseIterator.h
ScopedValueRollback.h
ScopeGuard.h
ScopeLogger.h
SIMD.h
SIMDExtras.h LibWasm: Implement a few SIMD instructions 2023-08-21 13:39:32 +03:30
SIMDMath.h
Singleton.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
SinglyLinkedList.h AK+Kernel: Unify Traits<T>::equals()'s argument order on different types 2023-08-23 20:21:09 +02:00
SinglyLinkedListSizePolicy.h
SipHash.cpp AK: Implement SipHash as the default hash algorithm for most use cases 2023-10-01 11:06:36 +03:30
SipHash.h AK: Implement SipHash as the default hash algorithm for most use cases 2023-10-01 11:06:36 +03:30
SourceGenerator.h AK: Make SourceGenerator::fork() infallible 2023-08-22 13:08:24 +02:00
SourceLocation.h AK: Add copy assignment operator for SourceLocation 2023-09-24 14:55:32 +02:00
Span.h AK: Add Span<T>::matching_prefix_length 2023-07-06 15:06:20 +01:00
Stack.h
StackInfo.cpp AK: Use the Linux implementation of StackInfo() on Haiku 2023-09-17 13:38:12 -06:00
StackInfo.h AK: Use __builtin_frame_address to find current stack depth remaining 2023-07-01 07:03:11 +02:00
Statistics.h AK: Allow Statistics to be used with any container type 2023-08-16 01:10:35 +02:00
StdLibExtraDetails.h AK: Add InvokeResult 2023-09-09 11:21:15 -06:00
StdLibExtras.h AK: Move taint_for_optimizer to StdLibExtras.h 2023-04-30 06:05:54 +02:00
Stream.cpp AK: Rename Stream::format() to Stream::write_formatted() 2023-04-25 07:30:16 +01:00
Stream.h AK: Rename Stream::format() to Stream::write_formatted() 2023-04-25 07:30:16 +01:00
String.cpp AK: Add case-insensitive hashing for the new String classes 2023-09-06 11:29:03 -04:00
String.h AK: Add case-insensitive hashing for the new String classes 2023-09-06 11:29:03 -04:00
StringBuilder.cpp AK: Implement string formatting for FixedStringBuffers 2023-08-12 11:48:48 -06:00
StringBuilder.h AK: Implement string formatting for FixedStringBuffers 2023-08-12 11:48:48 -06:00
StringFloatingPointConversions.cpp
StringFloatingPointConversions.h
StringHash.h AK: Implement SipHash as the default hash algorithm for most use cases 2023-10-01 11:06:36 +03:30
StringImpl.cpp
StringImpl.h
StringUtils.cpp AK: Add StringView::count(char) 2023-08-18 08:58:51 +03:30
StringUtils.h AK: Add StringView::count(char) 2023-08-18 08:58:51 +03:30
StringView.cpp Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
StringView.h AK: Fix Clang 18 -Wdeprecated-literal-operator warning 2023-08-19 11:07:12 +02:00
TemporaryChange.h
Time.cpp AK: Remove Duration::now_monotonic 2023-05-24 23:18:07 +02:00
Time.h Everywhere: Remove 'clang-format off' comments that are no longer needed 2023-07-08 10:32:56 +01:00
Traits.h AK: Implement SipHash as the default hash algorithm for most use cases 2023-10-01 11:06:36 +03:30
Trie.h AK: Allow customising Trie's underlying map type 2023-07-31 05:31:33 +02:00
Try.h
Tuple.h
TypeCasts.h
TypedTransfer.h
TypeList.h AK: Use compiler builtins for MakeIntegerSequence/TypeListElement 2023-06-28 16:18:32 +02:00
Types.h AK: Replace C-style casts 2023-03-09 21:43:54 +01:00
UBSanitizer.h
UFixedBigInt.h AK: Add support for Little/BigEndian<UFixedBigInteger<M>> 2023-08-21 13:39:32 +03:30
UFixedBigIntDivision.h
UnicodeUtils.h AK: Replace C-style casts 2023-03-09 21:43:54 +01:00
URL.cpp AK: Number the spec step comments in URL::serialize_path() 2023-09-19 21:51:31 +01:00
URL.h AK: Implement URL::serialize_path() to spec 2023-09-15 11:15:43 -06:00
URLParser.cpp AK: Port percent_encode_after_encoding to String 2023-08-31 11:02:18 +02:00
URLParser.h AK: Port percent_encode_after_encoding to String 2023-08-31 11:02:18 +02:00
Userspace.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
Utf8View.cpp AK: Compute UTF-8 code point lengths using only leading bytes 2023-03-13 15:16:02 +00:00
Utf8View.h AK: Expose the current position of a Utf8CodePointIterator as a pointer 2023-03-22 19:45:40 +01:00
Utf16View.cpp
Utf16View.h
Utf32View.cpp
Utf32View.h AK: Add a Utf32View::substring_view overload to take only an offset 2023-03-08 18:57:53 +00:00
UUID.cpp
UUID.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
Variant.h AK: Allow testing Empty instances for equality 2023-07-28 20:47:48 +03:30
Vector.h Everywhere: Run clang-format 2023-07-08 10:32:56 +01:00
Weakable.h
WeakPtr.h