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
TrimTrailingZeros
ftoa/dblconv/strtod.h:53
↓ 2 callers
Function
TruncateToBitWidth
Right shifts a uint128 so that it has the requested bit width. (The resulting value will have 128 - bit_width leading zeroes.) The initial `value` m
ftoa/abseil/charconv.cc:348
↓ 2 callers
Function
Type
Type returns a [genai.Schema] for the given type. The type is usually a struct, or pointer to struct, with fields that have `tool:...` tags giving the
gadget/internal/schema/schema.go:82
↓ 2 callers
Function
Umagic
* * magic number for unsigned division * see hacker's delight chapter 10 */
bootstrap/internal/gc/subr.go:3262
↓ 2 callers
Function
Uniqp
(r *Flow)
bootstrap/internal/gc/popt.go:487
↓ 2 callers
Function
Uniqs
(r *Flow)
bootstrap/internal/gc/popt.go:500
↓ 2 callers
Function
UnpackTarGz
UnpackTarGz unpacks the given tgz data into the named directory. On error the directory may contain partial contents.
gorebuild/io.go:114
↓ 2 callers
Method
UnsafeUnmap
()
mpt/mem.go:91
↓ 2 callers
Function
UnwrittenBytes
brotli/dec_decode.c:1259
↓ 2 callers
Function
UpdateNodes
Returns longest copy length. */
brotli/enc_backward_references_hq.c:416
↓ 2 callers
Function
UpdateSizeHint
brotli/enc_encode.c:1568
↓ 2 callers
Function
UpdateZopfliNode
REQUIRES: len >= 2, start_pos <= pos */ REQUIRES: cost < kInfinity, nodes[start_pos].cost < kInfinity */ Maintains the "ZopfliNode array invariant". *
brotli/enc_backward_references_hq.c:262
↓ 2 callers
Method
UpperBoundary
Precondition: the value encoded by this Double must be greater or equal than +0.0.
ftoa/dblconv/ieee.h:182
↓ 2 callers
Method
Version
Version returns the version number of the tree's last complete snapshot. All Set calls made prior to Snap(version) are guaranteed to be recorded in th
mpt/tree.go:82
↓ 2 callers
Function
WrapRingBuffer
brotli/dec_decode.c:1314
↓ 2 callers
Method
Write
Write writes b as a single packet.
gitfs/pkt.go:109
↓ 2 callers
Method
WriteDisk
WriteDisk writes src to the disk-only file at offset off. It guarantees that on recovery after a crash, all disk writes that occurred before the lates
mpt/internal/pmem/pmem.go:677
↓ 2 callers
Function
ZopfliCostModelGetCommandCost
brotli/enc_backward_references_hq.c:239
↓ 2 callers
Function
ZopfliCostModelGetDistanceCost
brotli/enc_backward_references_hq.c:244
↓ 2 callers
Function
ZopfliCostModelSetFromLiteralCosts
brotli/enc_backward_references_hq.c:211
↓ 2 callers
Function
ZopfliNodeDistanceCode
brotli/enc_backward_references_hq.c:67
↓ 2 callers
Function
_lookup
(ctxt *Link, symb string, v int, create bool)
bootstrap/internal/obj/sym.go:183
↓ 2 callers
Function
_lookup
(ctxt *Link, symb string, v int, creat int)
bootstrap/internal/ld/sym.go:189
↓ 2 callers
Method
addMemLenPatch
addMemLenPatch adds a final “memory length” patch to m.patch. Mutate ensures that there is always room for this final patch, so the error return shoul
mpt/internal/pmem/pmem.go:825
↓ 2 callers
Function
addMulVVW
(z, x []Word, y Word)
bootstrap/internal/gc/big/arith_decl.go:45
↓ 2 callers
Function
adddot
in T.field find missing fields that will give shortest unique addressing. modify the tree with missing type names.
bootstrap/internal/gc/subr.go:2053
↓ 2 callers
Function
addmethod
* * add a method, declared as a function, * n is fieldname, pa is base type, t is function type */
bootstrap/internal/gc/dcl.go:1348
↓ 2 callers
Function
addmove
* * add mov b,rn * just after r */
bootstrap/internal/gc/reg.go:227
↓ 2 callers
Function
addreg
(a *obj.Addr, rn int)
bootstrap/internal/gc/reg.go:950
↓ 2 callers
Function
addstrdata
(name string, value string)
bootstrap/internal/ld/data.go:929
↓ 2 callers
Function
addvar
(n *Node, t *Type, ctxt uint8)
bootstrap/internal/gc/dcl.go:237
↓ 2 callers
Function
adjustargs
adds "adjust" to all the argument locations for the call n. n must be a defer or go node that has already been walked.
bootstrap/internal/gc/walk.go:115
↓ 2 callers
Function
algtype
(t *Type)
bootstrap/internal/gc/subr.go:523
↓ 2 callers
Function
anylit
(ctxt int, n *Node, var_ *Node, init **NodeList)
bootstrap/internal/gc/sinit.go:1062
↓ 2 callers
Function
appendZeros
appendZeros appends n 0 digits to buf and returns buf.
bootstrap/internal/gc/big/decimal.go:185
↓ 2 callers
Function
append_c_digits
Convert `digits` to decimal and write the last `count` decimal digits to result. If `digits` contains additional digits, then those are silently ignor
ftoa/ryu/d2fixed.c:274
↓ 2 callers
Function
argvar
Synthesize a variable to store the inlined function's arguments when they come from a multiple return call.
bootstrap/internal/gc/inl.go:874
↓ 2 callers
Function
arsize
(b *obj.Biobuf, name string)
bootstrap/internal/gc/lex.go:503
↓ 2 callers
Function
ascompatee
(op int, nl *NodeList, nr *NodeList, init **NodeList)
bootstrap/internal/gc/walk.go:1664
↓ 2 callers
Function
ascompatet
(op int, nl *NodeList, nr **Type, fp int, init **NodeList)
bootstrap/internal/gc/walk.go:1717
↓ 2 callers
Function
attach
(file string)
gadget/main.go:300
↓ 2 callers
Function
attr
(n *html.Node, name string)
html2md/html.go:393
↓ 2 callers
Function
autogrow
(text, extra)
ivynote/ivy.js:93
↓ 2 callers
Function
b2d
ftoa/dmg/dtoa20251117.c:2202
↓ 2 callers
Function
balance
(n int, s string)
bigprog/bigprog.go:58
↓ 2 callers
Function
basicMul
basicMul multiplies x and y and leaves the result in z. The (non-normalized) result is placed in z[0 : len(x) + len(y)].
bootstrap/internal/gc/big/nat.go:212
↓ 2 callers
Function
begin
string_view::begin() Returns an iterator pointing to the first character at the beginning of the `string_view`, or `end()` if the `string_view` is em
ftoa/abseil/absl_strings_string_view.h:258
↓ 2 callers
Function
bgenx
bgenx is the backend for Bgen and Bvgen. If res is nil, it generates a branch. Otherwise, it generates a boolean value.
bootstrap/internal/gc/cgen.go:1796
↓ 2 callers
Function
biset
biset sets bit n to 1.
bootstrap/internal/gc/reg.go:1494
↓ 2 callers
Function
bitset
(set Lkset, bit int)
yacc/yacc.go:3069
↓ 2 callers
Function
blk
(start *LSym, addr int64, size int64)
bootstrap/internal/ld/data.go:703
↓ 2 callers
Function
blockany
Iterates over a basic block applying a callback to each instruction. There are two criteria for termination. If the end of basic block is reached a
bootstrap/internal/gc/plive.go:204
↓ 2 callers
Function
bottomRun
()
ivynote/ivy.js:162
↓ 2 callers
Function
burnCPU1
()
partest/main.go:155
↓ 2 callers
Function
bvand
* intersection */
bootstrap/internal/gc/bv.go:164
↓ 2 callers
Method
byteTime
byteTime returns the time required for n bytes.
grpcbench/throttle.go:37
↓ 2 callers
Function
byteswapreg
byteswapreg returns a byte-addressable register (AX, BX, CX, DX) which is not referenced in a. If a is empty, it returns BX to account for MULB-like i
bootstrap/internal/obj/x86/asm6.go:4031
↓ 2 callers
Function
callrecv
* * does n contain a call or receive operation? */
bootstrap/internal/gc/typecheck.go:222
↓ 2 callers
Function
canmerge
Is n available for merging?
bootstrap/internal/gc/popt.go:567
↓ 2 callers
Method
capacity
ftoa/fast_float/bigint.h:82
↓ 2 callers
Function
caseClauses
caseClauses generates a slice of caseClauses corresponding to the clauses in the switch statement sw. Kind is the kind of switch statement.
bootstrap/internal/gc/swt.go:433
↓ 2 callers
Function
casebody
casebody builds separate lists of statements and cases. It makes labels between cases and statements and deals with fallthrough, break, and unreachabl
bootstrap/internal/gc/swt.go:338
↓ 2 callers
Function
cgen_discard
* * generate discard of value */
bootstrap/internal/gc/gen.go:274
↓ 2 callers
Function
cgen_div
* * generate division according to op, one of: * res = nl / nr * res = nl % nr */
bootstrap/internal/gc/cgen.go:2646
↓ 2 callers
Function
cgen_dottype
* * generate one of: * res, resok = x.(T) * res = x.(T) (when resok == nil) * n.Left is x * n.Type is T */
bootstrap/internal/gc/gen.go:408
↓ 2 callers
Function
cgen_proc
* * generate code to start new proc running call n. */
bootstrap/internal/gc/gen.go:229
↓ 2 callers
Function
cgen_wbptr
(n, res *Node)
bootstrap/internal/gc/cgen.go:794
↓ 2 callers
Function
chcopy
copies and protects "'s in q
yacc/yacc.go:3051
↓ 2 callers
Method
check
check checks all the tree invariants, walking the entire tree. It is too slow for real use but helpful to insert when debugging.
mpt/mem.go:285
↓ 2 callers
Method
check
()
mpt/dmem.go:391
↓ 2 callers
Function
checkIsBestApprox32
checkIsBestApprox32 checks that f is the best possible float32 approximation of r. Returns true on success.
bootstrap/internal/gc/big/rat_test.go:640
↓ 2 callers
Function
checkIsBestApprox64
checkIsBestApprox64 checks that f is the best possible float64 approximation of r. Returns true on success.
bootstrap/internal/gc/big/rat_test.go:677
↓ 2 callers
Function
checkNonLossyRoundtrip32
checkNonLossyRoundtrip32 checks that a float->Rat->float roundtrip is non-lossy for finite f.
bootstrap/internal/gc/big/rat_test.go:597
↓ 2 callers
Function
checkNonLossyRoundtrip64
checkNonLossyRoundtrip64 checks that a float->Rat->float roundtrip is non-lossy for finite f.
bootstrap/internal/gc/big/rat_test.go:615
↓ 2 callers
Function
checkauto
(fn *Node, p *obj.Prog, n *Node)
bootstrap/internal/gc/plive.go:814
↓ 2 callers
Function
checkdefergo
(n *Node)
bootstrap/internal/gc/typecheck.go:2265
↓ 2 callers
Function
checkembeddedtype
* * structs, functions, and methods. * they don't belong here, but where do they belong? */
bootstrap/internal/gc/dcl.go:784
↓ 2 callers
Function
checklvalue
(n *Node, verb string)
bootstrap/internal/gc/typecheck.go:3229
↓ 2 callers
Function
checknil
(x *Node, init **NodeList)
bootstrap/internal/gc/subr.go:3488
↓ 2 callers
Function
checkparam
(fn *Node, p *obj.Prog, n *Node)
bootstrap/internal/gc/plive.go:833
↓ 2 callers
Method
clone
()
mpt/internal/pmem/pmem_test.go:130
↓ 2 callers
Function
close
(fd, callback)
ivynote/ivy.js:257
↓ 2 callers
Function
closeStdout
()
ssh-namespace-agent/main.go:281
↓ 2 callers
Function
closure
generate the closure of state i
yacc/yacc.go:1767
↓ 2 callers
Function
closurebody
(body *NodeList)
bootstrap/internal/gc/closure.go:60
↓ 2 callers
Function
cmp
(int32)
bound/bound_test.go:15
↓ 2 callers
Function
colas
(left *NodeList, right *NodeList, lno int32)
bootstrap/internal/gc/dcl.go:522
↓ 2 callers
Function
collect
(r io.Reader)
shuffle/main.go:115
↓ 2 callers
Function
collectInline
(ctxt string, c *html.Node)
html2md/html.go:282
↓ 2 callers
Method
commit
commit returns a treeFS for the file system tree associated with the given commit hash.
gitfs/fs.go:201
↓ 2 callers
Function
componentgen_wb
componentgen_wb is like componentgen but if wb==true emits write barriers for pointer updates.
bootstrap/internal/gc/gen.go:1147
↓ 2 callers
Function
conprop
(r0 *gc.Flow)
bootstrap/bootstrap6g/peep.go:984
↓ 2 callers
Function
convert
(f *os.File)
csv2tsv/main.go:105
↓ 2 callers
Function
convert
(data []byte, file string)
ivymark/main.go:81
↓ 2 callers
Function
convert
(f *os.File)
jsonfmt/jsonfmt.go:91
↓ 2 callers
Function
convert
(f *os.File)
yaml2json/main.go:88
↓ 2 callers
Function
convert
(f *os.File)
total/total.go:128
↓ 2 callers
Function
convertop
Can we convert a value of type src to a value of type dst? If so, return op code to use in conversion (maybe OCONVNOP). If not, return 0.
bootstrap/internal/gc/subr.go:1200
↓ 2 callers
Function
copy1
(from, to chan int)
gomaxprocs/chain/chain_test.go:40
↓ 2 callers
Function
copy_special_str
ftoa/ryu/common.h:86
← previous
next →
1,601–1,700 of 4,772, ranked by callers