Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Assert (0.2 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre>
    x.(T)
    </pre>
    
    <p>
    asserts that <code>x</code> is not <code>nil</code>
    and that the value stored in <code>x</code> is of type <code>T</code>.
    The notation <code>x.(T)</code> is called a <i>type assertion</i>.
    </p>
    <p>
    More precisely, if <code>T</code> is not an interface type, <code>x.(T)</code> asserts
    that the dynamic type of <code>x</code> is <a href="#Type_identity">identical</a>
    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)
  2. doc/asm.html

    <br>
    It is legal to have multiple instances of this symbol in a single binary.
    The linker will choose one of the duplicates to use.
    </li>
    <li>
    <code>NOSPLIT</code> = 4
    <br>
    (For <code>TEXT</code> items.)
    Don't insert the preamble to check if the stack must be split.
    The frame for the routine, plus anything it calls, must fit in the
    spare space remaining in the current stack segment.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. doc/go_spec.html

    </p>
    
    <pre>
    x.(T)
    </pre>
    
    <p>
    asserts that <code>x</code> is not <code>nil</code>
    and that the value stored in <code>x</code> is of type <code>T</code>.
    The notation <code>x.(T)</code> is called a <i>type assertion</i>.
    </p>
    <p>
    More precisely, if <code>T</code> is not an interface type, <code>x.(T)</code> asserts
    that the dynamic type of <code>x</code> is <a href="#Type_identity">identical</a>
    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