MCPcopy Create free account

hub / github.com/rsc/tmp / functions

Functions4,772 in github.com/rsc/tmp

↓ 1 callersFunctionmulBytes
mulBytes returns x*y via grade school multiplication. Both inputs and the result are assumed to be in big-endian representation (to match the semantic
bootstrap/internal/gc/big/int_test.go:134
↓ 1 callersFunctionmulLog10_2
mulLog10_2(x) returns ⌊x * log_10 2⌋
ftoa/ftoa.go:168
↓ 1 callersFunctionmulLog2_10
mulLog2_10(x) returns ⌊x * log_10 2⌋
ftoa/ftoa.go:195
↓ 1 callersFunctionmulascii
ftoa/ken/strtod.c:504
↓ 1 callersFunctionmulby
ftoa/ken/strtod.c:463
↓ 1 callersFunctionmywhatsys
()
bootstrap/internal/ld/lib.go:1251
↓ 1 callersFunctionnewCaseLabel
()
bootstrap/internal/gc/swt.go:424
↓ 1 callersFunctionnewHilbert
(n int)
bootstrap/internal/gc/big/hilbert_test.go:62
↓ 1 callersFunctionnewInverseHilbert
(n int)
bootstrap/internal/gc/big/hilbert_test.go:72
↓ 1 callersFunctionnewLogger
(t http.RoundTripper)
gcsbench/gcsbench.go:98
↓ 1 callersFunctionnewMutexMap
()
mapbench/bench_test.go:80
↓ 1 callersFunctionnewRules
()
box/rules.go:30
↓ 1 callersFunctionnewShardMap
()
mapbench/bench_test.go:126
↓ 1 callersFunctionnewUnit
(n int)
bootstrap/internal/gc/big/hilbert_test.go:48
↓ 1 callersFunctionnewabslocexprattr
GDB doesn't like DW_FORM_addr for DW_AT_location, so emit a location expression that evals to a const.
bootstrap/internal/ld/dwarf.go:916
↓ 1 callersFunctionnewcfaoffsetattr
(die *DWDie, offs int32)
bootstrap/internal/ld/dwarf.go:1504
↓ 1 callersFunctionnewcfg
Constructs a control flow graph from a sequence of instructions. This procedure is complicated by various sources of implicit control flow that are n
bootstrap/internal/gc/plive.go:411
↓ 1 callersFunctionnewlabel_inl
()
bootstrap/internal/gc/inl.go:886
↓ 1 callersFunctionnewliveness
Constructs a new liveness structure used to hold the global state of the liveness computation. The cfg argument is an array of BasicBlock*s and the v
bootstrap/internal/gc/plive.go:695
↓ 1 callersFunctionnilopt
f->data is either nil or &killed
bootstrap/internal/gc/popt.go:931
↓ 1 callersFunctionnilwalkback
(fcheck *Flow)
bootstrap/internal/gc/popt.go:989
↓ 1 callersFunctionnilwalkfwd
Here is a more complex version that scans backward across branches. It assumes fcheck->kill = 1 has been set on entry, and its job is to find a reason
bootstrap/internal/gc/popt.go:1045
↓ 1 callersFunctionnlz64
(x uint64)
bootstrap/internal/gc/big/float.go:531
↓ 1 callersFunctionnodedump
(n *Node, flag int)
bootstrap/internal/gc/fmt.go:1489
↓ 1 callersFunctionnodefmt
(n *Node, flag int)
bootstrap/internal/gc/fmt.go:1453
↓ 1 callersFunctionnokeys
(l *NodeList)
bootstrap/internal/gc/typecheck.go:2565
↓ 1 callersFunctionnonnegconst
(n *Node)
bootstrap/internal/gc/const.go:1343
↓ 1 callersFunctionnorm
(x nat)
bootstrap/internal/gc/big/int_test.go:334
↓ 1 callersFunctionoaslit
(n *Node, init **NodeList)
bootstrap/internal/gc/sinit.go:1186
↓ 1 callersFunctionoffmod
(t *Type)
bootstrap/internal/gc/align.go:26
↓ 1 callersFunctiononlist
(l *TypePairList, t1 *Type, t2 *Type)
bootstrap/internal/gc/subr.go:933
↓ 1 callersFunctionopen
(s string)
yacc/yacc.go:3161
↓ 1 callersFunctionopen
open implements Open but avoids exposing named results in the docs.
mpt/internal/pmem/pmem.go:361
↓ 1 callersFunctionopenup
()
yacc/yacc.go:1441
↓ 1 callersFunctionorder
Order rewrites fn->nbody to apply the ordering constraints described in the comment at the top of the file.
bootstrap/internal/gc/order.go:53
↓ 1 callersFunctionorderexprlistinplace
Orderexprlist orders the expression list l but saves the side effects on the individual expression ninit lists.
bootstrap/internal/gc/order.go:930
↓ 1 callersFunctionordersafeexpr
Ordersafeexpr returns a safe version of n. The definition of safe is that n can appear multiple times without violating the semantics of the original
bootstrap/internal/gc/order.go:124
↓ 1 callersFunctionosummary
write optimizer summary
yacc/yacc.go:3034
↓ 1 callersFunctionothers
put out other arrays, copy the parsers
yacc/yacc.go:2771
↓ 1 callersFunctionoutput
print the output for the states
yacc/yacc.go:2109
↓ 1 callersFunctionoverlap_cplx
(f *Node, t *Node)
bootstrap/internal/gc/cplx.go:11
↓ 1 callersFunctionoverlap_reg
(o1 int64, w1 int, o2 int64, w2 int)
bootstrap/internal/gc/reg.go:275
↓ 1 callersFunctionpaint1
(f *Flow, bn int)
bootstrap/internal/gc/reg.go:708
↓ 1 callersFunctionpaint2
(f *Flow, bn int, depth int)
bootstrap/internal/gc/reg.go:787
↓ 1 callersFunctionpaint3
(f *Flow, bn int, rb uint64, rn int)
bootstrap/internal/gc/reg.go:858
↓ 1 callersFunctionparamoutheap
(fn *Node)
bootstrap/internal/gc/walk.go:96
↓ 1 callersFunctionparseCanada
()
ftoa/ftoa_test.go:188
↓ 1 callersFunctionparseExtmsg
(m []byte)
ssh-namespace-agent/main.go:177
↓ 1 callersFunctionparseHexdump
parseHexdump parses the hex dump in text, which should be the output of "hexdump -C" or Plan 9's "xd -b", and returns the original data used to produc
unhex/main.go:22
↓ 1 callersFunctionparseOutput
(t *testing.T, td *ParsedTestData, asmout []byte)
bootstrap/internal/obj/x86/obj6_test.go:125
↓ 1 callersFunctionparseTestData
(t *testing.T)
bootstrap/internal/obj/x86/obj6_test.go:48
↓ 1 callersFunctionparseTime
(text string)
blog2md/main.go:189
↓ 1 callersFunctionparse_mantissa
ftoa/fast_float/digit_comparison.h:257
↓ 1 callersFunctionparsemethod
(pp *string, methp *string)
bootstrap/internal/ld/go.go:332
↓ 1 callersFunctionparsepkgdata
(file string, pkg string, pp *string, prefixp *string, namep *string, defp *string)
bootstrap/internal/ld/go.go:209
↓ 1 callersFunctionparsetag
(note *string)
bootstrap/internal/gc/esc.go:259
↓ 1 callersFunctionpathtoprefix
From cmd/link/internal/ld/lib.go.
go2asm/main.go:478
↓ 1 callersFunctionpathtoprefix
* * Convert raw string to the prefix that will be used in the symbol * table. All control characters, space, '%' and '"', as well as * non-7-bit c
bootstrap/internal/gc/subr.go:3378
↓ 1 callersFunctionpathtoprefix
Copied from ../gc/subr.c:/^pathtoprefix; must stay in sync. * * Convert raw string to the prefix that will be used in the symbol table. * Invalid by
bootstrap/internal/ld/lib.go:1270
↓ 1 callersFunctionpciternext
(it *Pciter)
bootstrap/internal/obj/pcln.go:302
↓ 1 callersFunctionpclntab
()
bootstrap/internal/ld/pcln.go:214
↓ 1 callersFunctionpeemitreloc
peemitreloc emits relocation entries for go.o in external linking.
bootstrap/internal/ld/pe.go:851
↓ 1 callersFunctionpeimporteddlls
peimporteddlls returns the gcc command line argument to link all imported DLLs.
bootstrap/internal/ld/pe.go:578
↓ 1 callersFunctionpemap
(peobj *PeObj, sect *PeSect)
bootstrap/internal/ld/ldpe.go:459
↓ 1 callersFunctionpewrite
()
bootstrap/internal/ld/pe.go:461
↓ 1 callersFunctionpinit
(f string)
bootstrap/internal/asm/lexbody.go:609
↓ 1 callersFunctionpkgPayload
pkgPayload parses data as a macOS pkg file for the Go installer and returns the content of the file org.golang.go.pkg/Payload.
gorebuild/darwin.go:217
↓ 1 callersFunctionplotPath
(f func(*big.Rat) *big.Rat, fminx, fminy, fmaxx, fmaxy *big.Rat, r fixed.Rectangle26_6)
randdist/graph/graph.go:211
↓ 1 callersFunctionpngEncode
(c image.Image)
randdist/graph/graph.go:205
↓ 1 callersMethodpop_back
ftoa/dblconv/utils.h:284
↓ 1 callersFunctionpostorder
* * find looping structure * * 1) find reverse postordering * 2) find approximate dominators, * the actual dominators if the flow graph is reduci
bootstrap/internal/gc/popt.go:355
↓ 1 callersFunctionpow
pow returns x**n for n > 0, and 1 otherwise.
bootstrap/internal/gc/big/natconv.go:38
↓ 1 callersFunctionpow10
pow10 returns the 128-bit mantissa and binary exponent of 10**e. That is, 10^e = mant/2^128 * 2**exp. If e is out of range, pow10 returns ok=false.
ftoa/ftoa.go:187
↓ 1 callersMethodpow10
multiply as if by 10 raised to a power.
ftoa/fast_float/bigint.h:630
↓ 1 callersMethodpow5
multiply as if by 5 raised to a power.
ftoa/fast_float/bigint.h:599
↓ 1 callersFunctionpow5Factor
ftoa/ryu/d2s_intrinsics.h:191
↓ 1 callersFunctionpow5Factor
ftoa/ryu/generic_128.h:460
↓ 1 callersFunctionpow5factor_32
ftoa/ryu/f2s_intrinsics.h:39
↓ 1 callersFunctionpragcgo
(name string)
bootstrap/internal/asm/lexbody.go:59
↓ 1 callersFunctionpragcgo
Copied nearly verbatim from the C compiler's #pragma parser. TODO: Rewrite more cleanly once the compiler is written in Go.
bootstrap/internal/gc/lex.go:1693
↓ 1 callersFunctionpragdataflag
()
bootstrap/internal/asm/lexbody.go:74
↓ 1 callersFunctionpragfpround
()
bootstrap/internal/asm/lexbody.go:64
↓ 1 callersFunctionpragincomplete
()
bootstrap/internal/asm/lexbody.go:84
↓ 1 callersFunctionpragpack
* * common code for all the assemblers */
bootstrap/internal/asm/lexbody.go:49
↓ 1 callersFunctionpragtextflag
()
bootstrap/internal/asm/lexbody.go:69
↓ 1 callersFunctionpragvararg
()
bootstrap/internal/asm/lexbody.go:54
↓ 1 callersFunctionprecftn
decide a shift/reduce conflict by precedence. r is a rule number, t a token number the conflict is in state s temp1[t] is changed to reflect the actio
yacc/yacc.go:2201
↓ 1 callersMethodpredict
(s []node, n *memNode, pbit int, list []KeyVal)
mpt/mem.go:202
↓ 1 callersMethodpredict
predict calculates the edited tree hash for the subtree at address a.
mpt/dmem.go:270
↓ 1 callersFunctionprefixIsLessThan
Is the leading prefix of b lexicographically less than s?
ftoa/go124/decimal.go:256
↓ 1 callersFunctionprevl
is reg guaranteed to be truncated by a previous L instruction?
bootstrap/bootstrap6g/peep.go:510
↓ 1 callersFunctionprfile
(l int32)
bootstrap/internal/asm/lexbody.go:678
↓ 1 callersFunctionprime
(h uint32, sr uint32)
bootstrap/internal/gc/typecheck.go:2863
↓ 1 callersFunctionprintTo
(buf *bytes.Buffer, n *html.Node)
html2md/html.go:454
↓ 1 callersFunctionprintblock
A pretty printer for basic blocks.
bootstrap/internal/gc/plive.go:179
↓ 1 callersFunctionprintnode
Pretty print a variable node. Uses Pascal like conventions for pointers and addresses to avoid confusing the C like conventions used in the node vari
bootstrap/internal/gc/plive.go:741
↓ 1 callersFunctionprintprog
(p *obj.Prog)
bootstrap/internal/gc/plive.go:1761
↓ 1 callersFunctionprlook
(p Lkset)
yacc/yacc.go:3090
↓ 1 callersMethodprobablyPrime
probablyPrime performs reps Miller-Rabin tests to check whether n is prime. If it returns true, n is prime with probability 1 - 1/4^reps. If it return
bootstrap/internal/gc/big/nat.go:1030
↓ 1 callersFunctionprocess
(file string)
macpanic/main.go:119
← previousnext →2,901–3,000 of 4,772, ranked by callers