Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for Methods (0.2 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. api/go1.5.txt

    pkg go/types, method (*Builtin) Exported() bool
    pkg go/types, method (*Builtin) Id() string
    pkg go/types, method (*Builtin) Name() string
    pkg go/types, method (*Builtin) Parent() *Scope
    pkg go/types, method (*Builtin) Pkg() *Package
    pkg go/types, method (*Builtin) Pos() token.Pos
    pkg go/types, method (*Builtin) String() string
    pkg go/types, method (*Builtin) Type() Type
    pkg go/types, method (*Chan) Dir() ChanDir
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  5. doc/go_spec.html

    variable or function.
    </li>
    
    <li>
    A reference to a method <code>m</code> is a
    <a href="#Method_values">method value</a> or
    <a href="#Method_expressions">method expression</a> of the form
    <code>t.m</code>, where the (static) type of <code>t</code> is
    not an interface type, and the method <code>m</code> is in the
    <a href="#Method_sets">method set</a> of <code>t</code>.
    It is immaterial whether the resulting function value
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. 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)
  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. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/go/types/65772.md

    The [Func] type, which represents a function or method symbol, now
    has a [Func.Signature] method that returns the function's type, which
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 19 14:33:17 GMT 2024
    - 161 bytes
    - Viewed (0)
  10. src/cmd/api/testdata/src/pkg/p1/p1.go

    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) {}
    
    func Bar(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)
Back to top