- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for Testfunc (0.3 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc
mirrored_replicate_args.insert( mlir::cast<IntegerAttr>(mirrored_index).getInt()); } } auto func = llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc())); for (auto entry : llvm::enumerate(cluster_func.getOperands())) { auto operand = SkipIdentityAndReadVariable(entry.value()); auto block_arg = mlir::dyn_cast<BlockArgument>(operand);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.1K bytes - Viewed (0) -
pkg/config/schema/codegen/templates/clients.go.tmpl
{{- end }} default: panic(fmt.Sprintf("Unknown type %v", g)) } return c.Informers().InformerFor(g, opts, func() cache.SharedIndexInformer { inf := cache.NewSharedIndexInformer( &cache.ListWatch{ ListFunc: func(options metav1.ListOptions) (runtime.Object, error) { options.FieldSelector = opts.FieldSelector options.LabelSelector = opts.LabelSelector return l(options) },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 13:57:51 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/controller/daemon/util/daemonset_util_test.go
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, fg, f) t.Run(fmt.Sprintf("%v (%t)", fg, f), tf) }() } } } func TestGetTargetNodeName(t *testing.T) { testFun := func(t *testing.T) { tests := []struct { pod *v1.Pod nodeName string expectedErr bool }{ { pod: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.5K 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/flag/flag_test.go
Uint64("test_uint64", 0, "uint64 value") String("test_string", "0", "string value") Float64("test_float64", 0, "float64 value") Duration("test_duration", 0, "time.Duration value") Func("test_func", "func value", func(string) error { return nil }) BoolFunc("test_boolfunc", "func", func(string) error { return nil }) m := make(map[string]*Flag) desired := "0" visitor := func(f *Flag) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K 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/internal/coverage/cfile/testsupport.go
cdr, err = decodecounter.NewCounterDataReader(cdf, cf) if err != nil { return fmt.Errorf("reading counter data file %s: %s", cdf, err) } var data decodecounter.FuncPayload for { ok, err := cdr.NextFunc(&data) if err != nil { return fmt.Errorf("reading counter data file %s: %v", cdf, err) } if !ok { break } // NB: sanity check on pkg and func IDs?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 8.7K 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) -
cmd/kube-proxy/app/server_linux.go
ctx, cancelFunc := context.WithTimeout(ctx, timeoutForNodePodCIDR) defer cancelFunc() fieldSelector := fields.OneTermEqualSelector("metadata.name", nodeName).String() lw := &cache.ListWatch{ ListFunc: func(options metav1.ListOptions) (object runtime.Object, e error) { options.FieldSelector = fieldSelector return client.CoreV1().Nodes().List(ctx, options) },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 18.1K bytes - Viewed (0)