Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rsc/tmp
/ functions
Functions
4,772 in github.com/rsc/tmp
⨍
Functions
4,772
◇
Types & classes
618
↓ 2 callers
Function
HexCharOfValue
ftoa/dblconv/bignum.cc:580
↓ 2 callers
Function
HistogramPairIsLess
brotli/enc_cluster.c:23
↓ 2 callers
Function
Init
()
gomaxprocs/powser/powser_test.go:624
↓ 2 callers
Function
InitBlockTypeCodeCalculator
brotli/enc_brotli_bit_stream.c:57
↓ 2 callers
Function
InitCommand
distance_code is e.g. 0 for same-as-last short code, or 16 for offset 1. */
brotli/enc_command.h:121
↓ 2 callers
Function
InitStartPosQueue
brotli/enc_backward_references_hq.c:286
↓ 2 callers
Function
InitZopfliCostModel
brotli/enc_backward_references_hq.c:104
↓ 2 callers
Function
Int128Min
ftoa/abseil/absl_numeric_int128.h:511
↓ 2 callers
Method
Int64
Int64 returns the integer resulting from truncating x towards zero. If math.MinInt64 <= x <= math.MaxInt64, the result is Exact if x is an integer, an
bootstrap/internal/gc/big/float.go:804
↓ 2 callers
Function
InverseMoveToFrontTransform
Transform: 1) initialize list L with values 0, 1,... 255 2) For each input element X: 2.1) let Y = L[X] 2.2) remove X-th element from
brotli/dec_decode.c:926
↓ 2 callers
Function
IsCharacterDigitForRadix
Returns true if 'c' is a character digit that is valid for the given radix. The 'a_character' should be 'a' or 'A'. The function is small and could b
ftoa/dblconv/string-to-double.cc:184
↓ 2 callers
Function
IsDecimalDigitForRadix
ftoa/dblconv/string-to-double.cc:168
↓ 2 callers
Function
IsHexFloatString
ftoa/dblconv/string-to-double.cc:216
↓ 2 callers
Function
IsNonZeroDigit
ftoa/dblconv/strtod.cc:448
↓ 2 callers
Function
LargePowerOfFiveData
Returns a pointer to the big integer data for (5**27)**i. i must be between 1 and 20, inclusive.
ftoa/abseil/absl_strings_internal_charconv_bigint.cc:152
↓ 2 callers
Method
Line
()
bootstrap/internal/obj/util.go:250
↓ 2 callers
Method
LineString
LineString returns a string giving the file and line number corresponding to lineno, for use in error messages.
bootstrap/internal/obj/obj.go:220
↓ 2 callers
Function
Linklinefmt
TODO(rsc): Replace call sites with use of ctxt.LineHist. Note that all call sites use showAll=false, showFullPath=false.
bootstrap/internal/obj/obj.go:248
↓ 2 callers
Method
LoadAndDelete
(*Call)
mapbench/bench_test.go:42
↓ 2 callers
Method
Lookahead
()
bootstrap/internal/gc/y.go:871
↓ 2 callers
Function
LookupAllCompoundDictionaryMatches
brotli/enc_hash.h:702
↓ 2 callers
Function
LookupCompoundDictionaryMatch
brotli/enc_hash.h:685
↓ 2 callers
Method
LowerBoundaryIsCloser
ftoa/dblconv/ieee.h:207
↓ 2 callers
Function
MakeUncompressedStream
Wraps data to uncompressed brotli stream with minimal window size. |output| should point at region with at least BrotliEncoderMaxCompressedSize
brotli/enc_encode.c:1213
↓ 2 callers
Function
Marshal
Marshal converts a Go value to a JSON value. The name argument is used in error messages as the name for the top-level value being marshaled. The Go
gadget/internal/schema/schema.go:182
↓ 2 callers
Function
MaxHashTableSize
Returns hash-table size for quality levels 0 and 1. */
brotli/enc_quality.h:37
↓ 2 callers
Function
MaxMetablockSize
brotli/enc_quality.h:104
↓ 2 callers
Function
MergeMatches
brotli/enc_backward_references_hq.c:689
↓ 2 callers
Method
ModInverse
ModInverse sets z to the multiplicative inverse of g in the ring ℤ/nℤ and returns z. If g and n are not relatively prime, the result is undefined.
bootstrap/internal/gc/big/int.go:576
↓ 2 callers
Method
Mode
()
gitfs/fs.go:288
↓ 2 callers
Function
Mpmovefixflt
(a *Mpflt, b *Mpint)
bootstrap/internal/gc/mparith3.go:24
↓ 2 callers
Function
Mpshiftfix
shift left by s (or right by -s)
bootstrap/internal/gc/mparith2.go:192
↓ 2 callers
Method
Mul
Mul sets z to the rounded product x*y and returns z. Precision, rounding, and accuracy reporting are as for Add. Mul panics with ErrNaN if one operand
bootstrap/internal/gc/big/float.go:1535
↓ 2 callers
Method
MultiplyBy
Multiplies by v in-place.
ftoa/abseil/absl_strings_internal_charconv_bigint.h:140
↓ 2 callers
Method
MultiplyByFiveToTheNth
Multiplies in place by 5 to the power of n. n must be non-negative.
ftoa/abseil/absl_strings_internal_charconv_bigint.h:174
↓ 2 callers
Method
MultiplyByPowerOfTen
ftoa/dblconv/bignum.cc:311
↓ 2 callers
Function
MyRand
brotli/enc_block_splitter.c:77
↓ 2 callers
Function
Naddr
Naddr rewrites a to refer to n. It assumes that a is zeroed on entry.
bootstrap/internal/gc/gsubr.go:287
↓ 2 callers
Method
Neg
Neg sets z to the (possibly rounded) value of x with its sign negated, and returns z.
bootstrap/internal/gc/big/float.go:1171
↓ 2 callers
Function
NewRepo
NewRepo connects to a Git repository at the given http:// or https:// URL.
gitfs/git.go:26
↓ 2 callers
Method
Next
()
profbench/main.go:127
↓ 2 callers
Function
NextBlockTypeCode
brotli/enc_brotli_bit_stream.c:62
↓ 2 callers
Function
Noreturn
p is a call instruction. Does the call fail to return?
bootstrap/internal/gc/popt.go:58
↓ 2 callers
Method
Normalize
ftoa/dblconv/diy-fp.h:96
↓ 2 callers
Method
NormalizedBoundaries
Computes the two boundaries of this. The bigger boundary (m_plus) is normalized. The lower boundary has the same exponent as m_plus. Precondition: the
ftoa/dblconv/ieee.h:191
↓ 2 callers
Method
Not
Not sets z = ^x and returns z.
bootstrap/internal/gc/big/int.go:776
↓ 2 callers
Method
Offset
Offset returns the starting offset of b within the memory. If b is not a subslice of m.Data(), Offset returns 0, false.
mpt/internal/pmem/pmem.go:610
↓ 2 callers
Function
OpenTarGz
OpenTarGz returns a tar.Reader for the given tgz data.
gorebuild/io.go:104
↓ 2 callers
Function
ParsePrefixSuffixTable
brotli/common_shared_dictionary.c:142
↓ 2 callers
Method
Predict
Predict returns the hash of the tree that would result from applying the given changes (sorted by key) to the tree, without modifying the tree. It is
mpt/tree.go:36
↓ 2 callers
Function
PrepareLiteralDecoding
brotli/dec_decode.c:1184
↓ 2 callers
Function
ProcessCommandsInternal
brotli/dec_decode.c:1845
↓ 2 callers
Function
ProcessRepeatedCodeLength
Process repeated symbol code length. A) Check if it is the extension of previous repeat sequence; if the decoded value is not BROTLI_REPEAT
brotli/dec_decode.c:547
↓ 2 callers
Function
ProcessSingleCodeLength
Process single decoded symbol code length: A) reset the repeat variable B) remember code length (if it is not 0) C) extend corresponding i
brotli/dec_decode.c:520
↓ 2 callers
Method
Prove
Prove looks up key in the tree and returns a proof either of key's value or that key is not present. Use [Verify] to retrieve the lookup result. Prov
mpt/tree.go:59
↓ 2 callers
Method
Quo
Quo sets z to the rounded quotient x/y and returns z. Precision, rounding, and accuracy reporting are as for Add. Quo panics with ErrNaN if both opera
bootstrap/internal/gc/big/float.go:1580
↓ 2 callers
Method
Rand
Rand sets z to a pseudo-random number in [0, n) and returns z.
bootstrap/internal/gc/big/int.go:564
↓ 2 callers
Method
Rat
Rat returns the rational number corresponding to x; or nil if x is an infinity. The result is Exact is x is not an Inf. If a non-nil *Rat argument z i
bootstrap/internal/gc/big/float.go:1119
↓ 2 callers
Function
Rconv
(r int)
bootstrap/internal/obj/x86/list6.go:161
↓ 2 callers
Function
ReadCommandInternal
brotli/dec_decode.c:1777
↓ 2 callers
Method
ReadDir
(n int)
gitfs/fs.go:330
↓ 2 callers
Function
ReadDistanceInternal
Precondition: s->distance_code < 0. */
brotli/dec_decode.c:1729
↓ 2 callers
Function
ReadUInt64
ftoa/dblconv/bignum.cc:84
↓ 2 callers
Function
ReadVarint32
Reads a varint into a uint32_t, and returns error if it's too large */ Returns BROTLI_TRUE on success, BROTLI_FALSE on failure. */
brotli/common_shared_dictionary.c:65
↓ 2 callers
Function
Rep
(c rat)
gomaxprocs/powser/powser_test.go:403
↓ 2 callers
Function
RingBufferInitBuffer
Allocates or re-allocates data_ to the given length + plus some slack region before and after. Fills the slack regions with zeros. */
brotli/enc_ringbuffer.h:73
↓ 2 callers
Method
RoundDown
Round a down to nd digits (or fewer).
ftoa/go124/decimal.go:366
↓ 2 callers
Function
RoundUp
ftoa/dblconv/fixed-dtoa.cc:189
↓ 2 callers
Method
RoundUp
Round a up to nd digits (or fewer).
ftoa/go124/decimal.go:375
↓ 2 callers
Function
RoundWeed
Adjusts the last digit of the generated number, and screens out generated solutions that may be inaccurate. A solution may be inaccurate if it is outs
ftoa/dblconv/fast-dtoa.cc:61
↓ 2 callers
Function
RoundWeedCounted
Rounds the buffer upwards if the result is closer to v by possibly adding 1 to the buffer. If the precision of the calculation is not sufficient to ro
ftoa/dblconv/fast-dtoa.cc:181
↓ 2 callers
Function
SETTYPE
(i, j int)
yacc/yacc.go:149
↓ 2 callers
Function
STORE
(r *Reg, z int)
bootstrap/internal/gc/reg.go:697
↓ 2 callers
Function
SafeReadBits
brotli/dec_decode.c:1607
↓ 2 callers
Function
SafeReadBlockLength
WARNING: if state is not BROTLI_STATE_READ_BLOCK_LENGTH_NONE, then reading can't be continued with ReadBlockLength. */
brotli/dec_decode.c:886
↓ 2 callers
Function
SanitizeParams
brotli/enc_quality.h:60
↓ 2 callers
Method
SetInt64
SetInt64 sets z to x and returns z.
bootstrap/internal/gc/big/rat.go:333
↓ 2 callers
Method
SetString
SetString sets z to the value of s and returns z and a boolean indicating success. s must be a floating-point number of the same format as accepted by
bootstrap/internal/gc/big/floatconv.go:21
↓ 2 callers
Function
SetTotalOut
Fills the |total_out|, if it is not NULL. */
brotli/enc_encode.c:1329
↓ 2 callers
Function
Shift
brotli/common_transform.c:194
↓ 2 callers
Function
ShiftRightAndRound
Returns the given uint128 shifted to the right by `shift` bits, and rounds the remaining bits using round_to_nearest logic. The value is returned as
ftoa/abseil/charconv.cc:452
↓ 2 callers
Function
ShouldUseUncompressedMode
brotli/enc_compress_fragment.c:397
↓ 2 callers
Function
Smagic
* * magic number for signed division * see hacker's delight chapter 10 */
bootstrap/internal/gc/subr.go:3165
↓ 2 callers
Function
SortHuffmanTreeItems
brotli/enc_entropy_encode.h:84
↓ 2 callers
Function
StartPosQueueAt
brotli/enc_backward_references_hq.c:310
↓ 2 callers
Function
StartPosQueueSize
brotli/enc_backward_references_hq.c:290
↓ 2 callers
Function
StoreCommandExtra
brotli/enc_brotli_bit_stream.c:86
↓ 2 callers
Function
StoreSymbolWithContext
Stores the next symbol with the entropy code of the current block type and context value. Updates the block type and block length at block bound
brotli/enc_brotli_bit_stream.c:901
↓ 2 callers
Function
StoreTrivialContextMap
Stores a context map where the histogram type is always the block type. */
brotli/enc_brotli_bit_stream.c:795
↓ 2 callers
Function
StringResizeAndOverwrite
ftoa/abseil/absl_strings_resize_and_overwrite.h:182
↓ 2 callers
Function
StripLeadingAsciiWhitespace
Returns absl::string_view with whitespace stripped from the beginning of the given string_view.
ftoa/abseil/absl_strings_ascii.h:244
↓ 2 callers
Function
StripTrailingAsciiWhitespace
Returns absl::string_view with whitespace stripped from the end of the given string_view.
ftoa/abseil/absl_strings_ascii.h:258
↓ 2 callers
Function
StrtodTrimmed
ftoa/dblconv/strtod.cc:466
↓ 2 callers
Function
StrtofTrimmed
ftoa/dblconv/strtod.cc:531
↓ 2 callers
Function
Sub
Subtract
gomaxprocs/powser/powser_test.go:380
↓ 2 callers
Method
SubVector
Returns a vector using the same backing storage as this one, spanning from and including 'from', to but not including 'to'.
ftoa/dblconv/utils.h:258
↓ 2 callers
Method
ToExponential
ftoa/dblconv/double-to-string.cc:248
↓ 2 callers
Function
ToUpperCase
brotli/common_transform.c:177
↓ 2 callers
Function
TreeHash
TreeHash computes the snapshot hash of a tree consisting of the sequence of key-value items. The sequence must be sorted by increasing key value (suc
mpt/tree.go:228
↓ 2 callers
Function
TrimAndCut
Trims the buffer and cuts it to at most kMaxSignificantDecimalDigits. If possible the input-buffer is reused, but if the buffer needs to be modified (
ftoa/dblconv/strtod.cc:126
← previous
next →
1,501–1,600 of 4,772, ranked by callers