Skip to content

Commit cf316a0

Browse files
committed
Added Luascripts; updated renovate.json (will it work?)
1 parent 716e0cd commit cf316a0

File tree

10 files changed

+390
-1
lines changed

10 files changed

+390
-1
lines changed
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<ProjectGuid>{89753248-CB45-4CD4-AF27-E0864EA8F0A5}</ProjectGuid>
23+
<RootNamespace>LuaScripts</RootNamespace>
24+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
25+
</PropertyGroup>
26+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
28+
<ConfigurationType>Application</ConfigurationType>
29+
<UseDebugLibraries>true</UseDebugLibraries>
30+
<PlatformToolset>v142</PlatformToolset>
31+
<CharacterSet>MultiByte</CharacterSet>
32+
</PropertyGroup>
33+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
34+
<ConfigurationType>Application</ConfigurationType>
35+
<UseDebugLibraries>false</UseDebugLibraries>
36+
<PlatformToolset>v142</PlatformToolset>
37+
<WholeProgramOptimization>true</WholeProgramOptimization>
38+
<CharacterSet>MultiByte</CharacterSet>
39+
</PropertyGroup>
40+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
41+
<ConfigurationType>Application</ConfigurationType>
42+
<UseDebugLibraries>true</UseDebugLibraries>
43+
<PlatformToolset>v142</PlatformToolset>
44+
<CharacterSet>MultiByte</CharacterSet>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
47+
<ConfigurationType>Application</ConfigurationType>
48+
<UseDebugLibraries>false</UseDebugLibraries>
49+
<PlatformToolset>v142</PlatformToolset>
50+
<WholeProgramOptimization>true</WholeProgramOptimization>
51+
<CharacterSet>MultiByte</CharacterSet>
52+
</PropertyGroup>
53+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
54+
<ImportGroup Label="ExtensionSettings">
55+
</ImportGroup>
56+
<ImportGroup Label="Shared">
57+
</ImportGroup>
58+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60+
</ImportGroup>
61+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
62+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63+
</ImportGroup>
64+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
65+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66+
</ImportGroup>
67+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
68+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69+
</ImportGroup>
70+
<PropertyGroup Label="UserMacros" />
71+
<PropertyGroup />
72+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73+
<ClCompile>
74+
<WarningLevel>Level3</WarningLevel>
75+
<Optimization>Disabled</Optimization>
76+
<SDLCheck>true</SDLCheck>
77+
</ClCompile>
78+
</ItemDefinitionGroup>
79+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
80+
<ClCompile>
81+
<WarningLevel>Level3</WarningLevel>
82+
<Optimization>Disabled</Optimization>
83+
<SDLCheck>true</SDLCheck>
84+
</ClCompile>
85+
</ItemDefinitionGroup>
86+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
87+
<ClCompile>
88+
<WarningLevel>Level3</WarningLevel>
89+
<Optimization>MaxSpeed</Optimization>
90+
<FunctionLevelLinking>true</FunctionLevelLinking>
91+
<IntrinsicFunctions>true</IntrinsicFunctions>
92+
<SDLCheck>true</SDLCheck>
93+
</ClCompile>
94+
<Link>
95+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
96+
<OptimizeReferences>true</OptimizeReferences>
97+
</Link>
98+
</ItemDefinitionGroup>
99+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
100+
<ClCompile>
101+
<WarningLevel>Level3</WarningLevel>
102+
<Optimization>MaxSpeed</Optimization>
103+
<FunctionLevelLinking>true</FunctionLevelLinking>
104+
<IntrinsicFunctions>true</IntrinsicFunctions>
105+
<SDLCheck>true</SDLCheck>
106+
</ClCompile>
107+
<Link>
108+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
109+
<OptimizeReferences>true</OptimizeReferences>
110+
</Link>
111+
</ItemDefinitionGroup>
112+
<ItemGroup>
113+
<None Include="concat.lua" />
114+
<None Include="drop.lua" />
115+
<None Include="gen.lua" />
116+
<None Include="recvr.lua" />
117+
<None Include="repl.lua" />
118+
</ItemGroup>
119+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
120+
<ImportGroup Label="ExtensionTargets">
121+
</ImportGroup>
122+
</Project>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<None Include="concat.lua">
19+
<Filter>Resource Files</Filter>
20+
</None>
21+
<None Include="drop.lua">
22+
<Filter>Resource Files</Filter>
23+
</None>
24+
<None Include="gen.lua">
25+
<Filter>Resource Files</Filter>
26+
</None>
27+
<None Include="recvr.lua">
28+
<Filter>Resource Files</Filter>
29+
</None>
30+
<None Include="repl.lua">
31+
<Filter>Resource Files</Filter>
32+
</None>
33+
</ItemGroup>
34+
</Project>

