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
↓ 8 callers
Function
encAndDec
(in, out interface{})
pkg/gob/encoder_test.go:159
↓ 8 callers
Function
encodeInt
encodeInt writes an encoded signed integer to state.w. The low bit of the encoding says whether to bit complement the (other bits of the) uint to reco
pkg/gob/encode.go:59
↓ 8 callers
Method
error
(err alertType)
pkg/crypto/tls/record_process.go:271
↓ 8 callers
Function
fillBlue
(alpha int)
pkg/exp/draw/draw_test.go:18
↓ 8 callers
Function
getInt
(a interface{})
pkg/fmt/print.go:329
↓ 8 callers
Function
gotraceback
pkg/runtime/runtime.c:11
↓ 8 callers
Function
indirect
Step through the indirections on a type to discover the base type. Return the number of indirections.
pkg/gob/type.go:229
↓ 8 callers
Function
itoa
cache of short names to avoid allocation. Cheap integer to fixed-width decimal ASCII. Use a negative width to avoid zero-padding
pkg/log/log.go:66
↓ 8 callers
Function
makeBuf
(d *Data, name string, off Offset, data []byte, addrsize int)
pkg/debug/dwarf/buf.go:26
↓ 8 callers
Function
make_vector
(elt, len int)
pkg/container/vector/vector_test.go:241
↓ 8 callers
Function
make_vectorInt
(elt, len int)
pkg/container/vector/intvector_test.go:241
↓ 8 callers
Function
make_vectorStr
(elt, len int)
pkg/container/vector/stringvector_test.go:241
↓ 8 callers
Method
moreBits
()
pkg/compress/flate/inflate.go:524
↓ 8 callers
Function
newValue
(typ Type, addr addr, canSet bool)
pkg/reflect/value.go:1306
↓ 8 callers
Method
next
()
pkg/ebnf/parser.go:25
↓ 8 callers
Method
next
()
examples/godoc-zh/spec.go:40
↓ 8 callers
Function
parse
(t *testing.T, form string, fmap FormatterMap)
pkg/exp/datafmt/datafmt_test.go:13
↓ 8 callers
Method
readHandshake
readHandshake reads the next handshake message from the record layer. c.in.Mutex < L; c.out.Mutex < L.
pkg/crypto/tls/conn.go:505
↓ 8 callers
Method
sendUInt32List
sendUInt32s sends a list of 32-bit integers as variable length data.
pkg/xgb/xgb.go:179
↓ 8 callers
Function
setsockopt
(s int, level int, name int, val uintptr, vallen int)
pkg/syscall/syscall_linux_386.go:118
↓ 8 callers
Function
str
(val int)
pkg/syscall/str.go:7
↓ 8 callers
Method
switch2
Helper functions for scanning multi-byte tokens such as >> += >>= . Different routines recognize different length tok_i based on matches of ch_i. If a
pkg/go/scanner/scanner.go:454
↓ 8 callers
Function
testFunVV
(t *testing.T, msg string, f funVV, a argVV)
pkg/big/arith_test.go:82
↓ 8 callers
Function
testFunVW
(t *testing.T, msg string, f funVW, a argVW)
pkg/big/arith_test.go:181
↓ 8 callers
Function
traceback
pkg/runtime/arm/traceback.c:82
↓ 8 callers
Function
tracebackothers
pkg/runtime/proc.c:151
↓ 8 callers
Function
twoDigits
twoDigits returns the value of two, base 10 digits.
pkg/asn1/asn1.go:208
↓ 8 callers
Method
uint32
()
pkg/debug/dwarf/buf.go:75
↓ 8 callers
Function
vgradGreen
(alpha int)
pkg/exp/draw/draw_test.go:26
↓ 8 callers
Function
walkBlockStmt
(v Visitor, b *BlockStmt)
pkg/go/ast/walk.go:31
↓ 8 callers
Method
write0
(buf []byte)
pkg/tabwriter/tabwriter.go:231
↓ 8 callers
Function
xadd
Atomic add and return new value.
pkg/runtime/runtime.c:177
↓ 7 callers
Method
Accept
Accept waits for and returns the next connection to the listener.
pkg/net/net.go:113
↓ 7 callers
Method
Addr
Addr returns the listener's network address.
pkg/net/net.go:120
↓ 7 callers
Method
Available
Available returns how many bytes are unused in the buffer.
pkg/bufio/bufio.go:383
↓ 7 callers
Method
Cap
()
pkg/reflect/value.go:519
↓ 7 callers
Method
Chmod
Chmod changes the mode of the file to mode.
pkg/os/file.go:369
↓ 7 callers
Method
Close
Calling Close does not close the wrapped io.Reader originally passed to NewInflater.
pkg/compress/gzip/gunzip.go:230
↓ 7 callers
Method
Execute
Execute applies a parsed template to the specified data object, generating output to wr.
pkg/template/template.go:916
↓ 7 callers
Method
Exited
Exited returns true if the thread exited normally.
pkg/debug/proc/proc.go:198
↓ 7 callers
Method
FailNow
FailNow marks the Test function as having failed and stops its execution. Execution will continue at the next Test.
pkg/testing/testing.go:84
↓ 7 callers
Method
Float64
Float64 returns, as a float64, a pseudo-random number in [0.0,1.0).
pkg/rand/rand.go:86
↓ 7 callers
Method
IsNil
()
pkg/reflect/all_test.go:672
↓ 7 callers
Function
J0
* Bessel function of the first and second kinds of order zero. */ The original C code and the long comment below are from FreeBSD's /usr/src/lib/msun
pkg/math/j0.go:76
↓ 7 callers
Method
Keys
Keys returns a slice containing all the keys present in the map, in unspecified order.
pkg/reflect/value.go:1112
↓ 7 callers
Function
MSpanList_Remove
pkg/runtime/mheap.c:315
↓ 7 callers
Function
MakeRat
MakeRat makes a rational number given a numerator a and a denominator b.
pkg/bignum/rational.go:22
↓ 7 callers
Method
MatchString
MatchString returns whether the Regexp matches the string s. The return value is a boolean: true for match, false for no match.
pkg/regexp/regexp.go:916
↓ 7 callers
Method
MatchString
MatchString returns whether the Regexp matches the string s. The return value is a boolean: true for match, false for no match.
pkg/testing/regexp.go:765
↓ 7 callers
Function
New
New returns a new Rand that uses random values from src to generate other random values.
pkg/rand/rand.go:31
↓ 7 callers
Function
NewArrayType
Two array types are identical if they have identical element types and the same array length.
pkg/exp/eval/type.go:495
↓ 7 callers
Function
NewSource
NewSource returns a new pseudo-random Source seeded with the given value.
pkg/rand/rand.go:18
↓ 7 callers
Method
NormFloat64
NormFloat64 returns a normally distributed float64 in the range [-math.MaxFloat64, +math.MaxFloat64] with standard normal distribution (mean = 0, stdd
pkg/rand/normal.go:38
↓ 7 callers
Method
NumOut
NumOut returns the number of function output parameters.
pkg/reflect/type.go:415
↓ 7 callers
Function
Parse
Parse creates a Template with default parameters (such as {} for metacharacters). The string s contains the template text while the formatter map fma
pkg/template/template.go:940
↓ 7 callers
Function
Pt
Pt is shorthand for Point{X, Y}.
pkg/exp/draw/arith.go:24
↓ 7 callers
Method
RLock
RLock locks rw for reading. If the lock is already locked for writing or there is a writer already waiting to r the lock, RLock blocks until the write
pkg/sync/rwmutex.go:25
↓ 7 callers
Method
Readdirnames
(count int)
pkg/os/dir_nacl.go:25
↓ 7 callers
Method
Recv
Recv receives and returns a value from the channel v.
pkg/reflect/value.go:764
↓ 7 callers
Method
Reset
Reset resets the buffer so it has no content. b.Reset() is the same as b.Truncate(0).
pkg/bytes/buffer.go:64
↓ 7 callers
Method
Run
Run runs the code; if the code is a single expression with a value, it returns the value; otherwise it returns nil.
pkg/exp/eval/world.go:36
↓ 7 callers
Function
Seek
(fd int, offset int64, whence int)
pkg/syscall/syscall_windows.go:240
↓ 7 callers
Method
SetInt64
SetInt64 sets z to x and returns z.
pkg/big/int.go:21
↓ 7 callers
Method
SetLen
SetLen changes the length of v. The new length n must be between 0 and the capacity, inclusive.
pkg/reflect/value.go:612
↓ 7 callers
Method
SetReadTimeout
SetReadTimeout sets the time (in nanoseconds) that Read will wait for data before returning an error with Timeout() == true. Setting nsec == 0 (the de
pkg/net/net.go:51
↓ 7 callers
Function
Slice
Slice returns an Iterable that contains the elements from iter with indexes in [start, stop).
pkg/exp/iterable/iterable.go:263
↓ 7 callers
Function
StringToUTF16
* small demo to detect version of windows you are running: package main import ( "syscall" ) func abort(funcname string, err int) { panic(funcna
pkg/syscall/syscall_windows.go:55
↓ 7 callers
Function
To
To maps the rune to the specified case: UpperCase, LowerCase, or TitleCase.
pkg/unicode/letter.go:179
↓ 7 callers
Method
Unlink
Unlink removes n % r.Len() elements from the ring r, starting at r.Next(). If n % r.Len() == 0, r remains unchanged. The result is the removed subring
pkg/container/ring/ring.go:118
↓ 7 callers
Function
Unmarshal
BUG(rsc): Mapping between XML elements and data structures is inherently flawed: an XML element is an order-dependent collection of anonymous values,
pkg/xml/read.go:125
↓ 7 callers
Method
asMap
()
pkg/exp/eval/expr1.go:51
↓ 7 callers
Method
asPtr
()
pkg/exp/eval/expr1.go:42
↓ 7 callers
Function
cString
Parse bytes as a NUL-terminated C-style string. If a NUL byte is not found then the whole slice is returned as a string.
pkg/archive/tar/reader.go:63
↓ 7 callers
Function
cVeryclose
(a, b complex128)
pkg/cmath/cmath_test.go:451
↓ 7 callers
Method
checkExpr
TODO(gri): Consider different approach to checking syntax after parsing: Provide a arguments (set of flags) to parsing functions restricting what they
pkg/go/parser/parser.go:1124
↓ 7 callers
Function
checkListLen
(t *testing.T, l *List, n int)
pkg/container/list/list_test.go:44
↓ 7 callers
Method
closeScope
()
pkg/go/parser/parser.go:283
↓ 7 callers
Method
compileType
(x ast.Expr, allowRec bool)
pkg/exp/eval/typec.go:303
↓ 7 callers
Method
diagOpTypes
(op token.Token, lt Type, rt Type)
pkg/exp/eval/expr.go:70
↓ 7 callers
Function
diff
(t *testing.T, a, b []byte)
pkg/json/scanner_test.go:170
↓ 7 callers
Function
doTest
(t *testing.T, network, listenaddr, dialaddr string)
pkg/net/server_test.go:84
↓ 7 callers
Function
doTestPacket
(t *testing.T, network, listenaddr, dialaddr string, isEmpty bool)
pkg/net/server_test.go:147
↓ 7 callers
Function
drawpiece
()
pkg/exp/4s/xs.go:273
↓ 7 callers
Method
error
(s string)
pkg/debug/dwarf/buf.go:139
↓ 7 callers
Method
expect
(tok token.Token)
pkg/ebnf/parser.go:49
↓ 7 callers
Method
expect
(tok token.Token)
examples/godoc-zh/spec.go:70
↓ 7 callers
Function
fexp
pkg/runtime/arm/softfloat.c:105
↓ 7 callers
Function
findfunc
pkg/runtime/symtab.c:378
↓ 7 callers
Method
fmt_c128
fmt_c128 formats a complex128 according to its fmt_x argument. TODO pass in a method rather than a byte when the compilers mature.
pkg/fmt/format.go:456
↓ 7 callers
Method
fmt_c64
fmt_c64 formats a complex64 according to its fmt_x argument. TODO pass in a method rather than a byte when the compilers mature.
pkg/fmt/format.go:427
↓ 7 callers
Method
fmt_g32
fmt_g32 formats a float32 in the 'f' or 'e' form according to size.
pkg/fmt/format.go:417
↓ 7 callers
Method
fmt_g64
fmt_g64 formats a float64 in the 'f' or 'e' form according to size.
pkg/fmt/format.go:395
↓ 7 callers
Method
fmt_ux64
fmt_ux64 formats a uint64 in hexadecimal.
pkg/fmt/format.go:265
↓ 7 callers
Method
genValue
(vf func(*Thread) Value)
pkg/exp/eval/expr1.go:193
↓ 7 callers
Function
getType
getType returns the Gob type describing the given reflect.Type. typeLock must be held.
pkg/gob/type.go:320
↓ 7 callers
Function
getchar_update_lineno
Read a character, tracking lineno. */
pkg/runtime/goc2c.c:139
↓ 7 callers
Function
getchar_update_lineno
Read a character, tracking lineno. */
pkg/runtime/cgo2c.c:137
↓ 7 callers
Method
id
()
pkg/gob/type.go:43
↓ 7 callers
Method
isBoolean
isBoolean returns true if this is a boolean type.
pkg/exp/eval/type.go:45
↓ 7 callers
Function
mul
Multiply b and c as GF(2) polynomials modulo poly
pkg/crypto/aes/aes_test.go:29
← previous
next →
501–600 of 8,676, ranked by callers