From a913294febeb9e34ba8716c39158e888a9e31fb3 Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 11:42:45 +0300 Subject: [PATCH 1/3] Initial commit with task details for issue #16 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/16 --- 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..ba977a6 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: https://github.com/linksplatform/Memory/issues/16 +Your prepared branch: issue-16-f79a2ea7 +Your prepared working directory: /tmp/gh-issue-solver-1757839362825 + +Proceed. \ No newline at end of file From f5daa5c89bf5d5d99038bfd993872f923bab5022 Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 11:51:15 +0300 Subject: [PATCH 2/3] Fix DocFX indexer comments inheritance by removing problematic include tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DocFX does not properly support XML include tags for documentation inheritance. This commit replaces all problematic include tags with proper inheritdoc tags. Fixed files: - DirectMemoryAsArrayMemoryAdapter.cs: Fixed indexer documentation - ArrayMemory.cs: Fixed indexer and Size property documentation - FileArrayMemory.cs: Fixed indexer and Size property documentation - ResizableDirectMemoryBase.cs: Fixed Size, Pointer, ReservedCapacity, and UsedCapacity properties - FileMappedResizableDirectMemory.cs: Fixed OnReservedCapacityChanged and DisposePointer methods - HeapResizableDirectMemory.cs: Fixed OnReservedCapacityChanged and DisposePointer methods Resolves issue #16: DocFX fails to inherit indexer comments πŸ€– Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- csharp/Platform.Memory/ArrayMemory.cs | 2 -- csharp/Platform.Memory/DirectMemoryAsArrayMemoryAdapter.cs | 3 --- csharp/Platform.Memory/FileArrayMemory.cs | 2 -- csharp/Platform.Memory/FileMappedResizableDirectMemory.cs | 2 -- csharp/Platform.Memory/HeapResizableDirectMemory.cs | 2 -- csharp/Platform.Memory/ResizableDirectMemoryBase.cs | 4 ---- 6 files changed, 15 deletions(-) diff --git a/csharp/Platform.Memory/ArrayMemory.cs b/csharp/Platform.Memory/ArrayMemory.cs index 850e6e1..ee14192 100644 --- a/csharp/Platform.Memory/ArrayMemory.cs +++ b/csharp/Platform.Memory/ArrayMemory.cs @@ -17,7 +17,6 @@ public class ArrayMemory : IArrayMemory #region Properties /// - /// public long Size { [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -25,7 +24,6 @@ public long Size } /// - /// public TElement this[long index] { [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/csharp/Platform.Memory/DirectMemoryAsArrayMemoryAdapter.cs b/csharp/Platform.Memory/DirectMemoryAsArrayMemoryAdapter.cs index ec16e53..6ea0043 100644 --- a/csharp/Platform.Memory/DirectMemoryAsArrayMemoryAdapter.cs +++ b/csharp/Platform.Memory/DirectMemoryAsArrayMemoryAdapter.cs @@ -22,7 +22,6 @@ public class DirectMemoryAsArrayMemoryAdapter : DisposableBase, IArray #region Properties /// - /// public long Size { [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -30,7 +29,6 @@ public long Size } /// - /// public IntPtr Pointer { [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -38,7 +36,6 @@ public IntPtr Pointer } /// - /// public TElement this[long index] { [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/csharp/Platform.Memory/FileArrayMemory.cs b/csharp/Platform.Memory/FileArrayMemory.cs index 69fa309..4168690 100644 --- a/csharp/Platform.Memory/FileArrayMemory.cs +++ b/csharp/Platform.Memory/FileArrayMemory.cs @@ -22,7 +22,6 @@ public class FileArrayMemory : DisposableBase, IArrayMemory #region Properties /// - /// public long Size { [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -30,7 +29,6 @@ public long Size } /// - /// public TElement this[long index] { [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/csharp/Platform.Memory/FileMappedResizableDirectMemory.cs b/csharp/Platform.Memory/FileMappedResizableDirectMemory.cs index 660c92e..9800723 100644 --- a/csharp/Platform.Memory/FileMappedResizableDirectMemory.cs +++ b/csharp/Platform.Memory/FileMappedResizableDirectMemory.cs @@ -113,7 +113,6 @@ private bool UnmapFile(IntPtr pointer) #region ResizableDirectMemoryBase Methods /// - /// [MethodImpl(MethodImplOptions.AggressiveInlining)] protected override void OnReservedCapacityChanged(long oldReservedCapacity, long newReservedCapacity) { @@ -123,7 +122,6 @@ protected override void OnReservedCapacityChanged(long oldReservedCapacity, long } /// - /// [MethodImpl(MethodImplOptions.AggressiveInlining)] protected override void DisposePointer(IntPtr pointer, long usedCapacity) { diff --git a/csharp/Platform.Memory/HeapResizableDirectMemory.cs b/csharp/Platform.Memory/HeapResizableDirectMemory.cs index 77262d7..a799d24 100644 --- a/csharp/Platform.Memory/HeapResizableDirectMemory.cs +++ b/csharp/Platform.Memory/HeapResizableDirectMemory.cs @@ -52,12 +52,10 @@ public HeapResizableDirectMemory() : this(MinimumCapacity) { } #region ResizableDirectMemoryBase Methods /// - /// [MethodImpl(MethodImplOptions.AggressiveInlining)] protected override void DisposePointer(IntPtr pointer, long usedCapacity) => Marshal.FreeHGlobal(pointer); /// - /// [MethodImpl(MethodImplOptions.AggressiveInlining)] protected override void OnReservedCapacityChanged(long oldReservedCapacity, long newReservedCapacity) { diff --git a/csharp/Platform.Memory/ResizableDirectMemoryBase.cs b/csharp/Platform.Memory/ResizableDirectMemoryBase.cs index 5d8acd9..f4d11fa 100644 --- a/csharp/Platform.Memory/ResizableDirectMemoryBase.cs +++ b/csharp/Platform.Memory/ResizableDirectMemoryBase.cs @@ -33,7 +33,6 @@ public abstract class ResizableDirectMemoryBase : DisposableBase, IResizableDire #region Properties /// - /// /// The memory block is disposed.Π‘Π»ΠΎΠΊ памяти ΡƒΠΆΠ΅ высвобоТдСн. public long Size { @@ -46,7 +45,6 @@ public long Size } /// - /// /// The memory block is disposed.Π‘Π»ΠΎΠΊ памяти ΡƒΠΆΠ΅ высвобоТдСн. public IntPtr Pointer { @@ -65,7 +63,6 @@ protected set } /// - /// /// The memory block is disposed.Π‘Π»ΠΎΠΊ памяти ΡƒΠΆΠ΅ высвобоТдСн. /// Attempted to set the reserved capacity to a value that is less than the used capacity.Π‘Ρ‹Π»Π° Π²Ρ‹ΠΏΠΎΠ»Π½Π΅Π½Π° ΠΏΠΎΠΏΡ‹Ρ‚ΠΊΠ° ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚ΡŒ Π·Π°Ρ€Π΅Π·Π΅Ρ€Π²ΠΈΡ€ΠΎΠ²Π°Π½Π½ΡƒΡŽ Π΅ΠΌΠΊΠΎΡΡ‚ΡŒ Π½Π° Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅, ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠ΅ мСньшС ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅ΠΌΠΎΠΉ Смкости. public long ReservedCapacity @@ -90,7 +87,6 @@ public long ReservedCapacity } /// - /// /// The memory block is disposed.Π‘Π»ΠΎΠΊ памяти ΡƒΠΆΠ΅ высвобоТдСн. /// Attempted to set the used capacity to a value that is greater than the reserved capacity or less than zero.Π‘Ρ‹Π»Π° Π²Ρ‹ΠΏΠΎΠ»Π½Π΅Π½Π° ΠΏΠΎΠΏΡ‹Ρ‚ΠΊΠ° ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚ΡŒ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅ΠΌΡƒΡŽ Π΅ΠΌΠΊΠΎΡΡ‚ΡŒ Π½Π° Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅, ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠ΅ большС, Ρ‡Π΅ΠΌ зарСзСрвированная Π΅ΠΌΠΊΠΎΡΡ‚ΡŒ ΠΈΠ»ΠΈ мСньшС нуля. public long UsedCapacity From dd5e71ece5c936c8f5372cc7cb767328b37799ae Mon Sep 17 00:00:00 2001 From: konard Date: Sun, 14 Sep 2025 11:52:10 +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 ba977a6..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: https://github.com/linksplatform/Memory/issues/16 -Your prepared branch: issue-16-f79a2ea7 -Your prepared working directory: /tmp/gh-issue-solver-1757839362825 - -Proceed. \ No newline at end of file