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
↓ 3 callers
Method
ptracePokeText
(addr uintptr, out []byte)
pkg/debug/proc/proc_linux.go:231
↓ 3 callers
Method
put
put creates a flow control point for the next PC in the code buffer. This should be done before pushing the instruction into the code buffer.
pkg/exp/eval/stmt.go:82
↓ 3 callers
Function
put4
(p []byte, v uint32)
pkg/compress/gzip/gzip.go:65
↓ 3 callers
Function
randomString
(n int, rand *rand.Rand)
pkg/crypto/tls/handshake_messages_test.go:93
↓ 3 callers
Function
readLineBytes
Read a line of bytes (up to \n) from b. Give up if the line exceeds maxLineLength. The returned bytes are a pointer into storage in the bufio, so they
pkg/http/request.go:224
↓ 3 callers
Function
readPng
(filename string)
pkg/image/png/reader_test.go:36
↓ 3 callers
Function
readylocked
Mark g ready to run. Sched is already locked. G might be running already and about to stop. The sched lock protects g->status from changing underfoot
pkg/runtime/proc.c:240
↓ 3 callers
Method
realloc
(length, capacity int)
pkg/container/vector/intvector.go:11
↓ 3 callers
Method
realloc
(length, capacity int)
pkg/container/vector/vector.go:11
↓ 3 callers
Method
realloc
(length, capacity int)
pkg/container/vector/stringvector.go:11
↓ 3 callers
Method
recv
()
pkg/exp/nacl/srpc/msg.go:105
↓ 3 callers
Function
redirect
(c *http.Conn, r *http.Request)
examples/godoc-zh/godoc.go:863
↓ 3 callers
Function
runIndexTests
Execute f on each test case. funcName should be the name of f; it's used in failure reports.
pkg/strings/strings_test.go:92
↓ 3 callers
Function
runStringTests
Execute f on each test case. funcName should be the name of f; it's used in failure reports.
pkg/strings/strings_test.go:250
↓ 3 callers
Function
runStringTests
Execute f on each test case. funcName should be the name of f; it's used in failure reports.
pkg/bytes/bytes_test.go:383
↓ 3 callers
Function
s
(n uint64)
pkg/container/vector/numbers_test.go:18
↓ 3 callers
Function
same
(t, u *Time)
pkg/time/time_test.go:45
↓ 3 callers
Method
scanExponent
(ch int)
pkg/scanner/scanner.go:344
↓ 3 callers
Function
score
(p int)
pkg/exp/4s/xs.go:323
↓ 3 callers
Function
sections
sections returns a collection of file sections, each of which begins with a line satisfying prefix. text before the first instance of such a line is r
pkg/patch/patch.go:256
↓ 3 callers
Function
seedrand
seed rng x[n+1] = 48271 * x[n] mod (2**31 - 1)
pkg/rand/rng.go:192
↓ 3 callers
Method
send
()
pkg/testing/script/script.go:39
↓ 3 callers
Method
sendError
(hdr *header, err string)
pkg/netchan/export.go:76
↓ 3 callers
Method
sendPointList
(list []Point, count int)
pkg/xgb/xproto.go:39
↓ 3 callers
Method
sendRectangleList
(list []Rectangle, count int)
pkg/xgb/xproto.go:64
↓ 3 callers
Function
serveHTMLDoc
(c *http.Conn, r *http.Request, path string)
examples/godoc-zh/godoc.go:814
↓ 3 callers
Function
setDefaultValue
setDefaultValue is used to install a default value, from a tag string, into a Value. It is successful is the field was optional, even if a default val
pkg/asn1/asn1.go:718
↓ 3 callers
Method
setError
(err os.Error)
pkg/gob/encoder.go:218
↓ 3 callers
Function
setReadBuffer
(fd *netFD, bytes int)
pkg/net/sock.go:80
↓ 3 callers
Function
setTimeout
(fd *netFD, nsec int64)
pkg/net/sock.go:102
↓ 3 callers
Function
setWriteBuffer
(fd *netFD, bytes int)
pkg/net/sock.go:86
↓ 3 callers
Function
setfloat
(v reflect.Value, f float64)
pkg/json/struct.go:36
↓ 3 callers
Function
setint
(v reflect.Value, i int64)
pkg/json/struct.go:47
↓ 3 callers
Method
shiftRightDeprecated
(x nat, n uint)
pkg/big/nat.go:819
↓ 3 callers
Method
shr
z = x >> s
pkg/big/nat.go:773
↓ 3 callers
Method
signature
Sets multiLine to true if the signature spans multiple lines.
pkg/go/printer/nodes.go:320
↓ 3 callers
Function
size
(name string, t *testing.T)
pkg/os/os_test.go:36
↓ 3 callers
Method
sockaddr
(family int)
pkg/net/ipsock.go:45
↓ 3 callers
Method
spec
The parameter n is the number of specs in the group; context specifies the surroundings of the declaration. Separating semicolons are printed dependin
pkg/go/printer/nodes.go:1201
↓ 3 callers
Function
strings
()
doc/progs/sortmain.go:21
↓ 3 callers
Function
stripParens
TODO(gri): Decide if this should be used more broadly. The printing code knows when to insert parentheses for precedence reasons, but need to be caref
pkg/go/printer/nodes.go:967
↓ 3 callers
Function
structValue
(any interface{})
pkg/net/dnsmsg.go:424
↓ 3 callers
Function
structsize
(fieldlist)
pkg/xgb/go_client.py:264
↓ 3 callers
Function
tab
(indent int)
pkg/gob/debug.go:212
↓ 3 callers
Function
tenRunes
(rune int)
pkg/strings/strings_test.go:290
↓ 3 callers
Function
tenRunes
(rune int)
pkg/bytes/bytes_test.go:392
↓ 3 callers
Function
testFileLevel
Tests that compressing and then decompressing the given file at the given compression level yields equivalent bytes to the original file.
pkg/compress/zlib/writer_test.go:21
↓ 3 callers
Function
testTimeout
(t *testing.T, network, addr string, readFrom bool)
pkg/net/timeout_test.go:13
↓ 3 callers
Method
text
Read plain text section (XML calls it character data). If quote >= 0, we are in a quoted string and need to find the matching quote. If cdata == true,
pkg/xml/xml.go:755
↓ 3 callers
Method
toAddr
()
pkg/net/tcpsock.go:49
↓ 3 callers
Function
trailingZeroBits
trailingZeroBits returns the number of consecutive zero bits on the right side of the given Word. See Knuth, volume 4, section 7.3.1
pkg/big/nat.go:728
↓ 3 callers
Method
translate
Apply name space translation to name n. The default name space (for Space=="") applies only to element names, not to attribute names.
pkg/xml/xml.go:280
↓ 3 callers
Function
tryOneName
Do a lookup for a single name, which must be rooted (otherwise answer will not find the answers).
pkg/net/dnsclient.go:146
↓ 3 callers
Method
typeOfSym
typeOfSym returns the type associated with a symbol. If the symbol has no type, returns nil.
pkg/exp/ogle/vars.go:203
↓ 3 callers
Method
uint32
()
pkg/encoding/binary/binary.go:253
↓ 3 callers
Method
uint32
(x uint32)
pkg/encoding/binary/binary.go:259
↓ 3 callers
Method
uint64
()
pkg/encoding/binary/binary.go:264
↓ 3 callers
Method
uint64
(x uint64)
pkg/encoding/binary/binary.go:270
↓ 3 callers
Method
uint64
()
pkg/debug/dwarf/buf.go:83
↓ 3 callers
Method
uint64
()
pkg/exp/nacl/srpc/msg.go:188
↓ 3 callers
Function
umtx_lock
See linux/thread.c for comments about the algorithm.
pkg/runtime/freebsd/thread.c:41
↓ 3 callers
Function
umtx_unlock
pkg/runtime/freebsd/thread.c:70
↓ 3 callers
Function
undrawpiece
()
pkg/exp/4s/xs.go:280
↓ 3 callers
Function
unhex
(c byte)
pkg/patch/git.go:44
↓ 3 callers
Function
unixSocket
(net string, laddr, raddr *UnixAddr, mode string)
pkg/net/unixsock.go:14
↓ 3 callers
Function
unlock
pkg/runtime/nacl/thread.c:81
↓ 3 callers
Method
unmarshal
([]byte)
pkg/crypto/tls/handshake_messages_test.go:26
↓ 3 callers
Function
unpackRR
Resource record unpacker.
pkg/net/dnsmsg.go:544
↓ 3 callers
Function
update
(crc uint64, tab *Table, p []byte)
pkg/hash/crc64/crc64.go:60
↓ 3 callers
Function
valueOrDefault
Return value if nonempty, def otherwise.
pkg/http/request.go:143
↓ 3 callers
Method
varValue
Look up a variable or method, up through the parent if necessary.
pkg/template/template.go:693
↓ 3 callers
Function
verify
(t *testing.T, testname string, w *Writer, b *buffer, src, expected string)
pkg/tabwriter/tabwriter_test.go:54
↓ 3 callers
Function
verify_slice
(t *testing.T, x *Vector, elt, i, j int)
pkg/container/vector/vector_test.go:211
↓ 3 callers
Function
verify_sliceInt
(t *testing.T, x *IntVector, elt, i, j int)
pkg/container/vector/intvector_test.go:211
↓ 3 callers
Function
verify_sliceStr
(t *testing.T, x *StringVector, elt, i, j int)
pkg/container/vector/stringvector_test.go:211
↓ 3 callers
Function
veryclose
(a, b float64)
pkg/cmath/cmath_test.go:429
↓ 3 callers
Method
wakeWaiters
()
pkg/crypto/tls/record_process.go:156
↓ 3 callers
Function
walksymtab
Walk over symtab, calling fn(&s) for each symbol.
pkg/runtime/symtab.c:32
↓ 3 callers
Function
write
(t *testing.T, testname string, w *Writer, src string)
pkg/tabwriter/tabwriter_test.go:43
↓ 3 callers
Method
writeBlock
(tokens []token, index int, eof bool)
pkg/compress/flate/deflate.go:155
↓ 3 callers
Method
writeNewlines
(n int, useFF bool)
pkg/go/printer/printer.go:208
↓ 3 callers
Function
writeNode
---------------------------------------------------------------------------- Templates Write an AST-node to w; optionally html-escaped.
examples/godoc-zh/godoc.go:532
↓ 3 callers
Method
writePadding
(textw, cellw int, useTabs bool)
pkg/tabwriter/tabwriter.go:257
↓ 3 callers
Method
writeStoredHeader
(length int, isEof bool)
pkg/compress/flate/huffman_bit_writer.go:334
↓ 3 callers
Function
writeText
Write text to w; optionally html-escaped.
examples/godoc-zh/godoc.go:546
↓ 3 callers
Method
wuint64
(x uint64)
pkg/exp/nacl/srpc/msg.go:238
↓ 3 callers
Function
xatan
* Floating-point arctangent. Atan returns the value of the arctangent of its argument in the range [-pi/2,pi/2]. There are no error returns. Coe
pkg/math/atan.go:18
↓ 3 callers
Function
xlock
pkg/runtime/nacl/thread.c:52
↓ 3 callers
Function
xmalloc
Allocate memory without fail. */
pkg/runtime/goc2c.c:104
↓ 3 callers
Function
xmalloc
Allocate memory without fail. */
pkg/runtime/cgo2c.c:102
↓ 3 callers
Method
xor
(x, y nat)
pkg/big/nat.go:891
↓ 3 callers
Function
xunlock
pkg/runtime/nacl/thread.c:61
↓ 2 callers
Method
Add
Add returns the rectangle r translated by p: Rpt(r.Min.Add(p), r.Max.Add(p)).
pkg/exp/draw/arith.go:53
↓ 2 callers
Method
Addr
Addr returns the Exporter's local network address.
pkg/netchan/export.go:193
↓ 2 callers
Method
And
And returns the ``bitwise and'' x & y for the 2's-complement representation of x and y.
pkg/bignum/integer.go:357
↓ 2 callers
Method
AndNot
AndNot returns the ``bitwise clear'' x &^ y for the 2's-complement representation of x and y.
pkg/bignum/integer.go:380
↓ 2 callers
Function
Any
Any tests whether f is true for at least one element of iter.
pkg/exp/iterable/iterable.go:36
↓ 2 callers
Method
Apply
Apply applies the changes listed in the diff to the string s, returning the new version of the string. Note that the string s need not be a text strin
pkg/patch/patch.go:50
↓ 2 callers
Function
ArrayCopy
ArrayCopy copies the contents of src into dst until either dst has been filled or src has been exhausted. It returns the number of elements copied. Th
pkg/reflect/value.go:528
↓ 2 callers
Method
Article
Article returns the article named by id as an *Article.
pkg/nntp/nntp.go:494
← previous
next →
1,501–1,600 of 8,676, ranked by callers