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
↓ 4 callers
Function
digitVal
(ch int)
pkg/go/scanner/scanner.go:261
↓ 4 callers
Function
doDial
(t *testing.T, network, addr string)
pkg/net/dialgoogle_test.go:32
↓ 4 callers
Function
dodiv
pkg/runtime/arm/vlrt.c:178
↓ 4 callers
Function
dodiv
pkg/runtime/386/vlrt.c:212
↓ 4 callers
Method
doprint
(a []interface{}, addspace, addnewline bool)
pkg/fmt/print.go:1067
↓ 4 callers
Function
encrypt
(c *big.Int, pub *PublicKey, m *big.Int)
pkg/crypto/rsa/rsa.go:236
↓ 4 callers
Function
eq
(a, b []string)
pkg/bytes/bytes_test.go:13
↓ 4 callers
Method
error
()
pkg/crypto/tls/conn.go:55
↓ 4 callers
Function
expandKey
Key expansion algorithm. See FIPS-197, Figure 11. Their rcon[i] is our powx[i-1] << 24.
pkg/crypto/aes/block.go:142
↓ 4 callers
Method
expr1
Sets multiLine to true if the expression spans multiple lines.
pkg/go/printer/nodes.go:736
↓ 4 callers
Method
exprFromType
(t Type)
pkg/exp/eval/expr.go:661
↓ 4 callers
Method
f
float
pkg/fmt/format.go:484
↓ 4 callers
Method
fill
fill reads a new chunk into the buffer.
pkg/bufio/bufio.go:84
↓ 4 callers
Function
filterValueDocs
(a []*ValueDoc, f Filter)
pkg/go/doc/doc.go:587
↓ 4 callers
Method
flush
Flush any buffered output to the underlying writer.
pkg/compress/flate/inflate.go:563
↓ 4 callers
Function
fmantissa
pkg/runtime/arm/softfloat.c:117
↓ 4 callers
Method
fmt_q
fmt_q formats a string as a double-quoted, escaped Go string constant.
pkg/fmt/format.go:354
↓ 4 callers
Method
fork
()
pkg/asn1/marshal.go:30
↓ 4 callers
Method
generate
Update this Huffman Code object to be the minimum code for the specified frequency count. freq An array of frequencies, in which frequency[i] gives
pkg/compress/flate/huffman_code.go:319
↓ 4 callers
Function
getLine
getLine results the first \r\n or \n delineated line from the given byte array. The line does not include the \r\n or \n. The remainder of the byte ar
pkg/encoding/pem/pem.go:35
↓ 4 callers
Function
getLine
getLine returns the first n lines of data and the remainder. If data has no newline, getLine returns data, nil, false
pkg/patch/patch.go:236
↓ 4 callers
Function
getString
(a interface{})
pkg/fmt/print.go:383
↓ 4 callers
Function
getgroups
(n int, list *_Gid_t)
pkg/syscall/zsyscall_linux_386.go:706
↓ 4 callers
Function
go_accessor_expr
Figures out what C code is needed to get the length of a list field. Recurses for math operations. Returns bitcount for value-mask fields. Otherw
pkg/xgb/go_client.py:160
↓ 4 callers
Method
h
(x float64)
pkg/rand/zipf.go:27
↓ 4 callers
Method
handle
(e Event)
pkg/exp/ogle/event.go:46
↓ 4 callers
Function
hash_insert_internal
pkg/runtime/hashmap.c:375
↓ 4 callers
Function
indentLen
(s []byte)
pkg/go/doc/comment.go:252
↓ 4 callers
Method
init
(filename string, src []byte, scope *ast.Scope, mode uint)
pkg/go/parser/parser.go:78
↓ 4 callers
Method
init
(filename string, src []byte, mode uint)
pkg/exp/parser/parser.go:83
↓ 4 callers
Method
init
Initialize Huffman decoding tables from array of code lengths.
pkg/compress/flate/inflate.go:79
↓ 4 callers
Function
initsema
Thread-safe allocation of a semaphore. Psema points at a kernel semaphore key. It starts out zero, meaning no semaphore. Fill it in, being careful of
pkg/runtime/darwin/thread.c:24
↓ 4 callers
Function
internetSocket
(net string, laddr, raddr sockaddr, proto int, mode string, toAddr func(syscall.Sockaddr) Addr)
pkg/net/ipsock.go:49
↓ 4 callers
Function
invalidLength
invalidLength returns true iff offset + length > sliceLength, or if the addition would overflow.
pkg/asn1/asn1.go:468
↓ 4 callers
Function
isDecimal
(ch int)
pkg/scanner/scanner.go:325
↓ 4 callers
Function
isPublic
Is this a publicly visible - upper case - name?
pkg/rpc/server.go:172
↓ 4 callers
Function
isSmall
(x digit)
pkg/bignum/bignum.go:95
↓ 4 callers
Function
itoa
Integer to decimal.
pkg/net/parse.go:163
↓ 4 callers
Function
itod
Convert i to decimal string.
pkg/os/exec.go:99
↓ 4 callers
Function
joinHostPort
Join "host" and "port" into "host:port". If host contains colons, will join into "[host]:port".
pkg/net/ipsock.go:185
↓ 4 callers
Function
kernelSupportsIPv6
Should we try to use the IPv4 socket interface if we're only dealing with IPv4 sockets? As long as the host system understands IPv6, it's okay to pas
pkg/net/ipsock.go:20
↓ 4 callers
Method
less
Paks are sorted by name (primary key) and by import path (secondary key).
examples/godoc-zh/index.go:222
↓ 4 callers
Method
letter
(u, l, t string)
pkg/unicode/maketables.go:198
↓ 4 callers
Function
lookup
(tab []string, val string)
pkg/time/format.go:209
↓ 4 callers
Method
lookupTypeDoc
(name string)
pkg/go/doc/doc.go:69
↓ 4 callers
Function
macherror
pkg/runtime/darwin/thread.c:176
↓ 4 callers
Function
makeBytes
strings.Bytes with one extra byte at end
pkg/utf8/utf8_test.go:48
↓ 4 callers
Function
makeCopy
(b []byte)
pkg/xml/xml.go:79
↓ 4 callers
Function
makeExprList
---------------------------------------------------------------------------- Common productions
pkg/go/parser/parser.go:399
↓ 4 callers
Function
makeN
(n int)
pkg/container/ring/ring_test.go:122
↓ 4 callers
Function
makeSource
(pattern string)
pkg/scanner/scanner_test.go:240
↓ 4 callers
Function
makeStmtList
---------------------------------------------------------------------------- Blocks
pkg/go/parser/parser.go:872
↓ 4 callers
Function
makeStmtList
---------------------------------------------------------------------------- Blocks
pkg/exp/parser/parser.go:772
↓ 4 callers
Function
makeValueDocs
(v *vector.Vector, tok token.Token)
pkg/go/doc/doc.go:376
↓ 4 callers
Function
match
(t *testing.T, err os.Error, pat string)
pkg/exp/eval/eval_test.go:91
↓ 4 callers
Function
medianOfThree
Quicksort, following Bentley and McIlroy, ``Engineering a Sort Function,'' SP&E November 1993. Move the median of the three values data[a], data[b], d
pkg/sort/sort.go:42
↓ 4 callers
Function
mgf1XOR
mgf1XOR XORs the bytes in out with a mask generated using the MGF1 function specified in PKCS#1 v2.1.
pkg/crypto/rsa/rsa.go:210
↓ 4 callers
Function
min
(a, b int)
pkg/exp/spacewar/spacewar.go:91
↓ 4 callers
Function
newClient
newClient creates a new Web Socket client connection.
pkg/websocket/client.go:51
↓ 4 callers
Function
newDecimal
(i uint64)
pkg/strconv/decimal.go:104
↓ 4 callers
Function
newFile
(fd int, name string)
doc/progs/file.go:17
↓ 4 callers
Method
nsPerOp
()
pkg/testing/benchmark.go:58
↓ 4 callers
Function
overflow
(name string)
pkg/gob/decode.go:42
↓ 4 callers
Function
pack
(x []digit2)
pkg/bignum/bignum.go:452
↓ 4 callers
Function
paeth
The Paeth filter function, as per the PNG specification.
pkg/image/png/reader.go:195
↓ 4 callers
Method
parseExpression
()
pkg/ebnf/parser.go:142
↓ 4 callers
Method
parseExpression
()
examples/godoc-zh/spec.go:133
↓ 4 callers
Function
parseInt64
INTEGER parseInt64 treats the given bytes as a big-endian, signed integer and returns the result.
pkg/asn1/asn1.go:61
↓ 4 callers
Method
parseSimpleStmt
---------------------------------------------------------------------------- Statements
pkg/go/parser/parser.go:1320
↓ 4 callers
Method
parseSimpleStmt
---------------------------------------------------------------------------- Statements
pkg/exp/parser/parser.go:1231
↓ 4 callers
Function
parseUint32
Big-endian.
pkg/image/png/reader.go:83
↓ 4 callers
Function
pow2
(i int)
pkg/strconv/fp_test.go:16
↓ 4 callers
Method
prepareCipherSpec
prepareCipherSpec sets the encryption and MAC states that a subsequent changeCipherSpec will use.
pkg/crypto/tls/conn.go:110
↓ 4 callers
Method
printData
(indent int, id typeId)
pkg/gob/debug.go:113
↓ 4 callers
Method
printField
(field interface{}, plus, sharp bool, depth int)
pkg/fmt/print.go:527
↓ 4 callers
Function
printVec
(t *testing.T, m []int)
pkg/regexp/all_test.go:122
↓ 4 callers
Function
printVec
(t *T, m []int)
pkg/testing/regexp_test.go:93
↓ 4 callers
Method
ptraceGetRegs
(regs *syscall.PtraceRegs)
pkg/debug/proc/proc_linux.go:239
↓ 4 callers
Function
ratToString
TODO(austin): Maybe add to bignum in more general form
pkg/exp/eval/util.go:12
↓ 4 callers
Function
readLine
readLineBytes, but convert the bytes into a string.
pkg/http/request.go:248
↓ 4 callers
Function
readSource
If src != nil, readSource converts src to a []byte if possible; otherwise it returns an error. If src == nil, readSource returns the result of reading
pkg/go/parser/interface.go:25
↓ 4 callers
Function
readSource
If src != nil, readSource converts src to a []byte if possible; otherwise it returns an error. If src == nil, readSource returns the result of reading
pkg/exp/parser/interface.go:26
↓ 4 callers
Function
readStr
Reads a length-prefixed string from r, using b as a scratch buffer.
pkg/exp/draw/x11/auth.go:38
↓ 4 callers
Method
readStrings
readStrings reads a list of strings from the NNTP connection, stopping at a line containing only a . (Convenience method for LIST, etc.)
pkg/nntp/nntp.go:228
↓ 4 callers
Function
readU16LE
Reads a little-endian uint16 from r, using b as a scratch buffer.
pkg/exp/draw/x11/conn.go:247
↓ 4 callers
Method
reduce
Compress entries which are the same according to a sort criteria (specified by less) into "runs".
examples/godoc-zh/index.go:65
↓ 4 callers
Method
resize
resize resizes block to be n bytes, growing if necessary.
pkg/crypto/tls/conn.go:221
↓ 4 callers
Function
reverseBits
(number uint16, bitLength byte)
pkg/compress/flate/reverse_bits.go:46
↓ 4 callers
Function
satan
satan reduces its argument (known to be positive) to the range [0,0.414...] and calls xatan.
pkg/math/atan.go:39
↓ 4 callers
Method
scanDigits
(base, length int)
pkg/go/scanner/scanner.go:348
↓ 4 callers
Method
scanDigits
(ch, base, n int)
pkg/scanner/scanner.go:401
↓ 4 callers
Method
scanMantissa
(ch int)
pkg/scanner/scanner.go:328
↓ 4 callers
Function
scanblock
pkg/runtime/mgc0.c:37
↓ 4 callers
Function
setFunc
Helper function to set the table entry for function f. Makes sure that at least one f with associated documentation is stored in table, if there are m
pkg/go/doc/doc.go:153
↓ 4 callers
Function
setReadTimeout
(fd *netFD, nsec int64)
pkg/net/sock.go:92
↓ 4 callers
Function
setWriteTimeout
(fd *netFD, nsec int64)
pkg/net/sock.go:97
↓ 4 callers
Function
setgroups
(n int, list *_Gid_t)
pkg/syscall/zsyscall_linux_386.go:713
↓ 4 callers
Function
sinhcosh
calculate sinh and cosh
pkg/cmath/sin.go:124
↓ 4 callers
Function
split
Maybe s is of the form t c u. If so, return t, c u (or t, u if cutc == true). If not, return s, "".
pkg/http/url.go:281
↓ 4 callers
Method
stmtList
maximum number of newlines between statements Print the statement list indented, but without a newline after the last statement. Extra line breaks bet
pkg/go/printer/nodes.go:925
← previous
next →
1,001–1,100 of 8,676, ranked by callers