LEFT | RIGHT |
(Both sides are equal) |
1 <!--{ | 1 <!--{ |
2 "Title": "The Go Programming Language Specification", | 2 "Title": "The Go Programming Language Specification", |
3 "Subtitle": "Version of August 28, 2014", | 3 "Subtitle": "Version of August 28, 2014", |
4 "Path": "/ref/spec" | 4 "Path": "/ref/spec" |
5 }--> | 5 }--> |
6 | 6 |
7 <!-- | 7 <!-- |
8 TODO | 8 TODO |
9 [ ] need language about function/method calls and parameter passing rules | 9 [ ] need language about function/method calls and parameter passing rules |
10 [ ] last paragraph of #Assignments (constant promotion) should be elsewhere | 10 [ ] last paragraph of #Assignments (constant promotion) should be elsewhere |
(...skipping 6192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6203 </li> | 6203 </li> |
6204 | 6204 |
6205 <li>For a variable <code>x</code> of array type: <code>unsafe.Alignof(x)</code>
is the same as | 6205 <li>For a variable <code>x</code> of array type: <code>unsafe.Alignof(x)</code>
is the same as |
6206 <code>unsafe.Alignof(x[0])</code>, but at least 1. | 6206 <code>unsafe.Alignof(x[0])</code>, but at least 1. |
6207 </li> | 6207 </li> |
6208 </ol> | 6208 </ol> |
6209 | 6209 |
6210 <p> | 6210 <p> |
6211 A struct or array type has size zero if it contains no fields (or elements, resp
ectively) that have a size greater than zero. Two distinct zero-size variables m
ay have the same address in memory. | 6211 A struct or array type has size zero if it contains no fields (or elements, resp
ectively) that have a size greater than zero. Two distinct zero-size variables m
ay have the same address in memory. |
6212 </p> | 6212 </p> |
LEFT | RIGHT |