mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
split: the memory-lock log lines are final (owner's wording of 11-11), placeholder markers removed
The sentences of lock_line() and the "locked" / "read" in RAM lines stay byte for byte as they were; only the two comments that called them placeholders change (memlock.hpp, memlock_test.cpp). No behaviour change.
This commit is contained in:
1 parent
dedb0b1be2
commit
4aa298595c
2 files changed
+2
-3
No files matched your search
@@ -177,8 +177,7 @@ inline std::string size_text(double bytes) {
|
||||
return b;
|
||||
}
|
||||
|
||||
// The one line for the log when not everything is locked (empty when everything is).
|
||||
// PLACEHOLDER WORDING: these sentences are the drafts sent to the owner (phaseA-tests/par/RESULTS-OWN-4S.md section 13); the final words wait for his answer.
|
||||
// The one line for the log when not everything is locked (empty when everything is); the owner's wording of 11-11.
|
||||
inline std::string lock_line(const std::vector<LockPart>& parts, const LockOutcome& o) {
|
||||
(void) parts;
|
||||
if (o.locked >= o.want) return "";
|
||||
|
||||
@@ -160,7 +160,7 @@ template <class F> int in_child(F f) {
|
||||
return WIFEXITED(st) ? WEXITSTATUS(st) : 99;
|
||||
}
|
||||
|
||||
// the placeholder sentences, exactly as drafted for the owner (RESULTS-OWN-4S.md section 13), at the real sizes
|
||||
// the sentences in the owner's wording of 11-11, at the real sizes
|
||||
void test_words() {
|
||||
const uint64_t G = 1ull << 30;
|
||||
std::vector<LockPart> none;
|
||||
|
||||
Reference in new issue
Block a user