Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for typo (0.14 sec)

  1. api/go1.5.txt

    pkg go/types, type Object interface, Type() Type
    pkg go/types, type Object interface, unexported methods
    pkg go/types, type Package struct
    pkg go/types, type PkgName struct
    pkg go/types, type Pointer struct
    pkg go/types, type Qualifier func(*Package) string
    pkg go/types, type Scope struct
    pkg go/types, type Selection struct
    pkg go/types, type SelectionKind int
    pkg go/types, type Signature struct
    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)
  2. src/cmd/cgo/ast.go

    				recvType := decl.Recv.List[0].Type
    				if recvType != nil {
    					t := recvType
    					if star, ok := unparen(t).(*ast.StarExpr); ok {
    						t = star.X
    					}
    					if sel, ok := unparen(t).(*ast.SelectorExpr); ok {
    						var buf strings.Builder
    						format.Node(&buf, fset, recvType)
    						error_(sel.Pos(), `cannot define new methods on non-local type %s`, &buf)
    					}
    				}
    			}
    		}
    
    	}
    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)
  3. src/cmd/cgo/doc.go

    Go struct types are not supported; use a C struct type.
    Go array types are not supported; use a C pointer.
    
    Go functions that take arguments of type string may be called with the
    C type _GoString_, described above. The _GoString_ type will be
    automatically defined in the preamble. Note that there is no way for C
    code to create a value of this type; this is only useful for passing
    string values from Go to C and back to Go.
    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/bytes/buffer_test.go

    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
    
    func init() {
    	testBytes = make([]byte, N)
    	for i := 0; i < N; i++ {
    		testBytes[i] = 'a' + byte(i%26)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/operand_test.go

    					t.Errorf("fail at %s as function address: got %s, %v; expected %s, %v", test.input, name, ok, wantName, isFuncSym)
    				}
    			}
    		})
    	}
    }
    
    type operandTest struct {
    	input, output string
    }
    
    type badOperandTest struct {
    	input, error string
    }
    
    // Examples collected by scanning all the assembly in the standard repo.
    
    var amd64OperandTests = []operandTest{
    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)
  6. api/go1.18.txt

    pkg go/types, type Config struct, GoVersion string
    pkg go/types, type Context struct
    pkg go/types, type Info struct, Instances map[*ast.Ident]Instance
    pkg go/types, type Instance struct
    pkg go/types, type Instance struct, Type Type
    pkg go/types, type Instance struct, TypeArgs *TypeList
    pkg go/types, type Term struct
    pkg go/types, type TypeList struct
    pkg go/types, type TypeParam struct
    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)
  7. api/go1.6.txt

    pkg debug/elf, method (R_MIPS) String() string
    pkg debug/elf, type Chdr32 struct
    pkg debug/elf, type Chdr32 struct, Addralign uint32
    pkg debug/elf, type Chdr32 struct, Size uint32
    pkg debug/elf, type Chdr32 struct, Type uint32
    pkg debug/elf, type Chdr64 struct
    pkg debug/elf, type Chdr64 struct, Addralign uint64
    pkg debug/elf, type Chdr64 struct, Size uint64
    pkg debug/elf, type Chdr64 struct, Type uint32
    pkg debug/elf, type CompressionType int
    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)
  8. src/archive/tar/common.go

    	TypeRegA = '\x00'
    
    	// Type '1' to '6' are header-only flags and may not have a data body.
    	TypeLink    = '1' // Hard link
    	TypeSymlink = '2' // Symbolic link
    	TypeChar    = '3' // Character device node
    	TypeBlock   = '4' // Block device node
    	TypeDir     = '5' // Directory
    	TypeFifo    = '6' // FIFO node
    
    	// Type '7' is reserved.
    	TypeCont = '7'
    
    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)
  9. src/archive/tar/reader_test.go

    	tr := NewReader(f)
    	_, err = tr.Read([]byte{})
    	if err == nil || err != io.EOF {
    		t.Errorf("Unexpected error: %v, wanted %v", err, io.EOF)
    	}
    
    }
    
    type reader struct{ io.Reader }
    type readSeeker struct{ io.ReadSeeker }
    type readBadSeeker struct{ io.ReadSeeker }
    
    func (rbs *readBadSeeker) Seek(int64, int) (int64, error) { return 0, fmt.Errorf("illegal seek") }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    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)]
    	lastRead readOp // last read operation, so that Unread* can work correctly.
    }
    
    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)
Back to top