Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 7efa734

Browse files
committed
Fix a bunch of typos.
1 parent 4edbcdf commit 7efa734

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/workflows/weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Clone the git repo
3838
uses: actions/checkout@v2
3939

40-
# It rebuilds images every time (push is not neccessary; they are pushed in other workflows)
40+
# It rebuilds images every time (push is not necessary; they are pushed in other workflows)
4141
- name: Rebuild the image
4242
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh rebuild
4343

benchmarks/radix/radix_tree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ gen_keys(size_t count)
8989
std::vector<size_t> ret;
9090
ret.reserve(count);
9191
for (size_t i = 0; i < count; ++i) {
92-
/* only even keys will be insterted */
92+
/* only even keys will be inserted */
9393
key = static_cast<size_t>(rand());
9494
key <<= 32;
9595
key1 = static_cast<size_t>(rand());

examples/radix_tree/radix_tree_complex_value.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ insert_elements_kv(pmem::obj::pool<root> pop)
101101

102102
/* Update "Gdańsk" latest_update_date field.
103103
*
104-
* This code will result in only one snaphot.
104+
* This code will result in only one snapshot.
105105
*/
106106
pmem::obj::transaction::run(pop, [&] {
107107
it->value().latest_update_date.get_rw().year = 2021;

include/libpmemobj++/experimental/atomic_persistent_aware_ptr.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace experimental
3737
* are expected it's probably better to use this scenario.
3838
* - Write-optimized - data is lazily flushed with a read operation. In this
3939
* approach data storing is expected to be faster, but data is
40-
*guranteed to be flushed only after consequent read.
40+
* guaranteed to be flushed only after consequent read.
4141
*/
4242
template <typename T, typename ReadOptimized>
4343
struct atomic_persistent_aware_ptr {

include/libpmemobj++/experimental/concurrent_map.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ namespace experimental
4545
* requires runtime_initialize() to be called in order to restore the map state
4646
* after process restart.
4747
*
48-
* Key, Value, Comp and Allcoator types should be persistent memory aware types.
49-
* Allocator type should satisfies the named requirements
48+
* Key, Value, Comp and Allocator types should be persistent memory aware
49+
* types. Allocator type should satisfy the named requirements
5050
* (https://en.cppreference.com/w/cpp/named_req/Allocator). The allocate() and
5151
* deallocate() methods are called inside transactions.
5252
* @ingroup experimental_containers

tests/mpsc_queue/mt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ mt_test(pmem::obj::pool<root> pop, size_t concurrency)
5151
std::vector<std::string> values_on_pmem;
5252
parallel_exec(concurrency + 1, [&](size_t thread_id) {
5353
if (thread_id == 0) {
54-
/* Read data while writting */
54+
/* Read data while writing */
5555
while (threads_counter.load() > 0) {
5656
queue.try_consume_batch(
5757
[&](pmem::obj::experimental::

tests/mpsc_queue/ringbuf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/* Copyright 2021, Intel Corporation */
2828

2929
/*
30-
* ringbuf.cpp -- tests for internal implementaiton of ringbuffer used in
30+
* ringbuf.cpp -- tests for internal implementation of ringbuffer used in
3131
* pmem::obj::experimental::mpsc_queue
3232
*/
3333

0 commit comments

Comments
 (0)