gecko-dev/mfbt
Nicolas B. Pierron 4d9b0fe251 Bug 1779940 part 2 - Add HashMap::put which relies on lookup. r=arai
The next patch is creating a cache which is capable of looking up different kind
of string types. However, each string type need some contextual information to
be able to compare them against each others, which adds complexity to the lookup
type. In addition, the keys are of only one string type, and therefore we try to
avoid storing this context as part of each key, but instead provide it with the
contextual information coming with the Lookup type.

Therefore, when we want to insert a key, which might already be present, using
`put`. We have to provide a `aLookup` argument which knows how to compare keys.

This also make the interface similar to `putNew` which already has the
distinctions between the `Lookup` argument and the `KeyInput` argument.

Differential Revision: https://phabricator.services.mozilla.com/D154512
2022-08-25 15:03:29 +00:00
..
double-conversion Bug 1749348 - Update double-conversion to version 3.2.1. r=glandium 2022-08-09 13:47:44 +00:00
lz4
tests Bug 1784812 - Make all JSONWriteFunc-derived classes and their overriden methods final - r=canaltinova 2022-08-17 07:07:54 +00:00
Algorithm.h
Alignment.h
AllocPolicy.h
AlreadyAddRefed.h
Array.h
ArrayUtils.h
Assertions.cpp
Assertions.h
AtomicBitfields.h
Atomics.h
Attributes.h Bug 1783051 - Turn default browser agent's `EventLog` into a Windows-only header utility. r=rkraesig 2022-08-17 20:01:58 +00:00
BinarySearch.h
BitSet.h Bug 1768632: Make EnumSet compile for MSVC. r=glandium 2022-08-17 06:39:12 +00:00
BloomFilter.h
Buffer.h
BufferList.h
Casting.h
ChaosMode.cpp
ChaosMode.h
Char16.h
CheckedInt.h
CompactPair.h
Compiler.h
Compression.cpp
Compression.h
DbgMacro.h
DebugOnly.h
DefineEnum.h
DoublyLinkedList.h
EndianUtils.h
EnumSet.h Bug 1768632: Make EnumSet compile for MSVC. r=glandium 2022-08-17 06:39:12 +00:00
EnumTypeTraits.h
EnumeratedArray.h
EnumeratedRange.h
FStream.h
FastBernoulliTrial.h
FloatingPoint.cpp
FloatingPoint.h
FunctionRef.h
FunctionTypeTraits.h
Fuzzing.h
HashFunctions.cpp
HashFunctions.h
HashTable.h Bug 1779940 part 2 - Add HashMap::put which relies on lookup. r=arai 2022-08-25 15:03:29 +00:00
HelperMacros.h
InitializedOnce.h
IntegerRange.h
IntegerTypeTraits.h
JSONWriter.cpp
JSONWriter.h Bug 1784812 - JSONWriter may optionally not own its writer - r=canaltinova 2022-08-17 07:07:53 +00:00
JsRust.h
Latin1.h
Likely.h
LinkedList.h
MacroArgs.h
MacroForEach.h
MathAlgorithms.h
Maybe.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
MaybeOneOf.h
MaybeStorageBase.h
MemoryChecking.h
MemoryReporting.h
MoveOnlyFunction.h
NonDereferenceable.h
NotNull.h
Opaque.h
OperatorNewExtensions.h
PairHash.h
Path.h
PodOperations.h
Poison.cpp
Poison.h
RandomNum.cpp
RandomNum.h
Range.h
RangedArray.h
RangedPtr.h
ReentrancyGuard.h
RefCountType.h
RefCounted.h
RefPtr.h
Result.h
ResultExtensions.h
ResultVariant.h
ReverseIterator.h
RollingMean.h
SHA1.cpp
SHA1.h
SPSCQueue.h
STYLE
Saturate.h
ScopeExit.h
Scoped.h
SegmentedVector.h
SharedLibrary.h
SmallPointerArray.h
Span.h
SplayTree.h
StaticAnalysisFunctions.h
TaggedAnonymousMemory.cpp
TaggedAnonymousMemory.h
Tainting.h
TemplateLib.h
TextUtils.h
ThreadLocal.h
ThreadSafeWeakPtr.h
ThreadSafety.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
ToString.h
TsanOptions.h
Tuple.h
TypeTraits.h
TypedEnumBits.h
Types.h
UniquePtr.h Bug 1782604 - Make UniquePtr(nullptr) constexpr r=glandium 2022-08-03 21:21:09 +00:00
UniquePtrExtensions.cpp
UniquePtrExtensions.h
Unused.cpp
Unused.h
Utf8.cpp
Utf8.h
Variant.h
Vector.h Bug 1782562 - be more conservative in max Vector size r=jandem 2022-08-08 22:59:15 +00:00
WasiAtomic.h
WeakPtr.h
WindowsVersion.h
WrappingOperations.h
XorShift128PlusRNG.h
fallible.h
moz.build Bug 1782141 - Move SIMD/SSE files to mozglue r=iain 2022-08-01 16:40:57 +00:00