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
↓ 1 callers
Method
OnGoroutineCreate
OnGoroutineCreate returns the hook that is run when a goroutine is created.
pkg/exp/ogle/process.go:330
↓ 1 callers
Method
OnGoroutineExit
OnGoroutineExit returns the hook that is run when a goroutine exits.
pkg/exp/ogle/process.go:335
↓ 1 callers
Function
Open
Open opens the named file with specified flag (O_RDONLY etc.) and perm, (0666 etc.) if applicable. If successful, methods on the returned File can be
pkg/os/file_windows.go:52
↓ 1 callers
Method
Open
Open returns a new ReadSeeker reading the segment.
pkg/debug/macho/file.go:78
↓ 1 callers
Method
Or
Or sets z = x | y and returns z.
pkg/big/int.go:551
↓ 1 callers
Method
PC
PC returns the value of the program counter.
pkg/debug/proc/proc.go:45
↓ 1 callers
Method
PC
PC returns the program counter that the program is stopped at.
pkg/debug/proc/proc.go:161
↓ 1 callers
Method
PCToFunc
PCToFunc returns the function containing the program counter pc, or nil if there is no such function.
pkg/debug/gosym/symtab.go:328
↓ 1 callers
Method
Pack
()
pkg/net/dnsmsg.go:591
↓ 1 callers
Method
PackageName
PackageName returns the package part of the symbol name, or the empty string if there is none.
pkg/debug/gosym/symtab.go:42
↓ 1 callers
Function
Parse
Parse parses a set of EBNF productions from source src. It returns a set of productions. Errors are reported for incorrect syntax and if a production
pkg/ebnf/parser.go:208
↓ 1 callers
Function
Parse
Parse parses a set of format productions from source src. Custom formatters may be provided via a map of formatter functions. If there are no errors,
pkg/exp/datafmt/parser.go:361
↓ 1 callers
Function
Parse
Parse parses the JSON syntax string s and makes calls to the builder to construct a parsed representation. On success, it returns with ok set to true.
pkg/json/parse.go:421
↓ 1 callers
Function
Parse
Parse patches the patch text to create a patch Set. The patch text typically comprises a textual header and a sequence of file patches, as would be ge
pkg/patch/patch.go:74
↓ 1 callers
Function
Parse
Parse parses the command-line flags. Must be called after all flags are defined and before any are accessed by the program.
pkg/flag/flag.go:492
↓ 1 callers
Function
ParseCertificate
ParseCertificate parses a single certificate from the given ASN.1 DER data.
pkg/crypto/x509/x509.go:627
↓ 1 callers
Function
ParseCertificates
ParseCertificates parses one or more certificates from the given ASN.1 DER data. The certificates must be concatenated with no intermediate padding.
pkg/crypto/x509/x509.go:642
↓ 1 callers
Method
ParseClosure
ParseClosure takes ClosureSize bytes read from a return PC in a remote process, determines if the code is a closure, and returns the frame size of the
pkg/exp/ogle/arch.go:51
↓ 1 callers
Function
ParseDir
ParseDir calls ParseFile for the files in the directory specified by path and returns a map of package name -> package AST with all the packages found
pkg/go/parser/interface.go:183
↓ 1 callers
Function
ParseFile
ParseFile is a wrapper function that creates a Template with default parameters (such as {} for // metacharacters). The filename identfies a file con
pkg/template/template.go:954
↓ 1 callers
Function
ParseFiles
ParseFiles calls ParseFile for each file in the filenames list and returns a map of package name -> package AST with all the packages found. The mode
pkg/go/parser/interface.go:153
↓ 1 callers
Function
ParseGitBinary
ParseGitBinary parses raw as a Git binary patch.
pkg/patch/git.go:71
↓ 1 callers
Function
ParsePackage
ParsePackage parses all files in the directory specified by path and returns an AST representing the package found. The set of files may be restricted
pkg/exp/parser/interface.go:169
↓ 1 callers
Function
ParsePkgFile
ParsePkgFile parses the file specified by filename and returns the corresponding AST. If the file cannot be read, has syntax errors, or does not belon
pkg/exp/parser/interface.go:140
↓ 1 callers
Function
ParseTextDiff
(raw []byte)
pkg/patch/textdiff.go:19
↓ 1 callers
Function
Partition
Partition(iter, f) returns Filter(iter, f) and Filter(iter, !f).
pkg/exp/iterable/iterable.go:132
↓ 1 callers
Method
Perm
Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n).
pkg/rand/rand.go:95
↓ 1 callers
Method
Permission
Permission returns the file permission bits.
pkg/os/types.go:56
↓ 1 callers
Function
Pipe
Pipe creates a synchronous, in-memory, full duplex network connection; both ends implement the Conn interface. Reads on one end are matched with write
pkg/net/pipe.go:13
↓ 1 callers
Function
Pipe
sys pipe() (r int, w int, errno int)
pkg/syscall/syscall_bsd.go:135
↓ 1 callers
Function
Play
(pp []Piece, ctxt draw.Context)
pkg/exp/4s/xs.go:722
↓ 1 callers
Function
PlaySound
(b []uint16)
pkg/exp/4s/4s.go:75
↓ 1 callers
Method
Pop
Pop deletes the last element of the vector.
pkg/container/vector/intvector.go:179
↓ 1 callers
Method
Pop
Pop deletes the last element of the vector.
pkg/container/vector/vector.go:179
↓ 1 callers
Method
Pop
Pop deletes the last element of the vector.
pkg/container/vector/stringvector.go:179
↓ 1 callers
Method
Pos
()
pkg/exp/eval/compiler.go:15
↓ 1 callers
Method
Precision
Precision returns the value of the precision option and whether it has been set.
pkg/fmt/print.go:113
↓ 1 callers
Method
Prev
Prev returns the previous list element or nil.
pkg/container/list/list.go:25
↓ 1 callers
Function
PrintDefaults
PrintDefaults prints to standard error the default values of all defined flags.
pkg/flag/flag.go:245
↓ 1 callers
Method
PutUint16
([]byte, uint16)
pkg/encoding/binary/binary.go:22
↓ 1 callers
Method
QueryBestSizeReply
(cookie Cookie)
pkg/xgb/xproto.go:3477
↓ 1 callers
Method
QueryBestSizeRequest
(Class byte, Drawable Id, Width uint16, Height uint16)
pkg/xgb/xproto.go:3457
↓ 1 callers
Method
QueryColorsReply
(cookie Cookie)
pkg/xgb/xproto.go:3329
↓ 1 callers
Method
QueryColorsRequest
(Cmap Id, Pixels []uint32)
pkg/xgb/xproto.go:3308
↓ 1 callers
Method
QueryExtensionReply
(cookie Cookie)
pkg/xgb/xproto.go:3511
↓ 1 callers
Method
QueryExtensionRequest
(Name string)
pkg/xgb/xproto.go:3488
↓ 1 callers
Method
QueryFontReply
(cookie Cookie)
pkg/xgb/xproto.go:2231
↓ 1 callers
Method
QueryFontRequest
(Font Id)
pkg/xgb/xproto.go:2201
↓ 1 callers
Method
QueryKeymapReply
(cookie Cookie)
pkg/xgb/xproto.go:2112
↓ 1 callers
Method
QueryKeymapRequest
()
pkg/xgb/xproto.go:2097
↓ 1 callers
Method
QueryPointerReply
(cookie Cookie)
pkg/xgb/xproto.go:1928
↓ 1 callers
Method
QueryPointerRequest
(Window Id)
pkg/xgb/xproto.go:1905
↓ 1 callers
Method
QueryTextExtentsReply
(cookie Cookie)
pkg/xgb/xproto.go:2291
↓ 1 callers
Method
QueryTextExtentsRequest
(Font Id, String []Char2b)
pkg/xgb/xproto.go:2263
↓ 1 callers
Method
QueryTreeReply
(cookie Cookie)
pkg/xgb/xproto.go:1449
↓ 1 callers
Method
QueryTreeRequest
(Window Id)
pkg/xgb/xproto.go:1430
↓ 1 callers
Method
Quit
Quit sends the QUIT command and closes the connection to the server.
pkg/nntp/nntp.go:578
↓ 1 callers
Method
Quo
Quo returns the quotient q = x / y for y != 0. If y == 0, a division-by-zero run-time error occurs. Quo and Rem implement T-division and modulus (lik
pkg/bignum/integer.go:218
↓ 1 callers
Function
Quote
Quote returns a double-quoted Go string literal representing s. The returned string s uses Go escape sequences (\t, \n, \xFF, \u0100) for control cha
pkg/strconv/quote.go:21
↓ 1 callers
Function
QuoteMeta
QuoteMeta returns a string that quotes all regular expression metacharacters inside the argument text; the returned string is a regular expression mat
pkg/regexp/regexp.go:1091
↓ 1 callers
Method
RawPost
RawPost reads a text-formatted article from r and posts it to the server.
pkg/nntp/nntp.go:534
↓ 1 callers
Function
Read
Read is a helper function that calls Reader.Read.
pkg/crypto/rand/rand.go:22
↓ 1 callers
Method
Read
Read reads data into p. It returns the number of bytes read into p. If nn < len(p), also returns an error explaining why the read is short. At EOF, t
pkg/bufio/bufio.go:107
↓ 1 callers
Method
Read
Read reads from the current entry in the tar archive. It returns 0, os.EOF when it reaches the end of that entry, until Next is called to advance to t
pkg/archive/tar/reader.go:209
↓ 1 callers
Function
ReadAtLeast
ReadAtLeast reads from r into buf until it has read at least min bytes. It returns the number of bytes copied and an error if fewer bytes were read. T
pkg/io/io.go:168
↓ 1 callers
Method
ReadFromUDP
UDP-specific methods. ReadFromUDP reads a UDP packet from c, copying the payload into b. It returns the number of bytes copied into b and the return a
pkg/net/udpsock.go:172
↓ 1 callers
Method
ReadFromUnix
ReadFromUnix reads a packet from c, copying the payload into b. It returns the number of bytes copied into b and the return address that was on the pa
pkg/net/unixsock.go:230
↓ 1 callers
Method
ReadRequestBody
(interface{})
pkg/rpc/server.go:411
↓ 1 callers
Method
ReadRequestHeader
(*Request)
pkg/rpc/server.go:410
↓ 1 callers
Method
ReadResponseBody
(interface{})
pkg/rpc/client.go:50
↓ 1 callers
Method
ReadResponseHeader
(*Response)
pkg/rpc/client.go:49
↓ 1 callers
Method
ReadRune
ReadRune reads and returns the next UTF-8-encoded Unicode code point from the buffer. If no bytes are available, the error returned is os.EOF. If the
pkg/strings/reader.go:44
↓ 1 callers
Method
ReadRune
ReadRune reads and returns the next UTF-8-encoded Unicode code point from the buffer. If no bytes are available, the error returned is os.EOF. If the
pkg/bytes/buffer.go:236
↓ 1 callers
Method
ReceiverName
ReceiverName returns the receiver type name of this symbol, or the empty string if there is none.
pkg/debug/gosym/symtab.go:51
↓ 1 callers
Function
RedirectHandler
RedirectHandler returns a request handler that redirects each request it receives to the given url using the given status code.
pkg/http/server.go:415
↓ 1 callers
Method
RemoveBreakpoint
RemoveBreakpoint removes the breakpoint at the program counter pc. It is an error if no breakpoint exists at pc.
pkg/debug/proc/proc.go:125
↓ 1 callers
Function
RemoveDirectory
(path *uint16)
pkg/syscall/zsyscall_windows_386.go:260
↓ 1 callers
Method
RemoveHandler
(EventHandler)
pkg/exp/ogle/event.go:44
↓ 1 callers
Method
RemoveHandler
(eh EventHandler)
pkg/exp/ogle/event.go:103
↓ 1 callers
Function
Rename
Rename renames a file.
pkg/os/file.go:351
↓ 1 callers
Function
Repeat
Repeat returns a new string consisting of count copies of the string s.
pkg/strings/strings.go:288
↓ 1 callers
Function
Repeat
Repeat returns a new byte slice consisting of count copies of b.
pkg/bytes/bytes.go:312
↓ 1 callers
Function
Repeat
Repeat generates an infinite stream of v.
pkg/exp/iterable/iterable.go:280
↓ 1 callers
Method
ReplaceAll
ReplaceAll returns a copy of src in which all matches for the Regexp have been replaced by repl. No support is provided for expressions (e.g. \1 or $
pkg/regexp/regexp.go:1039
↓ 1 callers
Method
Reset
Reset zeros the table, so that it will no longer appear in the process's memory.
pkg/crypto/xtea/cipher.go:64
↓ 1 callers
Method
ResetTimer
ResetTimer stops the timer and sets the elapsed benchmark time to zero.
pkg/testing/benchmark.go:49
↓ 1 callers
Method
ResizeChan
ResizeChan returns a channel carrying resize events. An event is sent each time the window is resized; the client should respond by calling Screen() t
pkg/exp/draw/event.go:33
↓ 1 callers
Method
Run
(arg, ret []interface{}, size []int)
pkg/exp/nacl/srpc/server.go:25
↓ 1 callers
Function
Run2
Two statements without error. TODO(rsc): Should be possible with Run but the parser won't let us do both top-level and non-top-level statements.
pkg/exp/eval/eval_test.go:121
↓ 1 callers
Function
RuneCount
RuneCount returns the number of runes in p. Erroneous and short encodings are treated as single runes of width 1 byte.
pkg/utf8/utf8.go:264
↓ 1 callers
Function
Runes
Runes returns a slice of runes (Unicode code points) equivalent to s.
pkg/bytes/bytes.go:412
↓ 1 callers
Method
Section
Section returns the first section with the given name, or nil if no such section exists.
pkg/debug/macho/file.go:339
↓ 1 callers
Method
Seed
Seed uses the provided seed value to initialize the generator to a deterministic state.
pkg/rand/rng.go:203
↓ 1 callers
Function
Serve
Serve accepts incoming HTTP connections on the listener l, creating a new service thread for each. The service threads read requests and then call ha
pkg/http/server.go:546
↓ 1 callers
Function
Serve
Serve accepts new SRPC connections from the file descriptor fd and answers RPCs issued on those connections. It closes fd and returns an error if the
pkg/exp/nacl/srpc/server.go:71
↓ 1 callers
Function
ServeCodec
ServeCodec is like ServeConn but uses the specified codec to decode requests and encode responses.
pkg/rpc/server.go:428
↓ 1 callers
Method
Set
(x, y int, c Color)
pkg/image/image.go:157
↓ 1 callers
Method
Set
Set sets z to x.
pkg/big/int.go:39
↓ 1 callers
Method
Set
Set sets v to the value x.
pkg/reflect/value.go:122
↓ 1 callers
Method
Set
Set sets v to the value x.
pkg/reflect/value.go:141
← previous
next →
2,801–2,900 of 8,676, ranked by callers