Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for error (0.19 sec)

  1. api/go1.3.txt

    pkg debug/macho, func NewFatFile(io.ReaderAt) (*FatFile, error)
    pkg debug/macho, func OpenFat(string) (*FatFile, error)
    pkg debug/macho, method (*FatFile) Close() error
    pkg debug/macho, method (FatArch) Close() error
    pkg debug/macho, method (FatArch) DWARF() (*dwarf.Data, error)
    pkg debug/macho, method (FatArch) ImportedLibraries() ([]string, error)
    pkg debug/macho, method (FatArch) ImportedSymbols() ([]string, error)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    </p>
    
    <h2 id="Errors">Errors</h2>
    
    <p>
    The predeclared type <code>error</code> is defined as
    </p>
    
    <pre>
    type error interface {
    	Error() string
    }
    </pre>
    
    <p>
    It is the conventional interface for representing an error condition,
    with the nil value representing no error.
    For instance, a function to read data from a file might be defined:
    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. src/cmd/cgo/internal/test/callback.go

    	c := make(chan int)
    	go func() {
    		for i := 0; i < 10; i++ {
    			c <- <-c
    		}
    	}()
    	nestedCall(func() {
    		for i := 0; i < 10; i++ {
    			c <- i
    			if j := <-c; j != i {
    				t.Errorf("out of sync %d != %d", j, i)
    			}
    		}
    	})
    }
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallers(t *testing.T) {
    	if runtime.Compiler != "gc" {
    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)
Back to top