Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aclements/go-misc
/ functions
Functions
916 in github.com/aclements/go-misc
⨍
Functions
916
◇
Types & classes
265
↓ 2 callers
Method
Assign
(sig *types.Signature, sizes types.Sizes)
abi/abi.go:214
↓ 2 callers
Method
Bounds
Bounds returns the time at which the probability that the failure started rises above p and the time at which the probability that the failure stopped
findflakes/flaketest.go:168
↓ 2 callers
Method
CloseIssue
(issue *github.Issue, reason schema.IssueClosedStateReason)
minutes3/github.go:31
↓ 2 callers
Function
DecodeVarint
(buf []byte)
varint/varint.go:23
↓ 2 callers
Method
Edge
(from, to *GNode)
memmodel/graph.go:31
↓ 2 callers
Method
Init
()
go-weave/models/maxtree.go:71
↓ 2 callers
Method
Intern
Intern returns a canonical *StackFrame such that a.Intern() == b.Intern() iff a and b have the same sequence of calls.
rtcheck/main.go:1147
↓ 2 callers
Method
Len
()
findflakes/main.go:360
↓ 2 callers
Function
LoadSymTab
(path string)
pcvaluetab/symtab.go:46
↓ 2 callers
Method
Lookup
Lookup returns the *LockClass whose Id() is id.
rtcheck/lockclass.go:151
↓ 2 callers
Method
Lookup
(pc uint32)
pcvaluetab/symtab.go:183
↓ 2 callers
Method
Minus
Minus returns a LockSet that is like set, but does not contain lock class lc.
rtcheck/main.go:1031
↓ 2 callers
Function
MovingAverage
TODO: This all assumes that data is sampled at a regular interval and there are no missing values. It could be generalized to accept missing values (p
benchplot/kza.go:25
↓ 2 callers
Function
NewCollection
()
benchmany/readlog.go:91
↓ 2 callers
Method
NewNode
(label string)
memmodel/graph.go:24
↓ 2 callers
Function
OpenPool
OpenPool locks the pool and loads its configuration.
gopool/main.go:219
↓ 2 callers
Method
OutcomeIter
()
memmodel/outcome.go:77
↓ 2 callers
Method
Print
(w io.Writer)
memmodel/main.go:91
↓ 2 callers
Method
QueryChanges
(query string, options ...string)
git-p/gerrit.go:158
↓ 2 callers
Method
RLock
RLock acquires m in read mode. This blocks other goroutines from acquiring it in write mode, but does not generally block them from acquiring it in re
split/example_rwmutex_test.go:78
↓ 2 callers
Method
RLock
()
go-weave/weave/mutex.go:60
↓ 2 callers
Method
RUnlock
RUnlock releases an RWMutex from read mode.
split/example_rwmutex_test.go:88
↓ 2 callers
Method
RUnlock
()
go-weave/weave/mutex.go:79
↓ 2 callers
Method
RemilestoneIssue
(issue *github.Issue, milestone *github.Milestone)
minutes3/github.go:33
↓ 2 callers
Method
RemoveIssueLabels
(issue *github.Issue, labels ...*github.Label)
minutes3/github.go:30
↓ 2 callers
Method
RetitleIssue
(issue *github.Issue, title string)
minutes3/github.go:32
↓ 2 callers
Method
SetEdge
(label string)
rtcheck/debug.go:70
↓ 2 callers
Method
SetProjectItemFieldOption
(project *github.Project, item *github.ProjectItem, field *github.ProjectField, option *github.ProjectFieldOpt
minutes3/github.go:38
↓ 2 callers
Function
StartCommand
StartCommand starts a managed command with the given command-line arguments, with its stdout and stderr redirected to out. This has several differenc
stress2/cmd.go:68
↓ 2 callers
Method
Status
(format string, a ...interface{})
stress2/reporter.go:21
↓ 2 callers
Method
To
To returns a range over columns [c.col, col) and rows [c.row, row). Col must be >= c.col and row must be >= c.row. In general, they should be strictl
minutes3/gdoc.go:557
↓ 2 callers
Function
TryLockFile
(path string)
gopool/main.go:172
↓ 2 callers
Method
With
With replaces B, N, and L in the input string. Any of these can be "", indicating no replacement.
simdapi/cmd/apisum/types.go:105
↓ 2 callers
Method
WithDefaults
()
simdapi/cmd/apisum/norm.go:67
↓ 2 callers
Method
add
(r result)
buildstats/main.go:101
↓ 2 callers
Method
addKey
(key BenchKey)
benchmany/readlog.go:64
↓ 2 callers
Method
addRoot
addRoot adds fn as a root of the control flow graph to visit.
rtcheck/main.go:1254
↓ 2 callers
Function
addressGraph
Assign an allocation address to each node.
gcdense/test.py:26
↓ 2 callers
Function
ambHeapPointer
ambHeapPointer returns nil or an ambiguous heap or global pointer.
go-weave/models/yuasa.go:260
↓ 2 callers
Function
ambHeapPointer
ambHeapPointer returns nil or an ambiguous heap pointer.
go-weave/models/rescan.go:118
↓ 2 callers
Function
ambReachableHeapPointer
ambReachableHeapPointer returns an ambiguous reachable heap pointer. Note that the object may not be marked.
go-weave/models/rescan.go:128
↓ 2 callers
Function
andersonDarling
andersonDarling returns the Anderson-Darling test statistic, A², for the goodness of fit of sample to dist. sample must be sorted.
findflakes/adtest.go:90
↓ 2 callers
Function
anyOf
(s string, options ...string)
simdapi/cmd/apisum/main.go:89
↓ 2 callers
Function
atoi
(s string)
internal/loganal/failure.go:447
↓ 2 callers
Method
bucketOf
(self, node)
gcdense/test.py:19
↓ 2 callers
Method
callees
callees returns the set of functions that call could possibly invoke. It returns nil for built-in functions or if pointer analysis failed.
rtcheck/main.go:1265
↓ 2 callers
Function
canonGerritMessage
canonGerritMessage strips Gerrit-added fields from a commit message.
git-p/git.go:118
↓ 2 callers
Method
canonicalFields
()
internal/loganal/classify.go:41
↓ 2 callers
Method
canonicalMessage
()
internal/loganal/classify.go:23
↓ 2 callers
Method
cfunc
cfunc returns an evaluation function that wraps its result in constant.Value.
dashquery/compile.go:70
↓ 2 callers
Function
checkmark
(p ptr)
go-weave/models/rescan.go:222
↓ 2 callers
Function
cleanLog
cleanLog escapes lines in l that may confuse the log parser and makes sure l is newline terminated.
benchmany/commits.go:161
↓ 2 callers
Function
count0124Formula
(x uint8)
pcvaluetab/alt.go:438
↓ 2 callers
Function
count0124Slow
(x uint8)
pcvaluetab/alt.go:463
↓ 2 callers
Function
cp
(src, dst string)
gover/gover.go:519
↓ 2 callers
Function
decodeVarintAsmBMI2
(buf []byte)
varint/varint.go:46
↓ 2 callers
Function
decodeVarintAsmLoop
(buf []byte)
varint/varint.go:45
↓ 2 callers
Method
desched
()
go-weave/weave/weave.go:213
↓ 2 callers
Method
doInit
doInit performs lazily initialization on the first use of m.
split/example_rwmutex_test.go:27
↓ 2 callers
Function
doLink
(hash, namePath string)
gover/gover.go:369
↓ 2 callers
Function
doWith
(name string, cmd []string)
gover/gover.go:413
↓ 2 callers
Function
drain
drain scans objects in the work queue until the queue is empty.
go-weave/models/yuasa.go:292
↓ 2 callers
Method
dropCreating
(pid int)
gopool/main.go:101
↓ 2 callers
Method
encode
(self, enc, compact=False)
stackmapcompress.py:52
↓ 2 callers
Method
encode
(self, enc)
stackmapcompress.py:69
↓ 2 callers
Function
exists
(path string)
benchmany/benchmany.go:129
↓ 2 callers
Method
gcMarkWorkAvailable
()
go-weave/models/issue16083.go:80
↓ 2 callers
Function
genERGraph
Generate an Erdős-Rényi random graph of n nodes.
gcdense/test.py:51
↓ 2 callers
Function
getConfig
(path ...string)
minutes3/minutes.go:103
↓ 2 callers
Function
getCoordinator
()
gopool/main.go:195
↓ 2 callers
Method
getEV
(row *sheets.RowData, name string)
minutes3/gdoc.go:504
↓ 2 callers
Function
getEnv
getEnv returns the GOROOT and PATH for the Go tree rooted at savePath.
gover/gover.go:457
↓ 2 callers
Function
getg
()
go-weave/models/rwmutex.go:84
↓ 2 callers
Function
git
(args ...string)
cl-fetch/main.go:165
↓ 2 callers
Function
gitCommitMessage
gitCommitMessage returns the commit message for commit.
git-p/git.go:102
↓ 2 callers
Function
gitOutput
(args ...string)
cl-fetch/main.go:179
↓ 2 callers
Function
gitPatchID
gitPatchID returns the git patch ID of commit, which is effectively a hash of that commit's diff. See man git-patch-id for details.
git-p/git.go:69
↓ 2 callers
Method
goNoSched
(f func())
go-weave/weave/weave.go:103
↓ 2 callers
Function
goTool
(subcmd ...string)
foreachplatform/main.go:119
↓ 2 callers
Method
happenedBefore
happenedBefore returned true if i happened before j.
memmodel/hb.go:119
↓ 2 callers
Function
huffmanCoded
(fns, streamAlign=1)
stackmapcompress.py:326
↓ 2 callers
Function
isGoroot
isGoroot returns true if path is the root of a Go tree. It is somewhat heuristic.
gover/gover.go:141
↓ 2 callers
Function
iterDeltas
(regMaps)
stackmapcompress.py:271
↓ 2 callers
Function
lines
lines splits s in to lines. It omits a final blank line, if any.
benchmany/benchmany.go:151
↓ 2 callers
Function
lookupLinearIndex
lookupLinearIndex performs a point query for the value associated with pc in PCDATA encoded with in the linear index format.
pcvaluetab/alt.go:290
↓ 2 callers
Function
markdownDoc
(doc string, normName string)
simdapi/cmd/apisum/print.go:70
↓ 2 callers
Function
markdownEscape
(s string)
minutes3/minutes.go:569
↓ 2 callers
Function
newValueLogger
()
split/vlogger_test.go:99
↓ 2 callers
Function
normalizeType
(typ ast.Expr, input ParsedType, options NormUnitFlags)
simdapi/cmd/apisum/norm.go:177
↓ 2 callers
Function
normalizeUnit
normalizeUnit normalizes a single "unit" such as a type or function name.
simdapi/cmd/apisum/norm.go:221
↓ 2 callers
Function
noteclear
(s *weave.Semaphore)
go-weave/models/rwmutex.go:81
↓ 2 callers
Function
notesleep
(s *weave.Semaphore)
go-weave/models/rwmutex.go:73
↓ 2 callers
Function
notewakeup
(s *weave.Semaphore)
go-weave/models/rwmutex.go:77
↓ 2 callers
Method
oneOf
oneOf requires that x's type be one of typs.
dashquery/compile.go:122
↓ 2 callers
Function
panicWhere
panicWhere attempts to return the fully qualified name, source file, and line number of the panicking function in traceback tb.
internal/loganal/failure.go:516
↓ 2 callers
Method
parseActions
()
minutes3/gdoc.go:338
↓ 2 callers
Function
pcvalueCacheKey
pcvalueCacheKey returns the outermost index in a pcvalueCache to use for targetpc. It must be very cheap to calculate. For now, align to goarch.PtrSiz
pcvaluetab/symtab.go:212
↓ 2 callers
Function
pipeFeeder
(r, w, pstream *os.File)
go-weave/amb/progress.go:82
↓ 2 callers
Function
printMem
(mem []obj, marked []bool)
go-weave/models/rescan.go:242
↓ 2 callers
Function
printOutcomeTable
(w io.Writer, cols []string, outcomes []OutcomeSet)
memmodel/outcome.go:109
← previous
next →
201–300 of 916, ranked by callers