Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/border/golang-china
/ functions
Functions
8,676 in github.com/border/golang-china
⨍
Functions
8,676
◇
Types & classes
2,265
Method
NumMethod
TODO(rsc): 6g supplies these, but they are not as efficient as they could be: they have commonType as the receiver instead of *commonType.
pkg/reflect/type.go:350
Method
NumMethod
NumMethod returns the number of interface methods.
pkg/reflect/type.go:432
Function
Offsetof
Offsetof returns the offset within the struct of the field represented by v, which must be of the form struct_value.field. In other words, it returns
pkg/unsafe/unsafe.go:31
Function
OneByteReader
OneByteReader returns a Reader that implements each non-empty Read by reading one byte from r.
pkg/testing/iotest/reader.go:16
Function
Open
(path string, mode int, perm int)
pkg/syscall/zsyscall_freebsd_amd64.go:434
Function
Open
(path string, mode int, perm int)
pkg/syscall/zsyscall_darwin_386.go:428
Function
Open
(path string, mode int, perm int)
pkg/syscall/zsyscall_nacl_386.go:60
Function
Open
(path string, mode int, perm int)
pkg/syscall/zsyscall_darwin_amd64.go:428
Function
Open
* * Wrapped */ sys open(path string, mode int, perm int) (fd int, errno int)
pkg/syscall/syscall_linux.go:23
Function
Open
(path string, mode int, perm int)
pkg/syscall/zsyscall_freebsd_386.go:434
Function
Open
(path string, mode int, perm int)
pkg/syscall/syscall_windows.go:150
Function
Open
(name string, mode int, perm int)
doc/progs/file.go:30
Method
Open
Open returns a new ReadSeeker reading the Mach-O section.
pkg/debug/macho/file.go:113
Method
Open
Open returns a new ReadSeeker reading the ELF section.
pkg/debug/elf/file.go:79
Method
OpenFont
(Fid Id, Name string)
pkg/xgb/xproto.go:2122
Function
Openat
sys openat(dirfd int, path string, flags int, mode int) (fd int, errno int)
pkg/syscall/syscall_linux.go:28
Method
Out
Out selects the caller frame of the current frame.
pkg/exp/ogle/goroutine.go:41
Method
PC
()
pkg/debug/proc/regs_linux_amd64.go:51
Method
PC
()
pkg/debug/proc/regs_linux_386.go:37
Method
PC
()
pkg/debug/proc/regs_linux_arm.go:16
Method
PC
()
pkg/exp/ogle/event.go:226
Method
PC
()
pkg/syscall/syscall_linux_386.go:163
Method
PC
()
pkg/syscall/syscall_linux_amd64.go:64
Method
PCToLine
(pc uint64)
pkg/debug/gosym/pclntab.go:62
Function
PackageExports
PackageExports trims the AST for a Go package in place such that only exported nodes remain. The pkg.Files list is not changed, so that file names and
pkg/go/ast/filter.go:181
Method
Parent
Parent returns the goroutine that created this goroutine. May be nil if this event is the creation of the first goroutine.
pkg/exp/ogle/event.go:254
Method
ParseClosure
(data []byte)
pkg/exp/ogle/arch.go:118
Function
ParseDeclList
ParseDeclList parses a list of Go declarations and returns the list of corresponding AST nodes. The filename, src, and scope arguments have the same
pkg/go/parser/interface.go:98
Function
ParseDeclList
ParseDeclList parses a list of Go declarations and returns the list of corresponding AST nodes. The filename and src arguments have the same interpre
pkg/exp/parser/interface.go:93
Function
ParseExpr
ParseExpr parses a Go expression and returns the corresponding AST node. The filename, src, and scope arguments have the same interpretation as for Pa
pkg/go/parser/interface.go:64
Function
ParseExpr
ParseExpr parses a Go expression and returns the corresponding AST node. The filename and src arguments have the same interpretation as for ParseFile.
pkg/exp/parser/interface.go:59
Function
ParseStmtList
ParseStmtList parses a list of Go statements and returns the list of corresponding AST nodes. The filename, src, and scope arguments have the same int
pkg/go/parser/interface.go:81
Function
ParseStmtList
ParseStmtList parses a list of Go statements and returns the list of corresponding AST nodes. The filename and src arguments have the same interpretat
pkg/exp/parser/interface.go:76
Function
ParseURLReference
ParseURLReference is like ParseURL but allows a trailing #fragment.
pkg/http/url.go:362
Function
Pathconf
(path string, name int)
pkg/syscall/zsyscall_freebsd_amd64.go:441
Function
Pathconf
(path string, name int)
pkg/syscall/zsyscall_darwin_386.go:435
Function
Pathconf
(path string, name int)
pkg/syscall/zsyscall_darwin_amd64.go:435
Function
Pathconf
(path string, name int)
pkg/syscall/zsyscall_freebsd_386.go:441
Function
Pause
()
pkg/syscall/zsyscall_linux_386.go:331
Function
Pause
()
pkg/syscall/zsyscall_linux_amd64.go:331
Function
Pause
()
pkg/syscall/zsyscall_linux_arm.go:331
Method
Peek
(addr Word, out []byte)
pkg/debug/proc/proc_linux.go:803
Method
Peek
(addr proc.Word, out []byte)
pkg/exp/ogle/process.go:295
Method
Peek
Peek returns the next Unicode character in the source without advancing the scanner. It returns EOF if the scanner's position is at the last character
pkg/scanner/scanner.go:288
Method
Pending
Pending returns the number of unanswered requests that have been received on the connection.
pkg/http/persist.go:118
Method
Pending
Pending returns the number of unanswered requests that have been sent on the connection.
pkg/http/persist.go:243
Function
Perm
Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n).
pkg/rand/rand.go:147
Function
Pipe
(p []int)
pkg/syscall/syscall_nacl.go:121
Function
Pipe
sys pipe(p *[2]_C_int) (errno int)
pkg/syscall/syscall_linux.go:33
Function
Pipe
TODO(brainman): fix all this meaningless code, it is here to compile exec.go
pkg/syscall/syscall_windows.go:406
Function
PivotRoot
(newroot string, putold string)
pkg/syscall/zsyscall_linux_386.go:337
Function
PivotRoot
(newroot string, putold string)
pkg/syscall/zsyscall_linux_amd64.go:337
Function
PivotRoot
(newroot string, putold string)
pkg/syscall/zsyscall_linux_arm.go:337
Method
PkgPath
()
pkg/reflect/type.go:301
Method
PkgPath
()
pkg/reflect/type.go:354
Method
Poke
(addr Word, out []byte)
pkg/debug/proc/proc_linux.go:819
Method
Poke
(addr proc.Word, b []byte)
pkg/exp/ogle/process.go:303
Method
PollForEvent
PollForEvent returns the next event from the server if one is available in the internal queue. It will not read from the connection, so you must call
pkg/xgb/xgb.go:281
Method
PolyArc
(Drawable Id, Gc Id, Arcs []Arc)
pkg/xgb/xproto.go:2782
Method
PolyFillArc
(Drawable Id, Gc Id, Arcs []Arc)
pkg/xgb/xproto.go:2826
Method
PolyFillRectangle
(Drawable Id, Gc Id, Rectangles []Rectangle)
pkg/xgb/xproto.go:2814
Method
PolyPoint
(CoordinateMode byte, Drawable Id, Gc Id, Points []Point)
pkg/xgb/xproto.go:2705
Method
PolyRectangle
(Drawable Id, Gc Id, Rectangles []Rectangle)
pkg/xgb/xproto.go:2770
Method
PolySegment
(Drawable Id, Gc Id, Segments []Segment)
pkg/xgb/xproto.go:2758
Method
PolyText16
(Drawable Id, Gc Id, X int16, Y int16, Items []byte)
pkg/xgb/xproto.go:2918
Method
PolyText8
(Drawable Id, Gc Id, X int16, Y int16, Items []byte)
pkg/xgb/xproto.go:2904
Method
Pop
Pop computes the ``population count'' of (the number of 1 bits in) x.
pkg/bignum/bignum.go:958
Method
Pos
()
pkg/ebnf/ebnf.go:99
Method
Pos
()
pkg/ebnf/ebnf.go:104
Method
Pos
()
pkg/ebnf/ebnf.go:109
Method
Pos
()
pkg/ebnf/ebnf.go:112
Method
Pos
()
pkg/go/ast/ast.go:97
Method
Pos
Pos() implementations for expression/type where the position corresponds to the position of a sub-node.
pkg/go/ast/ast.go:320
Method
Pos
()
pkg/go/ast/ast.go:321
Method
Pos
()
pkg/go/ast/ast.go:322
Method
Pos
()
pkg/go/ast/ast.go:323
Method
Pos
()
pkg/go/ast/ast.go:324
Method
Pos
()
pkg/go/ast/ast.go:325
Method
Pos
()
pkg/go/ast/ast.go:326
Method
Pos
()
pkg/go/ast/ast.go:327
Method
Pos
()
pkg/go/ast/ast.go:328
Method
Pos
Pos() implementations for statement nodes where the position corresponds to the position of a sub-node.
pkg/go/ast/ast.go:565
Method
Pos
()
pkg/go/ast/ast.go:566
Method
Pos
()
pkg/go/ast/ast.go:567
Method
Pos
()
pkg/go/ast/ast.go:568
Method
Pos
()
pkg/go/ast/ast.go:569
Method
Pos
Pos() implementations for spec nodes.
pkg/go/ast/ast.go:641
Method
Pos
()
pkg/go/ast/ast.go:648
Method
Pos
()
pkg/go/ast/ast.go:649
Method
Pos
The position of a FuncDecl node is the position of its function type.
pkg/go/ast/ast.go:703
Method
Pos
Pos is an accessor method for anonymous Position fields. It returns its receiver.
pkg/go/token/token.go:340
Method
Pos
Pos returns the position of the next byte to be written to the output buffer. Line numbers start at 1.
pkg/exp/datafmt/datafmt.go:347
Method
Pos
()
pkg/exp/eval/type.go:143
Method
Pos
()
pkg/exp/eval/scope.go:18
Method
Pos
Position returns the current source position. If called before Next() or Scan(), it returns the position of the next Unicode character or token return
pkg/scanner/scanner.go:609
Function
Post
Post issues a POST to the specified URL. Caller should close r.Body when done reading it.
pkg/http/client.go:137
Method
Post
Post posts an article to the server.
pkg/nntp/nntp.go:573
Function
Pow10
Pow10 returns 10**e, the base-10 exponential of e.
pkg/math/pow10.go:12
Function
Pread
(fd int, p []byte, offset int64)
pkg/syscall/zsyscall_freebsd_amd64.go:448
Function
Pread
(fd int, p []byte, offset int64)
pkg/syscall/syscall_nacl.go:127
← previous
next →
5,501–5,600 of 8,676, ranked by callers