aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/scheme/tests/fuzz_ops/lib/vm_defs.h
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /library/cpp/scheme/tests/fuzz_ops/lib/vm_defs.h
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/scheme/tests/fuzz_ops/lib/vm_defs.h')
-rw-r--r--library/cpp/scheme/tests/fuzz_ops/lib/vm_defs.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/scheme/tests/fuzz_ops/lib/vm_defs.h b/library/cpp/scheme/tests/fuzz_ops/lib/vm_defs.h
index 9a0ddf7351..7db4ddeda3 100644
--- a/library/cpp/scheme/tests/fuzz_ops/lib/vm_defs.h
+++ b/library/cpp/scheme/tests/fuzz_ops/lib/vm_defs.h
@@ -98,11 +98,11 @@ namespace NSc::NUt {
return std::move(Memory[pos]);
}
- [[nodiscard]]
+ [[nodiscard]]
bool TryPushBack();
template <class T>
- [[nodiscard]]
+ [[nodiscard]]
bool TryPushBack(T&& t) {
if (MayAddMoreMemory()) {
Memory.emplace_back(std::forward<T>(t));
@@ -112,11 +112,11 @@ namespace NSc::NUt {
}
}
- [[nodiscard]]
+ [[nodiscard]]
bool TryPushFront();
template <class T>
- [[nodiscard]]
+ [[nodiscard]]
bool TryPushFront(T&& t) {
if (MayAddMoreMemory()) {
Pos += 1;
@@ -127,16 +127,16 @@ namespace NSc::NUt {
}
}
- [[nodiscard]]
+ [[nodiscard]]
bool TryPopBack();
- [[nodiscard]]
+ [[nodiscard]]
bool TryPopFront();
TString ToString() const;
private:
- [[nodiscard]]
+ [[nodiscard]]
bool MayAddMoreMemory() const noexcept {
return Memory.size() < MaxMemory;
}
@@ -223,7 +223,7 @@ namespace NSc::NUt {
TString ToString() const;
};
- using TArg = std::variant<std::monostate, TIdx, TPos, TRef, TSrc, TDst, TPath>;
+ using TArg = std::variant<std::monostate, TIdx, TPos, TRef, TSrc, TDst, TPath>;
struct TVMAction {
using EType = EVMAction;
@@ -269,7 +269,7 @@ namespace NSc::NUt {
ui32 CurrArg = 0;
};
- [[nodiscard]]
+ [[nodiscard]]
inline ui32 GetCountWidth(ui32 cnt) {
return MostSignificantBit(cnt - 1) + 1;
}