Skip to content

Commit fa2206a

Browse files
Merge pull request #1269 from bratpiorka/rrudnick_update_spellcheck
update CI crate-ci/typos action and fix typos
2 parents 049b878 + fee1758 commit fa2206a

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/.spellcheck-conf.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[default]
22
# Don't correct the following words:
3-
extend-ignore-words-re = ["ASSER", "Tne", "ba", "BA"]
3+
extend-ignore-words-re = ["ASSER", "Tne", "ba", "BA", "PN"]
44

55
[files]
66
# completely exclude those files from consideration:

.github/workflows/reusable_checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
./scripts/check_license/check_headers.sh . "Apache-2.0 WITH LLVM-exception" -v
5959
6060
- name: Run a spell check
61-
uses: crate-ci/typos@b63f421581dce830bda2f597a678cb7776b41877 # v1.18.2
61+
uses: crate-ci/typos@b1a1ef3893ff35ade0cfa71523852a49bfd05d19 # v1.31.1
6262
with:
6363
config: ./.github/workflows/.spellcheck-conf.toml
6464

docs/config/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ LOOKUP_CACHE_SIZE = 0
466466
# than 0 to get more control over the balance between CPU load and processing
467467
# speed. At this moment only the input processing can be done using multiple
468468
# threads. Since this is still an experimental feature the default is set to 1,
469-
# which efficively disables parallel processing. Please report any issues you
469+
# which effectively disables parallel processing. Please report any issues you
470470
# encounter. Generating dot graphs in parallel is controlled by the
471471
# DOT_NUM_THREADS setting.
472472
# Minimum value: 0, maximum value: 32, default value: 1.

src/coarse/coarse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,10 @@ static umf_result_t user_block_merge(coarse_t *coarse, ravl_node_t *node1,
442442
assert(block1->data < block2->data);
443443

444444
bool same_used = ((block1->used == used) && (block2->used == used));
445-
bool contignous_data = (block1->data + block1->size == block2->data);
445+
bool contiguous_data = (block1->data + block1->size == block2->data);
446446

447447
// check if blocks can be merged
448-
if (!same_used || !contignous_data) {
448+
if (!same_used || !contiguous_data) {
449449
return UMF_RESULT_ERROR_INVALID_ARGUMENT;
450450
}
451451

test/malloc_compliance_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void realloc_compliance_test(umf_memory_pool_handle_t hPool) {
119119
<< "malloc returned NULL, couldn't allocate much memory";
120120

121121
// Fit memory region with data and store
122-
// it's content somehere before realloc
122+
// it's content somewhere before realloc
123123
void *saved_obj = umfPoolMalloc(hPool, alloc_size);
124124
ASSERT_NE(saved_obj, nullptr)
125125
<< "malloc returned NULL, couldn't allocate much memory";

test/provider_devdax_memory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ TEST_P(umfProviderTest, purge_force) {
235235
test_alloc_free_success(provider.get(), page_size, 0, PURGE_FORCE);
236236
}
237237

238-
TEST_P(umfProviderTest, purge_force_unalligned_alloc) {
238+
TEST_P(umfProviderTest, purge_force_unaligned_alloc) {
239239
void *ptr;
240240
auto ret = umfMemoryProviderAlloc(provider.get(), page_plus_64, 0, &ptr);
241241
ASSERT_EQ(ret, UMF_RESULT_SUCCESS);

0 commit comments

Comments
 (0)