165 lines
12 KiB
Plaintext
165 lines
12 KiB
Plaintext
|
|
<mxfile host="65bd71144e">
|
||
|
|
<diagram id="GDfFOCQBjgRLaX9kyX6L" name="第 1 页">
|
||
|
|
<mxGraphModel dx="1134" dy="596" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||
|
|
<root>
|
||
|
|
<mxCell id="0"/>
|
||
|
|
<mxCell id="1" parent="0"/>
|
||
|
|
<mxCell id="25" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="14">
|
||
|
|
<mxGeometry relative="1" as="geometry">
|
||
|
|
<Array as="points">
|
||
|
|
<mxPoint x="60" y="160"/>
|
||
|
|
<mxPoint x="60" y="440"/>
|
||
|
|
</Array>
|
||
|
|
</mxGeometry>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="26" value="赋值: s2 := s1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="25">
|
||
|
|
<mxGeometry x="0.0414" relative="1" as="geometry">
|
||
|
|
<mxPoint as="offset"/>
|
||
|
|
</mxGeometry>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="3" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="200" y="120" width="370" height="80" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="4" value="s1: []int{1,2,3}" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="200" y="90" width="110" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="5" value="arry ptr" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="230" y="145" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="6" value="len(3)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="340" y="145" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="7" value="cap(3)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="460" y="145" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="8" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="200" y="260" width="370" height="60" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="9" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.203;entryY=0.017;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="5" target="8">
|
||
|
|
<mxGeometry relative="1" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="10" value="1 -&gt; 1000" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="230" y="270" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="11" value="2" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="340" y="270" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="12" value="3" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="444" y="270" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="13" value="arr1: [3]int" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="200" y="230" width="60" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="14" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="195" y="400" width="370" height="80" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="15" value="s2: []int{1,2,3}" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="195" y="370" width="110" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="16" value="arry ptr" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="225" y="425" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="17" value="len(3)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="335" y="425" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="18" value="cap(3)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="455" y="425" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="28" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.2;entryY=0.983;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="15" target="8">
|
||
|
|
<mxGeometry relative="1" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="29" value="Actor" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="167.5" y="510" width="30" height="60" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="30" value="s2[0] = 1000" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="222.5" y="525" width="160" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="31" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="33" target="44">
|
||
|
|
<mxGeometry relative="1" as="geometry">
|
||
|
|
<Array as="points">
|
||
|
|
<mxPoint x="55" y="720"/>
|
||
|
|
<mxPoint x="55" y="1000"/>
|
||
|
|
</Array>
|
||
|
|
</mxGeometry>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="32" value="赋值: copy(s2, s1)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="31">
|
||
|
|
<mxGeometry x="0.0414" relative="1" as="geometry">
|
||
|
|
<mxPoint as="offset"/>
|
||
|
|
</mxGeometry>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="33" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="195" y="680" width="370" height="80" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="34" value="s1: []int{1,2,3}" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="195" y="650" width="110" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="35" value="arry ptr" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="225" y="705" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="36" value="len(3)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="335" y="705" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="37" value="cap(3)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="455" y="705" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="38" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="195" y="820" width="370" height="60" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="39" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.203;entryY=0.017;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="35" target="38">
|
||
|
|
<mxGeometry relative="1" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="40" value="1" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="225" y="830" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="41" value="2" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="335" y="830" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="42" value="3" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="439" y="830" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="43" value="arr1: [3]int" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="195" y="790" width="60" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="44" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="190" y="960" width="370" height="80" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="45" value="s2: []int{1,2,3}" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="190" y="930" width="110" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="46" value="arry ptr" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="220" y="985" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="47" value="len(3)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="330" y="985" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="48" value="cap(3)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="450" y="985" width="90" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="50" value="Actor" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="40" y="1070" width="30" height="60" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="51" value="s2[0] = 1000" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="60" y="1085" width="160" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="52" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="190" y="1109" width="370" height="60" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="53" value="1 -&gt; 1000" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="220" y="1119" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="54" value="2" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="330" y="1119" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="55" value="3" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="434" y="1119" width="80" height="40" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="56" value="arr2: [3]int" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="190" y="1079" width="60" height="30" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
<mxCell id="58" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.195;entryY=-0.017;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="46" target="52">
|
||
|
|
<mxGeometry relative="1" as="geometry"/>
|
||
|
|
</mxCell>
|
||
|
|
</root>
|
||
|
|
</mxGraphModel>
|
||
|
|
</diagram>
|
||
|
|
</mxfile>
|