Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for function (0.21 sec)

  1. doc/go1.17_spec.html

    when the function is invoked, not when the "defer" statement is executed.
    </p>
    
    <p>
    For instance, if the deferred function is
    a <a href="#Function_literals">function literal</a> and the surrounding
    function has <a href="#Function_types">named result parameters</a> that
    are in scope within the literal, the deferred function may access and modify
    the result parameters before they are returned.
    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)
  2. src/cmd/cgo/doc.go

    is different from the same C type used in another.
    
    Any C function (even void functions) may be called in a multiple
    assignment context to retrieve both the return value (if any) and the
    C errno variable as an error (use _ to skip the result value if the
    function returns void). For example:
    
    	n, err = C.sqrt(-1)
    	_, err := C.voidFunc()
    	var n, err = C.sqrt(1)
    
    Calling C function pointers is currently not supported, however you can
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/go/types/65772.md

    The [Func] type, which represents a function or method symbol, now
    has a [Func.Signature] method that returns the function's type, which
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 19 14:33:17 GMT 2024
    - 161 bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    func panic(v any)
    
    // The recover built-in function allows a program to manage behavior of a
    // panicking goroutine. Executing a call to recover inside a deferred
    // function (but not any function called by it) stops the panicking sequence
    // by restoring normal execution and retrieves the error value passed to the
    // call of panic. If recover is called outside the deferred function it will
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. doc/go_spec.html

    when the function is invoked, not when the "defer" statement is executed.
    </p>
    
    <p>
    For instance, if the deferred function is
    a <a href="#Function_literals">function literal</a> and the surrounding
    function has <a href="#Function_types">named result parameters</a> that
    are in scope within the literal, the deferred function may access and modify
    the result parameters before they are returned.
    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)
  6. src/cmd/cgo/internal/test/callback_windows.go

    #ifdef _AMD64_
    	CONTEXT context;
    	RtlCaptureContext(&context);
    	ULONG64 ControlPc;
    	ControlPc = context.Rip;
    	int i;
    	for (i = 0; i < FramesToCapture; i++) {
    		PRUNTIME_FUNCTION FunctionEntry;
    		ULONG64 ImageBase;
    		VOID *HandlerData;
    		ULONG64 EstablisherFrame;
    
    		FunctionEntry = RtlLookupFunctionEntry(ControlPc, &ImageBase, NULL);
    
    		if (!FunctionEntry) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/slices/65238.md

    The [Repeat] function returns a new slice that repeats the
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 101 bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/unicode/utf16/44940.md

    The [RuneLen] function returns the number of 16-bit words in
    the UTF-16 encoding of the rune. It returns -1 if the rune
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 162 bytes
    - Viewed (0)
  9. doc/next/6-stdlib/2-unique.md

    ### New unique package
    
    The new [unique](/pkg/unique) package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  10. doc/README.md

    API, and should be named after the issue number of the API proposal.
    For example, if the directory `6-stdlib/99-minor` is present,
    then an `api/next` file with the line
    
        pkg net/http, function F #12345
    
    should have a corresponding file named `doc/next/6-stdlib/99-minor/net/http/12345.md`.
    At a minimum, that file should contain either a full sentence or a TODO,
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top