Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for called (0.17 sec)

  1. src/cmd/cgo/doc.go

    Because it includes a Go pointer, the memory it points to is only pinned
    for the duration of the call; _GoString_ values may not be retained by C
    code.
    
    A Go function called by C code may return a Go pointer to pinned memory
    (which implies that it may not return a string, slice, channel, and so
    forth). A Go function called by C code may take C pointers as arguments,
    and it may store non-pointer data, C pointers, or Go pointers to pinned
    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)
  2. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    //
    // Buffer panics if it is called after scanning has started.
    func (s *Scanner) Buffer(buf []byte, max int) {
    	if s.scanCalled {
    		panic("Buffer called after Scan")
    	}
    	s.buf = buf[0:cap(buf)]
    	s.maxTokenSize = max
    }
    
    // Split sets the split function for the [Scanner].
    // The default split function is [ScanLines].
    //
    // Split panics if it is called after scanning has started.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    // 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
    // not stop a panicking sequence. In this case, or when the goroutine is not
    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/next/6-stdlib/1-time.md

    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    that for any call to a `Reset` or `Stop` method, no stale values
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    	// "SCHILY.xattr." namespace.
    	//
    	// The following are semantically equivalent:
    	//  h.Xattrs[key] = value
    	//  h.PAXRecords["SCHILY.xattr."+key] = value
    	//
    	// When Writer.WriteHeader is called, the contents of Xattrs will take
    	// precedence over those in PAXRecords.
    	//
    	// Deprecated: Use PAXRecords instead.
    	Xattrs map[string]string
    
    	// PAXRecords is a map of PAX extended header records.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  7. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    		line, isPrefix, err := b.ReadLine()
    		if !bytes.Equal(line, e.line) {
    			t.Errorf("%q call %d, line == %q, want %q", input, i, line, e.line)
    			return
    		}
    		if isPrefix != e.isPrefix {
    			t.Errorf("%q call %d, isPrefix == %v, want %v", input, i, isPrefix, e.isPrefix)
    			return
    		}
    		if err != e.err {
    			t.Errorf("%q call %d, err == %v, want %v", input, i, err, e.err)
    			return
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  10. doc/godebug.md

    connecting to servers with buggy HTTP/2 implementations.
    These kinds of changes are unavoidable and
    [permitted by the Go 1 compatibility rules](/doc/go1compat).
    Even so, Go provides a mechanism called GODEBUG to
    reduce the impact such changes have on Go developers
    using newer toolchains to compile old code.
    
    A GODEBUG setting is a `key=value` pair
    that controls the execution of certain parts of a Go program.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top