mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
Everywhere: Run spellcheck on all documentation
This commit is contained in:
parent
a7600caea1
commit
ee47c0275e
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/BenWiederhake
Commit: ee47c0275e
Pull-request: https://github.com/SerenityOS/serenity/pull/18682
Reviewed-by: https://github.com/MacDue
Reviewed-by: https://github.com/gmta ✅
15 changed files with 26 additions and 26 deletions
|
@ -668,7 +668,7 @@ private:
|
|||
// that we can still probe for buckets with collisions, and we automatically optimize the
|
||||
// probe lengths. To do so, we shift the following buckets up until we reach a free bucket,
|
||||
// or a bucket with a probe length of 0 (the ideal index for that bucket).
|
||||
auto update_bucket_neighbours = [&](BucketType* bucket) {
|
||||
auto update_bucket_neighbors = [&](BucketType* bucket) {
|
||||
if constexpr (IsOrdered) {
|
||||
if (bucket->previous)
|
||||
bucket->previous->next = bucket;
|
||||
|
@ -704,7 +704,7 @@ private:
|
|||
shift_from_bucket->next = nullptr;
|
||||
}
|
||||
shift_to_bucket->state = bucket_state_for_probe_length(shift_from_probe_length - 1);
|
||||
update_bucket_neighbours(shift_to_bucket);
|
||||
update_bucket_neighbors(shift_to_bucket);
|
||||
|
||||
if (++shift_to_index == m_capacity) [[unlikely]]
|
||||
shift_to_index = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue