mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
2 lines
15 KiB
XML
2 lines
15 KiB
XML
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="607px" height="315px" viewBox="-0.5 -0.5 607 315" content="<mxfile modified="2019-03-19T18:09:12.455Z" host="www.draw.io" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0" version="10.5.0" etag="Z_fuz7MydttNjKTqjiS-" type="google"><diagram id="IVfG-7uSe-SpCaZw15V7">7Vtbc+I2FP41TLsP8eji62Mgu+3DdiYz6bTbfVNsAZo1FrVFAv31lSz5hsE4YEiygQeCjo505O8cXc4nZ4Qni/VvKVnO/+ARjUcIROsRvhshFNie/FaCjRa4ga8Fs5RFWgQrwQP7jxohMNIVi2jWUBScx4Itm8KQJwkNRUNG0pQ/N9WmPG5aXZIZbQkeQhK3pX+zSMy11EdeJf+dstm8sAzdQNcsSKFsniSbk4g/10T48whPUs6F/rVYT2issCtw0e2+7KktB5bSRPRpgHSDJxKvzLOZcYlN8bA0iW4VZrKU8EQKx3OxiGUJyp/STLr5JgugKPyjChYIytp7mrIFFTQ1WtoAjVoQV2OGJRIygiiXrdONVHmusHYMfvMazIUspTER7KnZPTEun5XdlRbuOZOGETDRafuBZQfVx4SmCdXSStFhxldpSE0fdaS3usVuYDkYO44HbDfwAm+7Wwsg17cdF3uOj32naUWQdEZFy4r8UUOoEuVe3u1xfPX4Cz0OAqtWGXjeWQIAXioA7FYArGUx/wVgKxZSvkoiGhlPPs+ZoA9LEqraZ7m2N2MjEyn/QSc85mneGoP8I2umLI5r8umUumEo5TF5pPGYhD9muaFCxYRdXnvPMyYYT6Q4lPGiomr8RFPB5Hr8dUthwaJIjXxMYjbb2eLWVJSa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E77SWyKbr8S2TYvmAutuPFWgUqqoOKfwZQdywN5wO1zYoqUEEd1BN5i7cB6g4W6HygtlmgJlN4HB26X1ayu9810Sg9qHjenGPEdVfmixCayOFMsF6yD/OdfWjQ4Xgtc+Tb4hv38pI9bjZMuA0QVNvUIup7f2EPEVQ9qKih+MSeLHAdauO310QZwiFgHpSf2Ivk6I2nIntZ9JemGz4GVj21RN3dHp1gyGL1T11avfrPOPz5fw==</diagram></mxfile>"><defs/><g><path d="M 161.85 117 L 5.89 117.03" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" pointer-events="none"/><path d="M 161.85 65 L 5.89 65.03" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" pointer-events="none"/><rect x="6.5" y="39" width="156" height="26" fill="#ffe6cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(59.5,41.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="37" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 38px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">x = 1</div></div></foreignObject><text x="19" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">x = 1</text></switch></g><rect x="6.5" y="65" width="156" height="26" fill="#ffe6cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(78.5,67.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="8" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 9px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">y</div></div></foreignObject><text x="4" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">y</text></switch></g><rect x="6.5" y="117" width="156" height="26" fill="#dae8fc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(15.5,119.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="105" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 106px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">return address</div></div></foreignObject><text x="53" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">return address</text></switch></g><path d="M 84.5 155.61 L 84.5 146.51" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 162.5 169.26 L 162.5 143.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 6.5 169.26 L 6.5 143.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 83.85 35.36 L 83.85 26.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 161.2 39.26 L 161.2 13.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 6.5 39.26 L 6.5 13.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><rect x="201.5" y="26" width="403" height="104" fill="#ffe6cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(207.5,35.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="152" height="65" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: monospace; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 153px; white-space: nowrap; overflow-wrap: normal;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;"><div style="font-size: 14px" align="left"><font style="font-size: 14px">fn outer() {</font></div><div style="font-size: 14px" align="left"><font style="font-size: 14px"> let x = 1;</font></div><div style="font-size: 14px" align="left"><font style="font-size: 14px"> let y =</font> inner(x);</div><div style="font-size: 14px" align="left">}<br /></div></div></div></foreignObject><text x="76" y="39" fill="#000000" text-anchor="middle" font-size="12px" font-family="monospace">[Not supported by viewer]</text></switch></g><rect x="201.5" y="208" width="403" height="91" fill="#dae8fc" stroke="none" pointer-events="none"/><g transform="translate(206.5,221.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="288" height="48" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: monospace; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 289px; white-space: nowrap; overflow-wrap: normal;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;"><div style="font-size: 14px" align="left"><font style="font-size: 14px">fn inner(i: usize) -> &'static u32 {</font></div><div style="font-size: 14px" align="left"><font style="font-size: 14px"> &Z[i]<br /></font></div><div style="font-size: 14px" align="left">}<br /></div></div></div></foreignObject><text x="144" y="30" fill="#000000" text-anchor="middle" font-size="12px" font-family="monospace">[Not supported by viewer]</text></switch></g><rect x="6.5" y="91" width="156" height="26" fill="#dae8fc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(62.5,93.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="33" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 34px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">i = 1</div></div></foreignObject><text x="17" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">i = 1</text></switch></g><path d="M 336.48 100.1 L 336.63 130 Q 336.7 143 323.7 143 L 188.5 143 Q 175.5 143 175.5 156 L 175.5 214.5 Q 175.5 227.5 184.14 227.65 L 192.79 227.79" fill="none" stroke="#d79b00" stroke-width="1.3" stroke-miterlimit="10" pointer-events="none"/><path d="M 199.61 227.91 L 190.44 232.3 L 192.79 227.79 L 190.59 223.21 Z" fill="#d79b00" stroke="#d79b00" stroke-width="1.3" stroke-miterlimit="10" pointer-events="none"/><path d="M 84.5 298.61 L 84.5 289.51" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 162.5 312.26 L 162.5 286.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 6.5 312.26 L 6.5 286.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><g transform="translate(37.5,3.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="71" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Call Stack</div></div></foreignObject><text x="36" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Call Stack</text></switch></g><g transform="translate(12.5,185.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="110" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Static Variables</div></div></foreignObject><text x="55" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Static Variables</text></switch></g><rect x="6.5" y="234" width="156" height="26" fill="#fff2cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(46.5,236.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="58" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 59px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Z[1] = 2</div></div></foreignObject><text x="29" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Z[1] = 2</text></switch></g><rect x="6.5" y="260" width="156" height="26" fill="#fff2cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(46.5,262.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="58" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 59px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Z[2] = 3</div></div></foreignObject><text x="29" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Z[2] = 3</text></switch></g><rect x="6.5" y="208" width="156" height="26" fill="#fff2cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(46.5,210.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="58" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 59px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Z[0] = 1</div></div></foreignObject><text x="29" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Z[0] = 1</text></switch></g><rect x="201.5" y="156" width="403" height="52" fill="#fff2cc" stroke="none" pointer-events="none"/><g transform="translate(206.5,171.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="232" height="15" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: monospace; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 233px; white-space: nowrap; overflow-wrap: normal;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;"><div align="left"><font><font>static Z: [u32; 3] = [1,2,3];</font></font></div></div></div></foreignObject><text x="116" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="monospace"><div align="left"><font><font>static Z: [u32; 3] = [1,2,3];</font></font></div></text></switch></g><rect x="201.5" y="156" width="403" height="143" fill="none" stroke="#000000" stroke-width="1.3" pointer-events="none"/><path d="M 201.5 208 L 604.5 208" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="3.9000000000000004 3.9000000000000004" pointer-events="none"/></g></svg> |