Daily update on 20250618-051714 by Nitload Youmu. Additional Message : Brief support to collection operation in EXPRESS. A collection type added in core lib and compilestack.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-06-18 05:17:14 +08:00
parent 74c01effe4
commit c624a8ca38
300 changed files with 12227 additions and 4303 deletions
+13 -7
View File
@@ -28,7 +28,6 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Globalization;
@@ -43,18 +42,24 @@ namespace StgSharp.PipeLine
internal sealed class BeginningNode : PipelineNode
{
public const string OutName = "default";
private PipelineScheduler _bp;
public BeginningNode( PipelineScheduler bp )
: base( DefaultOperation, name: "BeginningNode", true, ["default"], ["default"] )
: base(
DefaultOperation, new PipelineNodeStringLabel( "BeginningNode" ), true, ["default"],
[OutName] )
{
_bp = bp;
}
public PipelineNodeOutPort DefaultOut => OutputPorts[ OutName ];
public override void Run()
{
_bp.RunningStat.Wait();
PipelineNodeExport.SkipAll( _output );
PipelineNodeOutPort.SkipAll( _output );
}
internal void SetInputData( IEnumerable<(string, IPipeLineConnectionPayload)> data )
@@ -75,16 +80,17 @@ namespace StgSharp.PipeLine
private PipelineScheduler _bp;
public EndingNode( PipelineScheduler bp )
: base( DefaultOperation, name: "EndingNode", true, ["default"], ["default"] )
: base(
DefaultOperation, name: new PipelineNodeStringLabel( "EndingNode" ), true, ["default"],
["default"] )
{
_bp = bp;
}
public override void Run()
{
PipelineNodeImport.WaitAll( _input );
Interlocked.Exchange( ref _bp.currentGlobalNodeIndex, 0 );
Interlocked.Exchange( ref _bp.currentNativeNodeIndex, 0 );
PipelineNodeInPort.WaitAll( _input );
_bp.ResetIndex();
_bp.RunningStat.Release();
}