Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Methods (0.31 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. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  3. 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)
  4. src/archive/zip/struct.go

    	// automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings.
    	NonUTF8 bool
    
    	CreatorVersion uint16
    	ReaderVersion  uint16
    	Flags          uint16
    
    	// Method is the compression method. If zero, Store is used.
    	Method uint16
    
    	// Modified is the modified time of the file.
    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	}
    
    	if !complete {
    		// The method set has unexported methods, so all the
    		// implementations are provided by the same package,
    		// so the method set can be extended. Instead of recording
    		// the full set of names (below), record only that there were
    		// unexported methods. (If the interface shrinks, we will notice
    		// because a method signature emitted during the last loop
    		// will disappear.)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. src/bytes/buffer.go

    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // smallBufferSize is an initial allocation minimal capacity.
    const smallBufferSize = 64
    
    // A Buffer is a variable-sized buffer of bytes with [Buffer.Read] and [Buffer.Write] methods.
    // The zero value for Buffer is an empty buffer ready to use.
    type Buffer struct {
    	buf      []byte // contents are the bytes buf[off : len(buf)]
    	off      int    // read at &buf[off], write at &buf[len(buf)]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    // If fi describes a directory, a slash is appended to the name.
    //
    // Since fs.FileInfo's Name method only returns the base name of
    // the file it describes, it may be necessary to modify Header.Name
    // to provide the full path name of the file.
    //
    // If fi implements [FileInfoNames]
    // Header.Gname and Header.Uname
    // are provided by the methods of the interface.
    func FileInfoHeader(fi fs.FileInfo, link string) (*Header, error) {
    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/go1.18.txt

    pkg go/types, method (*Named) TypeParams() *TypeParamList
    pkg go/types, method (*Signature) RecvTypeParams() *TypeParamList
    pkg go/types, method (*Signature) TypeParams() *TypeParamList
    pkg go/types, method (*Term) String() string
    pkg go/types, method (*Term) Tilde() bool
    pkg go/types, method (*Term) Type() Type
    pkg go/types, method (*TypeList) At(int) Type
    pkg go/types, method (*TypeList) Len() int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  9. api/go1.6.txt

    pkg html/template, method (*Template) DefinedTemplates() string
    pkg image, func NewNYCbCrA(Rectangle, YCbCrSubsampleRatio) *NYCbCrA
    pkg image, method (*NYCbCrA) AOffset(int, int) int
    pkg image, method (*NYCbCrA) At(int, int) color.Color
    pkg image, method (*NYCbCrA) Bounds() Rectangle
    pkg image, method (*NYCbCrA) COffset(int, int) int
    pkg image, method (*NYCbCrA) ColorModel() color.Model
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    	}
    	for i, want := range files {
    		got := r.File[i]
    		if got.Name != want.name {
    			t.Errorf("got Name %s; want %s", got.Name, want.name)
    		}
    		if got.Method != want.method {
    			t.Errorf("%s: got Method %#x; want %#x", want.name, got.Method, want.method)
    		}
    		if got.Flags != want.flags {
    			t.Errorf("%s: got Flags %#x; want %#x", want.name, got.Flags, want.flags)
    		}
    		if got.CRC32 != want.crc32 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top