Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Sellers (0.21 sec)

  1. src/cmd/cgo/internal/test/callback.go

    		"test.nestedCall.func1",
    		"test.nestedCall",
    		"test.testCallbackCallers",
    		"test.TestCallbackCallers",
    		"testing.tRunner",
    		"runtime.goexit",
    	}
    	nestedCall(func() {
    		n = runtime.Callers(4, pc)
    	})
    	if n != len(name) {
    		t.Errorf("expected %d frames, got %d", len(name), n)
    	}
    	for i := 0; i < n; i++ {
    		f := runtime.FuncForPC(pc[i] - 1) // TODO: use runtime.CallersFrames
    		if f == nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg runtime, const GOARCH string
    pkg runtime, const GOOS string
    pkg runtime, func Breakpoint()
    pkg runtime, func CPUProfile() []uint8
    pkg runtime, func Caller(int) (uintptr, string, int, bool)
    pkg runtime, func Callers(int, []uintptr) int
    pkg runtime, func FuncForPC(uintptr) *Func
    pkg runtime, func GC()
    pkg runtime, func GOMAXPROCS(int) int
    pkg runtime, func GOROOT() string
    pkg runtime, func Goexit()
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  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 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  5. src/archive/zip/struct.go

    // the file it describes, it may be necessary to modify the Name field
    // of the returned header to provide the full path name of the file.
    // If compression is desired, callers should set the FileHeader.Method
    // field; it is unset by default.
    func FileInfoHeader(fi fs.FileInfo) (*FileHeader, error) {
    	size := fi.Size()
    	fh := &FileHeader{
    		Name:               fi.Name(),
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    func (rc *ReadCloser) Close() error {
    	return rc.f.Close()
    }
    
    // DataOffset returns the offset of the file's possibly-compressed
    // data, relative to the beginning of the zip file.
    //
    // Most callers should instead use [File.Open], which transparently
    // decompresses data and verifies checksums.
    func (f *File) DataOffset() (offset int64, err error) {
    	bodyOffset, err := f.findBodyOffset()
    	if err != nil {
    		return
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    	}
    
    	// Handle last byte, if any.
    	if i := len(line) - 1; i >= 0 {
    		b.lastByte = int(line[i])
    		b.lastRuneSize = -1
    	}
    
    	return
    }
    
    // ReadLine is a low-level line-reading primitive. Most callers should use
    // [Reader.ReadBytes]('\n') or [Reader.ReadString]('\n') instead or use a [Scanner].
    //
    // ReadLine tries to return a single line, not including the end-of-line bytes.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. 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)
Back to top