fix SoftNcRunner GM code normalization.

This commit is contained in:
2026-05-06 13:21:19 +08:00
parent 0fe9497552
commit 2f57932000
1238 changed files with 69405 additions and 22511 deletions
@@ -193,8 +193,8 @@ Manages reading data in parallel with forward and backward caching to optimize p
<a id="Hi_Common_ParallelBulkUtils_ParallelBulkReader_1__ctor_" data-uid="Hi.Common.ParallelBulkUtils.ParallelBulkReader`1.#ctor*"></a>
<h3 id="Hi_Common_ParallelBulkUtils_ParallelBulkReader_1__ctor_System_Int32_System_Int32_System_Int32_Hi_Common_ParallelBulkUtils_ReadBulkDelegate__0__System_Func__0_System_Nullable_System_Int32___System_Func_System_Int32__" data-uid="Hi.Common.ParallelBulkUtils.ParallelBulkReader`1.#ctor(System.Int32,System.Int32,System.Int32,Hi.Common.ParallelBulkUtils.ReadBulkDelegate{`0},System.Func{`0,System.Nullable{System.Int32}},System.Func{System.Int32})">
ParallelBulkReader(int, int, int, ReadBulkDelegate&lt;TData&gt;, Func&lt;TData, int?&gt;, Func&lt;int&gt;)
<h3 id="Hi_Common_ParallelBulkUtils_ParallelBulkReader_1__ctor_System_Int32_System_Int32_System_Int32_Hi_Common_ParallelBulkUtils_ReadBulkDelegate__0__System_Func__0_System_Nullable_System_Int32___System_Func_System_Int32__System_Action_System_Exception__" data-uid="Hi.Common.ParallelBulkUtils.ParallelBulkReader`1.#ctor(System.Int32,System.Int32,System.Int32,Hi.Common.ParallelBulkUtils.ReadBulkDelegate{`0},System.Func{`0,System.Nullable{System.Int32}},System.Func{System.Int32},System.Action{System.Exception})">
ParallelBulkReader(int, int, int, ReadBulkDelegate&lt;TData&gt;, Func&lt;TData, int?&gt;, Func&lt;int&gt;, Action&lt;Exception&gt;)
</h3>
@@ -203,7 +203,7 @@ Manages reading data in parallel with forward and backward caching to optimize p
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ParallelBulkReader(int cacheBackwardDistance, int cacheForwardDistance, int cacheQueueLimit, ReadBulkDelegate&lt;TData&gt; readBulkFunc, Func&lt;TData, int?&gt; getIndexFunc, Func&lt;int&gt; countFunc)</code></pre>
<pre><code class="lang-csharp hljs">public ParallelBulkReader(int cacheBackwardDistance, int cacheForwardDistance, int cacheQueueLimit, ReadBulkDelegate&lt;TData&gt; readBulkFunc, Func&lt;TData, int?&gt; getIndexFunc, Func&lt;int&gt; countFunc, Action&lt;Exception&gt; exceptionAction = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -225,6 +225,9 @@ Manages reading data in parallel with forward and backward caching to optimize p
</dd>
<dt><code>countFunc</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&gt;</dt>
<dd><p>The function that returns the total count of available data items.</p>
</dd>
<dt><code>exceptionAction</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a>&gt;</dt>
<dd><p>Optional action invoked when an exception occurs in cache operations.</p>
</dd>
</dl>