TestSubnets/LuaScripts/concat.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
i = dfselct("IN"); -- get element count for port "IN"
3+
4+
for j = 0, i - 1 do
5+
value, IPaddr, size, type = dfsrecv("IN["..j.."]") -- receive from element j of port "IN"
6+
while value == 0 do
7+
--myprint(IPaddr)
8+
value = dfssend("OUT", IPaddr) -- send IP to port "OUT"
9+
value, IPaddr, size, type = dfsrecv("IN["..j.."]") -- receive from element j of port "IN"
10+
end
11+
end
12+
return 0

TestSubnets/LuaScripts/drop.lua

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
--looper version
3+
4+
count = 0
5+
value, IPaddr, size, type = dfsrecv("IN[0]")
6+
while value == 0 do
7+
--myprint(IPaddr)
8+
count = count + 1
9+
value = dfsdrop(IPaddr)
10+
value, IPaddr, size, type = dfsrecv("IN")
11+
end
12+
print(count)
13+
return 0

TestSubnets/LuaScripts/gen.lua

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
-- TryLua.cpp is basically
3+
4+
-- Gen1 -> Concat -> Repl -> Drop,
5+
-- Gen2 -> Concat
6+
7+
8+
-- Elapsed time - 54 secs
9+
10+
-- so that's 1,000,000 each of "Lua" create, drop
11+
-- 3,000,000 each of send, receive
12+
13+
-- Replacing drop.lua by recvr.lua - does the same as drop.lua, but as a non-looper,
14+
-- takes approx. 10 mins.!
15+
16+
value, IPaddr, size, type = dfsrecv("COUNT")
17+
18+
i = dfsderef(IPaddr)
19+
dfsdrop(IPaddr)
20+
print (i)
21+
22+
for j = 1, i do
23+
value, IPaddr = dfscrep("string"..j)
24+
--myprint(IPaddr)
25+
value = dfssend("OUT", IPaddr)
26+
end
27+
return 0

TestSubnets/LuaScripts/recvr.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-- Experimental non-looper
2+
3+
--count = 0
4+
value, IPaddr, size, type = dfsrecv("IN[0]")
5+
--while value == 0 do
6+
--myprint(IPaddr)
7+
-- count = count + 1
8+
value = dfsdrop(IPaddr)
9+
-- value, IPaddr, size, type = dfsrecv("IN")
10+
--end
11+
--print(count)
12+
return 0

