Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for interfaces (0.17 sec)

  1. doc/go1.17_spec.html

    func(prefix string, values ...int)
    func(a, b int, z float64, opt ...interface{}) (success bool)
    func(int, int, float64) (float64, *[]int)
    func(n int) func(p *T)
    </pre>
    
    
    <h3 id="Interface_types">Interface types</h3>
    
    <p>
    An interface type specifies a <a href="#Method_sets">method set</a> called its <i>interface</i>.
    A variable of interface type can store a value of any type with a method set
    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)
  2. doc/go_spec.html

    struct{f any}      comparable                     // satisfied: struct{f any} is comparable and implements the basic interface any
    any                interface{ comparable; m() }   // not satisfied: any does not implement the basic interface interface{ m() }
    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)
  3. src/cmd/cgo/doc.go

    argument, so that the host linker will be able to find 'sin' in the
    math library.
    
    cmd/link Command Line Interface
    
    The go command and any other Go-aware build systems invoke cmd/link
    to link a collection of packages into a single binary. By default, cmd/link will
    present the same interface it does today:
    
    	cmd/link main.a
    
    produces a file named a.out, even if cmd/link does so by invoking the host
    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)
  4. src/archive/zip/reader_test.go

    		0x78, 0x74, 0x50, 0x4b, 0x05, 0x06, 0x00, 0x00,
    		0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x39, 0x00,
    		0x00, 0x00, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00,
    	}
    
    	// Read in the archive with the OpenReader interface
    	name := filepath.Join(t.TempDir(), "test.zip")
    	err := os.WriteFile(name, data, 0644)
    	if err != nil {
    		t.Fatalf("Unable to write out the bugos zip entry")
    	}
    	r, err := OpenReader(name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. api/next/61897.txt

    pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
    pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897
    pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon May 06 20:33:25 GMT 2024
    - 331 bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/archive/tar/50102.md

    If the argument to [FileInfoHeader] implements the new [FileInfoNames]
    interface, then the interface methods will be used to set the Uname/Gname
    of the file header. This allows applications to override the system-dependent
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 243 bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    // fileState tracks the number of logical (includes sparse holes) and physical
    // (actual in tar archive) bytes remaining for the current file.
    //
    // Invariant: logicalRemaining >= physicalRemaining
    type fileState interface {
    	logicalRemaining() int64
    	physicalRemaining() int64
    }
    
    // allowedFormats determines which formats can be used.
    // The value returned is the logical OR of multiple possible formats.
    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)
  8. api/next/50102.txt

    pkg archive/tar, type FileInfoNames interface { Gname, IsDir, ModTime, Mode, Name, Size, Sys, Uname } #50102
    pkg archive/tar, type FileInfoNames interface, Gname() (string, error) #50102
    pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
    pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
    pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
    pkg archive/tar, type FileInfoNames interface, Name() string #50102
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 686 bytes
    - Viewed (0)
  9. doc/godebug.md

    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    
    
    ### Go 1.21
    
    Go 1.21 made it a run-time error to call `panic` with a nil interface value,
    controlled by the [`panicnil` setting](/pkg/builtin/#panic).
    
    Go 1.21 made it an error for html/template actions to appear inside of an ECMAScript 6
    template literal, controlled by the
    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)
  10. src/builtin/builtin.go

    type rune = int32
    
    // any is an alias for interface{} and is equivalent to interface{} in all ways.
    type any = interface{}
    
    // comparable is an interface that is implemented by all comparable types
    // (booleans, numbers, strings, pointers, channels, arrays of comparable types,
    // structs whose fields are all comparable types).
    // The comparable interface may only be used as a type parameter constraint,
    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)
Back to top