MCPcopy Create free account

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

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

↓ 3 callersMethodInsertBefore
InsertBefore inserts the value immediately before mark and returns a new Element containing the value.
pkg/container/list/list.go:142
↓ 3 callersMethodInset
Inset returns the rectangle r inset by n: Rect(r.Min.X+n, r.Min.Y+n, r.Max.X-n, r.Max.Y-n).
pkg/exp/draw/arith.go:48
↓ 3 callersMethodInt31n
Int31n returns, as an int32, a non-negative pseudo-random number in [0,n).
pkg/rand/rand.go:65
↓ 3 callersMethodInt63n
Int63n returns, as an int64, a non-negative pseudo-random number in [0,n).
pkg/rand/rand.go:52
↓ 3 callersFunctionIntFromString
IntFromString returns the integer corresponding to the longest possible prefix of s representing an integer in a given conversion base, the actual con
pkg/bignum/integer.go:510
↓ 3 callersFunctionIsDigit
IsDigit reports whether the rune is a decimal digit.
pkg/unicode/digit.go:8
↓ 3 callersMethodIsOperator
IsOperator returns true for tokens corresponding to operators and delimiters; returns false otherwise.
pkg/go/token/token.go:318
↓ 3 callersMethodIsRegular
IsRegular reports whether the FileInfo describes a regular file.
pkg/os/types.go:47
↓ 3 callersFunctionIsSorted
(data Interface)
doc/progs/sort.go:21
↓ 3 callersFunctionIsSpace
IsSpace reports whether the rune is a white space character.
pkg/unicode/letter.go:130
↓ 3 callersFunctionJoin
Join concatenates the elements of a to create a single string. The separator string sep is placed between elements in the resulting string.
pkg/strings/strings.go:216
↓ 3 callersFunctionJoin
Join concatenates the elements of a to create a single byte array. The separator sep is placed between elements in the resulting array.
pkg/bytes/bytes.go:235
↓ 3 callersMethodKind
()
examples/godoc-zh/index.go:147
↓ 3 callersMethodLast
Last returns the element in the vector of highest index.
pkg/container/vector/intvector.go:104
↓ 3 callersMethodLast
Last returns the element in the vector of highest index.
pkg/container/vector/vector.go:104
↓ 3 callersMethodLast
Last returns the element in the vector of highest index.
pkg/container/vector/stringvector.go:104
↓ 3 callersFunctionLgamma
* Floating-point logarithm of the Gamma function. */ The original C code and the long comment below are from FreeBSD's /usr/src/lib/msun/src/e_lgamma
pkg/math/lgamma.go:99
↓ 3 callersMethodLocalAddr
LocalAddr returns the local network address.
pkg/net/net.go:39
↓ 3 callersFunctionLog10
Log10 returns the decimal logarithm of x.
pkg/cmath/log.go:62
↓ 3 callersFunctionLogb
Logb(x) returns the binary logarithm of non-zero x. Special cases are: Logb(±Inf) = +Inf Logb(0) = -Inf Logb(NaN) = NaN
pkg/math/logb.go:13
↓ 3 callersMethodLookupSym
LookupSym returns the text, data, or bss symbol with the given name, or nil if no such symbol is found.
pkg/debug/gosym/symtab.go:379
↓ 3 callersFunctionMHeapMap_Get
pkg/runtime/mheapmap32.c:18
↓ 3 callersFunctionMHeap_FreeLocked
pkg/runtime/mheap.c:250
↓ 3 callersFunctionMSpanList_IsEmpty
pkg/runtime/mheap.c:326
↓ 3 callersFunctionMakeChan
MakeChan creates a new channel with the specified type and buffer size.
pkg/reflect/value.go:786
↓ 3 callersMethodMatch
Match returns whether the Regexp matches the byte slice b. The return value is a boolean: true for match, false for no match.
pkg/regexp/regexp.go:921
↓ 3 callersMethodMatch
Match returns whether the Regexp matches the byte slice b. The return value is a boolean: true for match, false for no match.
pkg/testing/regexp.go:770
↓ 3 callersMethodMul
Mul returns p scaled by k: Pt(p.X*k p.Y*k).
pkg/exp/draw/arith.go:39
↓ 3 callersFunctionNadd
Nadd sets *zp to the sum x + y. *zp may be x or y.
pkg/bignum/bignum.go:231
↓ 3 callersFunctionNewDecoder
NewDecoder constructs a new base64 stream decoder.
pkg/encoding/base64/base64.go:323
↓ 3 callersFunctionNewDecoder
NewDecoder returns a new Git base85 stream decoder.
pkg/encoding/git85/git.go:223
↓ 3 callersFunctionNewDecoder
NewDecoder constructs a new ascii85 stream decoder.
pkg/encoding/ascii85/ascii85.go:246
↓ 3 callersFunctionNewEncoder
NewEncoder returns a new base64 stream encoder. Data written to the returned writer will be encoded using enc and then written to w. Base64 encodings
pkg/encoding/base64/base64.go:185
↓ 3 callersFunctionNewEncoder
NewEncoder returns a new Git base85 stream encoder. Data written to the returned writer will be encoded and then written to w. The Git encoding opera
pkg/encoding/git85/git.go:152
↓ 3 callersFunctionNewEncoder
NewEncoder returns a new ascii85 stream encoder. Data written to the returned writer will be encoded and then written to w. Ascii85 encodings operate
pkg/encoding/ascii85/ascii85.go:93
↓ 3 callersMethodNewFrame
()
pkg/exp/eval/value.go:89
↓ 3 callersFunctionNewStructType
Two struct types are identical if they have the same sequence of fields, and if corresponding fields have the same names and identical types. Two anon
pkg/exp/eval/type.go:556
↓ 3 callersFunctionNewTicker
NewTicker returns a new Ticker containing a channel that will send the time, in nanoseconds, every ns nanoseconds. It adjusts the intervals to make u
pkg/time/tick.go:162
↓ 3 callersMethodNext
Next returns the next ring element. r must not be empty.
pkg/container/ring/ring.go:28
↓ 3 callersFunctionNextafter
Nextafter returns the next representable value after x towards y. If x == y, then x is returned. Special cases are: Nextafter(NaN, y) = NaN Nextaft
pkg/math/nextafter.go:13
↓ 3 callersFunctionNotFound
NotFound replies to the request with an HTTP 404 not found error.
pkg/http/server.go:339
↓ 3 callersMethodOnBreakpoint
* * Events */ OnBreakpoint returns the hook that is run when the program reaches the given program counter.
pkg/exp/ogle/process.go:321
↓ 3 callersMethodOr
Or returns the ``bitwise or'' x | y for the 2's-complement representation of x and y.
pkg/bignum/bignum.go:725
↓ 3 callersMethodPCToLine
PCToLine looks up line number information for a program counter. If there is no information, it returns fn == nil.
pkg/debug/gosym/symtab.go:347
↓ 3 callersFunctionParseForTesting
ParseForTesting parses the flag state using the provided arguments. It should be called after 1) ResetForTesting and 2) setting up the new flags. The
pkg/flag/flag.go:519
↓ 3 callersMethodPkgPath
PkgPath returns the type's package path. The package path is a full package import path like "container/vector". PkgPath returns an empty string for u
pkg/reflect/type.go:264
↓ 3 callersFunctionPolar
Polar returns the absolute value r and phase θ of x, such that x = r * e**θi. The phase is in the range (-Pi, Pi].
pkg/cmath/polar.go:10
↓ 3 callersFunctionPop
Pop removes the minimum element (according to Less) from the heap and returns it. The complexity is O(log(n)) where n = h.Len(). Same as Remove(h, 0).
pkg/container/heap/heap.go:52
↓ 3 callersFunctionPow
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/pow.go:46
↓ 3 callersFunctionPrintError
PrintError is a utility function that prints a list of errors to w, one error per line, if the err parameter is an ErrorList. Otherwise it prints the
pkg/go/scanner/errors.go:178
↓ 3 callersMethodQuoRem
QuoRem returns the pair (x.Quo(y), x.Rem(y)) for y != 0. If y == 0, a division-by-zero run-time error occurs.
pkg/bignum/integer.go:244
↓ 3 callersMethodRead
Read reads the next len(p) bytes from the buffer or until the buffer is drained. The return value n is the number of bytes read. If the buffer has n
pkg/bytes/buffer.go:193
↓ 3 callersFunctionReadFile
ReadFile reads the file named by filename and returns the contents.
pkg/io/ioutil/ioutil.go:24
↓ 3 callersMethodReadFrom
ReadFrom reads data from r until EOF and appends it to the buffer. The return value n is the number of bytes read. Any error except os.EOF encountered
pkg/bytes/buffer.go:116
↓ 3 callersMethodReadFrom
(r Reader)
pkg/io/io.go:114
↓ 3 callersFunctionReadRequest
ReadRequest reads and parses a request from b.
pkg/http/request.go:462
↓ 3 callersFunctionReadResponse
ReadResponse reads and returns an HTTP response from r. The RequestMethod parameter specifies the method used in the corresponding request (e.g., "GE
pkg/http/response.go:77
↓ 3 callersMethodReader
Reader returns a new Reader for Data. The reader is positioned at byte offset 0 in the DWARF ``info'' section.
pkg/debug/dwarf/entry.go:243
↓ 3 callersFunctionRect
Rect returns the complex number x with polar coordinates r, θ.
pkg/cmath/rect.go:10
↓ 3 callersMethodRegs
Regs retrieves the current register values from this thread. The thread must be stopped.
pkg/debug/proc/proc.go:89
↓ 3 callersFunctionReleaseN
Take n elements off l and return them to the central free list.
pkg/runtime/mcache.c:54
↓ 3 callersFunctionRemainder
The original C code and the the comment below are from FreeBSD's /usr/src/lib/msun/src/e_remainder.c and came with this notice. The go code is a simp
pkg/math/remainder.go:37
↓ 3 callersMethodRemoteAddr
RemoteAddr returns the remote network address.
pkg/net/net.go:42
↓ 3 callersFunctionRemove
Remove removes the element at index i from the heap. The complexity is O(log(n)) where n = h.Len().
pkg/container/heap/heap.go:63
↓ 3 callersFunctionRepeatTimes
RepeatTimes generates a stream of n copies of v.
pkg/exp/iterable/iterable.go:289
↓ 3 callersMethodReplaceAllString
ReplaceAllString returns a copy of src in which all matches for the Regexp have been replaced by repl. No support is provided for expressions (e.g. \
pkg/regexp/regexp.go:987
↓ 3 callersFunctionResetForTesting
ResetForTesting clears all flag state and sets the usage function as directed. After calling ResetForTesting, parse errors in flag handling will panic
pkg/flag/flag.go:509
↓ 3 callersFunctionResolveTCPAddr
ResolveTCPAddr parses addr as a TCP address of the form host:port and resolves domain names or port names to numeric addresses. A literal IPv6 host a
pkg/net/tcpsock.go:60
↓ 3 callersFunctionResolveUDPAddr
ResolveUDPAddr parses addr as a UDP address of the form host:port and resolves domain names or port names to numeric addresses. A literal IPv6 host a
pkg/net/udpsock.go:60
↓ 3 callersMethodRightAlign
RightAlign returns a slice where the padding bits are at the beginning. The slice may share memory with the BitString.
pkg/asn1/asn1.go:114
↓ 3 callersMethodRoundDown
Round a down to nd digits (or fewer). Returns receiver for convenience.
pkg/strconv/decimal.go:316
↓ 3 callersMethodRoundUp
Round a up to nd digits (or fewer). Returns receiver for convenience.
pkg/strconv/decimal.go:327
↓ 3 callersFunctionRuneCountInString
RuneCountInString is like RuneCount but its input is a string.
pkg/utf8/utf8.go:279
↓ 3 callersFunctionSeconds
Seconds reports the number of seconds since the Unix epoch, January 1, 1970 00:00:00 UTC.
pkg/time/time.go:15
↓ 3 callersMethodSeek
(offset int64, whence int)
pkg/io/io.go:328
↓ 3 callersMethodSignal
()
pkg/syscall/syscall_bsd.go:99
↓ 3 callersFunctionSin
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/sin.go:53
↓ 3 callersFunctionSinh
Complex hyperbolic sine DESCRIPTION: csinh z = (cexp(z) - cexp(-z))/2 = sinh x * cos y + i cosh x * sin y . ACCURACY: Relative error: arithmetic
pkg/cmath/sin.go:73
↓ 3 callersMethodSlice
Slice returns a new sub-vector by slicing the old one to extract slice [i:j]. The elements are copied. The original vector is unchanged.
pkg/container/vector/vector.go:164
↓ 3 callersFunctionSort
(data Interface)
doc/progs/sort.go:13
↓ 3 callersMethodString
()
pkg/encoding/binary/binary.go:25
↓ 3 callersFunctionStringToUTF16Ptr
StringToUTF16Ptr returns pointer to the UTF-16 encoding of the UTF-8 string s, with a terminating NUL added.
pkg/syscall/syscall_windows.go:71
↓ 3 callersMethodSub
Sub sets z to the difference x-y and returns z.
pkg/big/int.go:69
↓ 3 callersFunctionTake
Take returns an Iterable that contains the first n elements of iter.
pkg/exp/iterable/iterable.go:149
↓ 3 callersFunctionTakeWhile
TakeWhile returns an Iterable that contains elements from iter while f is true.
pkg/exp/iterable/iterable.go:152
↓ 3 callersFunctionTan
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/tan.go:59
↓ 3 callersFunctionTanh
Complex hyperbolic tangent DESCRIPTION: tanh z = (sinh 2x + i sin 2y) / (cosh 2x + cos 2y) . ACCURACY: Relative error: arithmetic domain #
pkg/cmath/tan.go:83
↓ 3 callersFunctionTanh
* Floating-point hyperbolic tangent. Sinh and Cosh are called except for large arguments, which would cause overflow improperly. */ Tanh computes
pkg/math/tanh.go:16
↓ 3 callersMethodTemporary
Is the error a timeout?
pkg/net/net.go:65
↓ 3 callersFunctionToLower
ToLower maps the rune to lower case.
pkg/unicode/letter.go:195
↓ 3 callersMethodToString
ToString converts x to a string for a given base, with 2 <= base <= 16.
pkg/bignum/bignum.go:838
↓ 3 callersFunctionToTitle
ToTitle maps the rune to title case.
pkg/unicode/letter.go:206
↓ 3 callersFunctionToUpper
ToUpper maps the rune to upper case.
pkg/unicode/letter.go:184
↓ 3 callersMethodTrapCause
()
pkg/syscall/syscall_bsd.go:120
↓ 3 callersFunctionTrimFunc
TrimFunc returns a slice of the string s with all leading and trailing Unicode code points c satisfying f(c) removed.
pkg/strings/strings.go:372
↓ 3 callersFunctionTrunc
Trunc returns the integer value of x. Special cases are: Trunc(+Inf) = +Inf Trunc(-Inf) = -Inf Trunc(NaN) = NaN
pkg/math/floor.go:45
↓ 3 callersMethodTryRecv
TryRecv attempts to receive a value from the channel v but will not block. It returns the value if one is received, nil otherwise.
pkg/reflect/value.go:776
↓ 3 callersMethodTrySend
TrySend attempts to sends x on the channel v but will not block. It returns true if the value was sent, false otherwise.
pkg/reflect/value.go:768
↓ 3 callersMethodUint16
(b []byte)
pkg/encoding/binary/binary.go:19
↓ 3 callersMethodUnlock
Unlock unlocks rw for writing. It is a run-time error if rw is not locked for writing on entry to Unlock. Like for Mutexes, a locked RWMutex is not a
pkg/sync/rwmutex.go:75
← previousnext →1,201–1,300 of 8,676, ranked by callers