Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for methods (0.18 sec)

  1. src/cmd/cgo/ast.go

    					f.Preamble += commentText(cg) + "\n"
    					f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n"
    				}
    			}
    
    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    				recvType := decl.Recv.List[0].Type
    				if recvType != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    	Close() error
    }
    
    // ReadWriter's methods are Read, Write, and Close.
    type ReadWriter interface {
    	Reader  // includes methods of Reader in ReadWriter's method set
    	Writer  // includes methods of Writer in ReadWriter's method set
    }
    </pre>
    
    <p>
    A <i>union</i> of method sets contains the (exported and non-exported)
    methods of each method set exactly once, and methods with the
    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. api/go1.5.txt

    pkg go/types, method (*Map) Underlying() Type
    pkg go/types, method (*MethodSet) At(int) *Selection
    pkg go/types, method (*MethodSet) Len() int
    pkg go/types, method (*MethodSet) Lookup(*Package, string) *Selection
    pkg go/types, method (*MethodSet) String() string
    pkg go/types, method (*Named) AddMethod(*Func)
    pkg go/types, method (*Named) Method(int) *Func
    pkg go/types, method (*Named) NumMethods() int
    pkg go/types, method (*Named) Obj() *TypeName
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	}
    }
    
    // An onlyReader only implements io.Reader, no matter what other methods the underlying implementation may have.
    type onlyReader struct {
    	io.Reader
    }
    
    // An onlyWriter only implements io.Writer, no matter what other methods the underlying implementation may have.
    type onlyWriter struct {
    	io.Writer
    }
    
    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)
  5. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, func TakesFunc(func(int) int)
    pkg p1, method (*B) JustOnB()
    pkg p1, method (*B) OnBothTandBPtr()
    pkg p1, method (*Embedded) OnEmbedded()
    pkg p1, method (*S2) SMethod(int8, int16, int64)
    pkg p1, method (*S2) SMethod //deprecated
    pkg p1, method (*T) JustOnT()
    pkg p1, method (*T) OnBothTandBPtr()
    pkg p1, method (B) OnBothTandBVal()
    pkg p1, method (S) StructValueMethod()
    pkg p1, method (S) StructValueMethodNamedRecv()
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  6. src/archive/zip/register.go

    // The common methods [Store] and [Deflate] are built in.
    func RegisterDecompressor(method uint16, dcomp Decompressor) {
    	if _, dup := decompressors.LoadOrStore(method, dcomp); dup {
    		panic("decompressor already registered")
    	}
    }
    
    // RegisterCompressor registers custom compressors for a specified method ID.
    // The common methods [Store] and [Deflate] are built in.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    	architecture, ctxt := setArch(goarch)
    	return NewParser(ctxt, architecture, nil)
    }
    
    // tryParse executes parse func in panicOnError=true context.
    // parse is expected to call any parsing methods that may panic.
    // Returns error gathered from recover; nil if no parse errors occurred.
    //
    // For unexpected panics, calls t.Fatal.
    func tryParse(t *testing.T, parse func()) (err error) {
    	panicOnError = true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/api/testdata/src/pkg/p1/p1.go

    	error
    	Temporary() bool
    }
    
    func (myInt) privateTypeMethod()           {}
    func (myInt) CapitalMethodUnexportedType() {}
    
    // Deprecated: use TMethod.
    func (s *S2) SMethod(x int8, y int16, z int64) {}
    
    type s struct{}
    
    func (s) method()
    func (s) Method()
    
    func (S) StructValueMethod()
    func (ignored S) StructValueMethodNamedRecv()
    
    func (s *S2) unexported(x int8, y int16, z int64) {}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  10. api/go1.13.txt

    pkg log/syslog (netbsd-arm64-cgo), method (*Writer) Alert(string) error
    pkg log/syslog (netbsd-arm64-cgo), method (*Writer) Close() error
    pkg log/syslog (netbsd-arm64-cgo), method (*Writer) Crit(string) error
    pkg log/syslog (netbsd-arm64-cgo), method (*Writer) Debug(string) error
    pkg log/syslog (netbsd-arm64-cgo), method (*Writer) Emerg(string) error
    pkg log/syslog (netbsd-arm64-cgo), method (*Writer) Err(string) error
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
Back to top