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
↓ 2 callers
Function
TrimLeftFunc
TrimLeftFunc returns a slice of the string s with all leading Unicode code points c satisfying f(c) removed.
pkg/strings/strings.go:330
↓ 2 callers
Function
TrimRightFunc
TrimRightFunc returns a slice of the string s with all trailing Unicode code points c satisfying f(c) removed.
pkg/strings/strings.go:348
↓ 2 callers
Method
Try
Try executes a computation; if the computation Aborts, Try returns the error passed to abort.
pkg/exp/eval/abort.go:25
↓ 2 callers
Function
Uint
Uint defines a uint flag with specified name, default value, and usage string. The return value is the address of a uint variable that stores the valu
pkg/flag/flag.go:341
↓ 2 callers
Method
Uint32
Uint32 returns a pseudo-random 32-bit value as a uint32.
pkg/rand/rand.go:40
↓ 2 callers
Function
Uint64
Uint64 defines a uint64 flag with specified name, default value, and usage string. The return value is the address of a uint64 variable that stores th
pkg/flag/flag.go:355
↓ 2 callers
Method
Uint64
(i uint64)
pkg/json/parse.go:301
↓ 2 callers
Function
Uitoa
Uitoa returns the decimal string representation of i.
pkg/strconv/itoa.go:54
↓ 2 callers
Function
Uitob
Uitob returns the string representation of i in the given base.
pkg/strconv/itoa.go:45
↓ 2 callers
Function
Unique
Unique removes duplicate values which occur consecutively using id to compute keys.
pkg/exp/iterable/iterable.go:342
↓ 2 callers
Function
Unquote
Unquote unquotes the JSON-quoted string s, returning a raw string t. If s is not a valid JSON-quoted string, Unquote returns with ok set to false.
pkg/json/parse.go:57
↓ 2 callers
Function
Visit
Visit visits the flags, calling fn for each. It visits only those flags that have been set.
pkg/flag/flag.go:218
↓ 2 callers
Method
Visit
(node interface{})
pkg/go/ast/walk.go:13
↓ 2 callers
Function
VisitAll
VisitAll visits the flags, calling fn for each. It visits all flags, even those not set.
pkg/flag/flag.go:211
↓ 2 callers
Function
Wait
WRUSAGE must not be too high a bit, to avoid clashing with Linux's WCLONE, WALL, and WNOTHREAD flags, which sit in the top few bits of the options Wai
pkg/os/exec.go:80
↓ 2 callers
Function
Wait4
sys wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, errno int)
pkg/syscall/syscall_bsd.go:124
↓ 2 callers
Method
WaitWrite
(fd *netFD)
pkg/net/fd.go:282
↓ 2 callers
Method
WakeFD
(fd *netFD, mode int)
pkg/net/fd.go:172
↓ 2 callers
Method
Wakeup
()
pkg/net/fd.go:274
↓ 2 callers
Function
Write
Write writes the binary representation of data into w. Data must be a fixed-size value or a pointer to a fixed-size value. A fixed-size value is eithe
pkg/encoding/binary/binary.go:153
↓ 2 callers
Method
Write
(b []byte)
pkg/encoding/pem/pem.go:172
↓ 2 callers
Method
Write
Write writes data to the output buffer, inserting the indentation string after each newline or form feed character. It cannot return an error.
pkg/exp/datafmt/datafmt.go:356
↓ 2 callers
Method
WriteBody
(w io.Writer)
pkg/http/transfer.go:129
↓ 2 callers
Function
WriteFile
(handle int32, buf []byte, done *uint32, overlapped *Overlapped)
pkg/syscall/zsyscall_windows_386.go:135
↓ 2 callers
Method
WriteRune
WriteRune appends the UTF-8 encoding of Unicode code point r to the buffer, returning its length and an error, which is always nil but is included to
pkg/bytes/buffer.go:179
↓ 2 callers
Method
WriteRune
WriteRune writes a single Unicode code point, returning the number of bytes written and any error.
pkg/bufio/bufio.go:442
↓ 2 callers
Function
Zip
Zip returns an Iterable of []interface{} consisting of the next element from each input Iterable. The length of the returned Iterable is the minimum
pkg/exp/iterable/iterable.go:222
↓ 2 callers
Function
_Block
(md *digest, p []byte)
pkg/crypto/ripemd160/ripemd160block.go:45
↓ 2 callers
Function
_Block
(dig *digest, p []byte)
pkg/crypto/sha512/sha512block.go:94
↓ 2 callers
Function
_Block
(dig *digest, p []byte)
pkg/crypto/md4/md4block.go:18
↓ 2 callers
Function
_Block
(dig *digest, p []byte)
pkg/crypto/sha1/sha1block.go:18
↓ 2 callers
Function
_Block
(dig *digest, p []byte)
pkg/crypto/md5/md5block.go:91
↓ 2 callers
Function
_Block
(dig *digest, p []byte)
pkg/crypto/sha256/sha256block.go:78
↓ 2 callers
Function
_d2v
pkg/runtime/arm/vlrt.c:83
↓ 2 callers
Function
_new
(t *reflect.PtrType)
pkg/rpc/server.go:269
↓ 2 callers
Function
_v2d
pkg/runtime/arm/vlrt.c:151
↓ 2 callers
Method
aGet
(a aborter)
pkg/exp/ogle/rvalue.go:106
↓ 2 callers
Method
aGet
(a aborter)
pkg/exp/ogle/rvalue.go:145
↓ 2 callers
Method
aGet
(a aborter)
pkg/exp/ogle/rvalue.go:227
↓ 2 callers
Method
aGet
(a aborter)
pkg/exp/ogle/rvalue.go:283
↓ 2 callers
Method
aGet
(a aborter)
pkg/exp/ogle/rvalue.go:487
↓ 2 callers
Method
aOuter
(a aborter)
pkg/exp/ogle/frame.go:174
↓ 2 callers
Function
accept
(s int, rsa *RawSockaddrAny, addrlen *_Socklen)
pkg/syscall/syscall_linux_386.go:88
↓ 2 callers
Method
accept
(toAddr func(syscall.Sockaddr) Addr)
pkg/net/fd.go:508
↓ 2 callers
Function
addAt
addAt implements z += x*(1<<(_W*i)); z must be long enough. (we don't use nat.add because we need z to stay the same slice, and we don't need to norma
pkg/big/nat.go:366
↓ 2 callers
Method
addFile
addFile adds the AST for a source file to the docReader. Adding the same AST multiple times is a no-op.
pkg/go/doc/doc.go:275
↓ 2 callers
Method
addLine
()
pkg/tabwriter/tabwriter.go:98
↓ 2 callers
Method
addRange
(a, b int)
pkg/regexp/regexp.go:179
↓ 2 callers
Method
addRange
(a, b int)
pkg/testing/regexp.go:168
↓ 2 callers
Function
addfinalizer
add finalizer; caller is responsible for making sure not already in table
pkg/runtime/mfinal.c:87
↓ 2 callers
Function
addfintab
pkg/runtime/mfinal.c:27
↓ 2 callers
Method
addr
()
pkg/reflect/value.go:521
↓ 2 callers
Method
addr
Address-sized uint.
pkg/debug/dwarf/buf.go:124
↓ 2 callers
Method
alineFromLine
(path string, line int)
pkg/debug/gosym/symtab.go:469
↓ 2 callers
Function
appendString
(in []string, v string)
pkg/crypto/x509/x509.go:485
↓ 2 callers
Function
arbitraryValues
arbitraryValues writes Values to args such that args contains Values suitable for calling f.
pkg/testing/quick/quick.go:322
↓ 2 callers
Method
arrayInterface
arrayInterface is like array but returns []interface{}.
pkg/json/decode.go:695
↓ 2 callers
Method
asInterface
()
pkg/exp/eval/expr1.go:58
↓ 2 callers
Method
asStruct
()
pkg/exp/eval/expr1.go:39
↓ 2 callers
Function
atoi
Convert decimal at s[i:len(s)] to integer, returning value, string position where the digits stopped, and whether there was a valid number (digits, no
pkg/http/request.go:331
↓ 2 callers
Method
badType
(rt reflect.Type)
pkg/gob/encoder.go:214
↓ 2 callers
Function
bad_eof
Unexpected EOF. */
pkg/runtime/goc2c.c:88
↓ 2 callers
Function
bad_eof
Unexpected EOF. */
pkg/runtime/cgo2c.c:86
↓ 2 callers
Function
bad_mem
Out of memory. */
pkg/runtime/goc2c.c:96
↓ 2 callers
Function
bad_mem
Out of memory. */
pkg/runtime/cgo2c.c:94
↓ 2 callers
Function
basicMul
basicMul multiplies x and y and leaves the result in z. The (non-normalized) result is placed in z[0 : len(x) + len(y)].
pkg/big/nat.go:221
↓ 2 callers
Function
bind
(s int, addr uintptr, addrlen _Socklen)
pkg/syscall/syscall_linux_386.go:103
↓ 2 callers
Function
blockToUint32
blockToUint32 reads an 8 byte slice into two uint32s. The block is treated as big endian.
pkg/crypto/xtea/block.go:19
↓ 2 callers
Method
byte
()
pkg/time/zoneinfo.go:50
↓ 2 callers
Method
bytes
(n int)
pkg/exp/nacl/srpc/msg.go:203
↓ 2 callers
Function
bytestr
Render byte array in a two-character hexadecimal string, spaced for easy visual inspection.
pkg/archive/tar/writer_test.go:85
↓ 2 callers
Function
cTolerance
(a, b complex128, e float64)
pkg/cmath/cmath_test.go:440
↓ 2 callers
Function
callend
(name string)
examples/channel/unbuffer.go:21
↓ 2 callers
Function
callers
func caller(n int) (pc uintptr, file string, line int, ok bool)
pkg/runtime/arm/traceback.c:89
↓ 2 callers
Function
callstart
(name string)
examples/channel/unbuffer.go:17
↓ 2 callers
Function
canExec
(file string)
pkg/exec/exec.go:186
↓ 2 callers
Function
canfit
(p *Piece)
pkg/exp/4s/xs.go:297
↓ 2 callers
Function
canonical
(w string)
examples/godoc-zh/index.go:632
↓ 2 callers
Function
cat
(f *file.File)
doc/progs/cat.go:14
↓ 2 callers
Function
cat
end of rotate13 implementation
doc/progs/cat_rot13.go:52
↓ 2 callers
Function
cgocall
pkg/runtime/cgocall.c:13
↓ 2 callers
Method
changeCipherSpec
changeCipherSpec changes the encryption and MAC states to the ones previously passed to prepareCipherSpec.
pkg/crypto/tls/conn.go:117
↓ 2 callers
Function
chanrecv
pkg/runtime/chan.c:283
↓ 2 callers
Function
chansend
* generic single channel send/recv * if the bool pointer is nil, * then the full exchange will * occur. if pres is not nil, * then the protocol wi
pkg/runtime/chan.c:179
↓ 2 callers
Function
check
(t *testing.T, filename string, src []byte)
pkg/ebnf/ebnf_test.go:42
↓ 2 callers
Function
check2ndField
(x interface{}, offs uintptr, t *testing.T)
pkg/reflect/all_test.go:638
↓ 2 callers
Function
checkChan
(chT interface{}, dir Dir)
pkg/netchan/export.go:195
↓ 2 callers
Function
checkError
checkError is a deferred function to turn a panic with type *Error into a plain error return. Other panics are unexpected and so are re-enabled.
pkg/template/template.go:883
↓ 2 callers
Method
checkExprOrType
checkExprOrType checks that x is an expression or a type (and not a raw type such as [...]T).
pkg/go/parser/parser.go:1200
↓ 2 callers
Method
checkExprOrType
checkExprOrType checks that x is an expression or a type (and not a raw type such as [...]T).
pkg/exp/parser/parser.go:1123
↓ 2 callers
Function
checkIntZero
(t *testing.T, a *IntVector, i int)
pkg/container/vector/intvector_test.go:66
↓ 2 callers
Method
checkLabels
Checks that labels were resolved and that all jumps obey scoping rules. Reports an error and set fc.err if any check fails.
pkg/exp/eval/stmt.go:1289
↓ 2 callers
Function
checkMode
(t *testing.T, path string, mode uint32)
pkg/os/os_test.go:361
↓ 2 callers
Function
checkPos
(t *testing.T, lit string, pos, expected token.Position)
pkg/go/scanner/scanner_test.go:199
↓ 2 callers
Function
checkSemi
(t *testing.T, line string, mode uint)
pkg/go/scanner/scanner_test.go:266
↓ 2 callers
Function
checkStrZero
(t *testing.T, a *StringVector, i int)
pkg/container/vector/stringvector_test.go:66
↓ 2 callers
Function
checkTime
(time *Time, test *ParseTest, t *testing.T)
pkg/time/time_test.go:208
↓ 2 callers
Function
checkValid
checkValid verifies that data is valid JSON-encoded data. scan is passed in for use by checkValid to avoid an allocation.
pkg/json/scanner.go:23
↓ 2 callers
Function
checkZero
(t *testing.T, a *Vector, i int)
pkg/container/vector/vector_test.go:66
↓ 2 callers
Function
checksum
POSIX specifies a sum of the unsigned byte values, but the Sun tar uses signed byte values. We compute and return both.
pkg/archive/tar/common.go:54
← previous
next →
1,801–1,900 of 8,676, ranked by callers