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
↓ 5 callers
Function
checkId
(want, got typeId)
pkg/gob/type.go:340
↓ 5 callers
Method
clearflags
()
pkg/fmt/format.go:56
↓ 5 callers
Method
clone
(data reflect.Value)
pkg/template/template.go:170
↓ 5 callers
Method
compile
compile compiles an expression AST. callCtx should be true if this AST is in the function position of a function call node; it allows the returned ex
pkg/exp/eval/expr.go:477
↓ 5 callers
Function
compileTest
(t *T, expr string, error string)
pkg/testing/regexp_test.go:85
↓ 5 callers
Method
convertToInt
convertToInt converts this expression to an integer, if possible, or produces an error if not. This accepts ideal ints, uints, and ints. If max is n
pkg/exp/eval/expr.go:157
↓ 5 callers
Method
declIdentList
(scope *ast.Scope, list []*ast.Ident)
pkg/go/parser/parser.go:334
↓ 5 callers
Function
decrypt
decrypt performs an RSA decryption, resulting in a plaintext integer. If a random source is given, RSA blinding is used.
pkg/crypto/rsa/rsa.go:318
↓ 5 callers
Function
delayClose
(t *testing.T, cl closer, ch chan int, tt pipeTest)
pkg/io/pipe_test.go:168
↓ 5 callers
Method
diagOpType
(op token.Token, vt Type)
pkg/exp/eval/expr.go:66
↓ 5 callers
Method
encode
Encode a header and payload onto the connection.
pkg/netchan/common.go:76
↓ 5 callers
Method
eof
eof tells the scanner that the end of input has been reached. It returns a scan status just as s.step does.
pkg/json/scanner.go:139
↓ 5 callers
Function
eq
(a, b []string)
pkg/strings/strings_test.go:15
↓ 5 callers
Function
equal
Safely, does s[n:n+len(t)] == t?
pkg/template/template.go:202
↓ 5 callers
Method
executeElement
Execute element i. Return next index to execute.
pkg/template/template.go:728
↓ 5 callers
Function
fabort
pkg/runtime/arm/softfloat.c:9
↓ 5 callers
Function
fail
()
pkg/flag/flag.go:265
↓ 5 callers
Function
fcntl
(fd, cmd, arg int)
pkg/syscall/syscall_nacl.go:123
↓ 5 callers
Function
fillBytes
Fill buf through n writes of byte slice fub. The initial contents of buf corresponds to the string s; the result is the final contents of buf returned
pkg/bytes/buffer_test.go:73
↓ 5 callers
Function
float64tobits
pkg/runtime/float.c:24
↓ 5 callers
Method
flush
Flush prints any pending comments and whitespace occuring textually before the position of the next token tok. Flush returns true if a pending formfee
pkg/go/printer/printer.go:827
↓ 5 callers
Method
fmt_s
fmt_s formats a string.
pkg/fmt/format.go:319
↓ 5 callers
Method
freeBlock
freeBlock returns a block to hc's free list. The protocol is such that each side only has a block or two on its free list at a time, so there's no nee
pkg/crypto/tls/conn.go:290
↓ 5 callers
Function
funcline
Return actual file line number for targetpc in func f. (Source file is f->src.) NOTE(rsc): If you edit this function, also edit extern.go:/FileLine
pkg/runtime/symtab.c:307
↓ 5 callers
Function
getCharinfo
(b []byte, v *Charinfo)
pkg/xgb/xproto.go:2177
↓ 5 callers
Function
getComplex128
(a interface{})
pkg/fmt/print.go:475
↓ 5 callers
Function
getComplex64
(a interface{})
pkg/fmt/print.go:453
↓ 5 callers
Method
getc
Read a single byte. If there is no byte to read, return ok==false and leave the error in p.err. Maintain line number.
pkg/xml/xml.go:690
↓ 5 callers
Function
go_type_setup
Sets up all the Go-related state by adding additional data fields to all Field and Type objects. Here is where we figure out most of our variable
pkg/xgb/go_client.py:114
↓ 5 callers
Method
grow
Writing to msg.wdata.
pkg/exp/nacl/srpc/msg.go:217
↓ 5 callers
Function
incerr
pkg/runtime/chan.c:155
↓ 5 callers
Function
isBlank
(s []byte)
pkg/go/doc/comment.go:261
↓ 5 callers
Function
kindaclose
(a, b float64)
pkg/math/all_test.go:1408
↓ 5 callers
Function
leadingZeros
Number of leading zeros in x.
pkg/big/arith.go:235
↓ 5 callers
Method
line
(i int)
pkg/tabwriter/tabwriter.go:101
↓ 5 callers
Function
max
(a, b int)
pkg/strconv/ftoa.go:403
↓ 5 callers
Function
mul
(x, y Natural)
pkg/bignum/bignum_test.go:267
↓ 5 callers
Function
mustGetTypeInfo
Called only when a panic is acceptable and unexpected.
pkg/gob/type.go:428
↓ 5 callers
Function
newHuffmanEncoder
(size int)
pkg/compress/flate/huffman_code.go:60
↓ 5 callers
Function
newInt
(n int)
pkg/asn1/asn1_test.go:217
↓ 5 callers
Function
nextValue
nextValue splits data after the next whole JSON value, returning that value and the bytes that follow it as separate slices. scan is passed in for use
pkg/json/scanner.go:39
↓ 5 callers
Function
packStruct
(any interface{}, msg []byte, off int)
pkg/net/dnsmsg.go:428
↓ 5 callers
Method
parseBlockStmt
(idents []*ast.Ident)
pkg/exp/parser/parser.go:807
↓ 5 callers
Method
parseComment
Consume semicolon if there is one and getSemi is set, and get any line comment. Return the comment if any and indicate if a semicolon was consumed.
pkg/exp/parser/parser.go:1686
↓ 5 callers
Method
parseStmtList
()
pkg/exp/parser/parser.go:781
↓ 5 callers
Function
printStruct
(any interface{})
pkg/net/dnsmsg.go:522
↓ 5 callers
Method
printTrace
---------------------------------------------------------------------------- Parsing support
pkg/go/parser/parser.go:95
↓ 5 callers
Method
printTrace
---------------------------------------------------------------------------- Parsing support
pkg/exp/parser/parser.go:94
↓ 5 callers
Function
rawValueIsInteger
rawValueIsInteger returns true iff the given ASN.1 RawValue is an INTEGER type.
pkg/crypto/x509/x509.go:32
↓ 5 callers
Method
readRecord
readRecord reads the next TLS record from the connection and updates the record layer state. c.in.Mutex <= L; c.input == nil.
pkg/crypto/tls/conn.go:312
↓ 5 callers
Function
read_token
Read and return a token. Tokens are delimited by whitespace or by [(),{}]. The latter are all returned as single characters. */
pkg/runtime/goc2c.c:201
↓ 5 callers
Function
read_token
Read and return a token. Tokens are delimited by whitespace or by [(),{}]. The latter are all returned as single characters. */
pkg/runtime/cgo2c.c:199
↓ 5 callers
Method
safeString
not public; only for debugging
pkg/gob/type.go:47
↓ 5 callers
Method
setError
(err os.Error)
pkg/crypto/tls/conn.go:45
↓ 5 callers
Function
setTypeId
set in init() after builtins are established
pkg/gob/type.go:54
↓ 5 callers
Function
setpiece
(p *Piece)
pkg/exp/4s/xs.go:228
↓ 5 callers
Method
someRunningThread
someRunningThread returns a running thread from the process. Returns nil if no threads are running. Must be called from the monitor thread.
pkg/debug/proc/proc_linux.go:344
↓ 5 callers
Method
space
Skip spaces if any
pkg/xml/xml.go:671
↓ 5 callers
Function
stateEndValue
stateEndValue is the state after completing a value, such as after reading `{}` or `true` or `["x"`.
pkg/json/scanner.go:273
↓ 5 callers
Method
stmt
Sets multiLine to true if the statements spans multiple lines.
pkg/go/printer/nodes.go:1016
↓ 5 callers
Function
typeListString
(ts []Type, ns []*ast.Ident)
pkg/exp/eval/type.go:759
↓ 5 callers
Method
uint16
()
pkg/debug/dwarf/buf.go:67
↓ 5 callers
Method
unmarshal
([]byte)
pkg/crypto/tls/common.go:98
↓ 5 callers
Function
urlEscape
(s string, doPlus bool)
pkg/http/url.go:193
↓ 5 callers
Function
urlUnescape
urlUnescape is like URLUnescape but can be told not to convert + into space. URLUnescape implements what is called "URL encoding" but that only appli
pkg/http/url.go:137
↓ 5 callers
Function
white
-- Lexical analysis Is c a white space character?
pkg/template/template.go:199
↓ 5 callers
Function
writeAny
Write anything to w; optionally html-escaped.
examples/godoc-zh/godoc.go:562
↓ 5 callers
Method
writeRecord
(r *record)
pkg/crypto/tls/record_write.go:107
↓ 5 callers
Method
writeWhitespace
whiteWhitespace writes the first n whitespace entries.
pkg/go/printer/printer.go:677
↓ 5 callers
Function
xadd
Add delta to *val, and return the new *val in a thread-safe way. If multiple goroutines call xadd on the same val concurrently, the changes will be se
pkg/sync/mutex.go:26
↓ 5 callers
Function
zero
(x []uint32)
pkg/crypto/blowfish/block.go:97
↓ 4 callers
Function
Acos
Complex circular arc cosine DESCRIPTION: w = arccos z = PI/2 - arcsin z. ACCURACY: Relative error: arithmetic domain # trials peak
pkg/cmath/asin.go:94
↓ 4 callers
Method
Align
Align returns the alignment of a value of this type when allocated in memory.
pkg/reflect/type.go:283
↓ 4 callers
Method
And
And returns the ``bitwise and'' x & y for the 2's-complement representation of x and y.
pkg/bignum/bignum.go:680
↓ 4 callers
Function
Args
Args returns the non-flag command-line arguments.
pkg/flag/flag.go:289
↓ 4 callers
Function
Asin
The original C code, the long comment, and the constants below are from http://netlib.sandia.gov/cephes/c9x-complex/clog.c. The go code is a simplifie
pkg/cmath/asin.go:51
↓ 4 callers
Function
Asin
* Floating-point arcsine and arccosine. They are implemented by computing the arctangent after appropriate range reduction. */ Asin returns the ar
pkg/math/asin.go:20
↓ 4 callers
Method
At
At returns the i'th element of the vector.
pkg/container/vector/intvector.go:96
↓ 4 callers
Method
At
At returns the i'th element of the vector.
pkg/container/vector/stringvector.go:96
↓ 4 callers
Function
Atan
Complex circular arc tangent DESCRIPTION: If z = x + iy, then 1 ( 2x ) Re w = - arctan(-----------) + k PI 2 ( 2 2) (
pkg/cmath/asin.go:142
↓ 4 callers
Function
Atan
Atan returns the arctangent of x. Special cases are: Atan(±0) = ±0 Atan(±Inf) = ±Pi/2
pkg/math/atan.go:54
↓ 4 callers
Function
Atoi
Atoi is like Atoi64 but returns its result as an int.
pkg/strconv/atoi.go:188
↓ 4 callers
Function
Atoi64
Atoi64 is like Atoui64 but allows signed numbers and returns its result in an int64.
pkg/strconv/atoi.go:171
↓ 4 callers
Method
Chdir
Chdir changes the current working directory to the file, which must be a directory.
pkg/os/file.go:262
↓ 4 callers
Method
CheckSignatureFrom
CheckSignatureFrom verifies that the signature on c is a valid signature from parent.
pkg/crypto/x509/x509.go:362
↓ 4 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/rational.go:118
↓ 4 callers
Method
Complete
(def Type)
pkg/exp/eval/type.go:1113
↓ 4 callers
Function
DeepEqual
DeepEqual tests for deep equality. It uses normal == equality where possible but will scan members of arrays, slices, and fields of structs. It correc
pkg/reflect/deepequal.go:125
↓ 4 callers
Method
DefineTemp
(t Type)
pkg/exp/eval/scope.go:124
↓ 4 callers
Method
DefineVar
(name string, t Type, val Value)
pkg/exp/eval/world.go:178
↓ 4 callers
Function
Dial
Dial establishes a connection to a log daemon by connecting to address raddr on the network net. Each write to the returned writer sends a log message
pkg/syslog/syslog.go:51
↓ 4 callers
Function
DoTest
(t *testing.T, parse func(string) (*URL, os.Error), name string, tests []URLTest)
pkg/http/url_test.go:233
↓ 4 callers
Function
Encode
Encode encodes src into EncodedLen(len(src)) bytes of dst. As a convenience, it returns the number of bytes written to dst, but this value is always
pkg/encoding/git85/git.go:51
↓ 4 callers
Function
Encode
* * Encoder */ Encode encodes src into at most MaxEncodedLen(len(src)) bytes of dst, returning the actual number of bytes written. The encoding han
pkg/encoding/ascii85/ascii85.go:28
↓ 4 callers
Method
Encode
* * Encoder */ Encode encodes src using the encoding enc, writing EncodedLen(len(src)) bytes to dst. The encoding pads the output to a multiple of
pkg/encoding/base64/base64.go:63
↓ 4 callers
Method
ErrorCount
ErrorCount returns the number of errors collected.
pkg/go/scanner/errors.go:46
↓ 4 callers
Function
Filter
Filter returns an Iterable that returns the elements of iter that satisfy f.
pkg/exp/iterable/iterable.go:72
↓ 4 callers
Function
Float
Float defines a float flag with specified name, default value, and usage string. The return value is the address of a float variable that stores the v
pkg/flag/flag.go:383
↓ 4 callers
Method
FormValue
FormValue returns the first value for the named component of the query. FormValue calls ParseForm if necessary.
pkg/http/request.go:629
↓ 4 callers
Method
Fprint
---------------------------------------------------------------------------- Convenience functions Fprint formats each argument according to the forma
pkg/exp/datafmt/datafmt.go:696
← previous
next →
801–900 of 8,676, ranked by callers