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
↓ 13 callers
Method
GetError
GetError is like GetErrorList, but it returns an os.Error instead so that a nil result can be assigned to an os.Error variable and remains nil.
pkg/go/scanner/errors.go:159
↓ 13 callers
Method
InsertVector
InsertVector inserts into the vector the contents of the vector x such that the 0th element of x appears at index i after insertion.
pkg/container/vector/vector.go:138
↓ 13 callers
Method
IsDirectory
IsDirectory reports whether the FileInfo describes a directory.
pkg/os/types.go:41
↓ 13 callers
Method
Less
(y interface{})
pkg/container/vector/defs.go:36
↓ 13 callers
Function
NewSyscallError
Note: If the name of the function NewSyscallError changes, pkg/go/doc/doc.go should be adjusted since it hardwires this name in a heuristic. NewSyscal
pkg/os/error.go:108
↓ 13 callers
Method
Parse
-- Public interface Parse initializes a Template by parsing its definition. The string s contains the template text. If any errors occur, Parse retu
pkg/template/template.go:899
↓ 13 callers
Method
ReadByte
()
pkg/io/io.go:155
↓ 13 callers
Method
Scan
Scan scans the next token and returns the token position pos, the token tok, and the literal text lit corresponding to the token. The source end is in
pkg/go/scanner/scanner.go:506
↓ 13 callers
Method
Set
(*Thread, int64)
pkg/exp/eval/value.go:36
↓ 13 callers
Method
Swap
(i, j int)
doc/progs/sort.go:10
↓ 13 callers
Function
TokenString
TokenString returns a (visible) string for a token or Unicode character.
pkg/scanner/scanner.go:112
↓ 13 callers
Method
Uint32
(b []byte)
pkg/encoding/binary/binary.go:20
↓ 13 callers
Method
Unmarshal
The Parser's Unmarshal method is like xml.Unmarshal except that it can be passed a pointer to the initial start element, useful when a client reads so
pkg/xml/read.go:150
↓ 13 callers
Method
compileExpr
(b *block, constant bool, expr ast.Expr)
pkg/exp/eval/expr.go:1903
↓ 13 callers
Method
exit
()
pkg/exp/eval/stmt.go:1223
↓ 13 callers
Function
get_proc_addr
The arguments are strings.
pkg/runtime/mingw/thread.c:71
↓ 13 callers
Function
idiv
(t *testing.T, x0, y0 uint64)
pkg/bignum/nrdiv_test.go:168
↓ 13 callers
Function
intFromString
(s string, base uint, slen *int)
pkg/bignum/bignum_test.go:30
↓ 13 callers
Method
kind
()
pkg/testing/regexp.go:50
↓ 13 callers
Method
logTrace
(format string, args ...interface{})
pkg/debug/proc/proc_linux.go:285
↓ 13 callers
Function
mcpy
pkg/runtime/runtime.c:86
↓ 13 callers
Method
parseExpr
TODO(gri): parseExpr may return a type or even a raw type ([..]int) - should reject when a type/raw type is obviously not allowed
pkg/exp/parser/parser.go:1218
↓ 13 callers
Function
ratFromString
(s string, base uint, slen *int)
pkg/bignum/bignum_test.go:39
↓ 13 callers
Function
rat_eq
(n uint, x, y *Rational)
pkg/bignum/bignum_test.go:91
↓ 13 callers
Function
skip
if s begins with the prefix t, skip returns s with that prefix removed and ok == true.
pkg/patch/patch.go:289
↓ 12 callers
Function
Compile
Compile parses a regular expression and returns, if successful, a Regexp object that can be used to match against text.
pkg/regexp/regexp.go:634
↓ 12 callers
Function
Copysign
Copysign(x, y) returns a value with the magnitude of x and the sign of y.
pkg/math/copysign.go:9
↓ 12 callers
Method
Encrypt
Encrypt encrypts the first block in src into dst. Src and dst may point at the same memory.
pkg/crypto/block/cipher.go:21
↓ 12 callers
Method
Execute
Execute matches the Regexp against the byte slice b. The return value is an array of integers, in pairs, identifying the positions of subslices matche
pkg/regexp/regexp.go:911
↓ 12 callers
Method
FieldByName
FieldByName returns the struct field with the given name and a boolean to indicate if the field was found.
pkg/reflect/type.go:578
↓ 12 callers
Method
IsNil
()
pkg/json/encode.go:103
↓ 12 callers
Method
Len
Len returns the number of bytes of the unread portion of the buffer; b.Len() == len(b.Bytes()).
pkg/bytes/buffer.go:50
↓ 12 callers
Function
Lstat
Lstat returns the FileInfo structure describing the named file and an error, if any. If the file is a symbolic link, the returned FileInfo describes
pkg/os/file.go:243
↓ 12 callers
Function
Map
Map returns a copy of the string s with all its characters modified according to the mapping function. If mapping returns a negative value, the charac
pkg/strings/strings.go:260
↓ 12 callers
Function
Rat
Rat creates a small rational number with value a0/b0.
pkg/bignum/rational.go:34
↓ 12 callers
Function
StringReader
(s string)
pkg/xml/xml_test.go:172
↓ 12 callers
Method
Type
The type of the value Run returns, or nil if Run returns nil.
pkg/exp/eval/world.go:32
↓ 12 callers
Method
Value
Value returns the lowest 64bits of x.
pkg/bignum/bignum.go:153
↓ 12 callers
Function
cSoclose
(a, b complex128, e float64)
pkg/cmath/cmath_test.go:450
↓ 12 callers
Function
checkList
(t *testing.T, l *List, es []interface{})
pkg/container/list/list_test.go:138
↓ 12 callers
Function
checkPos
(t *testing.T, s *Scanner, offset, line, column, char int)
pkg/scanner/scanner_test.go:451
↓ 12 callers
Method
decref
Remove a reference to this FD and close if we've been asked to do so (and there are no references left.
pkg/net/fd.go:336
↓ 12 callers
Function
dequeue
pkg/runtime/chan.c:943
↓ 12 callers
Method
enterChild
()
pkg/exp/eval/stmt.go:1214
↓ 12 callers
Method
error
(pos token.Position, msg string)
pkg/go/scanner/scanner.go:134
↓ 12 callers
Method
incref
Add a reference to this fd.
pkg/net/fd.go:328
↓ 12 callers
Method
isFloat
isFloat returns true if this is a floating type.
pkg/exp/eval/type.go:49
↓ 12 callers
Method
nextPC
()
pkg/exp/eval/func.go:58
↓ 12 callers
Method
ok
()
pkg/net/tcpsock.go:80
↓ 12 callers
Method
parseType
---------------------------------------------------------------------------- Types
pkg/go/parser/parser.go:427
↓ 12 callers
Function
popCount
Voodoo to count the number of bits set in a value list mask.
pkg/xgb/xgb.go:99
↓ 12 callers
Method
visitComment
(c *ast.CommentGroup)
examples/godoc-zh/index.go:446
↓ 12 callers
Method
write
write interprets data and writes it to p.output. It inserts indentation after a line break unless in a tabwriter escape sequence, and it HTML- escapes
pkg/go/printer/printer.go:132
↓ 12 callers
Method
writeRecord
writeRecord writes a TLS record with the given type and payload to the connection and updates the record layer state. c.out.Mutex <= L.
pkg/crypto/tls/conn.go:459
↓ 11 callers
Method
Add
Add returns the sum x + y.
pkg/bignum/integer.go:129
↓ 11 callers
Method
BitLen
BitLen returns the length of the absolute value of z in bits. The bit length of 0 is 0.
pkg/big/int.go:368
↓ 11 callers
Method
Close
()
pkg/io/pipe_test.go:146
↓ 11 callers
Method
Data
Data reads and returns the contents of the ELF section.
pkg/debug/elf/file.go:72
↓ 11 callers
Method
Encode
Encode writes the JSON encoding of v to the connection. See the documentation for Marshal for details about the conversion of Go values to JSON.
pkg/json/stream.go:141
↓ 11 callers
Method
Fd
Fd returns the integer Unix file descriptor referencing the open file.
pkg/os/file.go:23
↓ 11 callers
Method
IsZero
IsZero returns true iff x == 0.
pkg/bignum/bignum.go:191
↓ 11 callers
Method
Iter
TODO(austin) Perhaps there should be an iterator interface instead.
pkg/exp/eval/value.go:129
↓ 11 callers
Function
Modf
Modf returns integer and fractional floating-point numbers that sum to f. Both values have the same sign as f. Special cases are: Modf(+Inf) = +Inf
pkg/math/modf.go:14
↓ 11 callers
Function
Nanoseconds
Nanoseconds reports the number of nanoseconds since the Unix epoch, January 1, 1970 00:00:00 UTC.
pkg/time/time.go:25
↓ 11 callers
Function
NewDecoder
NewDecoder returns a new decoder that reads from the io.Reader.
pkg/gob/decoder.go:30
↓ 11 callers
Method
Precedence
Precedence returns the operator precedence of the binary operator op. If op is not a binary operator, the result is LowestPrecedence.
pkg/go/token/token.go:267
↓ 11 callers
Method
PushBack
PushBack inserts the value at the back of the list and returns a new Element containing the value.
pkg/container/list/list.go:132
↓ 11 callers
Method
Token
Token returns the next XML token in the input stream. At the end of the input stream, Token returns nil, os.EOF. Slices of bytes in the returned toke
pkg/xml/xml.go:226
↓ 11 callers
Method
Write
Write writes data to the connection. Write can be made to time out and return a net.Error with Timeout() == true after a fixed time limit; see SetTime
pkg/net/net.go:32
↓ 11 callers
Method
add
(x, y nat)
pkg/big/nat.go:114
↓ 11 callers
Function
addState
Append new state to to-do list. Leftmost-longest wins so avoid adding a state that's already active.
pkg/testing/regexp.go:615
↓ 11 callers
Method
convertTo
* * Common expression manipulations */ a.convertTo(t) converts the value of the analyzed expression a, which must be a constant, ideal number, to a
pkg/exp/eval/expr.go:83
↓ 11 callers
Method
error
(msg string)
pkg/scanner/scanner.go:293
↓ 11 callers
Method
exprList
Print a list of expressions. If the list spans multiple source lines, the original line breaks are respected between expressions. Sets multiLine to tr
pkg/go/printer/nodes.go:133
↓ 11 callers
Function
freesg
pkg/runtime/chan.c:1009
↓ 11 callers
Method
getAddr
()
pkg/reflect/value.go:74
↓ 11 callers
Method
index
()
pkg/testing/regexp.go:53
↓ 11 callers
Function
natFromString
(s string, base uint, slen *int)
pkg/bignum/bignum_test.go:21
↓ 11 callers
Function
normalize
Operations Naming conventions c carry x, y operands z result n, m len(x), len(y)
pkg/bignum/bignum.go:203
↓ 11 callers
Method
parseIdent
---------------------------------------------------------------------------- Common productions
pkg/exp/parser/parser.go:273
↓ 11 callers
Method
parseType
---------------------------------------------------------------------------- Types
pkg/exp/parser/parser.go:332
↓ 11 callers
Method
plusSpace
Add a plus sign or space to the floating-point string representation if missing and required.
pkg/fmt/format.go:374
↓ 11 callers
Method
print
()
pkg/testing/regexp.go:55
↓ 11 callers
Function
printslice
pkg/runtime/slice.c:220
↓ 11 callers
Function
randInt64
randInt64 returns a random integer taking half the range of an int64.
pkg/testing/quick/quick.go:46
↓ 11 callers
Method
read
(n int)
pkg/time/zoneinfo.go:30
↓ 11 callers
Function
readU32LE
Reads a little-endian uint32 from r, using b as a scratch buffer.
pkg/exp/draw/x11/conn.go:256
↓ 11 callers
Function
ready
Mark g ready to run.
pkg/runtime/proc.c:229
↓ 11 callers
Method
restore
(m checkpoint)
pkg/exp/datafmt/datafmt.go:392
↓ 11 callers
Method
save
()
pkg/exp/datafmt/datafmt.go:383
↓ 11 callers
Function
socketcall
(call int, a0, a1, a2, a3, a4, a5 uintptr)
pkg/syscall/syscall_linux_386.go:86
↓ 11 callers
Function
testError
(t *testing.T, src, msg string, tok int)
pkg/scanner/scanner_test.go:411
↓ 11 callers
Function
walkCommentGroup
(v Visitor, g *CommentGroup)
pkg/go/ast/walk.go:24
↓ 10 callers
Function
HammerRWMutex
(gomaxprocs, numReaders, num_iterations int)
pkg/sync/rwmutex_test.go:82
↓ 10 callers
Method
In
In returns the type of the i'th function input parameter.
pkg/reflect/type.go:383
↓ 10 callers
Method
Init
Init initializes a Scanner with a new source and returns itself. Error is set to nil, ErrorCount is set to 0, Mode is set to GoTokens, and Whitespace
pkg/scanner/scanner.go:181
↓ 10 callers
Method
Log
Log formats its arguments using default formatting, analogous to Print(), and records the text in the error log.
pkg/testing/testing.go:92
↓ 10 callers
Method
Log2
Log2 computes the binary logarithm of x for x > 0. The result is the integer n for which 2^n <= x < 2^(n+1). If x == 0 a run-time error occurs.
pkg/bignum/bignum.go:811
↓ 10 callers
Function
NewEncoder
NewEncoder returns a new encoder that will transmit on the io.Writer.
pkg/gob/encoder.go:203
↓ 10 callers
Method
NumMethod
()
pkg/reflect/type.go:293
← previous
next →
301–400 of 8,676, ranked by callers