MCPcopy Create free account

hub / github.com/aclements/go-misc / functions

Functions916 in github.com/aclements/go-misc

↓ 70 callersMethodString
()
memmodel/main.go:71
↓ 54 callersMethodSched
()
go-weave/weave/weave.go:207
↓ 32 callersMethodTracef
(msg string, args ...interface{})
go-weave/weave/trace.go:21
↓ 30 callersMethodfmt
(f string, args ...interface{})
ptype/main.go:173
↓ 24 callersMethodUnlock
Unlock releases m from writer mode. The mutex must currently be held in writer mode.
split/example_rwmutex_test.go:62
↓ 23 callersMethodPrint
(w io.Writer)
gc-S/main.go:118
↓ 22 callersMethodLock
Lock acquires m in writer mode. This blocks all readers and writers.
split/example_rwmutex_test.go:48
↓ 22 callersMethodTrace
(msg string)
go-weave/weave/trace.go:17
↓ 21 callersMethodAdd
(val int)
pcvaluetab/dist.go:18
↓ 21 callersMethodappend
(v uint64)
split/vlogger_test.go:27
↓ 19 callersMethodExtendHeap
ExtendHeap returns a new ValState that is like vs, but with heap object h bound to dynamic value val.
rtcheck/val.go:123
↓ 19 callersMethodRun
(reporter StressReporter)
stress2/stress.go:77
↓ 16 callersMethodGet
Get returns a pointer to some shard of v. Get may return the same pointer to multiple goroutines, so the caller is responsible for synchronizing conc
split/value.go:113
↓ 15 callersMethodContains
Contains returns true if set contains lock class lc.
rtcheck/main.go:992
↓ 13 callersMethodAmb
Amb returns an "ambiguous" value in the range [0, n). If the current path cannot be continued (for example, it's reached a maximum depth), it returns
go-weave/amb/run.go:32
↓ 13 callersMethodRun
Run calls root repeatedly at different points in the ambiguous value space.
go-weave/amb/run.go:64
↓ 12 callersMethodFormat
(width int)
memmodel/outcome.go:29
↓ 12 callersMethodGo
(f func())
go-weave/weave/weave.go:156
↓ 11 callersMethodAdd
(delta int)
go-weave/weave/waitgroup.go:12
↓ 11 callersMethodDone
Done returns a channel that will be closed when the command exits and its output and status are ready.
stress2/cmd.go:222
↓ 11 callersMethodGet
Get returns the dynamic value of val, or nil if unknown. val may be a constant ssa.Value, in which case it will be resolved directly to a DynValue if
rtcheck/val.go:59
↓ 11 callersFunctionNew
New returns a new Value. The constructor argument must be a function with type func(*T), where T determines the type that will be stored in each shard
split/value.go:54
↓ 11 callersMethodNext
Next terminates the current path. If there are no more paths to explore, Next returns false. A Strategy is not required to ever return false (for exam
go-weave/amb/run.go:38
↓ 10 callersMethodDone
()
go-weave/weave/waitgroup.go:23
↓ 10 callersMethodExtend
Extend returns a new ValState that is like vs, but with bind bound to dynamic value val. If dyn is dynUnknown, Extend unbinds val. Extend is a no-op i
rtcheck/val.go:97
↓ 10 callersMethodGetHeap
GetHeap returns the dynamic value of a heap object, or nil if unknown.
rtcheck/val.go:82
↓ 10 callersFunctionNewHeapObject
(label string)
rtcheck/val.go:534
↓ 10 callersMethodWait
()
go-weave/weave/waitgroup.go:27
↓ 10 callersMethodname
(id int)
rtcheck/order.go:156
↓ 10 callersMethodrunnable
runnable returns whether commit c needs to be benchmarked at least one more time.
benchmany/commits.go:147
↓ 10 callersFunctionshade
shade makes obj grey if it is white.
go-weave/models/yuasa.go:283
↓ 9 callersMethodBase
()
simdapi/cmd/apisum/types.go:80
↓ 9 callersMethodEqual
(other DynValue)
rtcheck/val.go:311
↓ 9 callersFunctiontgit
(t *testing.T, repo string, args ...string)
benchmany/run_test.go:137
↓ 9 callersMethodunlock
()
gopool/main.go:288
↓ 9 callersMethodwarnl
(pos token.Pos, format string, args ...interface{})
rtcheck/main.go:1225
↓ 8 callersMethodLen
()
benchplot/table.go:118
↓ 8 callersMethodLock
()
go-weave/weave/mutex.go:14
↓ 8 callersMethodRead
(data []byte, out any)
pcvaluetab/read.go:19
↓ 8 callersMethodReset
Reset resets the state of this Strategy to the point where no paths have been explored.
go-weave/amb/run.go:42
↓ 8 callersMethodUnlock
()
go-weave/weave/mutex.go:24
↓ 8 callersMethodbad
bad panics with a compileError for the given message.
dashquery/compile.go:51
↓ 8 callersMethodcol
(name string)
minutes3/gdoc.go:496
↓ 8 callersFunctionconstNum
(v int64)
dashquery/main.go:33
↓ 8 callersMethodflatten
()
rtcheck/val.go:233
↓ 8 callersMethodflush
flush saves the pool state.
gopool/main.go:298
↓ 8 callersFunctionhasAnyPrefix
(s string, prefixes ...string)
simdapi/cmd/apisum/main.go:93
↓ 8 callersMethodlock
lock locks and returns the pool configuration.
gopool/main.go:263
↓ 8 callersMethodtyp
typ returns the type of this node's result as a string.
dashquery/compile.go:67
↓ 7 callersMethodExtend
Extend returns a new StackFrame that extends sf with call. call is typically an *ssa.Call, but other instructions can invoke runtime function calls as
rtcheck/main.go:1141
↓ 7 callersMethodId
Id returns a small integer ID for this lock class that is unique within the LockClassAnalysis that returned this *LockClass.
rtcheck/lockclass.go:45
↓ 7 callersMethodLanes
()
simdapi/cmd/apisum/types.go:95
↓ 7 callersMethodRange
Range calls each of its argument functions with pointers to all of the shards in v. Each argument must be a function with type func(*T), where T is th
split/value.go:191
↓ 7 callersMethodSet
(op Op, result int)
memmodel/outcome.go:23
↓ 7 callersMethodStop
()
benchmany/status.go:51
↓ 7 callersMethodWait
()
git-p/gerrit.go:153
↓ 7 callersFunctionhighlight
(dom)
rtcheck/static/main.js:92
↓ 7 callersFunctionindent
indent returns s with each line indented by four spaces. If s is non-empty, the returned string is guaranteed to end in a "\n".
benchmany/benchmany.go:140
↓ 7 callersFunctionrewriteExprList
(v func(ast.Node) ast.Node, list []ast.Expr)
rtcheck/rewrite.go:18
↓ 7 callersFunctiontotal
(dct)
stackmapcompress.py:266
↓ 7 callersFunctionunlock
(m *weave.Mutex)
go-weave/models/rwmutex.go:58
↓ 6 callersMethodElemBits
()
simdapi/cmd/apisum/types.go:87
↓ 6 callersMethodLoad
()
go-weave/weave/atomic.go:27
↓ 6 callersFunctionNewPathStateSet
NewPathStateSet returns a new, empty PathStateSet.
rtcheck/main.go:1510
↓ 6 callersMethodadd
(self, bitmap)
stackmapcompress.py:35
↓ 6 callersFunctionatomicXadd
(x *uint32, delta int32)
go-weave/models/rwmutex.go:41
↓ 6 callersMethodbool
bool returns n as a boolNode or panics with a type error.
dashquery/compile.go:104
↓ 6 callersFunctiongit
git runs git with args and returns its output.
git-p/git.go:18
↓ 6 callersFunctionpct
(x float64)
findflakes/text.go:16
↓ 6 callersFunctionresolveName
resolveName returns the path to the root of the named build and whether or not that path exists. It will log an error and exit if name is ambiguous. I
gover/cache.go:26
↓ 6 callersFunctionshellEscapeList
shellEscapeList escapes a list of shell tokens.
git-p/shell.go:25
↓ 5 callersMethodBinOp
(op token.Token, other DynValue)
rtcheck/val.go:312
↓ 5 callersMethodError
()
dashquery/compile.go:61
↓ 5 callersMethodExec
Exec executes o in state s and returns the new memory state and, if the operation is a load, the result of the operation (either 0 or 1).
memmodel/prog.go:110
↓ 5 callersMethodForEach
ForEach applies f to each PathState in set.
rtcheck/main.go:1575
↓ 5 callersMethodGet
()
gopool/main.go:380
↓ 5 callersMethodHashKey
HashKey returns a key such that set1.Equal(set2) implies set1.HashKey() == set2.HashKey().
rtcheck/main.go:970
↓ 5 callersMethodOpAt
(pc PC)
memmodel/prog.go:45
↓ 5 callersMethodPlus
Plus returns a LockSet that extends set with lock class lc, acquired at stack. If lc is already in set, it does not get re-added and Plus returns set.
rtcheck/main.go:999
↓ 5 callersMethodPush
(label string)
rtcheck/debug.go:29
↓ 5 callersFunctionRewrite
(v func(ast.Node) ast.Node, node ast.Node)
rtcheck/rewrite.go:36
↓ 5 callersMethodSet
Set sets the value associated with ps to val in psm.
rtcheck/main.go:1616
↓ 5 callersMethodWrite
(p []byte)
rtcheck/debug.go:106
↓ 5 callersMethodWriteTo
(w io.Writer)
rtcheck/main.go:1493
↓ 5 callersFunctionalign
(x, n int)
abi/abi.go:351
↓ 5 callersMethodblock
(abortf func())
go-weave/weave/weave.go:225
↓ 5 callersFunctioncomparableBinOp
comparableBinOp implements DynValue.BinOp for values that support only comparison operators.
rtcheck/val.go:376
↓ 5 callersFunctioncount0124
count0124 returns the sum of vector x, where x contains 4 2-bit values where 0b00 => 0, 0b01 => 1, 0b10 => 2, 0b11 => 4.
pcvaluetab/alt.go:496
↓ 5 callersFunctioncpR
(src, dst string)
gover/gover.go:565
↓ 5 callersFunctiondryPrint
(cmd *exec.Cmd)
benchmany/benchmany.go:96
↓ 5 callersMethodgetString
(row *sheets.RowData, name string)
minutes3/gdoc.go:515
↓ 5 callersFunctiongit
git runs git subcommand subcmd and returns its stdout. If git fails, it prints the failure and exits.
benchmany/benchmany.go:73
↓ 5 callersMethodhasPrefix
hasPrefix returns whether the remaining text begins with s.
internal/loganal/matcher.go:102
↓ 5 callersFunctionlikeStackMap
(fns, padToByte=True, dedup=True, sortBitmaps=None, huffmanPcdata=False, grPcdata=False)
stackmapcompress.py:190
↓ 5 callersFunctionlock
(m *weave.Mutex)
go-weave/models/rwmutex.go:54
↓ 5 callersMethodsort
(self)
stackmapcompress.py:47
↓ 5 callersFunctiontryGit
tryGit runs git with args and returns its output and a non-nil error if the command exits with a non-zero status.
git-p/git.go:32
↓ 5 callersMethodunblock
()
go-weave/weave/weave.go:250
↓ 5 callersFunctionwithWriter
withWriter creates path and calls f with the file.
rtcheck/main.go:331
↓ 4 callersMethodAdd
Add adds PathState ps to set.
rtcheck/main.go:1521
next →1–100 of 916, ranked by callers