Home | History | Annotate | Download | only in doc

Lines Matching full:iota

550 <a href="#Iota">iota</a> denotes an integer constant.
567 Literal constants, <code>true</code>, <code>false</code>, <code>iota</code>,
1755 true false iota
1844 Together with the <a href="#Iota"><code>iota</code> constant generator</a>
1850 Sunday = iota
1862 <h3 id="Iota">Iota</h3>
1866 <code>iota</code> represents successive untyped integer <a href="#Constants">
1874 c0 = iota // c0 == 0
1875 c1 = iota // c1 == 1
1876 c2 = iota // c2 == 2
1880 a = 1 &lt;&lt; iota // a == 1 (iota == 0)
1881 b = 1 &lt;&lt; iota // b == 2 (iota == 1)
1882 c = 3 // c == 3 (iota == 2, unused)
1883 d = 1 &lt;&lt; iota // d == 8 (iota == 3)
1887 u = iota * 42 // u == 0 (untyped integer constant)
1888 v float64 = iota * 42 // v == 42.0 (float64 constant)
1889 w = iota * 42 // w == 84 (untyped integer constant)
1892 const x = iota // x == 0
1893 const y = iota // y == 0
1897 By definition, multiple uses of <code>iota</code> in the same ConstSpec all have the same value:
1902 bit0, mask0 = 1 &lt;&lt; iota, 1&lt;&lt;iota - 1 // bit0 == 1, mask0 == 0 (iota == 0)
1903 bit1, mask1 // bit1 == 2, mask1 == 1 (iota == 1)
1904 _, _ // (iota == 2, unused)
1905 bit3, mask3 // bit3 == 8, mask3 == 7 (iota == 3)
2025 EST TimeZone = -(5 + iota)
3953 uint(iota) // iota value of type uint
4200 const ? = iota*1i - 1/1i // (untyped complex constant)