mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 23:07:50 +00:00
2 lines
12 KiB
XML
2 lines
12 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="509px" height="237px" viewBox="-0.5 -0.5 509 237" content="<mxfile modified="2019-03-19T17:12:52.728Z" 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="hE8arTfjDnTACznjbkBF" type="google"><diagram id="csh2lwcJjIAY7MCtQlr3">7VpLc+MoEP41rto5jAuBnsfYnsdhtipVOezukUjYpkYWHoRjO79+QaAHki3bie08fUhE06Lh648GGg3QeLH5wfFy/jdLSDqAINkM0GQAoe9G8q8SbLXADYxgxmmiRU4tuKOPxAiBka5oQnJLUTCWCrq0hTHLMhILS4Y5Z2tbbcpS2+oSz0hHcBfjtCv9hyZirqUhDGr5T0Jn89Ky45vxLXCpbEaSz3HC1g0R+jZAY86Y0E+LzZikCrsSF/3e9z21Vcc4ycQxL0D9wgNOV2Zspl9iWw6WZMmNwkyWMpZJ4WguFqksOfJRmuHbf2UBlIX/VGEIoqr2lnC6IIJwo6UNkKQDcd1np0JCMogw+TbfSpV1jbVn8Js3YC5lnKRY0Ae7eWxcPquaqyzcMioNQ2DY6YbR0I3qX6gbMFStrJQN5mzFY2LaaCLdahb50dBDyPMC4PpREAXtZocA+qHr+SjwQhT5thWB+YyIjhX50ECoFhVe3u1x9OnxEz0OomGjMgqCixDAuRYB3A4BNrJYPAGnwwXOVllCEuPJ9ZwKcrfEsapdy9hucyMXnP0mY5YyXryNQPGTNVOapg35dEr8OJbyFN+TdITj37PCUKliaFfU3rKcCsoyKY4lXxSrRg+ECyrj8a+WwoImier5CKd0tvONG1NRaRo0ZDXZnErP0rMBsHzpRKbcoK8Dd/AXgv1UtTzc406v487HgTdyBt6k8mp3hp/k1ZbvEkzCadzr7QtgCq+Jqb8TU9jEFL0DTJFzRUyDDqbbs0JYhZTr0vKaEIYdCDkRK56pZpOEkzx/B6SsFvVrIBp1EO0g2N0MJTifF5A6NnxKfouFXG+yQqKW0zew+YH29sbe/CAUDQPQ+Hl2+8dufg5Zgb1Wzrf5KafrJT1+aLq8Yi6EvV6SZxR4Di70W0H9Vs7IBeeTC/u5oI4rx3PB8Z/GhQNWUL+VM3LhSYmQ97cS7D8GO2Fwntl/wMrVZv+TEiEfZfa7YdgzL+UB90wrQa+V4Gpc6OZEPrlwZIxuc+EyK0GbCxdcCboJlQH0U6EcSx8sTvh/VipPP5qyTHzNi1uKG+Vtd7mpK1UnTc6pFqZkKpoq/sz8T8v2nmJItzJV50G2kvT764t8GgRVu3LoumnbnBQXI7Olb2Ow8j9eqGNsdp8vdQdSollV5zTRh0RgWyKwZ+iAZpnkyObLywMRVL2854d886wEh+zwd7ygqYoqC5axXKtW6eKifz3JYqVPs9mvQm0CXyoL5UHQjo6Dds4EujtWhPAMOROnmx19WzOmCJCa/FTrrdQrKlh+rWZTOUlWCH7cIPpYBdHiSgGOJRZjpNLgHy2kqvw/LfL/PXHqFeHwaiLq4Qu4F8k6tyMovGoE7d6F0MZ25VkOOfoKtsL5XV7BynF3/HmxWwSnezGj4gVo3hc+062v42pmxyS5HKin3c3EKc5zGveitn9zlgTRPag+aNnxdYsDvVIw2TSrJ9tmqf3lC9lQUbQ2dBEyZd1g4Jfluj1V2DYKR35Ho0/Y9ulVn4ftDdurSSj45TcoJa/cFl+OzRm0ozg6MkUkSYO3DbWlUshP6LAP+vsFwPP0Q0tfPugeH5nTkMX6C0KtXn+Gib79Dw==</diagram></mxfile>"><defs/><g><path d="M 155.35 104 L -0.61 104.03" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" pointer-events="none"/><path d="M 155.35 52 L -0.61 52.03" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" pointer-events="none"/><rect x="0" y="26" width="156" height="26" fill="#ffe6cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(53.5,28.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="0" y="156" width="156" height="26" fill="#dae8fc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(41.5,158.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="55" 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: 56px; 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="28" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">z[1] = 2</text></switch></g><rect x="0" y="182" width="156" height="26" fill="#dae8fc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(41.5,184.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="55" 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: 56px; 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="28" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">z[2] = 3</text></switch></g><rect x="0" y="52" width="156" height="26" fill="#ffe6cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(72.5,54.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="0" y="104" width="156" height="26" fill="#dae8fc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(9.5,106.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 78 220.61 L 78 211.51" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 156 234.26 L 156 208.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 0 234.26 L 0 208.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 77.35 22.36 L 77.35 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 154.7 26.26 L 154.7 0.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><path d="M 0 26.26 L 0 0.26" fill="none" stroke="#000000" stroke-width="1.3" stroke-miterlimit="10" stroke-dasharray="1.3 1.3" pointer-events="none"/><rect x="195" y="0" width="312" height="104" fill="#ffe6cc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(200.5,9.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="195" y="130" width="312" height="104" fill="#dae8fc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(210.5,139.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="216" 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: 217px; 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;"><div style="font-size: 14px" align="left"><font style="font-size: 14px">fn inner(i: usize) -> u32 {</font></div><div style="font-size: 14px" align="left"><font style="font-size: 14px"> let z = [1,2,3];</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="108" y="39" fill="#000000" text-anchor="middle" font-size="12px" font-family="monospace">[Not supported by viewer]</text></switch></g><rect x="0" y="78" width="156" height="26" fill="#dae8fc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(56.5,80.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><rect x="0" y="130" width="156" height="26" fill="#dae8fc" stroke="#000000" stroke-width="1.3" pointer-events="none"/><g transform="translate(41.5,132.5)scale(1.3)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="55" 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: 56px; 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="28" y="14" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">z[0] = 1</text></switch></g><path d="M 330.39 79.67 L 330.26 104 Q 330.2 117 317.2 117 L 182 117 Q 169 117 169 130 L 169 136.5 Q 169 143 177.95 142.94 L 186.91 142.87" fill="none" stroke="#d79b00" stroke-width="1.3" stroke-miterlimit="10" pointer-events="none"/><path d="M 193.73 142.82 L 184.66 147.44 L 186.91 142.87 L 184.6 138.34 Z" fill="#d79b00" stroke="#d79b00" stroke-width="1.3" stroke-miterlimit="10" pointer-events="none"/></g></svg> |