Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LT (0.12 sec)

  1. doc/go_mem.html

    corresponding receive from that channel.
    </p>
    
    <p>
    This program:
    </p>
    
    <pre>
    var c = make(chan int, 10)
    var a string
    
    func f() {
    	a = "hello, world"
    	c &lt;- 0
    }
    
    func main() {
    	go f()
    	&lt;-c
    	print(a)
    }
    </pre>
    
    <p>
    is guaranteed to print <code>"hello, world"</code>.  The write to <code>a</code>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    var i = 1&lt;&lt;s                   // 1 has type int
    var j int32 = 1&lt;&lt;s             // 1 has type int32; j == 0
    var k = uint64(1&lt;&lt;s)           // 1 has type uint64; k == 1&lt;&lt;33
    var m int = 1.0&lt;&lt;s             // 1.0 has type int; m == 1&lt;&lt;33
    var n = 1.0&lt;&lt;s == j            // 1.0 has type int32; n == true
    var o = 1&lt;&lt;s == 2&lt;&lt;s           // 1 and 2 have type int; o == false
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    var i = 1&lt;&lt;s                   // 1 has type int
    var j int32 = 1&lt;&lt;s             // 1 has type int32; j == 0
    var k = uint64(1&lt;&lt;s)           // 1 has type uint64; k == 1&lt;&lt;33
    var m int = 1.0&lt;&lt;s             // 1.0 has type int; m == 1&lt;&lt;33
    var n = 1.0&lt;&lt;s == j            // 1.0 has type int32; n == true
    var o = 1&lt;&lt;s == 2&lt;&lt;s           // 1 and 2 have type int; o == false
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top