Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Larsen (0.17 sec)

  1. doc/go1.17_spec.html

    of an "if", "for", or "switch" statement, and the composite literal
    is not enclosed in parentheses, square brackets, or curly braces.
    In this rare case, the opening brace of the literal is erroneously parsed
    as the one introducing the block of statements. To resolve the ambiguity,
    the composite literal must appear within parentheses.
    </p>
    
    <pre>
    if x == (T{a,b,c}[i]) { … }
    if (x == T{a,b,c}[i]) { … }
    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)
  2. doc/go_spec.html

    <pre>
    type T[P *C] …
    type T[P (C)] …
    type T[P *C|Q] …
    …
    </pre>
    
    <p>
    In these rare cases, the type parameter list is indistinguishable from an
    expression and the type declaration is parsed as an array type declaration.
    To resolve the ambiguity, embed the constraint in an
    <a href="#Interface_types">interface</a> or use a trailing comma:
    </p>
    
    <pre>
    type T[P interface{*C}] …
    type T[P *C,] …
    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)
  3. doc/asm.html

    it is a distinct program, so there are some differences.
    One is in constant evaluation.
    Constant expressions in the assembler are parsed using Go's operator
    precedence, not the C-like precedence of the original.
    Thus <code>3&amp;1&lt;&lt;2</code> is 4, not 0—it parses as <code>(3&amp;1)&lt;&lt;2</code>
    not <code>3&amp;(1&lt;&lt;2)</code>.
    Also, constants are always evaluated as 64-bit unsigned integers.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top