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
↓ 7 callers
Method
new
(x uint64)
pkg/big/nat.go:76
↓ 7 callers
Function
newDecodeState
(b *bytes.Buffer)
pkg/gob/decode.go:35
↓ 7 callers
Function
newTypeAssertionError
For calling from C.
pkg/runtime/error.go:68
↓ 7 callers
Function
open
(name string)
pkg/net/parse.go:65
↓ 7 callers
Method
openScope
---------------------------------------------------------------------------- Scope support
pkg/go/parser/parser.go:277
↓ 7 callers
Method
parseExprList
()
pkg/exp/parser/parser.go:307
↓ 7 callers
Function
parseTagAndLength
Tagging parseTagAndLength parses an ASN.1 tag and length pair from the given offset into a byte array. It returns the parsed data and the new offset.
pkg/asn1/asn1.go:363
↓ 7 callers
Method
put1
put1 creates a flow control point at the next PC that jumps to one PC and, if cond is true, can also continue to the PC following the next PC.
pkg/exp/eval/stmt.go:97
↓ 7 callers
Method
readLine
()
pkg/net/parse.go:47
↓ 7 callers
Function
read_token_no_eof
Read a token, giving an error on EOF. */
pkg/runtime/goc2c.c:246
↓ 7 callers
Function
read_token_no_eof
Read a token, giving an error on EOF. */
pkg/runtime/cgo2c.c:244
↓ 7 callers
Function
recover
pkg/runtime/proc.c:1016
↓ 7 callers
Method
scanMantissa
(base int)
pkg/go/scanner/scanner.go:274
↓ 7 callers
Method
setState
setState sets this thread's state, starts a wait thread if necessary, and invokes state transition handlers. Must be called from the monitor thread.
pkg/debug/proc/proc_linux.go:459
↓ 7 callers
Method
slice
()
pkg/reflect/value.go:596
↓ 7 callers
Function
subVV
(z, x, y *Word, n int)
pkg/big/arith.go:297
↓ 7 callers
Function
tryRVString
(f func(a aborter) string)
pkg/exp/ogle/rvalue.go:79
↓ 7 callers
Method
tryType
()
pkg/go/parser/parser.go:866
↓ 7 callers
Method
tryType
()
pkg/exp/parser/parser.go:766
↓ 7 callers
Function
valueToString
valueToString returns a textual representation of the reflection value val. For debugging only.
pkg/reflect/tostring_test.go:18
↓ 7 callers
Function
verify
(t *testing.T, f Format, expected string, args ...)
pkg/exp/datafmt/datafmt_test.go:23
↓ 7 callers
Method
visitIdent
(kind SpotKind, id *ast.Ident)
examples/godoc-zh/index.go:453
↓ 7 callers
Function
vrnd
pkg/runtime/print.c:45
↓ 7 callers
Function
walkIdent
(v Visitor, x *Ident)
pkg/go/ast/walk.go:17
↓ 7 callers
Method
writeString
(p Priority, s string)
pkg/syslog/syslog.go:90
↓ 6 callers
Method
Addr
Addr returns a pointer to the underlying data. It is for advanced clients that also import the "unsafe" package.
pkg/reflect/value.go:66
↓ 6 callers
Method
Call
Call invokes the named function, waits for it to complete, and returns its error status.
pkg/rpc/client.go:235
↓ 6 callers
Function
CanonicalHeaderKey
CanonicalHeaderKey returns the canonical format of the HTTP header key s. The canonicalization converts the first letter and any letter following a h
pkg/http/request.go:370
↓ 6 callers
Function
Close
(fd int)
pkg/syscall/syscall_windows.go:259
↓ 6 callers
Function
DoTestString
(t *testing.T, parse func(string) (*URL, os.Error), name string, tests []URLTest)
pkg/http/url_test.go:257
↓ 6 callers
Method
Empty
Empty retruns true if r contains no points.
pkg/exp/draw/arith.go:77
↓ 6 callers
Method
ExitStatus
ExitStatus returns the exit status of the thread if it exited normally or -1 otherwise.
pkg/debug/proc/proc.go:202
↓ 6 callers
Function
Floor
Floor returns the greatest integer value less than or equal to x. Special cases are: Floor(+Inf) = +Inf Floor(-Inf) = -Inf Floor(NaN) = NaN
pkg/math/floor.go:14
↓ 6 callers
Method
Handshake
Handshake runs the client or server handshake protocol if it has not yet been run. Most uses of this packge need not call Handshake explicitly: the fi
pkg/crypto/tls/conn.go:613
↓ 6 callers
Method
Init
(ctxt draw.Context)
pkg/exp/spacewar/spacewar.go:98
↓ 6 callers
Method
Int31
Int31 returns a non-negative pseudo-random 31-bit integer as an int32.
pkg/rand/rand.go:43
↓ 6 callers
Method
Int63
Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
pkg/rand/rand.go:37
↓ 6 callers
Method
IsExported
IsExported returns whether id is an exported Go symbol (i.e., whether it begins with an uppercase letter).
pkg/go/ast/ast.go:380
↓ 6 callers
Function
IsInf
IsInf returns whether f is an infinity, according to sign. If sign > 0, IsInf returns whether f is positive infinity. If sign < 0, IsInf returns wheth
pkg/math/bits.go:43
↓ 6 callers
Method
IsKeyword
IsKeyword returns true for tokens corresponding to keywords; returns false otherwise.
pkg/go/token/token.go:323
↓ 6 callers
Function
IsSorted
(data Interface)
pkg/sort/sort.go:137
↓ 6 callers
Function
J1
* Bessel function of the first and second kinds of order one. */ The original C code and the long comment below are from FreeBSD's /usr/src/lib/msun/
pkg/math/j1.go:74
↓ 6 callers
Function
Log
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/log.go:57
↓ 6 callers
Function
NewWriterSize
NewWriterSize creates a new Writer whose buffer has the specified size, which must be greater than zero. If the argument io.Writer is already a Writer
pkg/bufio/bufio.go:336
↓ 6 callers
Method
Next
Next advances to the next entry in the tar archive.
pkg/archive/tar/reader.go:50
↓ 6 callers
Function
Nil
(a interface{}, t *testing.T)
pkg/reflect/all_test.go:675
↓ 6 callers
Method
Not
Not returns the ``bitwise not'' ^x for the 2's-complement representation of x.
pkg/bignum/integer.go:344
↓ 6 callers
Function
NotNil
(a interface{}, t *testing.T)
pkg/reflect/all_test.go:682
↓ 6 callers
Method
Now
()
pkg/net/fd.go:186
↓ 6 callers
Function
Parse
Parse parses a formatted string and returns the time value it represents. The layout defines the format by showing the representation of a standard ti
pkg/time/format.go:417
↓ 6 callers
Function
ParseIP
ParseIP parses s as an IP address, returning the result. The string s can be in dotted decimal ("74.125.19.99") or IPv6 ("2001:4860:0:2001::68") form.
pkg/net/ip.go:434
↓ 6 callers
Function
ParseURL
ParseURL parses rawurl into a URL structure. The string rawurl is assumed not to have a #fragment suffix. (Web browsers strip #fragment before sending
pkg/http/url.go:296
↓ 6 callers
Function
Pow
Pow returns x**y, the base-x exponential of y.
pkg/math/pow.go:13
↓ 6 callers
Method
Pow
Pow computes x to the power of n.
pkg/bignum/bignum.go:969
↓ 6 callers
Method
Quo
Quo sets z to the quotient x/y for y != 0 and returns z. If y == 0, a division-by-zero run-time panic occurs. See QuoRem for more details.
pkg/big/int.go:105
↓ 6 callers
Method
Readdir
Readdir reads the contents of the directory associated with file and returns an array of up to count FileInfo structures, as would be returned by Stat
pkg/os/file_unix.go:73
↓ 6 callers
Function
Signbit
Signbit returns true if x is negative or negative zero.
pkg/math/signbit.go:8
↓ 6 callers
Method
Size
()
pkg/debug/dwarf/type.go:21
↓ 6 callers
Method
Stat
Stat looks up the message with the given id and returns its message number in the current group, and vice versa. The returned message number can be "0
pkg/nntp/nntp.go:470
↓ 6 callers
Method
StopWaiting
(fd int, bits uint)
pkg/net/fd_linux.go:67
↓ 6 callers
Method
Stopped
Stopped returns the reason that this thread is stopped. It is an error is the thread not stopped.
pkg/debug/proc/proc.go:85
↓ 6 callers
Method
String
()
pkg/debug/proc/proc.go:31
↓ 6 callers
Method
String
()
pkg/expvar/expvar.go:36
↓ 6 callers
Method
To4
To4 converts the IPv4 address ip to a 4-byte representation. If ip is not an IPv4 address, To4 returns nil.
pkg/net/ip.go:93
↓ 6 callers
Method
ToTitle
ToTitle maps the rune to title case giving priority to the special mapping.
pkg/unicode/letter.go:226
↓ 6 callers
Method
Wait
Wait waits for the running command p, returning the Waitmsg returned by os.Wait and an error. The options are passed through to os.Wait. Setting optio
pkg/exec/exec.go:141
↓ 6 callers
Method
WriteString
WriteString writes a string. It returns the number of bytes written. If the count is less than len(s), it also returns an error explaining why the wri
pkg/bufio/bufio.go:473
↓ 6 callers
Function
Y1
Y1 returns the order-one Bessel function of the second kind. Special cases are: Y1(+Inf) = 0 Y1(0) = -Inf Y1(x < 0) = NaN Y1(NaN) = NaN
pkg/math/j1.go:156
↓ 6 callers
Method
addState
Append new state to to-do list. Leftmost-longest wins so avoid adding a state that's already active. The matchVec will be inc-ref'ed if it is assign
pkg/regexp/regexp.go:727
↓ 6 callers
Function
alias
alias returns true if x and y share the same base array.
pkg/big/nat.go:358
↓ 6 callers
Method
asFunc
()
pkg/exp/eval/expr1.go:45
↓ 6 callers
Function
bmIndex
(b *testing.B, index func([]byte, byte) int, n int)
pkg/bytes/bytes_test.go:190
↓ 6 callers
Method
body
()
pkg/nntp/nntp.go:220
↓ 6 callers
Function
bootstrapType
used for building the basic types; called only from init()
pkg/gob/type.go:347
↓ 6 callers
Function
byteIndex
(s string, c byte)
pkg/net/parse.go:73
↓ 6 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/exp/parser/parser.go:1046
↓ 6 callers
Function
checkSize
(t *testing.T, path string, size int64)
pkg/os/os_test.go:453
↓ 6 callers
Function
cstring
(b []byte)
pkg/debug/macho/file.go:320
↓ 6 callers
Function
decIndirect
Since the encoder writes no zeros, if we arrive at a decoder we have a value to extract and store. The field number has already been read (it's how w
pkg/gob/decode.go:139
↓ 6 callers
Method
decode
Decode an item from the connection.
pkg/netchan/common.go:65
↓ 6 callers
Method
div
(z2, u, v nat)
pkg/big/nat.go:508
↓ 6 callers
Method
doExecute
Accepts either string or bytes - the logic is identical either way. If bytes == nil, scan str.
pkg/testing/regexp.go:642
↓ 6 callers
Function
dtoi
Decimal to integer starting at &s[i0]. Returns number, new offset, success.
pkg/net/parse.go:121
↓ 6 callers
Function
encryptBlock
(l, r uint32, c *Cipher)
pkg/crypto/blowfish/block.go:51
↓ 6 callers
Function
enqueue
pkg/runtime/chan.c:978
↓ 6 callers
Method
error
(msg string)
pkg/exp/datafmt/datafmt.go:398
↓ 6 callers
Method
execError
Report error and stop executing. The line number must be provided explicitly.
pkg/template/template.go:186
↓ 6 callers
Method
expect
(tok token.Token)
pkg/exp/datafmt/parser.go:65
↓ 6 callers
Function
flagName
(i uint32, names []intName, goSyntax bool)
pkg/debug/elf/elf.go:1482
↓ 6 callers
Function
float64frombits
pkg/runtime/float.c:37
↓ 6 callers
Method
free
Save used pp structs in ppFree; avoids an allocation per invocation.
pkg/fmt/print.go:171
↓ 6 callers
Function
getFloat32
(a interface{})
pkg/fmt/print.go:407
↓ 6 callers
Function
getchar_no_eof
Read a character, giving an error on EOF, tracking lineno. */
pkg/runtime/goc2c.c:151
↓ 6 callers
Function
getchar_no_eof
Read a character, giving an error on EOF, tracking lineno. */
pkg/runtime/cgo2c.c:149
↓ 6 callers
Function
getenv
pkg/runtime/runtime.c:190
↓ 6 callers
Function
getnum
getnum parses s[0:1] or s[0:2] (fixed forces the latter) as a decimal integer and returns the integer and the remainder of the string.
pkg/time/format.go:364
↓ 6 callers
Method
isRunning
()
pkg/debug/proc/proc_linux.go:79
↓ 6 callers
Function
itab
pkg/runtime/iface.c:37
↓ 6 callers
Function
itod
Convert i to decimal string.
pkg/net/ip.go:157
↓ 6 callers
Method
logTrace
(format string, args ...interface{})
pkg/debug/proc/proc_linux.go:312
← previous
next →
601–700 of 8,676, ranked by callers