Skip to content

Commit

Permalink
fix some typos in docs (nanocurrency#4467)
Browse files Browse the repository at this point in the history
Signed-off-by: cuinix <[email protected]>
  • Loading branch information
cuinix authored Mar 7, 2024
1 parent 8c9e97f commit 254aa88
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions CL/cl2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3571,19 +3571,19 @@ cl::pointer<T, detail::Deleter<SVMAllocator<T, SVMTrait>>> allocate_svm(const cl
}
#endif // #if !defined(CL_HPP_NO_STD_UNIQUE_PTR)

/*! \brief Vector alias to simplify contruction of coarse-grained SVM containers.
/*! \brief Vector alias to simplify construction of coarse-grained SVM containers.
*
*/
template < class T >
using coarse_svm_vector = vector<T, cl::SVMAllocator<int, cl::SVMTraitCoarse<>>>;

/*! \brief Vector alias to simplify contruction of fine-grained SVM containers.
/*! \brief Vector alias to simplify construction of fine-grained SVM containers.
*
*/
template < class T >
using fine_svm_vector = vector<T, cl::SVMAllocator<int, cl::SVMTraitFine<>>>;

/*! \brief Vector alias to simplify contruction of fine-grained SVM containers that support platform atomics.
/*! \brief Vector alias to simplify construction of fine-grained SVM containers that support platform atomics.
*
*/
template < class T >
Expand Down
4 changes: 2 additions & 2 deletions boost_checkout_lite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ git submodule init boost
cd boost
# deactivate all boost submodules
git submodule foreach 'git config submodule.$sm_path.active false'
# selectivly activate required dependencies
# selectively activate required dependencies
for i in ${dependencies[@]}
do
git config submodule.$i.active true
done
cd ..
# Update all submodules recursivly. Deactivated modules will be skipped by --recursive
# Update all submodules recursively. Deactivated modules will be skipped by --recursive
git submodule update --jobs 16 --recursive --recommend-shallow --single-branch
8 changes: 4 additions & 4 deletions nano/core_test/confirmation_height.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ TEST (confirmation_heightDeathTest, modified_chain)
ledger, write_database_queue, 10ms, logger, stopped, batch_write_size, [] (auto const &) {}, [] (auto const &) {}, [] () { return 0; });

{
// This reads the blocks in the account, but prevents any writes from occuring yet
// This reads the blocks in the account, but prevents any writes from occurring yet
auto scoped_write_guard = write_database_queue.wait (nano::writer::testing);
bounded_processor.process (send);
}
Expand All @@ -1298,7 +1298,7 @@ TEST (confirmation_heightDeathTest, modified_chain)
ledger, write_database_queue, 10ms, logger, stopped, batch_write_size, [] (auto const &) {}, [] (auto const &) {}, [] () { return 0; });

{
// This reads the blocks in the account, but prevents any writes from occuring yet
// This reads the blocks in the account, but prevents any writes from occurring yet
auto scoped_write_guard = write_database_queue.wait (nano::writer::testing);
unbounded_processor.process (send);
}
Expand Down Expand Up @@ -1367,7 +1367,7 @@ TEST (confirmation_heightDeathTest, modified_chain_account_removed)
ledger, write_database_queue, 10ms, logger, stopped, batch_write_size, [] (auto const &) {}, [] (auto const &) {}, [] () { return 0; });

{
// This reads the blocks in the account, but prevents any writes from occuring yet
// This reads the blocks in the account, but prevents any writes from occurring yet
auto scoped_write_guard = write_database_queue.wait (nano::writer::testing);
unbounded_processor.process (open);
}
Expand All @@ -1387,7 +1387,7 @@ TEST (confirmation_heightDeathTest, modified_chain_account_removed)
ledger, write_database_queue, 10ms, logger, stopped, batch_write_size, [] (auto const &) {}, [] (auto const &) {}, [] () { return 0; });

{
// This reads the blocks in the account, but prevents any writes from occuring yet
// This reads the blocks in the account, but prevents any writes from occurring yet
auto scoped_write_guard = write_database_queue.wait (nano::writer::testing);
bounded_processor.process (open);
}
Expand Down

0 comments on commit 254aa88

Please sign in to comment.