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
↓ 833 callers
Function
Nod
(op int, nleft *Node, nright *Node)
bootstrap/internal/gc/subr.go:373
↓ 795 callers
Function
int
ftoa/abseil/absl_numeric_int128.h:768
↓ 577 callers
Method
Printf
Printf adds a new message to the log. If the message begins with FAIL:, PASS:, or SKIP:, the status is updated accordingly.
gorebuild/report.go:92
↓ 446 callers
Function
Yyerror
(format string, args ...interface{})
bootstrap/internal/gc/subr.go:125
↓ 395 callers
Function
list
list returns the result of appending n to l.
bootstrap/internal/gc/syntax.go:382
↓ 352 callers
Function
Fatal
(fmt_ string, args ...interface{})
bootstrap/internal/gc/subr.go:201
↓ 271 callers
Function
typecheck
(np **Node, top int)
bootstrap/internal/gc/typecheck.go:121
↓ 171 callers
Function
Linklookup
(ctxt *Link, name string, v int)
bootstrap/internal/ld/sym.go:204
↓ 146 callers
Function
BrotliWriteBits
This function writes bits into bytes in increasing addresses, and within a byte least-significant-bit first. The function can write up to 56 bi
brotli/enc_write_bits.h:35
↓ 131 callers
Method
WriteString
WriteString writes s as a single packet.
gitfs/pkt.go:120
↓ 119 callers
Function
Diag
(format string, args ...interface{})
bootstrap/internal/ld/lib.go:1813
↓ 118 callers
Function
list1
list1 returns a one-element list containing n.
bootstrap/internal/gc/syntax.go:362
↓ 117 callers
Function
newname
* * this generates a new name node, * typically for labels or other one-off names. */
bootstrap/internal/gc/dcl.go:364
↓ 103 callers
Function
Regfree
(n *Node)
bootstrap/internal/gc/gsubr.go:728
↓ 102 callers
Function
Cgen
* * generate: * res = n; * simplifies and calls Thearch.Gmove. * if wb is true, need to emit write barriers. */
bootstrap/internal/gc/cgen.go:20
↓ 102 callers
Method
Cmp
Cmp compares x and y and returns: -1 if x < y 0 if x == y +1 if x > y
bootstrap/internal/gc/big/int.go:310
↓ 95 callers
Function
Cput
(c uint8)
bootstrap/internal/ld/lib.go:1575
↓ 95 callers
Function
js
(x any)
gadget/internal/schema/schema_test.go:146
↓ 93 callers
Function
Nconv
Fmt '%N': Nodes. Flags: 'l' suffix with "(type %T)" where possible '+h' in debug mode, don't recurse, no multiline output
bootstrap/internal/gc/fmt.go:1669
↓ 93 callers
Function
Oconv
Fmt "%O": Node opcodes
bootstrap/internal/gc/fmt.go:172
↓ 91 callers
Function
Regalloc
* * allocate register of type t, leave in n. * if o != N, o may be reusable register. * caller must Regfree(n). */
bootstrap/internal/gc/gsubr.go:659
↓ 83 callers
Function
AddMatch
brotli/enc_static_dict.c:26
↓ 83 callers
Function
typenod
(t *Type)
bootstrap/internal/gc/dcl.go:396
↓ 82 callers
Function
Lookup
(name string)
bootstrap/internal/gc/subr.go:262
↓ 82 callers
Function
Tconv
Fmt "%T": types. Flags: 'l' print definition, not name 'h' omit 'func' and receiver from function types, short type names 'u' package name, not
bootstrap/internal/gc/fmt.go:1628
↓ 77 callers
Function
Addstring
(s *LSym, str string)
bootstrap/internal/ld/data.go:951
↓ 77 callers
Function
Ptrto
(t *Type)
bootstrap/internal/gc/subr.go:1551
↓ 77 callers
Function
copy
string_view::copy() Copies the contents of the `string_view` at offset `pos` and length `n` into `buf`.
ftoa/abseil/absl_strings_string_view.h:421
↓ 77 callers
Function
typ
(et int)
bootstrap/internal/gc/subr.go:592
↓ 75 callers
Function
Bfree
ftoa/dmg/dtoa20170421.c:1622
↓ 75 callers
Function
Nodintconst
(v int64)
bootstrap/internal/gc/subr.go:668
↓ 73 callers
Method
Close
Close calls Sync and then closes the underlying files.
mpt/tree.go:85
↓ 71 callers
Method
SetString
SetString sets z to the value of s, interpreted in the given base, and returns z and a boolean indicating success. If SetString fails, the value of z
bootstrap/internal/gc/big/int.go:374
↓ 70 callers
Function
Isconst
(n *Node, ct int)
bootstrap/internal/gc/const.go:448
↓ 70 callers
Function
Pkglookup
(name string, pkg *Pkg)
bootstrap/internal/gc/subr.go:311
↓ 69 callers
Function
concat
concat returns the concatenation of the lists a and b. The storage taken by both is reused for the result.
bootstrap/internal/gc/syntax.go:347
↓ 66 callers
Function
Cpos
()
bootstrap/internal/ld/lib.go:1563
↓ 66 callers
Method
e
ftoa/dblconv/diy-fp.h:123
↓ 61 callers
Function
NewInt
NewInt allocates and returns a new Int set to x.
bootstrap/internal/gc/big/int.go:63
↓ 60 callers
Function
gins
* * generate one instruction: * as f, t */
bootstrap/bootstrap6g/gsubr.go:548
↓ 60 callers
Function
temp
(t *Type)
bootstrap/internal/gc/gen.go:763
↓ 58 callers
Function
Patch
(p *obj.Prog, to *obj.Prog)
bootstrap/internal/gc/gsubr.go:580
↓ 56 callers
Function
Balloc
ftoa/dmg/dtoa20170421.c:1573
↓ 56 callers
Function
Nodconst
(n *Node, t *Type, v int64)
bootstrap/internal/gc/subr.go:690
↓ 54 callers
Method
Set
Set adds the given key-value pair to the tree. If there is already an entry for the given key, then val replaces the old value. Set is a mutating ope
mpt/tree.go:27
↓ 54 callers
Function
setlineno
(n *Node)
bootstrap/internal/gc/subr.go:241
↓ 53 callers
Function
lshift
ftoa/dmg/dtoa20170421.c:1991
↓ 52 callers
Function
errorf
(s string, v ...any)
yacc/yacc.go:3190
↓ 52 callers
Function
walkexpr
(np **Node, init **NodeList)
bootstrap/internal/gc/walk.go:384
↓ 49 callers
Function
Dump
(s string, n *Node)
bootstrap/internal/gc/fmt.go:1736
↓ 49 callers
Function
multadd
ftoa/dmg/dtoa20170421.c:1651
↓ 49 callers
Function
syslook
(name string, copy int)
bootstrap/internal/gc/subr.go:1504
↓ 48 callers
Method
Parse
(yyLexer)
bootstrap/internal/gc/y.go:870
↓ 48 callers
Function
defaultlit
(np **Node, t *Type)
bootstrap/internal/gc/const.go:1169
↓ 48 callers
Function
f
goo:fix
gofix/x.go:8
↓ 48 callers
Function
getc
()
bootstrap/internal/asm/lexbody.go:510
↓ 47 callers
Function
Isslice
(t *Type)
bootstrap/internal/gc/subr.go:822
↓ 47 callers
Function
Mpgetfix
(a *Mpint)
bootstrap/internal/gc/mparith2.go:259
↓ 47 callers
Function
conv
(n *Node, t *Type)
bootstrap/internal/gc/walk.go:2813
↓ 46 callers
Function
Uint128Low64
ftoa/abseil/absl_numeric_int128.h:661
↓ 46 callers
Function
count
count returns the length of the list l.
bootstrap/internal/gc/syntax.go:449
↓ 46 callers
Function
h
(x string)
mpt/tree_test.go:228
↓ 46 callers
Function
newattr
(die *DWDie, attr uint16, cls int, value int64, data interface{})
bootstrap/internal/ld/dwarf.go:552
↓ 45 callers
Method
Line
()
bootstrap/internal/gc/util.go:15
↓ 45 callers
Method
SetPrec
go:generate stringer -type=Accuracy SetPrec sets z's precision to prec and returns the (possibly) rounded value of z. Rounding occurs according to z's
bootstrap/internal/gc/big/float.go:155
↓ 45 callers
Function
isblank
(n *Node)
bootstrap/internal/gc/subr.go:826
↓ 45 callers
Function
newdie
Every DIE has at least a DW_AT_name attribute (but it will only be written out if it is listed in the abbrev). If its parent is keeping an index, the
bootstrap/internal/ld/dwarf.go:591
↓ 43 callers
Method
Bytes
Bytes returns the absolute value of x as a big-endian byte slice.
bootstrap/internal/gc/big/int.go:396
↓ 43 callers
Function
Eqtype
Return 1 if t1 and t2 are identical, following the spec rules. Any cyclic type must go through a named type, and if one is named, it is only identica
bootstrap/internal/gc/subr.go:948
↓ 43 callers
Function
Exitf
(format string, a ...interface{})
bootstrap/internal/ld/lib.go:385
↓ 43 callers
Function
Gbranch
(as int, t *Type, likely int)
bootstrap/internal/gc/gsubr.go:86
↓ 43 callers
Function
dowidth
(t *Type)
bootstrap/internal/gc/align.go:114
↓ 43 callers
Function
dsymptr
(s *Sym, off int, x *Sym, xoff int)
bootstrap/internal/gc/obj.go:364
↓ 43 callers
Function
elfshname
(name string)
bootstrap/internal/ld/elf.go:1400
↓ 42 callers
Function
cmp
ftoa/dmg/dtoa20170421.c:2046
↓ 42 callers
Function
xdefine
(p string, t int, v int64)
bootstrap/internal/ld/lib.go:1728
↓ 41 callers
Function
typechecklist
(l *NodeList, top int)
bootstrap/internal/gc/typecheck.go:43
↓ 40 callers
Function
Uint128High64
ftoa/abseil/absl_numeric_int128.h:663
↓ 40 callers
Method
Write
(p []byte)
git85/git.go:162
↓ 39 callers
Method
f
ftoa/dblconv/diy-fp.h:122
↓ 39 callers
Function
mkcall1
(fn *Node, t *Type, init **NodeList, args ...*Node)
bootstrap/internal/gc/walk.go:2809
↓ 38 callers
Function
Rnd
(v int64, r int64)
bootstrap/internal/ld/lib.go:1885
↓ 38 callers
Function
Tempname
* * make a new off the books */
bootstrap/internal/gc/gen.go:733
↓ 38 callers
Method
len
ftoa/fast_float/bigint.h:78
↓ 37 callers
Function
getrune
(f *bufio.Reader)
yacc/yacc.go:3128
↓ 35 callers
Method
Reset
Reset the position.
ftoa/dblconv/utils.h:314
↓ 35 callers
Method
length
Returns the length of the vector.
ftoa/dblconv/utils.h:266
↓ 35 callers
Function
ptr
(x T)
gadget/internal/schema/schema_test.go:294
↓ 34 callers
Function
Isfixedarray
(t *Type)
bootstrap/internal/gc/subr.go:818
↓ 33 callers
Function
getc
()
bootstrap/internal/gc/lex.go:1854
↓ 33 callers
Function
mkcall
(name string, t *Type, init **NodeList, args ...*Node)
bootstrap/internal/gc/walk.go:2805
↓ 33 callers
Function
triv
(typ genai.Type, desc string)
gadget/internal/schema/schema_test.go:290
↓ 32 callers
Method
Add
Add sets z to the sum x+y and returns z.
bootstrap/internal/gc/big/int.go:111
↓ 32 callers
Function
errorexit
()
bootstrap/internal/gc/subr.go:30
↓ 32 callers
Function
getattr
Each DIE (except the root ones) has at least 1 attribute: its name. getattr moves the desired one to the front so frequently searched ones are found f
bootstrap/internal/ld/dwarf.go:566
↓ 32 callers
Function
typename
(t *Type)
bootstrap/internal/gc/reflect.go:900
↓ 31 callers
Function
Isinter
(t *Type)
bootstrap/internal/gc/subr.go:837
↓ 31 callers
Method
Lock
()
partest/main.go:111
↓ 31 callers
Method
Sub
Sub sets z to the difference x-y and returns z.
bootstrap/internal/gc/big/int.go:132
↓ 31 callers
Method
Unlock
()
partest/main.go:112
next →
1–100 of 4,772, ranked by callers