Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Bond (0.19 sec)

  1. doc/go_mem.html

    For example, a compiler must not invert the conditional in this program:
    </p>
    
    <pre>
    *p = 1
    if cond {
    	*p = 2
    }
    </pre>
    
    <p>
    That is, the compiler must not rewrite the program into this one:
    </p>
    
    <pre>
    *p = 2
    if !cond {
    	*p = 1
    }
    </pre>
    
    <p>
    If <code>cond</code> is false and another goroutine is reading <code>*p</code>,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <a href="#Semicolons">semicolons</a> are
    required unless there is only a condition.
    If the condition is absent, it is equivalent to the boolean value
    <code>true</code>.
    </p>
    
    <pre>
    for cond { S() }    is the same as    for ; cond ; { S() }
    for      { S() }    is the same as    for true     { S() }
    </pre>
    
    <h4 id="For_range">For statements with <code>range</code> clause</h4>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    <a href="#Semicolons">semicolons</a> are
    required unless there is only a condition.
    If the condition is absent, it is equivalent to the boolean value
    <code>true</code>.
    </p>
    
    <pre>
    for cond { S() }    is the same as    for ; cond ; { S() }
    for      { S() }    is the same as    for true     { S() }
    </pre>
    
    <p>
    Each iteration has its own separate declared variable (or variables)
    [<a href="#Go_1.22">Go 1.22</a>].
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top