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
↓ 3 callers
Function
defercheckwidth
()
bootstrap/internal/gc/align.go:393
↓ 3 callers
Function
dflag
()
bootstrap/internal/gc/dcl.go:15
↓ 3 callers
Function
div100
ftoa/ryu/d2s_intrinsics.h:138
↓ 3 callers
Function
divmod1e9
divmod1e9 computes quotient and remainder of division by 1e9, avoiding runtime uint64 division on 32-bit platforms.
ftoa/go124/ftoaryu.go:561
↓ 3 callers
Function
do
(prompt string)
palm/main.go:94
↓ 3 callers
Function
double_computeInvPow5
Computes 5^-i in the form required by Ryu, and stores it in the given pointer.
ftoa/ryu/d2s_small_table.h:106
↓ 3 callers
Function
double_computePow5
Computes 5^i in the form required by Ryu, and stores it in the given pointer.
ftoa/ryu/d2s_small_table.h:86
↓ 3 callers
Function
double_to_bits
ftoa/ryu/common.h:108
↓ 3 callers
Function
downcount
(t *Type)
bootstrap/internal/gc/typecheck.go:2584
↓ 3 callers
Function
dumpexporttype
(t *Type)
bootstrap/internal/gc/export.go:277
↓ 3 callers
Function
dumppkg
(p *Pkg)
bootstrap/internal/gc/export.go:83
↓ 3 callers
Function
elfnote
(sh *ElfShdr, startva uint64, resoff uint64, sz int)
bootstrap/internal/ld/elf.go:1044
↓ 3 callers
Function
elfphload
(seg *Segment)
bootstrap/internal/ld/elf.go:1378
↓ 3 callers
Function
elfshbits
(sect *Section)
bootstrap/internal/ld/elf.go:1430
↓ 3 callers
Function
elfshreloc
(sect *Section)
bootstrap/internal/ld/elf.go:1465
↓ 3 callers
Function
elfwritenotehdr
(str string, namesz uint32, descsz uint32, tag uint32)
bootstrap/internal/ld/elf.go:1057
↓ 3 callers
Function
embedded
(s *Sym, pkg *Pkg)
bootstrap/internal/gc/dcl.go:1043
↓ 3 callers
Function
encode
(data any)
elfstrip/main.go:180
↓ 3 callers
Function
escchar
(e int)
bootstrap/internal/asm/lexbody.go:550
↓ 3 callers
Function
escchar
(e int, escflg *int, val *int64)
bootstrap/internal/gc/lex.go:1946
↓ 3 callers
Method
exact
()
mpt/disk.go:345
↓ 3 callers
Function
expandmeth
(t *Type)
bootstrap/internal/gc/subr.go:2195
↓ 3 callers
Function
fastfloat_strncasecmp
ftoa/fast_float/float_common.h:272
↓ 3 callers
Function
find
Overload of `string_view::find()` for finding a substring of a different C-style string `s` within the `string_view`.
ftoa/abseil/absl_strings_string_view.h:508
↓ 3 callers
Function
floor_log2
ftoa/ryu/s2f.c:41
↓ 3 callers
Function
floor_log2
ftoa/ryu/s2d.c:47
↓ 3 callers
Function
formatDigits
(dst []byte, shortest bool, neg bool, digs decimalSlice, prec int, fmt byte)
ftoa/go124/ftoa.go:203
↓ 3 callers
Function
frnorm
ftoa/ken/strtod.c:335
↓ 3 callers
Function
ftoa
ftoa(f, prec) returns the prec-digit decimal form of f as dm * 10^dp.
ftoa/ftoa.go:21
↓ 3 callers
Function
full_multiplication
compute 64-bit a*b
ftoa/fast_float/float_common.h:396
↓ 3 callers
Function
funcargs
(nt *Node)
bootstrap/internal/gc/dcl.go:600
↓ 3 callers
Function
gen
(n *Node)
bootstrap/internal/gc/gen.go:770
↓ 3 callers
Function
generic_binary_to_decimal
ftoa/ryu/generic_128.c:83
↓ 3 callers
Function
genwrapper
(rcvr *Type, method *Type, newnam *Sym, iface int)
bootstrap/internal/gc/subr.go:2314
↓ 3 callers
Function
getquoted
(pp *string)
bootstrap/internal/gc/lex.go:1676
↓ 3 callers
Function
gofmt
(p *packages.Package, n interface{})
unsafeconv/main.go:73
↓ 3 callers
Function
gused
(n *Node)
bootstrap/internal/gc/gsubr.go:252
↓ 3 callers
Method
hash
hash returns the hash for the given tree node. pbit is the parent bit depth, controlling whether n is viewed as a leaf.
mpt/mem.go:52
↓ 3 callers
Method
hash
hash returns a short hash of the current memory content, useful for debugging and testing.
mpt/internal/pmem/pmem.go:1091
↓ 3 callers
Function
hashStack
(s []node)
mpt/tree.go:370
↓ 3 callers
Function
haslinkregister
TODO: Record enough information in new object files to allow stack checks here.
bootstrap/internal/ld/lib.go:1342
↓ 3 callers
Function
htinit
ftoa/dmg/dtoa20170421.c:2485
↓ 3 callers
Function
htinit
ftoa/dmg/dtoa20161215.c:1502
↓ 3 callers
Function
htinit
ftoa/dmg/dtoa20251117.c:2486
↓ 3 callers
Function
idctCol8
(b *block)
dct/idct_skal.go:107
↓ 3 callers
Function
idealkind
idealkind returns a constant kind like consttype but for an arbitrary "ideal" (untyped constant) expression.
bootstrap/internal/gc/const.go:1107
↓ 3 callers
Function
importfile
(f *Val, line int)
bootstrap/internal/gc/lex.go:639
↓ 3 callers
Function
indir_cx
(ctxt *obj.Link, p *obj.Prog, a *obj.Addr)
bootstrap/internal/obj/x86/obj6.go:828
↓ 3 callers
Function
initplan
(n *Node)
bootstrap/internal/gc/sinit.go:1278
↓ 3 callers
Function
isOptional
isOptional reports whether the field's tag marks it optional.
gadget/internal/schema/schema.go:426
↓ 3 callers
Function
is_truncated
ftoa/fast_float/digit_comparison.h:194
↓ 3 callers
Function
ispaddedfield
ispaddedfield reports whether the given field is followed by padding. For the case where t is the last field, total gives the size of the enclosing st
bootstrap/internal/gc/subr.go:401
↓ 3 callers
Function
issect
(s *PeSym)
bootstrap/internal/ld/ldpe.go:475
↓ 3 callers
Function
isword
(c rune)
yacc/yacc.go:3109
↓ 3 callers
Function
jsKind
jsKind returns an LLM-readable description of the kind of a value.
gadget/internal/schema/schema.go:406
↓ 3 callers
Function
karatsubaAdd
Fast version of z[0:n+n>>1].add(z[0:n+n>>1], x[0:n]) w/o bounds checks. Factored out for readability - do not use outside karatsuba.
bootstrap/internal/gc/big/nat.go:223
↓ 3 callers
Function
ldhostobj
(ld func(*Biobuf, string, int64, string), f *Biobuf, pkg string, length int64, pn string, file string)
bootstrap/internal/ld/lib.go:733
↓ 3 callers
Method
leafAddr
(t *diskTree)
mpt/disk.go:447
↓ 3 callers
Function
livenessprintcfg
Prints a control flow graph annotated with any information computed by liveness analysis.
bootstrap/internal/gc/plive.go:808
↓ 3 callers
Function
log10Pow5
Returns floor(log_10(5^e)); requires 0 <= e <= 2620.
ftoa/ryu/common.h:79
↓ 3 callers
Function
log2pow5
Returns e == 0 ? 1 : [log_2(5^e)]; requires 0 <= e <= 3528.
ftoa/ryu/common.h:46
↓ 3 callers
Function
low64
low64 returns the least significant 64 bits of z.
bootstrap/internal/gc/big/int.go:338
↓ 3 callers
Method
lowDigits
(int l)
ftoa/schubfach/DoubleToDecimal.java:561
↓ 3 callers
Function
machorelocsect
(sect *Section, first *LSym)
bootstrap/internal/ld/macho.go:800
↓ 3 callers
Function
mapfn
(name string, t *Type)
bootstrap/internal/gc/walk.go:2839
↓ 3 callers
Function
maptype
(key *Type, val *Type)
bootstrap/internal/gc/subr.go:553
↓ 3 callers
Function
match
ftoa/dmg/dtoa20251117.c:2535
↓ 3 callers
Function
mayberemoveoutfile
* * Unix doesn't like it when we write to a running (or, sometimes, * recently run) binary, so remove the output file before writing it. * On Windo
bootstrap/internal/ld/lib.go:333
↓ 3 callers
Function
memcasecmp
ftoa/abseil/absl_strings_internal_memutil.cc:25
↓ 3 callers
Function
methodname
(n *Node, t *Type)
bootstrap/internal/gc/dcl.go:1309
↓ 3 callers
Function
mkdch
()
gomaxprocs/powser/powser_test.go:50
↓ 3 callers
Function
mkindex
(die *DWDie)
bootstrap/internal/ld/dwarf.go:608
↓ 3 callers
Function
mkinlcall
(np **Node, fn *Node, isddd bool)
bootstrap/internal/gc/inl.go:500
↓ 3 callers
Method
modW
modW returns x % d.
bootstrap/internal/gc/big/nat.go:830
↓ 3 callers
Function
mpdivfltflt
(a *Mpflt, b *Mpflt)
bootstrap/internal/gc/mparith3.go:87
↓ 3 callers
Function
mulAddVWW
(z, x []Word, y, r Word)
bootstrap/internal/gc/big/arith_decl.go:41
↓ 3 callers
Method
mulAddWW
(x nat, y, r Word)
bootstrap/internal/gc/big/nat.go:197
↓ 3 callers
Function
mulAddWWW_g
z1<<_W + z0 = x*y + c
bootstrap/internal/gc/big/arith.go:74
↓ 3 callers
Function
mulByLog2Log10
mulByLog2Log10 returns math.Floor(x * log(2)/log(10)) for an integer x in the range -1600 <= x && x <= +1600. The range restriction lets us work in f
ftoa/go124/ftoaryu.go:334
↓ 3 callers
Function
mulDenom
mulDenom sets z to the denominator product x*y (by taking into account that 0 values for x or y must be interpreted as 1) and returns z.
bootstrap/internal/gc/big/rat.go:445
↓ 3 callers
Function
mulWW_g
z1<<_W + z0 = x*y Adapted from Warren, Hacker's Delight, p. 132.
bootstrap/internal/gc/big/arith.go:58
↓ 3 callers
Function
mul_128_256_shift
ftoa/ryu/generic_128.h:369
↓ 3 callers
Function
multipleOfPowerOf2_32
Returns true if value is divisible by 2^p.
ftoa/ryu/f2s_intrinsics.h:60
↓ 3 callers
Method
mutate
mutate logs a write to the patch block, starting a new patch block if necessary. It calls commit to apply the actual write once it has checked a few e
mpt/internal/pmem/pmem.go:715
↓ 3 callers
Function
nacladdr
(ctxt *obj.Link, p *obj.Prog, a *obj.Addr)
bootstrap/internal/obj/x86/obj6.go:418
↓ 3 callers
Function
needwritebarrier
Do we need a write barrier for the assignment l = r?
bootstrap/internal/gc/walk.go:2142
↓ 3 callers
Function
newIvyRun
(text, out, err, rerun)
ivynote/ivy.js:75
↓ 3 callers
Function
newPktLineReader
newPktLineReader returns a new pktLineReader reading from r.
gitfs/pkt.go:32
↓ 3 callers
Function
newio
()
bootstrap/internal/asm/lexbody.go:120
↓ 3 callers
Function
nextar
* * look for the next file in an archive. * adapted from libmach. */
bootstrap/internal/ld/lib.go:595
↓ 3 callers
Function
nm
(file string)
macpanic/main.go:90
↓ 3 callers
Function
normalize
(s string)
bootstrap/internal/obj/x86/obj6_test.go:83
↓ 3 callers
Function
nrv_alloc
ftoa/dmg/dtoa20251117.c:4920
↓ 3 callers
Method
or
(x, y nat)
bootstrap/internal/gc/big/nat.go:786
↓ 3 callers
Function
ordercheapexpr
Ordercheapexpr returns a cheap version of n. The definition of cheap is that n is a variable or constant. If not, ordercheapexpr allocates a new tmp,
bootstrap/internal/gc/order.go:108
↓ 3 callers
Function
orderstmt
Orderstmt orders the statement n, appending to order->out. Temporaries created during the statement are cleaned up using VARKILL instructions as possi
bootstrap/internal/gc/order.go:436
↓ 3 callers
Function
orderstmtlist
Orderstmtlist orders each of the statements in the list.
bootstrap/internal/gc/order.go:248
↓ 3 callers
Function
paramstoheap
* * walk through argin parameters. * generate and return code to allocate * copies of escaped parameters to the heap. */
bootstrap/internal/gc/walk.go:2701
↓ 3 callers
Function
parse
parse parses the Go version string x into a version. It returns the zero version if x is malformed.
gorebuild/gover.go:54
↓ 3 callers
Function
parseHash
parseHash parses the (full-length) Git hash text.
gitfs/fs.go:25
← previous
next →
1,201–1,300 of 4,772, ranked by callers