From 5e51f5f28bebac82bc654072299d5bd822b4fc06 Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 11:52:50 +0300 Subject: [PATCH 1/3] Initial commit with task details for issue #15 Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: https://github.com/linksplatform/Memory/issues/15 --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..2f08a3b --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: https://github.com/linksplatform/Memory/issues/15 +Your prepared branch: issue-15-fd5e5f4a +Your prepared working directory: /tmp/gh-issue-solver-1757839966212 + +Proceed. \ No newline at end of file From 0389f3182755edfc71fa18661fc1da79a86db54b Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 11:56:13 +0300 Subject: [PATCH 2/3] Convert TODO comments to GitHub issues #87, #88, #89, #90 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removed TODO comment from FileMappedResizableDirectMemory.h capacity calculation (issue #87) - Removed TODO comment from FileMappedResizableDirectMemory.h Close() method (issue #88) - Removed TODO comment from IArrayMemory.h const operator[] (issue #89) - Removed TODO comment from ResizableDirectMemoryBase.h Ranges usage (issue #90) All TODO comments have been converted to proper GitHub issues for tracking and resolution. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- cpp/Platform.Memory/FileMappedResizableDirectMemory.h | 2 -- cpp/Platform.Memory/IArrayMemory.h | 1 - cpp/Platform.Memory/ResizableDirectMemoryBase.h | 1 - 3 files changed, 4 deletions(-) diff --git a/cpp/Platform.Memory/FileMappedResizableDirectMemory.h b/cpp/Platform.Memory/FileMappedResizableDirectMemory.h index efcd89c..64d076e 100644 --- a/cpp/Platform.Memory/FileMappedResizableDirectMemory.h +++ b/cpp/Platform.Memory/FileMappedResizableDirectMemory.h @@ -32,7 +32,6 @@ } Path = path; auto size = std::filesystem::file_size(Path); - // TODO: cringe ReservedCapacity(size > minimumReservedCapacity ? ((size / minimumReservedCapacity) + 1) * minimumReservedCapacity : minimumReservedCapacity); UsedCapacity(size); } @@ -63,7 +62,6 @@ Pointer() = nullptr; } - // TODO: maybe use rvalue friend function public: void Close() { diff --git a/cpp/Platform.Memory/IArrayMemory.h b/cpp/Platform.Memory/IArrayMemory.h index 3bf6013..69761fc 100644 --- a/cpp/Platform.Memory/IArrayMemory.h +++ b/cpp/Platform.Memory/IArrayMemory.h @@ -6,7 +6,6 @@ public: //virtual TElement& operator[](std::size_t index) {} - // TODO: impl const //virtual const TElement& operator[](std::size_t index) const {} }; } diff --git a/cpp/Platform.Memory/ResizableDirectMemoryBase.h b/cpp/Platform.Memory/ResizableDirectMemoryBase.h index 1e24ea2..2e77bd7 100644 --- a/cpp/Platform.Memory/ResizableDirectMemoryBase.h +++ b/cpp/Platform.Memory/ResizableDirectMemoryBase.h @@ -75,7 +75,6 @@ if (value != _usedCapacity) { - // TODO: Use modernize Ranges version Ensure::Always::ArgumentInRange(value, Range(0, _reservedCapacity)); _usedCapacity = value; } From 3255cf38c71eb76a1e83bae71091916507a99dfb Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 11:56:50 +0300 Subject: [PATCH 3/3] Remove CLAUDE.md - Claude command completed --- CLAUDE.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 2f08a3b..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: https://github.com/linksplatform/Memory/issues/15 -Your prepared branch: issue-15-fd5e5f4a -Your prepared working directory: /tmp/gh-issue-solver-1757839966212 - -Proceed. \ No newline at end of file