MCPcopy Create free account

hub / github.com/border/golang-china / functions

Functions8,676 in github.com/border/golang-china

↓ 10 callersMethodOutput
Output writes the output for a logging event. The string s contains the text to print after the time stamp; calldepth is used to recover the PC. It
pkg/log/log.go:128
↓ 10 callersMethodPointTo
PointTo changes v to point to x.
pkg/reflect/value.go:1182
↓ 10 callersMethodPop
()
pkg/container/heap/heap.go:21
↓ 10 callersMethodPos
Pos is the position of the first character of the syntactic construct
pkg/ebnf/ebnf.go:42
↓ 10 callersMethodPush
Convenience wrappers Push appends x to the end of the vector.
pkg/container/vector/intvector.go:175
↓ 10 callersMethodRUnlock
RUnlock undoes a single RLock call; it does not affect other simultaneous readers. It is a run-time error if rw is not locked for reading on entry to
pkg/sync/rwmutex.go:48
↓ 10 callersMethodReadAt
(p []byte, off int64)
pkg/io/io.go:137
↓ 10 callersFunctionSort
(data Interface)
pkg/sort/sort.go:134
↓ 10 callersMethodString
()
pkg/go/scanner/errors.go:59
↓ 10 callersMethodString
(s string)
pkg/json/parse.go:303
↓ 10 callersMethodString
()
doc/progs/cat_rot13.go:28
↓ 10 callersMethodTruncate
Truncate discards all but the first n unread bytes from the buffer. It is an error to call b.Truncate(n) with n > b.Len().
pkg/bytes/buffer.go:54
↓ 10 callersFunctionatoi
if s begins with the prefix t and then is a sequence of digits in the given base, atoi returns the number represented by the digits and s with the pre
pkg/patch/patch.go:300
↓ 10 callersFunctiondecodeInt
decodeInt reads an encoded signed integer from state.r. Sets state.err. If state.err is already non-nil, it does nothing. Does not check for overflow
pkg/gob/decode.go:109
↓ 10 callersFunctiondoPrec
floating-point
pkg/fmt/format.go:366
↓ 10 callersFunctionfillAlpha
(alpha int)
pkg/exp/draw/draw_test.go:22
↓ 10 callersMethodlinebreak
Other formatting issues: - better comment formatting for /*-style comments at the end of a line (e.g. a declaration) when the comment spans multiple l
pkg/go/printer/nodes.go:38
↓ 10 callersMethodnumError
()
pkg/exp/eval/compiler.go:35
↓ 10 callersMethodoctal
(b []byte)
pkg/archive/tar/reader.go:71
↓ 10 callersFunctionrandomBytes
(n int, rand *rand.Rand)
pkg/crypto/tls/handshake_messages_test.go:85
↓ 10 callersMethodungetc
Unread a single byte.
pkg/xml/xml.go:736
↓ 10 callersFunctionzeroPad
(i int)
pkg/time/format.go:226
↓ 9 callersMethodAssign
Assign copies another value into this one. It should assume that the other value satisfies the same specific value interface (BoolValue, etc.), but m
pkg/exp/eval/value.go:18
↓ 9 callersMethodBlockSize
BlockSize returns the cipher's block size.
pkg/crypto/block/cipher.go:17
↓ 9 callersFunctionCompileRegexp
CompileRegexp parses a regular expression and returns, if successful, a Regexp object that can be used to match against text.
pkg/testing/regexp.go:582
↓ 9 callersFunctionEqual
Equal returns a boolean reporting whether a == b.
pkg/bytes/bytes.go:40
↓ 9 callersMethodFieldByIndex
TODO(gri): Should there be an error/bool indicator if the index is wrong for FieldByIndex? FieldByIndex returns the nested field corresponding to inde
pkg/reflect/type.go:488
↓ 9 callersMethodFlush
Flush writes any buffered data to the underlying io.Writer.
pkg/bufio/bufio.go:362
↓ 9 callersMethodFormat
(f State, c int)
pkg/fmt/print.go:123
↓ 9 callersMethodIsLiteral
Predicates IsLiteral returns true for tokens corresponding to identifiers and basic type literals; returns false otherwise.
pkg/go/token/token.go:313
↓ 9 callersMethodLink
Link returns the link register, if any.
pkg/debug/proc/proc.go:51
↓ 9 callersMethodLookupFunc
LookupFunc returns the text, data, or bss symbol with the given name, or nil if no such symbol is found.
pkg/debug/gosym/symtab.go:395
↓ 9 callersFunctionMap
Map returns a copy of the byte array s with all its characters modified according to the mapping function. If mapping returns a negative value, the ch
pkg/bytes/bytes.go:280
↓ 9 callersFunctionMarshal
(w io.Writer, val interface{})
pkg/json/struct.go:420
↓ 9 callersMethodMethod
For non-interface types, Method returns the i'th method with receiver T. For interface types, Method returns the i'th method in the interface. NumMeth
pkg/reflect/type.go:292
↓ 9 callersFunctionMkdirAll
MkdirAll creates a directory named path, along with any necessary parents, and returns nil, or else returns an error. The permission bits perm are use
pkg/os/path.go:15
↓ 9 callersMethodMove
Move moves n % r.Len() elements backward (n < 0) or forward (n >= 0) in the ring and returns that ring element. r must not be empty.
pkg/container/ring/ring.go:48
↓ 9 callersMethodMulNat
MulNat returns the product x * y, where y is a (unsigned) natural number.
pkg/bignum/integer.go:201
↓ 9 callersFunctionMulRange
MulRange computes the product of all the unsigned integers in the range [a, b] inclusively.
pkg/bignum/bignum.go:986
↓ 9 callersMethodQuoRem
QuoRem sets z to the quotient x/y and r to the remainder x%y and returns the pair (z, r) for y != 0. If y == 0, a division-by-zero run-time panic occu
pkg/big/int.go:133
↓ 9 callersFunctionRect
Rect is shorthand for Rectangle{Pt(x0, y0), Pt(x1, y1)}.
pkg/exp/draw/arith.go:27
↓ 9 callersMethodSection
Section returns a section with the given name, or nil if no such section exists.
pkg/debug/elf/file.go:382
↓ 9 callersMethodShift
Binary shift left (k > 0) or right (k < 0). Returns receiver for convenience.
pkg/strconv/decimal.go:270
↓ 9 callersMethodStopSignal
StopSignal returns the signal that terminated the thread, or "" if it was not terminated by a signal.
pkg/debug/proc/proc.go:209
↓ 9 callersMethodString
()
pkg/exp/ogle/event.go:58
↓ 9 callersMethodSum32
()
pkg/hash/hash.go:29
↓ 9 callersMethodTruncate
Truncate changes the size of the file. It does not change the I/O offset.
pkg/os/file.go:404
↓ 9 callersFunctionUnmarshal
Unmarshal parses the JSON syntax string s and fills in an arbitrary struct or slice pointed at by val. It uses the reflect package to assign to fields
pkg/json/struct.go:291
↓ 9 callersFunctionVar
Var defines a user-typed flag with specified name, default value, and usage string. The argument p points to a Value variable in which to store the va
pkg/flag/flag.go:405
↓ 9 callersFunctionaddr
(x nat)
pkg/big/arith_test.go:55
↓ 9 callersMethodbytes
(n int)
pkg/debug/dwarf/buf.go:41
↓ 9 callersMethoddoExecute
Accepts either string or bytes - the logic is identical either way. If bytes == nil, scan str.
pkg/regexp/regexp.go:778
↓ 9 callersFunctionempty
Empty buf through repeated reads into fub. The initial contents of buf corresponds to the string s.
pkg/bytes/buffer_test.go:104
↓ 9 callersMethodexpr0
(x ast.Expr, depth int, multiLine *bool)
pkg/go/printer/nodes.go:905
↓ 9 callersMethodget
()
examples/godoc-zh/godoc.go:51
↓ 9 callersFunctiongetFloat64
(a interface{})
pkg/fmt/print.go:429
↓ 9 callersMethodisStopped
()
pkg/debug/proc/proc_linux.go:83
↓ 9 callersFunctionmarshalTwoDigits
(out *forkableWriter, v int)
pkg/asn1/marshal.go:234
↓ 9 callersFunctionmemmove
TODO: This will have to go away when the new gc goes in.
pkg/reflect/value.go:19
↓ 9 callersMethodmul
(x, y nat)
pkg/big/nat.go:400
↓ 9 callersMethodpadString
append s to buf, padded on left (w > 0) or right (w < 0 or f.minus). clear flags aftewards.
pkg/fmt/format.go:130
↓ 9 callersMethodset
(x nat)
pkg/big/nat.go:105
↓ 9 callersMethoduint8
()
pkg/debug/dwarf/buf.go:30
↓ 9 callersMethodwrite0
write0 writes raw (uninterpreted) data to p.output and handles errors. write0 does not indent after newlines, and does not HTML-escape or update p.pos
pkg/go/printer/printer.go:118
↓ 8 callersFunctionAbs
Abs returns the absolute value (also called the modulus) of x.
pkg/cmath/abs.go:10
↓ 8 callersMethodAdd
Add returns the sum z = x + y.
pkg/bignum/bignum.go:262
↓ 8 callersFunctionBytes
Bytes returns a new slice containing the bytes in s. Borrowed from strings to avoid dependency.
pkg/bytes/bytes_test.go:373
↓ 8 callersFunctionDecodeRune
DecodeRune unpacks the first UTF-8 encoding in p and returns the rune and its width in bytes.
pkg/utf8/utf8.go:201
↓ 8 callersFunctionDraw
Draw calls DrawMask with a nil mask and an Over op.
pkg/exp/draw/draw.go:34
↓ 8 callersFunctionFact
Fact computes the factorial of n (Fact(n) == MulRange(2, n)).
pkg/bignum/bignum.go:1003
↓ 8 callersMethodFailed
Failed returns whether the Test function has failed.
pkg/testing/testing.go:80
↓ 8 callersFunctionFrexp
Frexp breaks f into a normalized fraction and an integral power of two. It returns frac and exp satisfying f == frac × 2**exp, with the absolute value
pkg/math/frexp.go:11
↓ 8 callersMethodInit
Init prepares the scanner S to tokenize the text src. Calls to Scan will use the error handler err if they encounter a syntax error and err is not nil
pkg/go/scanner/scanner.go:92
↓ 8 callersFunctionJoin
Join joins any number of path elements into a single path, adding a separating slash if necessary. All empty strings are ignored.
pkg/path/path.go:120
↓ 8 callersFunctionLdexp
Ldexp is the inverse of Frexp. It returns frac × 2**exp.
pkg/math/ldexp.go:9
↓ 8 callersFunctionLog1p
The original C code, the long comment, and the constants below are from FreeBSD's /usr/src/lib/msun/src/s_log1p.c and came with this notice. The go c
pkg/math/log1p.go:95
↓ 8 callersFunctionMHeapMap_Set
pkg/runtime/mheapmap32.c:52
↓ 8 callersFunctionMakeZero
MakeZero returns a zero Value for the specified Type.
pkg/reflect/value.go:1383
↓ 8 callersFunctionNew
New returns an initialized list.
pkg/container/list/list.go:44
↓ 8 callersFunctionNewCipher
NewCipher creates and returns a new Cipher. The key argument should be the XTEA key. XTEA only supports 128 bit (16 byte) keys.
pkg/crypto/xtea/cipher.go:34
↓ 8 callersFunctionNewEvent
(name string, predecessors []*Event, action action)
pkg/testing/script/script.go:184
↓ 8 callersFunctionNewFile
NewFile returns a new File with the given file descriptor and name.
pkg/os/file.go:29
↓ 8 callersFunctionNewMultiType
(elems []Type)
pkg/exp/eval/type.go:1174
↓ 8 callersFunctionNewParser
NewParser creates a new XML parser reading from r.
pkg/xml/xml.go:182
↓ 8 callersMethodNumIn
NumIn returns the number of input parameters.
pkg/reflect/type.go:404
↓ 8 callersFunctionPipe
Pipe creates a synchronous in-memory pipe. It can be used to connect code expecting an io.Reader with code expecting an io.Writer. Reads on one end ar
pkg/io/pipe.go:256
↓ 8 callersFunctionSet
Set sets the value of the named flag. It returns true if the set succeeded; false if there is no such flag defined.
pkg/flag/flag.go:231
↓ 8 callersMethodSetElem
Set an entry in the map. If val is nil, delete the entry.
pkg/exp/eval/value.go:127
↓ 8 callersFunctionSincos
Sincos(x) returns Sin(x), Cos(x). Special conditions are: Sincos(+Inf) = NaN, NaN Sincos(-Inf) = NaN, NaN Sincos(NaN) = NaN, NaN
pkg/math/sincos.go:13
↓ 8 callersMethodToUpper
ToUpper maps the rune to upper case giving priority to the special mapping.
pkg/unicode/letter.go:217
↓ 8 callersFunctionUitob64
Uitob64 returns the string representation of i in the given base.
pkg/strconv/itoa.go:8
↓ 8 callersMethodWidth
Width returns the value of the width option and whether it has been set.
pkg/fmt/print.go:111
↓ 8 callersMethodWrite
Write appends the contents of p to the buffer. The return value n is the length of p; err is always nil.
pkg/bytes/buffer.go:92
↓ 8 callersFunctionabs8
The absolute value of a byte interpreted as a signed int8.
pkg/image/png/writer.go:49
↓ 8 callersMethodblock
block prints an *ast.BlockStmt; it always spans at least two lines.
pkg/go/printer/nodes.go:945
↓ 8 callersMethodc
()
pkg/regexp/regexp.go:272
↓ 8 callersMethodc
()
pkg/testing/regexp.go:281
↓ 8 callersFunctionchunked
Checks whether chunked is part of the encodings stack
pkg/http/transfer.go:262
↓ 8 callersFunctioncollide
(pt draw.Point, p *Piece)
pkg/exp/4s/xs.go:196
↓ 8 callersMethodcompileStmt
* * Block compiler */
pkg/exp/eval/stmt.go:1203
← previousnext →401–500 of 8,676, ranked by callers