- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 63 for testfunc (0.38 sec)
-
src/internal/coverage/decodecounter/decodecounterfile.go
} const supportDeadFunctionsInCounterData = false // NextFunc reads data for the next function in this current segment // into "p", returning TRUE if the read was successful or FALSE // if we've read all the functions already (also an error if // something went wrong with the read or we hit a premature // EOF). func (cdr *CounterDataReader) NextFunc(p *FuncPayload) (bool, error) { if cdr.fcnCount >= uint32(cdr.shdr.FcnEntries) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 15:29:54 UTC 2023 - 9.8K bytes - Viewed (0) -
src/cmd/trace/gstate.go
// in some way, but it doesn't really matter which stack. func (gs *gState[R]) augmentName(stk trace.Stack) { if gs.named { return } if stk == trace.NoStack { return } name := lastFunc(stk) gs.baseName += fmt.Sprintf(" %s", name) gs.named = true gs.isSystemG = trace.IsSystemGoroutine(name) } // setLabel adds an additional label to the goroutine's name.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm_test.go
// // VR and FPR disjointly overlap VSR, interpreting as VSR registers should produce the correctly overlapped VSR. // REG_FPx & 63 == x // REG_Vx & 63 == x + 32 func TestRegValueAlignment(t *testing.T) { tstFunc := func(rstart, rend, msk, rout int) { for i := rstart; i <= rend; i++ { if i&msk != rout { t.Errorf("%v is not aligned to 0x%X (expected %d, got %d)\n", rconv(i), msk, rout, rstart&msk) } rout++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 22:14:57 UTC 2024 - 17.3K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/endpoint_test.go
devs := []*pluginapi.Device{ {ID: "ADeviceId", Health: pluginapi.Healthy}, } p, e := esetup(t, devs, socket, "mock", func(n string, d []pluginapi.Device) {}) defer ecleanup(t, p, e) } func TestRun(t *testing.T) { socket := filepath.Join(os.TempDir(), esocketName()) devs := []*pluginapi.Device{ {ID: "ADeviceId", Health: pluginapi.Healthy}, {ID: "AnotherDeviceId", Health: pluginapi.Healthy},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
} }) } } type testLW struct { ListFunc func(options metav1.ListOptions) (runtime.Object, error) WatchFunc func(options metav1.ListOptions) (watch.Interface, error) } func (t *testLW) List(options metav1.ListOptions) (runtime.Object, error) { return t.ListFunc(options) } func (t *testLW) Watch(options metav1.ListOptions) (watch.Interface, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
type PreEnqueuePlugin interface { Plugin // PreEnqueue is called prior to adding Pods to activeQ. PreEnqueue(ctx context.Context, p *v1.Pod) *Status } // LessFunc is the function to sort pod info type LessFunc func(podInfo1, podInfo2 *QueuedPodInfo) bool // QueueSortPlugin is an interface that must be implemented by "QueueSort" plugins.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
src/cmd/cover/cover.go
f.preFunc(n, fname) if pkgconfig.Granularity == "perfunc" { walkBody = false } } if walkBody { ast.Walk(f, n.Body) } if *pkgcfg != "" { flit := false f.postFunc(n, fname, flit, n.Body) } return nil case *ast.FuncLit: // For function literals enclosed in functions, just glom the // code for the literal in with the enclosing function (for now).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
src/cmd/internal/cov/readcovdata.go
if err != nil { return r.fatal("reading counter data file %s: %s", cdf, err) } r.vis.BeginCounterDataFile(cdf, cdr, p.Origins[k]) var data decodecounter.FuncPayload for { ok, err := cdr.NextFunc(&data) if err != nil { return r.fatal("reading counter data file %s: %v", cdf, err) } if !ok { break } r.vis.VisitFuncCounterData(data) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 8.4K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
cf.String("blockprofilerate", "", "") cf.Int("count", 0, "") cf.String("cpu", "", "") cf.StringVar(&testCPUProfile, "cpuprofile", "", "") cf.BoolVar(&testFailFast, "failfast", false, "") cf.StringVar(&testFuzz, "fuzz", "", "") cf.Bool("fullpath", false, "") cf.StringVar(&testList, "list", "", "") cf.StringVar(&testMemProfile, "memprofile", "", "") cf.String("memprofilerate", "", "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/filters_test.go
delete(expected, k) if _, ok := unexpected[k]; ok { t.Errorf("expected %s to be filtered out", k) } } if len(expected) > 0 { t.Errorf("did not include %v", expected) } } func TestRun(t *testing.T) { // source svc/cluster -> dest services -> number of subtests (should == num clusters) framework.NewTest(t).Run(func(t framework.TestContext) { tests := map[string]struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 13.1K bytes - Viewed (0)