TestSubnets/LuaScripts/repl.lua

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- repl.lua
2+
3+
i = dfselct("OUT"); -- get element count for port "OUT"
4+
5+
value, IPaddr, size, type = dfsrecv("IN")
6+
7+
while value == 0 do
8+
string = dfsderef(IPaddr)
9+
for j = 0, i - 1 do
10+
value, IPaddr2 = dfscrep(string)
11+
--myprint(IPaddr2)
12+
value = dfssend("OUT["..j.."]", IPaddr2)
13+
end
14+
--myprint(IPaddr)
15+
value = dfsdrop(IPaddr)
16+
17+
value, IPaddr, size, type = dfsrecv("IN")
18+
end
19+
return 0
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
/* Generated Code */
2+
3+
#include "thxdef.h"
4+
#include <stdio.h>
5+
#define FILE struct _iobuf
6+
void CppFBP(label_ent * label_blk, bool dynam, FILE * fp, bool timereq);
7+
THRCOMP SendString(anchor anch);
8+
proc_ent P0 = {0, "SendRepoKey", "strings/SendString", SendString, 0, 0, !TRACE, !COMPOS};
9+
THRCOMP GetObjectKey(anchor anch);
10+
proc_ent P1 = {&P0, "GetRepoToPrepare", "objects/GetObjectKey", GetObjectKey, 0, 0, !TRACE, !COMPOS};
11+
THRCOMP Split(anchor anch);
12+
proc_ent P2 = {&P1, "RepoToPrepare", "core/Split", Split, 0, 0, !TRACE, !COMPOS};
13+
THRCOMP Repeat(anchor anch);
14+
proc_ent P3 = {&P2, "Token", "core/Repeat", Repeat, 0, 0, !TRACE, !COMPOS};
15+
THRCOMP GetReference(anchor anch);
16+
proc_ent P4 = {&P3, "GetReference", "github/GetReference", GetReference, 0, 0, !TRACE, !COMPOS};
17+
THRCOMP CheckSyncState(anchor anch);
18+
proc_ent P5 = {&P4, "CheckSyncState", "ui/CheckSyncState", CheckSyncState, 0, 0, !TRACE, !COMPOS};
19+
proc_ent P6 = {&P5, "SendProjectKey", "strings/SendString", SendString, 0, 0, !TRACE, !COMPOS};
20+
proc_ent P7 = {&P6, "GetProject", "objects/GetObjectKey", GetObjectKey, 0, 0, !TRACE, !COMPOS};
21+
THRCOMP Merge(anchor anch);
22+
proc_ent P8 = {&P7, "Errors", "core/Merge", Merge, 0, 0, !TRACE, !COMPOS};
23+
proc_ent P9 = {&P8, "MergeOps", "core/Merge", Merge, 0, 0, !TRACE, !COMPOS};
24+
proc_ent P10 = {&P9, "DoSync", "core/Repeat", Repeat, 0, 0, !TRACE, !COMPOS};
25+
THRCOMP PreparePulls(anchor anch);
26+
proc_ent P11 = {&P10, "PreparePulls", "ui/PreparePulls", PreparePulls, 0, 0, !TRACE, !COMPOS};
27+
THRCOMP GetBlob(anchor anch);
28+
proc_ent P12 = {&P11, "GetBlob", "github/GetBlob", GetBlob, 0, 0, !TRACE, !COMPOS};
29+
THRCOMP BlobToEntry(anchor anch);
30+
proc_ent P13 = {&P12, "BlobToEntry", "ui/BlobToEntry", BlobToEntry, 0, 0, !TRACE, !COMPOS};
31+
THRCOMP Race(anchor anch);
32+
proc_ent P14 = {&P13, "CompletePulls", "flow/Race", Race, 0, 0, !TRACE, !COMPOS};
33+
proc_ent P15 = {&P14, "UpdatedComponent", "core/Merge", Merge, 0, 0, !TRACE, !COMPOS};
34+
proc_ent P16 = {&P15, "UpdatedGraph", "core/Merge", Merge, 0, 0, !TRACE, !COMPOS};
35+
proc_ent P17 = {&P16, "UpdatedSpec", "core/Merge", Merge, 0, 0, !TRACE, !COMPOS};
36+
proc_ent P18 = {&P17, "Ready", "core/Repeat", Repeat, 0, 0, !TRACE, !COMPOS};
37+
THRCOMP PreparePush(anchor anch);
38+
proc_ent P19 = {&P18, "PreparePush", "ui/PreparePush", PreparePush, 0, 0, !TRACE, !COMPOS};
39+
THRCOMP UpdateFromTree(anchor anch);
40+
proc_ent P20 = {&P19, "UpdateFromTree", "ui/UpdateFromTree", UpdateFromTree, 0, 0, !TRACE, !COMPOS};
41+
THRCOMP CreateTree(anchor anch);
42+
proc_ent P21 = {&P20, "CreateTree", "github/CreateTree", CreateTree, 0, 0, !TRACE, !COMPOS};
43+
proc_ent P22 = {&P21, "SendTreeSha", "strings/SendString", SendString, 0, 0, !TRACE, !COMPOS};
44+
proc_ent P23 = {&P22, "GetTreeSha", "objects/GetObjectKey", GetObjectKey, 0, 0, !TRACE, !COMPOS};
45+
THRCOMP CreateCommit(anchor anch);
46+
proc_ent P24 = {&P23, "CreateCommit", "github/CreateCommit", CreateCommit, 0, 0, !TRACE, !COMPOS};
47+
THRCOMP UpdateReference(anchor anch);
48+
proc_ent P25 = {&P24, "UpdateReference", "github/UpdateReference", UpdateReference, 0, 0, !TRACE, !COMPOS};
49+
proc_ent P26 = {&P25, "SendPullRepo", "strings/SendString", SendString, 0, 0, !TRACE, !COMPOS};
50+
proc_ent P27 = {&P26, "GetPullRepo", "objects/GetObjectKey", GetObjectKey, 0, 0, !TRACE, !COMPOS};
51+
proc_ent P28 = {&P27, "PullRepo", "core/Split", Split, 0, 0, !TRACE, !COMPOS};
52+
proc_ent P29 = {&P28, "Loading", "core/Repeat", Repeat, 0, 0, !TRACE, !COMPOS};
53+
proc_ent P30 = {&P29, "GetPullReference", "github/GetReference", GetReference, 0, 0, !TRACE, !COMPOS};
54+
proc_ent P31 = {&P30, "CheckPullState", "ui/CheckSyncState", CheckSyncState, 0, 0, !TRACE, !COMPOS};
55+
proc_ent P32 = {&P31, "SendPullProject", "strings/SendString", SendString, 0, 0, !TRACE, !COMPOS};
56+
proc_ent P33 = {&P32, "GetPullProject", "objects/GetObjectKey", GetObjectKey, 0, 0, !TRACE, !COMPOS};
57+
THRCOMP (anchor anch);
58+
proc_ent P34 = {&P33, "", "", , 0, 0, !TRACE, !COMPOS};
59+
IIP I0 = {"repo"};
60+
cnxt_ent C0 = {0, "!", " ", 0, "SendRepoKey", "STRING", 0, &I0, 0};
61+
cnxt_ent C1 = {&C0, "SendRepoKey", "OUT", 0, "GetRepoToPrepare", "KEY", 0, 0, 6};
62+
cnxt_ent C2 = {&C1, "RepoToPrepare", "OUT", 0, "GetRepoToPrepare", "IN", 0, 0, 6};
63+
cnxt_ent C3 = {&C2, "RepoToPrepare", "OUT", 0, "SendRepoKey", "IN", 0, 0, 6};
64+
cnxt_ent C4 = {&C3, "Token", "OUT", 0, "GetReference", "TOKEN", 0, 0, 6};
65+
cnxt_ent C5 = {&C4, "GetRepoToPrepare", "OUT", 0, "GetReference", "REPOSITORY", 0, 0, 6};
66+
cnxt_ent C6 = {&C5, "GetReference", "REFERENCE", 0, "CheckSyncState", "REFERENCE", 0, 0, 6};
67+
IIP I1 = {"project"};
68+
cnxt_ent C7 = {&C6, "!", " ", 0, "SendProjectKey", "STRING", 0, &I1, 0};
69+
cnxt_ent C8 = {&C7, "SendProjectKey", "OUT", 0, "GetProject", "KEY", 0, 0, 6};
70+
cnxt_ent C9 = {&C8, "GetRepoToPrepare", "OBJECT", 0, "GetProject", "IN", 0, 0, 6};
71+
cnxt_ent C10 = {&C9, "GetProject", "OUT", 0, "CheckSyncState", "PROJECT", 0, 0, 6};
72+
cnxt_ent C11 = {&C10, "GetRepoToPrepare", "OBJECT", 0, "SendProjectKey", "IN", 0, 0, 6};
73+
cnxt_ent C12 = {&C11, "Token", "OUT", 0, "CheckSyncState", "TOKEN", 0, 0, 6};
74+
cnxt_ent C13 = {&C12, "GetReference", "ERROR", 0, "Errors", "IN", 0, 0, 6};
75+
cnxt_ent C14 = {&C13, "CheckSyncState", "ERROR", 0, "Errors", "IN", 0, 0, 6};
76+
cnxt_ent C15 = {&C14, "CheckSyncState", "NOOP", 0, "MergeOps", "IN", 0, 0, 6};
77+
cnxt_ent C16 = {&C15, "CheckSyncState", "LOCAL", 0, "MergeOps", "IN", 0, 0, 6};
78+
cnxt_ent C17 = {&C16, "CheckSyncState", "REMOTE", 0, "MergeOps", "IN", 0, 0, 6};
79+
cnxt_ent C18 = {&C17, "CheckSyncState", "BOTH", 0, "MergeOps", "IN", 0, 0, 6};
80+
cnxt_ent C19 = {&C18, "DoSync", "OUT", 0, "PreparePulls", "IN", 0, 0, 6};
81+
cnxt_ent C20 = {&C19, "Token", "OUT", 0, "GetBlob", "TOKEN", 0, 0, 6};
82+
cnxt_ent C21 = {&C20, "PreparePulls", "OUT", 0, "BlobToEntry", "OPERATION", 0, 0, 6};
83+
cnxt_ent C22 = {&C21, "PreparePulls", "REPOSITORY", 0, "GetBlob", "REPOSITORY", 0, 0, 6};
84+
cnxt_ent C23 = {&C22, "PreparePulls", "SHA", 0, "GetBlob", "SHA", 0, 0, 6};
85+
cnxt_ent C24 = {&C23, "GetBlob", "OUT", 0, "CompletePulls", "IN", 0, 0, 6};
86+
cnxt_ent C25 = {&C24, "CompletePulls", "OUT", 0, "BlobToEntry", "BLOB", 0, 0, 6};
87+
cnxt_ent C26 = {&C25, "GetBlob", "ERROR", 0, "CompletePulls", "ERROR", 0, 0, 6};
88+
cnxt_ent C27 = {&C26, "CompletePulls", "ERROR", 0, "Errors", "IN", 0, 0, 6};
89+
cnxt_ent C28 = {&C27, "BlobToEntry", "COMPONENT", 0, "UpdatedComponent", "IN", 0, 0, 6};
90+
cnxt_ent C29 = {&C28, "BlobToEntry", "GRAPH", 0, "UpdatedGraph", "IN", 0, 0, 6};
91+
cnxt_ent C30 = {&C29, "BlobToEntry", "SPEC", 0, "UpdatedSpec", "IN", 0, 0, 6};
92+
cnxt_ent C31 = {&C30, "BlobToEntry", "PROJECT", 0, "Ready", "IN", 0, 0, 6};
93+
cnxt_ent C32 = {&C31, "BlobToEntry", "ERROR", 0, "Errors", "IN", 0, 0, 6};
94+
cnxt_ent C33 = {&C32, "DoSync", "OUT", 0, "PreparePush", "IN", 0, 0, 6};
95+
cnxt_ent C34 = {&C33, "PreparePush", "OUT", 0, "UpdateFromTree", "IN", 0, 0, 6};
96+
cnxt_ent C35 = {&C34, "PreparePush", "BASETREE", 0, "CreateTree", "BASE", 0, 0, 6};
97+
cnxt_ent C36 = {&C35, "Token", "OUT", 0, "CreateTree", "TOKEN", 0, 0, 6};
98+
cnxt_ent C37 = {&C36, "PreparePush", "TREE", 0, "CreateTree", "TREE", 0, 0, 6};
99+
cnxt_ent C38 = {&C37, "PreparePush", "REPOSITORY", 0, "CreateTree", "REPOSITORY", 0, 0, 6};
100+
cnxt_ent C39 = {&C38, "CreateTree", "OUT", 0, "UpdateFromTree", "TREE", 0, 0, 6};
101+
cnxt_ent C40 = {&C39, "PreparePush", "REPOSITORY", 0, "UpdateFromTree", "REPOSITORY", 0, 0, 6};
102+
cnxt_ent C41 = {&C40, "Token", "OUT", 0, "UpdateFromTree", "TOKEN", 0, 0, 6};
103+
IIP I2 = {"sha"};
104+
cnxt_ent C42 = {&C41, "!", " ", 0, "SendTreeSha", "STRING", 0, &I2, 0};
105+
cnxt_ent C43 = {&C42, "SendTreeSha", "OUT", 0, "GetTreeSha", "KEY", 0, 0, 6};
106+
cnxt_ent C44 = {&C43, "CreateTree", "OUT", 0, "GetTreeSha", "IN", 0, 0, 6};
107+
cnxt_ent C45 = {&C44, "CreateTree", "OUT", 0, "SendTreeSha", "IN", 0, 0, 6};
108+
cnxt_ent C46 = {&C45, "GetTreeSha", "OUT", 0, "CreateCommit", "TREE", 0, 0, 6};
109+
cnxt_ent C47 = {&C46, "Token", "OUT", 0, "CreateCommit", "TOKEN", 0, 0, 6};
110+
cnxt_ent C48 = {&C47, "PreparePush", "MESSAGE", 0, "CreateCommit", "MESSAGE", 0, 0, 6};
111+
cnxt_ent C49 = {&C48, "PreparePush", "PARENTCOMMITS", 0, "CreateCommit", "PARENTS", 0, 0, 6};
112+
cnxt_ent C50 = {&C49, "PreparePush", "REPOSITORY", 0, "CreateCommit", "REPOSITORY", 0, 0, 6};
113+
cnxt_ent C51 = {&C50, "CreateCommit", "OUT", 0, "UpdateReference", "COMMIT", 0, 0, 6};
114+
cnxt_ent C52 = {&C51, "PreparePush", "REF", 0, "UpdateReference", "REFERENCE", 0, 0, 6};
115+
cnxt_ent C53 = {&C52, "Token", "OUT", 0, "UpdateReference", "TOKEN", 0, 0, 6};
116+
cnxt_ent C54 = {&C53, "PreparePush", "REPOSITORY", 0, "UpdateReference", "REPOSITORY", 0, 0, 6};
117+
cnxt_ent C55 = {&C54, "UpdateFromTree", "COMPONENT", 0, "UpdatedComponent", "IN", 0, 0, 6};
118+
cnxt_ent C56 = {&C55, "UpdateFromTree", "GRAPH", 0, "UpdatedGraph", "IN", 0, 0, 6};
119+
cnxt_ent C57 = {&C56, "UpdateFromTree", "SPEC", 0, "UpdatedSpec", "IN", 0, 0, 6};
120+
cnxt_ent C58 = {&C57, "UpdateFromTree", "ERROR", 0, "Errors", "IN", 0, 0, 6};
121+
cnxt_ent C59 = {&C58, "CreateTree", "ERROR", 0, "Errors", "IN", 0, 0, 6};
122+
cnxt_ent C60 = {&C59, "CreateCommit", "ERROR", 0, "Errors", "IN", 0, 0, 6};
123+
cnxt_ent C61 = {&C60, "UpdateReference", "ERROR", 0, "Errors", "IN", 0, 0, 6};
124+
IIP I3 = {"repo"};
125+
cnxt_ent C62 = {&C61, "!", " ", 0, "SendPullRepo", "STRING", 0, &I3, 0};
126+
cnxt_ent C63 = {&C62, "SendPullRepo", "OUT", 0, "GetPullRepo", "KEY", 0, 0, 6};
127+
cnxt_ent C64 = {&C63, "PullRepo", "OUT", 0, "Loading", "IN", 0, 0, 6};
128+
cnxt_ent C65 = {&C64, "PullRepo", "OUT", 0, "GetPullRepo", "IN", 0, 0, 6};
129+
cnxt_ent C66 = {&C65, "PullRepo", "OUT", 0, "SendPullRepo", "IN", 0, 0, 6};
130+
cnxt_ent C67 = {&C66, "Token", "OUT", 0, "GetPullReference", "TOKEN", 0, 0, 6};
131+
cnxt_ent C68 = {&C67, "GetPullRepo", "OUT", 0, "GetPullReference", "REPOSITORY", 0, 0, 6};
132+
cnxt_ent C69 = {&C68, "GetPullReference", "REFERENCE", 0, "CheckPullState", "REFERENCE", 0, 0, 6};
133+
IIP I4 = {"project"};
134+
cnxt_ent C70 = {&C69, "!", " ", 0, "SendPullProject", "STRING", 0, &I4, 0};
135+
cnxt_ent C71 = {&C70, "SendPullProject", "OUT", 0, "GetPullProject", "KEY", 0, 0, 6};
136+
cnxt_ent C72 = {&C71, "GetPullRepo", "OBJECT", 0, "GetPullProject", "IN", 0, 0, 6};
137+
cnxt_ent C73 = {&C72, "GetPullProject", "OUT", 0, "CheckPullState", "PROJECT", 0, 0, 6};
138+
cnxt_ent C74 = {&C73, "GetPullRepo", "OBJECT", 0, "SendPullProject", "IN", 0, 0, 6};
139+
cnxt_ent C75 = {&C74, "Token", "OUT", 0, "CheckPullState", "TOKEN", 0, 0, 6};
140+
cnxt_ent C76 = {&C75, "GetPullReference", "ERROR", 0, "Errors", "IN", 0, 0, 6};
141+
cnxt_ent C77 = {&C76, "CheckPullState", "REMOTE", 0, "DoSync", "IN", 0, 0, 6};
142+
cnxt_ent C78 = {&C77, "CheckPullState", "ERROR", 0, "Errors", "IN", 0, 0, 6};
143+
label_ent LABELTAB = {0, " ", "", &C78, &P34, 'L'};
144+
void main() {
145+
CppFBP(&LABELTAB, 0, 0, 0);
146+
}

Thxgen/Resource Files/TestInfQ.cpp

Whitespace-only changes.

0 commit comments

Comments
 (0)