mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:07:34 +00:00
Everywhere: Run spellcheck on all documentation
This commit is contained in:
parent
a7600caea1
commit
ee47c0275e
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