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,294 callers
Method
Errorf
Errorf is equivalent to Logf() followed by Fail().
pkg/testing/testing.go:107
↓ 711 callers
Function
Syscall
(trap, a1, a2, a3 uintptr)
pkg/syscall/syscall.go:16
↓ 307 callers
Function
printf
pkg/runtime/print.c:36
↓ 303 callers
Method
Error
(pos token.Position, msg string)
pkg/go/scanner/errors.go:23
↓ 297 callers
Function
Inf
Inf returns positive infinity if sign >= 0, negative infinity if sign < 0.
pkg/math/bits.go:17
↓ 287 callers
Method
Write
(p []byte)
pkg/io/io.go:49
↓ 279 callers
Method
Fatalf
Fatalf is equivalent to Logf() followed by FailNow().
pkg/testing/testing.go:119
↓ 269 callers
Function
put16
(buf []byte, v uint16)
pkg/xgb/xgb.go:72
↓ 248 callers
Function
StringBytePtr
StringBytePtr returns a pointer to a NUL-terminated array of bytes containing the text of s.
pkg/syscall/syscall.go:32
↓ 220 callers
Function
panic
pkg/runtime/proc.c:975
↓ 215 callers
Function
NaN
NaN returns an IEEE 754 ``not-a-number'' value.
pkg/math/bits.go:28
↓ 194 callers
Function
CErr
* * Test constructors */ Expression compile error
pkg/exp/eval/eval_test.go:105
↓ 170 callers
Function
get16
(buf []byte)
pkg/xgb/xgb.go:84
↓ 169 callers
Method
WriteString
WriteString is like Write, but writes the contents of string s rather than an array of bytes.
pkg/os/file.go:181
↓ 167 callers
Function
Val
Expression value
pkg/exp/eval/eval_test.go:111
↓ 164 callers
Function
put32
(buf []byte, v uint32)
pkg/xgb/xgb.go:77
↓ 158 callers
Method
Close
()
pkg/io/io.go:54
↓ 154 callers
Method
String
name of the network
pkg/net/net.go:19
↓ 149 callers
Method
print
---------------------------------------------------------------------------- Printing interface print prints a list of "items" (roughly corresponding
pkg/go/printer/printer.go:740
↓ 147 callers
Method
Len
(*Thread)
pkg/exp/eval/value.go:122
↓ 135 callers
Function
throw
pkg/runtime/runtime.c:67
↓ 134 callers
Method
Set
(string)
pkg/flag/flag.go:191
↓ 127 callers
Method
Type
Type returns the value's type.
pkg/reflect/value.go:48
↓ 127 callers
Function
get32
(buf []byte)
pkg/xgb/xgb.go:90
↓ 123 callers
Method
Get
()
pkg/fmt/print.go:145
↓ 120 callers
Method
sendRequest
sendRequest sends a request to the server and return its associated sequence number, or cookie. It is only used to send the fixed length portion of th
pkg/xgb/xgb.go:143
↓ 119 callers
Function
prints
pkg/runtime/print.c:29
↓ 118 callers
Function
go
(fmt, *args)
pkg/xgb/go_client.py:16
↓ 113 callers
Method
Get
(*Thread)
pkg/exp/eval/value.go:35
↓ 107 callers
Method
At
At(0, 0) returns the upper-left pixel of the grid. At(Width()-1, Height()-1) returns the lower-right pixel.
pkg/image/image.go:15
↓ 102 callers
Function
Syscall6
(trap, a1, a2, a3, a4, a5, a6 uintptr)
pkg/syscall/syscall.go:17
↓ 100 callers
Method
Bytes
Bytes returns the absolute value of x as a big-endian byte array.
pkg/big/int.go:345
↓ 99 callers
Method
Fatal
Fatal is equivalent to Log() followed by FailNow().
pkg/testing/testing.go:113
↓ 99 callers
Method
Unlock
Unlock unlocks m. It is a run-time error if m is not locked on entry to Unlock. A locked Mutex is not associated with a particular goroutine. It is a
pkg/sync/mutex.go:54
↓ 97 callers
Method
WriteByte
WriteByte writes a single byte.
pkg/bufio/bufio.go:428
↓ 94 callers
Method
Reset
Reset resets the hash to one with zero bytes written.
pkg/hash/hash.go:20
↓ 88 callers
Method
Elem
Retrieve an element from the map, returning nil if it does not exist.
pkg/exp/eval/value.go:125
↓ 88 callers
Function
copy
(z, x Natural)
pkg/bignum/bignum.go:697
↓ 87 callers
Method
Lock
Lock locks m. If the lock is already in use, the calling goroutine blocks until the mutex is available.
pkg/sync/mutex.go:40
↓ 79 callers
Function
close
(a, b float64)
pkg/math/all_test.go:1409
↓ 77 callers
Method
Pos
Pos returns the (beginning) position of the node.
pkg/go/ast/ast.go:38
↓ 76 callers
Function
Nat
Nat creates a small natural number with value x.
pkg/bignum/bignum.go:120
↓ 76 callers
Method
Read
(p []byte)
pkg/io/io.go:39
↓ 75 callers
Function
NewValue
* * constructors */ NewValue returns a new Value initialized to the concrete value stored in the interface i. NewValue(nil) returns nil.
pkg/reflect/value.go:1293
↓ 73 callers
Method
Name
()
pkg/gob/type.go:45
↓ 69 callers
Function
Int
Int creates a small integer with value x.
pkg/bignum/integer.go:40
↓ 69 callers
Method
Push
(x interface{})
pkg/container/heap/heap.go:20
↓ 68 callers
Function
copy
(p []byte)
pkg/crypto/block/cipher.go:52
↓ 67 callers
Method
lit
lit returns this type's literal. If this is a named type, this is the unnamed underlying type. Otherwise, this is an identity operation.
pkg/exp/eval/type.go:43
↓ 66 callers
Method
Interface
Interface returns the value as an interface{}.
pkg/reflect/value.go:51
↓ 65 callers
Method
Field
(*Thread, int)
pkg/exp/eval/value.go:79
↓ 65 callers
Method
expect
(tok token.Token)
pkg/go/parser/parser.go:257
↓ 63 callers
Method
expect
(tok token.Token)
pkg/exp/parser/parser.go:260
↓ 63 callers
Method
next
the type of this instruction: _CHAR, _ANY, etc.
pkg/testing/regexp.go:51
↓ 61 callers
Function
check
---------------------------------------------------------------------------- Formatting of basic and simple composite types
pkg/exp/datafmt/datafmt_test.go:95
↓ 59 callers
Method
Cmp
Cmp compares x and y and returns: -1 if x < y 0 if x == y +1 if x > y
pkg/big/int.go:226
↓ 59 callers
Method
Shl
Shl implements ``shift left'' x << s. It returns x * 2^s.
pkg/bignum/bignum.go:640
↓ 58 callers
Function
trace
(p *parser, msg string)
pkg/go/parser/parser.go:109
↓ 58 callers
Function
trace
(p *parser, msg string)
pkg/exp/parser/parser.go:108
↓ 58 callers
Function
un
Usage pattern: defer un(trace(p, "..."));
pkg/go/parser/parser.go:117
↓ 58 callers
Function
un
Usage pattern: defer un(trace(p, "..."));
pkg/exp/parser/parser.go:116
↓ 56 callers
Method
Bytes
Bytes returns a slice of the contents of the unread portion of the buffer; len(b.Bytes()) == b.Len(). If the caller changes the contents of the retur
pkg/bytes/buffer.go:36
↓ 56 callers
Function
f
()
examples/channel/unbuffer.go:25
↓ 56 callers
Function
unlock
pkg/runtime/tiny/thread.c:51
↓ 55 callers
Method
Int
Int returns a non-negative pseudo-random int.
pkg/rand/rand.go:46
↓ 53 callers
Method
Abort
(err os.Error)
pkg/exp/ogle/abort.go:15
↓ 49 callers
Method
String
()
pkg/runtime/error.go:9
↓ 49 callers
Function
alike
(a, b float64)
pkg/math/all_test.go:1412
↓ 49 callers
Function
pad
Pad a length to align on 4 bytes.
pkg/xgb/xgb.go:70
↓ 48 callers
Method
Sub
Sub returns an ArrayValue backed by the same array that starts from element i and has length len.
pkg/exp/eval/value.go:72
↓ 48 callers
Function
assertArraysAreEqual
(t *testing.T, res []interface{}, expected []int)
pkg/exp/iterable/iterable_test.go:79
↓ 47 callers
Method
Sum
Sum returns the current hash, without changing the underlying hash state.
pkg/hash/hash.go:17
↓ 47 callers
Function
Val1
Statement runs and test one expression's value
pkg/exp/eval/eval_test.go:126
↓ 47 callers
Method
next
Advance to the next non-comment token. In the process, collect any comment groups encountered, and remember the last lead and and line comments. A le
pkg/go/parser/parser.go:207
↓ 45 callers
Function
Data
Data returns a slice containing the elements of iter.
pkg/exp/iterable/iterable.go:41
↓ 45 callers
Function
FLUSH
pkg/runtime/runtime.c:457
↓ 45 callers
Method
Pos
The position where this type was defined, if any.
pkg/exp/eval/type.go:57
↓ 45 callers
Function
Val2
Statement runs and test two expressions' values
pkg/exp/eval/eval_test.go:134
↓ 45 callers
Method
sendAlert
sendAlert sends a TLS alert message. L < c.out.Mutex.
pkg/crypto/tls/conn.go:450
↓ 45 callers
Function
test
(n uint, b bool)
pkg/bignum/bignum_test.go:70
↓ 44 callers
Method
Intn
Intn returns, as an int, a non-negative pseudo-random number in [0,n).
pkg/rand/rand.go:78
↓ 44 callers
Method
Open
Open returns a new ReadSeeker reading the ELF program body.
pkg/debug/elf/file.go:107
↓ 44 callers
Function
exit
pkg/runtime/tiny/thread.c:24
↓ 44 callers
Method
expr
Sets multiLine to true if the expression spans multiple lines.
pkg/go/printer/nodes.go:911
↓ 44 callers
Method
next
Advance to the next non-comment token. In the process, collect any comment groups encountered, and remember the last lead and and line comments. A le
pkg/exp/parser/parser.go:213
↓ 43 callers
Function
NewInt
NewInt allocates and returns a new Int set to x.
pkg/big/int.go:33
↓ 43 callers
Method
asInt
()
pkg/exp/eval/expr1.go:21
↓ 42 callers
Method
Log
Log is analogous to Print() for a Logger.
pkg/log/log.go:157
↓ 42 callers
Function
NaN
NaN returns a complex ``not-a-number'' value.
pkg/cmath/isnan.go:18
↓ 42 callers
Method
Push
Convenience wrappers Push appends x to the end of the vector.
pkg/container/vector/vector.go:175
↓ 42 callers
Function
checkSize
(t *testing.T, v VectorInterface, len, cap int)
pkg/container/vector/nogen_test.go:42
↓ 41 callers
Method
Resize
Resize changes the length and capacity of a vector. If the new length is shorter than the current length, Resize discards trailing elements. If the ne
pkg/container/vector/vector.go:65
↓ 41 callers
Function
Run
Statement runs without error
pkg/exp/eval/eval_test.go:116
↓ 41 callers
Method
asUint
()
pkg/exp/eval/expr1.go:18
↓ 40 callers
Method
Elem
()
pkg/reflect/type.go:665
↓ 40 callers
Method
String
String returns the string representation of this type.
pkg/exp/eval/type.go:55
↓ 40 callers
Method
asIdealInt
()
pkg/exp/eval/expr1.go:24
↓ 40 callers
Method
copy
(m *matchVec)
pkg/regexp/regexp.go:704
↓ 40 callers
Method
diagAt
(pos positioned, format string, args ...interface{})
pkg/exp/eval/compiler.go:30
↓ 40 callers
Function
stringName
(i uint32, names []intName, goSyntax bool)
pkg/debug/elf/elf.go:1456
next →
1–100 of 8,676, ranked by callers