Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for gallery (0.36 sec)

  1. doc/go1.22.html

          Previously, it would report a final empty token before stopping, which was usually not desired.
          Callers that do want to report a final empty token can do so by returning <code>[]byte{}</code> rather than <code>nil</code>.
        </p>
      </dd>
    </dl><!-- bufio -->
    
    <dl id="cmp"><dt><a href="/pkg/cmp/">cmp</a></dt>
      <dd>
    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/go1.17_spec.html

    <li>
    <code>recover</code> was not called directly by a deferred function.
    </li>
    </ul>
    
    <p>
    The <code>protect</code> function in the example below invokes
    the function argument <code>g</code> and protects callers from
    run-time panics raised by <code>g</code>.
    </p>
    
    <pre>
    func protect(g func()) {
    	defer func() {
    		log.Println("done")  // Println executes normally even if there is a panic
    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/asm.html

    (It's not a subtraction, just idiosyncratic syntax.)
    The frame size <code>$24-8</code> states that the function has a 24-byte frame
    and is called with 8 bytes of argument, which live on the caller's frame.
    If <code>NOSPLIT</code> is not specified for the <code>TEXT</code>,
    the argument size must be provided.
    For assembly functions with Go prototypes, <code>go</code> <code>vet</code> will check that the
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  4. doc/go_spec.html

    causes a <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    <p>
    The <code>protect</code> function in the example below invokes
    the function argument <code>g</code> and protects callers from
    run-time panics raised by <code>g</code>.
    </p>
    
    <pre>
    func protect(g func()) {
    	defer func() {
    		log.Println("done")  // Println executes normally even if there is a panic
    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