Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for called (0.25 sec)

  1. doc/go_mem.html

    and the matching call to <code>l.RUnlock</code> is synchronized before the return from call <i>n</i>+1 to <code>l.Lock</code>.
    </p>
    
    <p class="rule">
    A successful call to <code>l.TryLock</code> (or <code>l.TryRLock</code>)
    is equivalent to a call to <code>l.Lock</code> (or <code>l.RLock</code>).
    An unsuccessful call has no synchronizing effect at all.
    As far as the memory model is concerned,
    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.22.html

      The vet tool now reports a non-deferred call to
      <a href="/pkg/time/#Since"><code>time.Since(t)</code></a> within a <code>defer</code> statement.
      This is equivalent to calling <code>time.Now().Sub(t)</code> before the <code>defer</code> statement,
      not when the deferred function is called. In nearly all cases, the correct code
      requires deferring the <code>time.Since</code> call. For example:
    </p>
    
    <pre>
    t := time.Now()
    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)
  3. doc/go1.17_spec.html

    the function call.
    </p>
    
    <p>
    The final case, a value-receiver function for a pointer-receiver method,
    is illegal because pointer-receiver methods are not in the method set
    of the value type.
    </p>
    
    <p>
    Function values derived from methods are called with function call syntax;
    the receiver is provided as the first argument to the call.
    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)
  4. doc/asm.html

    	MOVQ	CX, 0(SP)
    	CALL	runtime·externalthreadhandler(SB)
    	RET
    </pre>
    
    <p>
    In the general case, the frame size is followed by an argument size, separated by a minus sign.
    (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.
    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)
  5. doc/go_spec.html

    execution terminates by returning to its caller.
    </p>
    
    <p>
    The return value of <code>recover</code> is <code>nil</code> when the
    goroutine is not panicking or <code>recover</code> was not called directly by a deferred function.
    Conversely, if a goroutine is panicking and <code>recover</code> was called directly by a deferred function,
    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