Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for statement (0.26 sec)

  1. doc/go1.22.html

      no values to be appended to the slice, such as <code>slice = append(slice)</code>.
      Such a statement has no effect, and experience has shown that is nearly always a mistake.
    </p>
    
    <h4 id="vet-defers">New warnings for deferring <code>time.Since</code></h4>
    
    <p><!-- CL 527095, https://go.dev/issue/60048: time.Since should not be used in defer statement -->
      The vet tool now reports a non-deferred call to
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  2. doc/go_mem.html

    The completion of all <code>init</code> functions is synchronized before
    the start of the function <code>main.main</code>.
    </p>
    
    <h3 id="go">Goroutine creation</h3>
    
    <p class="rule">
    The <code>go</code> statement that starts a new goroutine
    is synchronized before the start of the goroutine's execution.
    </p>
    
    <p>
    For example, in this program:
    </p>
    
    <pre>
    var a string
    
    func f() {
    	print(a)
    }
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    	<li>the statement lists in each case, including the default, end in a terminating
    	    statement, or a possibly labeled <a href="#Fallthrough_statements">"fallthrough"
    	    statement</a>.</li>
    	</ul>
    </li>
    
    <li>
    	A <a href="#Select_statements">"select" statement</a> in which:
    	<ul>
    	<li>there are no "break" statements referring to the "select" statement, and</li>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    	<li>the statement lists in each case, including the default, end in a terminating
    	    statement, or a possibly labeled <a href="#Fallthrough_statements">"fallthrough"
    	    statement</a>.</li>
    	</ul>
    </li>
    
    <li>
    	A <a href="#Select_statements">"select" statement</a> in which:
    	<ul>
    	<li>there are no "break" statements referring to the "select" statement, and</li>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top