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
↓ 40 callers
Method
waitForReply
waitForReply looks for a reply in the map indexed by sequence number. If the reply is not in the map it will block while reading replies from the serv
pkg/xgb/xgb.go:251
↓ 39 callers
Method
Len
()
pkg/container/vector/nogen_test.go:37
↓ 39 callers
Function
int2IntValue
(x int)
pkg/container/vector/nogen_test.go:22
↓ 39 callers
Function
int2StrValue
(x int)
pkg/container/vector/nogen_test.go:23
↓ 39 callers
Function
int2Value
(x int)
pkg/container/vector/nogen_test.go:21
↓ 39 callers
Function
nat_eq
(n uint, x, y Natural)
pkg/bignum/bignum_test.go:77
↓ 39 callers
Function
tname
(x interface{})
pkg/container/vector/nogen_test.go:76
↓ 38 callers
Method
SetString
SetString sets z to the value of s, interpreted in the given base. If base is 0 then SetString attempts to detect the base by at the prefix of s. '0x'
pkg/big/int.go:275
↓ 38 callers
Function
int_eq
(n uint, x, y *Integer)
pkg/bignum/bignum_test.go:84
↓ 37 callers
Method
Size
Size returns the number of bytes Sum will return.
pkg/hash/hash.go:23
↓ 37 callers
Method
String
String returns the contents of the unread portion of the buffer as a string. If the Buffer is a nil pointer, it returns "<nil>".
pkg/bytes/buffer.go:40
↓ 37 callers
Method
next
next reads and returns the next Unicode character. It is designed such that only a minimal amount of work needs to be done in the common ASCII case (o
pkg/scanner/scanner.go:214
↓ 37 callers
Function
printint
pkg/runtime/print.c:294
↓ 36 callers
Method
Copy
()
pkg/exp/datafmt/datafmt.go:293
↓ 36 callers
Method
Fprint
Fprint "pretty-prints" an AST node to output and returns the number of bytes written and an error (if any) for a given configuration cfg. The node typ
pkg/go/printer/printer.go:969
↓ 36 callers
Function
Sprintf
Sprintf formats according to a format specifier and returns the resulting string.
pkg/fmt/print.go:233
↓ 36 callers
Function
val
(i int)
pkg/container/vector/nogen_test.go:52
↓ 36 callers
Function
valueKind
valueKind returns the kind of the value type stored inside the interface v.
pkg/gob/type.go:32
↓ 35 callers
Method
field
(i int)
pkg/exp/ogle/rvalue.go:396
↓ 35 callers
Method
next
Read the next Unicode char into S.ch. S.ch < 0 means end-of-file.
pkg/go/scanner/scanner.go:45
↓ 34 callers
Method
Equal
Compute equality for the given keys
pkg/exp/iterable/iterable.go:310
↓ 34 callers
Function
lock
pkg/runtime/tiny/thread.c:40
↓ 34 callers
Method
make
(m int)
pkg/big/nat.go:63
↓ 33 callers
Method
NumField
NumField returns the number of struct fields.
pkg/reflect/type.go:593
↓ 33 callers
Method
diag
(format string, args ...interface{})
pkg/exp/eval/expr.go:62
↓ 32 callers
Method
Close
Close closes the connection. The error returned is an os.Error to satisfy io.Closer;
pkg/net/net.go:36
↓ 32 callers
Method
Do
Do calls function f for each element of the vector, in order. The behavior of Do is undefined if f changes *p.
pkg/container/vector/defs.go:56
↓ 32 callers
Method
Len
Len returns the number of elements in the vector. Same as len(*p).
pkg/container/vector/vector.go:86
↓ 32 callers
Method
aGet
(a aborter)
pkg/exp/ogle/rvalue.go:186
↓ 30 callers
Method
Cmp
Cmp compares x and y. The result is an int value < 0 if x < y == 0 if x == y > 0 if x > y
pkg/bignum/bignum.go:767
↓ 30 callers
Function
MakeInt
MakeInt makes an integer given a sign and a mantissa. The number is positive (>= 0) if sign is false or the mantissa is zero; it is negative otherwise
pkg/bignum/integer.go:30
↓ 30 callers
Method
Scan
Scan reads the next token or Unicode character from source and returns it. It only recognizes tokens t for which the respective Mode bit (1<<-t) is se
pkg/scanner/scanner.go:514
↓ 29 callers
Method
Sprint
Sprint formats each argument according to the format f and returns the resulting string. If an error occurs during formatting, the result string conta
pkg/exp/datafmt/datafmt.go:720
↓ 28 callers
Function
decodeUint
decodeUint reads an encoded unsigned integer from state.r. Sets state.err. If state.err is already non-nil, it does nothing. Does not check for overf
pkg/gob/decode.go:81
↓ 28 callers
Function
rnd
pkg/runtime/runtime.c:124
↓ 28 callers
Function
verify
(t *testing.T, r *Ring, N int, sum int)
pkg/container/ring/ring_test.go:28
↓ 27 callers
Method
Next
()
pkg/crypto/block/xor.go:19
↓ 27 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_unix.go:24
↓ 27 callers
Function
getSysProcAddr
(m uint32, pname string)
pkg/syscall/syscall_windows.go:88
↓ 27 callers
Method
newExpr
(t Type, desc string)
pkg/exp/eval/expr.go:58
↓ 27 callers
Function
panicstring
pkg/runtime/runtime.c:77
↓ 26 callers
Method
Elem
Create sub-Builders
pkg/json/parse.go:310
↓ 26 callers
Method
Mul
Mul returns the product x * y.
pkg/bignum/bignum.go:398
↓ 26 callers
Function
check
(t *testing.T, ok bool, name string, v interface{})
pkg/json/struct_test.go:61
↓ 26 callers
Method
error
error records an error and switches to the error state.
pkg/json/scanner.go:595
↓ 26 callers
Method
integer
integer; interprets prec but not wid. Once formatted, result is sent to pad() and then flags are cleared.
pkg/fmt/format.go:170
↓ 26 callers
Method
sendBytes
sendBytes sends a byte slice as variable length data after the fixed portion of a request, along with any necessary padding.
pkg/xgb/xgb.go:168
↓ 26 callers
Method
setNext
the instruction to execute after this one
pkg/testing/regexp.go:52
↓ 25 callers
Method
Add
Add returns the sum of p and q: Pt(p.X+q.X, p.Y+q.Y).
pkg/exp/draw/arith.go:33
↓ 25 callers
Function
CheckEqual
CheckEqual looks for an input on which f and g return different results. It calls f and g repeatedly with arbitrary values for each argument. If f and
pkg/testing/quick/quick.go:277
↓ 25 callers
Method
Decode
Decode reads the next value from the connection and stores it in the data represented by the empty interface value. The value underlying e must be the
pkg/gob/decoder.go:59
↓ 25 callers
Method
Encode
Encode transmits the data item represented by the empty interface value, guaranteeing that all necessary type information has been transmitted first.
pkg/gob/encoder.go:318
↓ 24 callers
Method
Iter
Iter should return a fresh channel each time it is called.
pkg/exp/iterable/iterable.go:18
↓ 24 callers
Method
RGBA
()
pkg/image/color.go:11
↓ 24 callers
Method
Set
(x, y int, c image.Color)
pkg/exp/draw/draw.go:30
↓ 24 callers
Method
SetBytes
SetBytes interprets b as the bytes of a big-endian, unsigned integer and sets z to that value.
pkg/big/int.go:309
↓ 24 callers
Method
asIdealFloat
()
pkg/exp/eval/expr1.go:30
↓ 23 callers
Function
printpointer
pkg/runtime/print.c:321
↓ 23 callers
Function
reportError
(property string, err os.Error, t *testing.T)
pkg/testing/quick/quick_test.go:64
↓ 22 callers
Method
Exp
Exp sets z = x**y mod m. If m is nil, z = x**y. See Knuth, volume 2, section 4.6.3.
pkg/big/int.go:375
↓ 22 callers
Method
Handle
Handle registers the handler for the given pattern.
pkg/http/server.go:512
↓ 22 callers
Method
IsValid
IsValid returns true if the position is valid.
pkg/go/token/token.go:344
↓ 22 callers
Method
Len
()
pkg/reflect/value.go:518
↓ 22 callers
Function
Log
* Floating-point logarithm. */ The original C code, the long comment, and the constants below are from FreeBSD's /usr/src/lib/msun/src/e_log.c and ca
pkg/math/log.go:80
↓ 22 callers
Method
ToLower
ToLower maps the rune to lower case giving priority to the special mapping.
pkg/unicode/letter.go:235
↓ 22 callers
Function
Typeof
Typeof returns the reflection Type of the value in the interface{}.
pkg/reflect/type.go:669
↓ 22 callers
Method
Write
Write is the function to call to emit formatted output to be printed.
pkg/fmt/print.go:109
↓ 22 callers
Method
asFloat
()
pkg/exp/eval/expr1.go:27
↓ 22 callers
Method
error
error aborts the decoding by panicking with err.
pkg/json/decode.go:145
↓ 22 callers
Method
isIdeal
isIdeal returns true if this is an ideal int or float.
pkg/exp/eval/type.go:51
↓ 22 callers
Method
saveError
saveError saves the first err it is called with, for reporting at the end of the unmarshal.
pkg/json/decode.go:151
↓ 22 callers
Function
setU32LE
Sets b[0:4] to be the big-endian representation of u.
pkg/exp/draw/x11/conn.go:265
↓ 21 callers
Method
SetValue
SetValue assigns v to the value; v must have the same type as the value.
pkg/reflect/value.go:61
↓ 21 callers
Function
Sqrt
Sqrt returns the square root of x. Special cases are: Sqrt(+Inf) = +Inf Sqrt(x < 0) = NaN Sqrt(NaN) = NaN
pkg/math/sqrt.go:13
↓ 21 callers
Method
Val
Val returns the value associated with attribute Attr in Entry, or nil if there is no such attribute. A common idiom is to merge the check for nil ret
pkg/debug/dwarf/entry.go:114
↓ 21 callers
Method
at
(i int)
pkg/big/arith.go:283
↓ 21 callers
Function
check
Verify that contents of buf match the string s.
pkg/bytes/buffer_test.go:29
↓ 21 callers
Function
encodeUint
Unsigned integers have a two-state encoding. If the number is less than 128 (0 through 0x7F), its value is written directly. Otherwise the value is w
pkg/gob/encode.go:37
↓ 21 callers
Method
expectSemi
()
pkg/go/parser/parser.go:267
↓ 21 callers
Method
marshal
()
pkg/crypto/tls/common.go:97
↓ 21 callers
Method
parseError
Report error, panic to terminate parsing. The line number comes from the template state.
pkg/template/template.go:192
↓ 21 callers
Method
syntaxError
Creates a SyntaxError with the current line number.
pkg/xml/xml.go:349
↓ 21 callers
Method
update
Emit a field number and update the state to record its value for delta encoding. If the instruction pointer is nil, do nothing
pkg/gob/encode.go:81
↓ 20 callers
Function
Cos
Cos returns the cosine of x.
pkg/math/sin.go:58
↓ 20 callers
Method
StopTimer
StopTimer stops timing a test. This can be used to pause the timer while performing complex initialization that you don't want to measure.
pkg/testing/benchmark.go:41
↓ 20 callers
Method
addr
()
pkg/exp/ogle/rvalue.go:32
↓ 20 callers
Function
checkListPointers
(t *testing.T, l *List, es []*Element)
pkg/container/list/list_test.go:11
↓ 20 callers
Method
sub
(x, y nat)
pkg/big/nat.go:144
↓ 19 callers
Function
Fabs
Fabs returns the absolute value of x. Special cases are: Fabs(+Inf) = +Inf Fabs(-Inf) = +Inf Fabs(NaN) = NaN
pkg/math/fabs.go:13
↓ 19 callers
Function
Float64bits
Float64bits returns the IEEE 754 binary representation of f.
pkg/math/unsafe.go:17
↓ 19 callers
Function
Float64frombits
Float64frombits returns the floating point number corresponding the IEEE 754 binary representation b.
pkg/math/unsafe.go:21
↓ 19 callers
Method
Logf
Logf is analogous to Printf() for a Logger.
pkg/log/log.go:152
↓ 19 callers
Method
Name
Name returns the type's name within its package. Name returns an empty string for unnamed types.
pkg/reflect/type.go:268
↓ 19 callers
Method
PtrSize
PtrSize returns the number of bytes in a 'uintptr'.
pkg/exp/ogle/arch.go:35
↓ 19 callers
Method
Remove
Remove removes the element from the list.
pkg/container/list/list.go:53
↓ 19 callers
Function
Sin
Sin returns the sine of x.
pkg/math/sin.go:66
↓ 19 callers
Method
Sort
Sort is a convenience method.
pkg/sort/sort.go:158
↓ 19 callers
Method
WriteString
WriteString appends the contents of s to the buffer. The return value n is the length of s; err is always nil.
pkg/bytes/buffer.go:100
↓ 19 callers
Method
asString
()
pkg/exp/eval/expr1.go:33
↓ 19 callers
Function
cAlike
(a, b complex128)
pkg/cmath/cmath_test.go:452
← previous
next →
101–200 of 8,676, ranked by callers