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
Method
pow10
Returns 10<sup>{@code e}</sup>. @param e The exponent which must meet 0 ≤ {@code e} ≤ {@link #H}. @return 10<sup>{@code e}</sup>.
ftoa/schubfach/MathUtils.java:96
↓ 2 callers
Method
pow10
pow10 sets z to 10**n and returns z. n must not be negative.
bootstrap/internal/gc/big/floatconv.go:187
↓ 2 callers
Function
pow10BitsForIndex
ftoa/ryu/d2fixed.c:322
↓ 2 callers
Method
pow2
multiply as if by 2 raised to a power.
ftoa/fast_float/bigint.h:596
↓ 2 callers
Function
power
* For q in (0,350), we have that * f = (((152170 + 65536) * q ) >> 16); * is equal to * floor(p) + q * where * p = log(5**q)/log(2) = q * lo
ftoa/fast_float/decimal_to_binary.h:65
↓ 2 callers
Function
powtwo
* * return power of 2 of the constant * operand. -1 if it is not a power of 2. * 1000+ if it is a -(power of 2) */
bootstrap/internal/gc/subr.go:3095
↓ 2 callers
Function
prefixof
(ctxt *obj.Link, p *obj.Prog, a *obj.Addr)
bootstrap/internal/obj/x86/asm6.go:1908
↓ 2 callers
Function
printcfg
A pretty printer for control flow graphs. Takes an array of BasicBlock*s.
bootstrap/internal/gc/plive.go:264
↓ 2 callers
Function
printeffects
(p *obj.Prog, uevar Bvec, varkill Bvec, avarinit Bvec)
bootstrap/internal/gc/plive.go:727
↓ 2 callers
Function
proggenaddsym
This function generates GC pointer info for global variables.
bootstrap/internal/ld/data.go:1107
↓ 2 callers
Function
proggenarray
Emit insArray instruction.
bootstrap/internal/gc/reflect.go:1465
↓ 2 callers
Function
proggenarrayend
(g *ProgGen)
bootstrap/internal/gc/reflect.go:1473
↓ 2 callers
Function
proggenfini
(g *ProgGen, size int64)
bootstrap/internal/ld/data.go:1100
↓ 2 callers
Function
proggeninit
(g *ProgGen, s *LSym)
bootstrap/internal/ld/data.go:1041
↓ 2 callers
Function
proggenskip
Skip v bytes due to alignment, etc.
bootstrap/internal/ld/data.go:1076
↓ 2 callers
Function
prop
(f *Flow, ref Bits, cal Bits)
bootstrap/internal/gc/reg.go:505
↓ 2 callers
Function
ptr
(x T)
gadget/main.go:316
↓ 2 callers
Function
push
()
bootstrap/internal/gc/dcl.go:39
↓ 2 callers
Function
pushio
()
bootstrap/internal/asm/lexbody.go:110
↓ 2 callers
Function
pushtype
(n *Node, t *Type)
bootstrap/internal/gc/typecheck.go:2925
↓ 2 callers
Function
putattr
(abbrev int, form int, cls int, value int64, data interface{})
bootstrap/internal/ld/dwarf.go:720
↓ 2 callers
Function
putdie
(die *DWDie)
bootstrap/internal/ld/dwarf.go:872
↓ 2 callers
Function
randInt
randInt returns a pseudo-random Int in the range [1<<(size-1), (1<<size) - 1]
bootstrap/internal/gc/big/gcd_test.go:18
↓ 2 callers
Method
random
random creates a random integer in [0..limit), using the space in z if possible. n is the bit length of limit.
bootstrap/internal/gc/big/nat.go:839
↓ 2 callers
Function
ratio
ftoa/dmg/dtoa20251117.c:2396
↓ 2 callers
Function
rdstring
(f *Biobuf)
bootstrap/internal/ld/objfile.go:299
↓ 2 callers
Function
read1
(b *bufio.Reader)
shuffle/main.go:90
↓ 2 callers
Method
readFrame
readFrame reads a single framed block from r, storing the data into data. If data is not large enough to hold the framed data, readFrame returns errCo
mpt/internal/pmem/pmem.go:471
↓ 2 callers
Method
readFrameHeader
readFrameHeader reads and parses the next frame header from r. It resets r.hash and writes the header to it.
mpt/internal/pmem/pmem.go:450
↓ 2 callers
Function
readSize
(file string)
sizecmp/main.go:50
↓ 2 callers
Function
readTxtGz
(t testing.TB, file string)
rsort/rsort_test.go:79
↓ 2 callers
Function
readelfsym
(elfobj *ElfObj, i int, sym *ElfSym, needSym int)
bootstrap/internal/ld/ldelf.go:838
↓ 2 callers
Function
readpesym
(peobj *PeObj, i int, y **PeSym)
bootstrap/internal/ld/ldpe.go:479
↓ 2 callers
Function
regconsttyp
is 'a' a register or constant?
bootstrap/bootstrap6g/peep.go:494
↓ 2 callers
Method
rehash
rehash updates n.hash if needed and then returns it.
mpt/dmem.go:38
↓ 2 callers
Function
relocsym
(s *LSym)
bootstrap/internal/ld/data.go:317
↓ 2 callers
Function
reorder3
* * from ascompat[ee] * a,b = c,d * simultaneous assignment. there cannot * be later use of an earlier lvalue. * * function calls have been remo
bootstrap/internal/gc/walk.go:2405
↓ 2 callers
Function
resetTable
(table []divisor)
bootstrap/internal/gc/big/natconv_test.go:402
↓ 2 callers
Function
reverselist
(list **DWDie)
bootstrap/internal/ld/dwarf.go:882
↓ 2 callers
Function
rightShift
Binary shift right (/ 2) by k bits. k <= maxShift to avoid overflow.
ftoa/go124/decimal.go:110
↓ 2 callers
Function
rnops
(r *gc.Flow)
bootstrap/bootstrap6g/peep.go:64
↓ 2 callers
Function
round
(n int)
mpt/internal/span/span_unix.go:21
↓ 2 callers
Method
roundDown
(n int)
bootstrap/internal/gc/big/decimal.go:244
↓ 2 callers
Method
roundUp
(n int)
bootstrap/internal/gc/big/decimal.go:219
↓ 2 callers
Function
round_nearest_tie_even
ftoa/fast_float/digit_comparison.h:140
↓ 2 callers
Function
round_up_bigint
ftoa/fast_float/digit_comparison.h:247
↓ 2 callers
Function
runCmd
()
dredge/dredge.go:99
↓ 2 callers
Function
runIn
(stdin []byte, args ...string)
signre2/main.go:220
↓ 2 callers
Function
runInErr
(stdin []byte, args ...string)
signre2/main.go:196
↓ 2 callers
Function
runModWTests
(t *testing.T, tests []modWTest)
bootstrap/internal/gc/big/nat_test.go:285
↓ 2 callers
Function
ryu
(tmp *[32]byte, f float64, prec int)
ftoa/go124/loop.go:9
↓ 2 callers
Function
ryuFtoaFixed64
ryuFtoaFixed64 formats mant*(2^exp) with prec decimal digits.
ftoa/go124/ftoaryu.go:90
↓ 2 callers
Function
scanExponent
scanExponent scans the longest possible prefix of r representing a decimal ('e', 'E') or binary ('p') exponent, if any. It returns the exponent, the e
bootstrap/internal/gc/big/ratconv.go:129
↓ 2 callers
Function
set
(s string)
html2md/html.go:172
↓ 2 callers
Method
setBit
(x nat, i uint, b uint)
bootstrap/internal/gc/big/nat.go:692
↓ 2 callers
Method
setBits64
(neg bool, x uint64)
bootstrap/internal/gc/big/float.go:545
↓ 2 callers
Function
setChild
(nbit int, child **memNode, key Key, val Val)
mpt/mem.go:160
↓ 2 callers
Method
setChild
(nbit int, childp addr, key Key, val Val)
mpt/dmem.go:216
↓ 2 callers
Function
setCurrent
(f File, b bool, off int)
mpt/internal/pmem/pmem.go:985
↓ 2 callers
Method
setDirty
(t *diskTree, d bool)
mpt/disk.go:355
↓ 2 callers
Method
setDirty
(t *diskTree, d bool)
mpt/disk.go:504
↓ 2 callers
Method
setExact
(t *diskTree, d bool)
mpt/disk.go:363
↓ 2 callers
Method
setFile
setFile sets stk.File = file and also derives stk.AbsFile.
bootstrap/internal/obj/obj.go:71
↓ 2 callers
Method
setInt32
(addr, v)
ivynote/ivy.js:344
↓ 2 callers
Method
set_len
set the length, without bounds checking.
ftoa/fast_float/bigint.h:74
↓ 2 callers
Function
setaddr
(ctxt *Link, s *LSym, off int64, t *LSym)
bootstrap/internal/ld/data.go:176
↓ 2 callers
Function
setbit
(set Lkset, bit int)
yacc/yacc.go:3071
↓ 2 callers
Function
setlno
(n *Node, lno int)
bootstrap/internal/gc/inl.go:991
↓ 2 callers
Method
shard
(k *K)
mapbench/bench_test.go:134
↓ 2 callers
Function
shortFileLine
(f string)
go2asm/main.go:471
↓ 2 callers
Function
shouldRoundUp
If we chop a at nd digits, should we round up?
ftoa/go124/decimal.go:335
↓ 2 callers
Function
shr
Possibly optimization: The current implementation of nat.string takes a charset argument. When a right shift is needed, we could provide "\x00\x01...\
bootstrap/internal/gc/big/decimal.go:101
↓ 2 callers
Function
skip_zeros
ftoa/fast_float/digit_comparison.h:172
↓ 2 callers
Function
skipcom
skip over comments skipcom is called after reading a '/'
yacc/yacc.go:1210
↓ 2 callers
Function
sleb128enc
(v int64, dst []byte)
bootstrap/internal/ld/dwarf.go:138
↓ 2 callers
Function
sliceany
Generate frontend part for OSLICE[3][ARR|STR]
bootstrap/internal/gc/walk.go:3173
↓ 2 callers
Function
small_add_from
ftoa/fast_float/bigint.h:262
↓ 2 callers
Method
snap
(version int64, hash Hash)
mpt/tree_test.go:312
↓ 2 callers
Function
sortInPlace1
(x []string, offset int)
rsort/rsort.go:122
↓ 2 callers
Function
splicebefore
Inserts prev before curr in the instruction stream. Any control flow, such as branches or fall throughs, that target the existing instruction are adj
bootstrap/internal/gc/plive.go:143
↓ 2 callers
Function
staticassign
(l *Node, r *Node, out **NodeList)
bootstrap/internal/gc/sinit.go:392
↓ 2 callers
Function
stkcheck
(up *Chain, depth int)
bootstrap/internal/ld/lib.go:1396
↓ 2 callers
Function
stkof
* * n is on stack, either local variable * or return value from function call. * return n's offset from SP. */
bootstrap/internal/gc/cgen.go:2186
↓ 2 callers
Function
stmtwithinit
Statements which may be rendered with a simplestmt as init.
bootstrap/internal/gc/fmt.go:765
↓ 2 callers
Function
stringsym
(s string)
bootstrap/internal/gc/obj.go:206
↓ 2 callers
Function
stringtouint32
(x []uint32, s string)
bootstrap/internal/ld/util.go:352
↓ 2 callers
Function
strput
(s string)
bootstrap/internal/ld/pe.go:478
↓ 2 callers
Function
strtbladd
(name string)
bootstrap/internal/ld/pe.go:914
↓ 2 callers
Function
structargs
* * Given funarg struct list, return list of ODCLFIELD Node fn args. */
bootstrap/internal/gc/subr.go:2258
↓ 2 callers
Function
subVW
(z, x []Word, y Word)
bootstrap/internal/gc/big/arith_decl.go:29
↓ 2 callers
Function
subWW_g
z1<<_W + z0 = x-y-c, with c == 0 or 1
bootstrap/internal/gc/big/arith.go:47
↓ 2 callers
Function
testBentleyMcIlroy
(t *testing.T, tsort func([]string))
rsort/sort_test.go:44
↓ 2 callers
Function
testBitset
(t *testing.T, x *Int)
bootstrap/internal/gc/big/int_test.go:1042
↓ 2 callers
Function
testFtoa
(t *testing.T, exact int, ftoa func(float64, int) (uint64, int))
ftoa/ftoa_test.go:36
↓ 2 callers
Function
testFunVWW
(t *testing.T, msg string, f funVWW, a argVWW)
bootstrap/internal/gc/big/arith_test.go:310
↓ 2 callers
Function
testFunWVW
(t *testing.T, msg string, f funWVW, a argWVW)
bootstrap/internal/gc/big/arith_test.go:336
↓ 2 callers
Function
testIDCT
(t *testing.T, idct func(*block))
dct/dct_test.go:50
↓ 2 callers
Function
testWordBitLen
(t *testing.T, fname string, f func(Word) int)
bootstrap/internal/gc/big/arith_test.go:423
↓ 2 callers
Function
testdclstack
()
bootstrap/internal/gc/dcl.go:123
↓ 2 callers
Method
threadLocalInstance
()
ftoa/schubfach/DoubleToDecimal.java:265
← previous
next →
1,901–2,000 of 4,772, ranked by callers