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
↓ 6 callers
Function
malg
pkg/runtime/proc.c:798
↓ 6 callers
Function
matchmg
Kick off new ms as needed (up to mcpumax). There are already `other' other cpus that will start looking for goroutines shortly. Sched is locked.
pkg/runtime/proc.c:409
↓ 6 callers
Function
maybeId
(cmd, id string)
pkg/nntp/nntp.go:186
↓ 6 callers
Function
min
(left int, right int)
pkg/compress/flate/util.go:7
↓ 6 callers
Function
newPrinter
Allocate a new pp struct. Probably can grab the previous one from ppFree.
pkg/fmt/print.go:161
↓ 6 callers
Function
newTypeArrayMap
()
pkg/exp/eval/type.go:95
↓ 6 callers
Function
newline
(dst *bytes.Buffer, prefix, indent string, depth int)
pkg/json/indent.go:41
↓ 6 callers
Method
nodeSize
nodeSize determines the size of n in chars after formatting. The result is <= maxSize if the node fits on one line with at most maxSize chars and the
pkg/go/printer/nodes.go:1298
↓ 6 callers
Function
norm
Normalize actual 32-bit integer i to 18-bit ones-complement integer. Interpret mod 0777777, because 0777777 == -0 == +0 == 0000000.
pkg/exp/spacewar/pdp1.go:136
↓ 6 callers
Method
numeric
Write x into b, either as octal or as binary (GNUtar/star extension).
pkg/archive/tar/writer.go:93
↓ 6 callers
Method
parseExprList
()
pkg/go/parser/parser.go:408
↓ 6 callers
Method
parseExpression
()
pkg/exp/datafmt/parser.go:263
↓ 6 callers
Method
parseIdent
(kind ast.ObjKind)
pkg/go/parser/parser.go:286
↓ 6 callers
Method
parseStmtList
()
pkg/go/parser/parser.go:881
↓ 6 callers
Function
printhex
pkg/runtime/print.c:304
↓ 6 callers
Function
readTemplate
(name string)
examples/godoc-zh/godoc.go:729
↓ 6 callers
Function
reads
Call Read to accumulate the text of a file
pkg/bufio/bufio_test.go:107
↓ 6 callers
Method
reset
reset prepares the scanner for use. It must be called before calling s.step.
pkg/json/scanner.go:131
↓ 6 callers
Method
scan
scan returns the natural number corresponding to the longest possible prefix of s representing a natural number in a given conversion base, the actual
pkg/big/nat.go:642
↓ 6 callers
Function
sendResponse
(sending *sync.Mutex, req *Request, reply interface{}, codec ServerCodec, errmsg string)
pkg/rpc/server.go:275
↓ 6 callers
Method
sendString
(str string)
pkg/xgb/xgb.go:176
↓ 6 callers
Function
servePage
---------------------------------------------------------------------------- Generic HTML wrapper
examples/godoc-zh/godoc.go:767
↓ 6 callers
Method
set
(value interface{})
examples/godoc-zh/godoc.go:43
↓ 6 callers
Function
setsockoptInt
(fd, level, opt int, value int)
pkg/net/sock.go:71
↓ 6 callers
Function
setup
()
pkg/crypto/tls/record_process_test.go:13
↓ 6 callers
Method
sockaddr
()
pkg/syscall/syscall_linux.go:192
↓ 6 callers
Function
strip85
(s string)
pkg/encoding/ascii85/ascii85_test.go:43
↓ 6 callers
Function
testFunNN
(t *testing.T, msg string, f funNN, a argNN)
pkg/big/nat_test.go:81
↓ 6 callers
Function
testFunZZ
(t *testing.T, msg string, f funZZ, a argZZ)
pkg/big/int_test.go:63
↓ 6 callers
Function
testScanSelectedMode
(t *testing.T, mode uint, class int)
pkg/scanner/scanner_test.go:344
↓ 6 callers
Function
toValue
(val interface{})
pkg/exp/eval/eval_test.go:155
↓ 6 callers
Function
try
try executes a computation; if the computation Aborts, try returns the error passed to abort.
pkg/exp/ogle/abort.go:27
↓ 6 callers
Function
unpack
DivMod needs multi-precision division, which is not available if digit is already using the largest uint size. Instead, unpack each operand into opera
pkg/bignum/bignum.go:434
↓ 6 callers
Function
vneg
pkg/runtime/arm/vlrt.c:276
↓ 6 callers
Function
vneg
pkg/runtime/386/vlrt.c:296
↓ 5 callers
Method
At
At returns the bit at the given index. If the index is out of range it returns false.
pkg/asn1/asn1.go:103
↓ 5 callers
Function
Atof
Atof is like Atof32 or Atof64, depending on the size of float.
pkg/strconv/atof.go:362
↓ 5 callers
Method
Close
()
pkg/rpc/server.go:414
↓ 5 callers
Method
Close
Calling Close does not close the wrapped io.Writer originally passed to NewDeflater.
pkg/compress/gzip/gzip.go:165
↓ 5 callers
Method
CloseWithError
(os.Error)
pkg/io/pipe_test.go:145
↓ 5 callers
Method
Closed
Closed returns the result of closed(c) on the underlying channel.
pkg/reflect/value.go:716
↓ 5 callers
Function
CommentText
CommentText returns the text of comment, with the comment markers - //, /*, and */ - removed.
pkg/go/doc/comment.go:33
↓ 5 callers
Function
Compact
Compact appends to dst the JSON-encoded src with insignificant space characters elided.
pkg/json/indent.go:14
↓ 5 callers
Method
Compile
(text string)
pkg/exp/eval/world.go:138
↓ 5 callers
Function
Cosh
Cosh returns the hyperbolic cosine of x.
pkg/math/sinh.go:60
↓ 5 callers
Method
DecodedLen
DecodedLen returns the maximum length in bytes of the decoded data corresponding to n bytes of base64-encoded data.
pkg/encoding/base64/base64.go:329
↓ 5 callers
Method
Detach
Detach detaches from this process. All stopped threads will be resumed.
pkg/debug/proc/proc.go:145
↓ 5 callers
Function
Dial
Dial connects to the remote address raddr on the network net. If the string laddr is not empty, it is used as the local address for the connection. K
pkg/net/net.go:139
↓ 5 callers
Method
Dir
Dir returns the channel direction.
pkg/reflect/type.go:365
↓ 5 callers
Method
Dx
Dx returns the width of the rectangle r: r.Max.X - r.Min.X.
pkg/exp/draw/arith.go:138
↓ 5 callers
Method
Dy
Dy returns the width of the rectangle r: r.Max.Y - r.Min.Y.
pkg/exp/draw/arith.go:141
↓ 5 callers
Function
EncodeRune
EncodeRune writes into p (which must be large enough) the UTF-8 encoding of the rune. It returns the number of bytes written.
pkg/utf8/utf8.go:229
↓ 5 callers
Method
Float64
(f float64)
pkg/json/parse.go:302
↓ 5 callers
Function
Fmod
* Floating-point mod function. */ Fmod returns the floating-point remainder of x/y. The magnitude of the result is less than y and its sign agrees wi
pkg/math/fmod.go:19
↓ 5 callers
Method
Front
Front returns the first element in the list.
pkg/container/list/list.go:47
↓ 5 callers
Method
Go
Go invokes the function asynchronously. It returns the Call structure representing the invocation. The done channel will signal when the call is com
pkg/rpc/client.go:208
↓ 5 callers
Function
Indent
Indent appends to dst an indented form of the JSON-encoded src. Each element in a JSON object or array begins on a new, indented line beginning with p
pkg/json/indent.go:55
↓ 5 callers
Method
Int63
()
pkg/rand/rand.go:13
↓ 5 callers
Method
IntSize
IntSize returns the number of bytes in an 'int'.
pkg/exp/ogle/arch.go:33
↓ 5 callers
Function
Jn
* Bessel function of the first and second kinds of order n. */ The original C code and the long comment below are from FreeBSD's /usr/src/lib/msun/sr
pkg/math/jn.go:53
↓ 5 callers
Function
Log10
Log10 returns the decimal logarithm of x. The special cases are the same as for Log.
pkg/math/log.go:127
↓ 5 callers
Function
MSpanList_Insert
pkg/runtime/mheap.c:332
↓ 5 callers
Function
Map
Map returns an Iterable that returns the result of applying f to each element of iter.
pkg/exp/iterable/iterable.go:127
↓ 5 callers
Method
MoveToFront
MoveToFront moves the element to the front of the list.
pkg/container/list/list.go:162
↓ 5 callers
Function
NatFromString
NatFromString returns the natural number corresponding to the longest possible prefix of s representing a natural number in a given conversion base, t
pkg/bignum/bignum.go:914
↓ 5 callers
Method
Neg
Neg computes the negation z = -x.
pkg/big/int.go:213
↓ 5 callers
Function
New
New creates a new Logger. The out0 and out1 variables set the destinations to which log data will be written; out1 may be nil. The prefix appears at
pkg/log/log.go:52
↓ 5 callers
Function
NewClient
NewClient returns a new Client to handle requests to the set of services at the other end of the connection.
pkg/rpc/client.go:122
↓ 5 callers
Function
NewDecimal
(i uint64)
pkg/strconv/internal_test.go:9
↓ 5 callers
Function
NewFuncType
Two function types are identical if they have the same number of parameters and result values and if corresponding parameter and result types are iden
pkg/exp/eval/type.go:714
↓ 5 callers
Function
NewPtrType
Two pointer types are identical if they have identical base types.
pkg/exp/eval/type.go:657
↓ 5 callers
Function
NewReaderSize
NewReaderSize creates a new Reader whose buffer has the specified size, which must be greater than zero. If the argument io.Reader is already a Reade
pkg/bufio/bufio.go:57
↓ 5 callers
Function
Nsub
Nsub sets *zp to the difference x - y for x >= y. If x < y, an underflow run-time error occurs (use Cmp to test if x >= y). *zp may be x or y.
pkg/bignum/bignum.go:273
↓ 5 callers
Method
Out
Out returns the type of the i'th function output parameter.
pkg/reflect/type.go:407
↓ 5 callers
Function
ParseFile
ParseFile parses a Go source file and returns a File node. If src != nil, ParseFile parses the file source from src. src may be provided in a variety
pkg/exp/parser/interface.go:123
↓ 5 callers
Function
Perform
Given a set of Events, Perform repeatedly iterates over the set and finds the subset of ready Events (that is, all of their predecessors have occurred
pkg/testing/script/script.go:222
↓ 5 callers
Method
ProtoAtLeast
ProtoAtLeast returns whether the HTTP protocol used in the request is at least major.minor.
pkg/http/request.go:137
↓ 5 callers
Function
Publish
Publish declares an named exported variable. This should be called from a package's init function when it creates its Vars. If the name is already reg
pkg/expvar/expvar.go:157
↓ 5 callers
Method
PushBackList
PushBackList inserts each element of ol at the back of the list.
pkg/container/list/list.go:196
↓ 5 callers
Method
PushFrontList
PushFrontList inserts each element of ol at the front of the list. The ordering of the passed list is preserved.
pkg/container/list/list.go:207
↓ 5 callers
Method
Put
(key []Type, v interface{})
pkg/exp/eval/type.go:120
↓ 5 callers
Method
ReadSlice
ReadSlice reads until the first occurrence of delim in the input, returning a slice pointing at the bytes in the buffer. The bytes stop being valid at
pkg/bufio/bufio.go:204
↓ 5 callers
Function
RemoveAll
RemoveAll removes path and any children it contains. It removes everything it can but returns the first error it encounters. If the path does not exi
pkg/os/path.go:62
↓ 5 callers
Method
Round
Round a to nd digits (or fewer). Returns receiver for convenience.
pkg/strconv/decimal.go:304
↓ 5 callers
Function
SecondsToLocalTime
SecondsToLocalTime converts sec, in number of seconds since the Unix epoch, into a parsed Time value in the local time zone.
pkg/time/time.go:161
↓ 5 callers
Function
Server
(conn net.Conn, config *Config)
pkg/crypto/tls/tls.go:13
↓ 5 callers
Method
Signaled
Signaled returns true if the thread was terminated by a signal.
pkg/debug/proc/proc.go:205
↓ 5 callers
Function
Sinh
* Floating-point hyperbolic sine and cosine. The exponential func is called for arguments greater in magnitude than 0.5. A series is used for ar
pkg/math/sinh.go:21
↓ 5 callers
Function
SortInts
Convenience wrappers for common cases SortInts sorts an array of ints in increasing order.
pkg/sort/sort.go:186
↓ 5 callers
Function
Sqrt
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/sqrt.go:57
↓ 5 callers
Function
Tan
* Floating point tangent. */ Tan returns the tangent of x.
pkg/math/tan.go:13
↓ 5 callers
Method
Value
Value returns the numerator and denominator of x.
pkg/bignum/rational.go:45
↓ 5 callers
Method
Write
(p []byte)
pkg/compress/gzip/gzip.go:105
↓ 5 callers
Method
XORKeyStream
XORKeyStream xors the contents of the slice with bytes from the key stream.
pkg/crypto/tls/common.go:103
↓ 5 callers
Function
Y0
Y0 returns the order-zero Bessel function of the second kind. Special cases are: Y0(+Inf) = 0 Y0(0) = -Inf Y0(x < 0) = NaN Y0(NaN) = NaN
pkg/math/j0.go:158
↓ 5 callers
Function
Yn
Yn returns the order-n Bessel function of the second kind. Special cases are: Yn(n, +Inf) = 0 Yn(n > 0, 0) = -Inf Yn(n < 0, 0) = +Inf if n is odd,
pkg/math/jn.go:237
↓ 5 callers
Method
aSet
(a aborter, x int64)
pkg/exp/ogle/rvalue.go:192
↓ 5 callers
Function
allocsg
pkg/runtime/chan.c:991
↓ 5 callers
Method
asSlice
()
pkg/exp/eval/expr1.go:48
↓ 5 callers
Method
bitLength
(freq []int32)
pkg/compress/flate/huffman_code.go:114
← previous
next →
701–800 of 8,676, ranked by callers