myutil

package
v0.0.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultElapsed int64
View Source
var DefaultMaxTime time.Duration
View Source
var DefaultMinTime time.Duration
View Source
var MyElapsed int64
View Source
var MyMaxTime time.Duration
View Source
var MyMinTime time.Duration

Functions

func DoEach

func DoEach(mains []*ssa.Package)

baseline: foreach

func DoEachMainMy

func DoEachMainMy(i int, main *ssa.Package) *pointer.ResultWCtx

func DoParallel

func DoParallel(mains []*ssa.Package) map[*ssa.Package]*pointer.ResultWCtx

baseline: all main in parallel Update: fatal error: concurrent map writes!! --> change to a.track = trackall, no more panic go add lock @container/intsets/util.go for nodeset when doing this setting

func DoSameRoot

func DoSameRoot(mains []*ssa.Package)

baseline: all main together

func DoSeq

func DoSeq(mains []*ssa.Package)

bz: test usesage in race checker -> this is the major usage now

func InitialChecker

func InitialChecker(filepath string, config *pointer.Config)

bz: for race checker of callback branch use only, or if want to use callback

func InitialMain

func InitialMain() []*ssa.Package

do preparation job

func InitialTest

func InitialTest()

bz: for my tests only

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL