- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 157 for perfunc (0.18 sec)
-
src/cmd/internal/cov/covcmd/cmddefs.go
// when instrumentation is complete. OutConfig string // Import path for the package being instrumented. PkgPath string // Package name. PkgName string // Instrumentation granularity: one of "perfunc" or "perblock" (default) Granularity string // Module path for this package (empty if no go.mod in use) ModulePath string // Local mode indicates we're doing a coverage build or test of a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 30 16:13:15 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/cover/cover.go
} switch pkgconfig.Granularity { case "perblock": cgran = coverage.CtrGranularityPerBlock case "perfunc": cgran = coverage.CtrGranularityPerFunc default: return fmt.Errorf(`%s: pkgconfig requires perblock/perfunc value`, path) } return nil } // Block represents the information about a basic block to be recorded in the analysis.
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/compile/internal/coverage/cover.go
base.Fatalf("bad setting %q for covermode in coveragecfg:", counterMode) } var cg coverage.CounterGranularity switch counterGran { case "perblock": cg = coverage.CtrGranularityPerBlock case "perfunc": cg = coverage.CtrGranularityPerFunc default: base.Fatalf("bad setting %q for covergranularity in coveragecfg:", counterGran) } cnames := names{ MetaVar: metavar, PkgIdVar: pkgidvar,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/cover/cfg_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 12:51:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/internal/coverage/defs.go
CtrGranularityPerBlock CtrGranularityPerFunc ) func (cm CounterGranularity) String() string { switch cm { case CtrGranularityPerBlock: return "perblock" case CtrGranularityPerFunc: return "perfunc" } return "<invalid>" } // Name of file within the "go test -cover" temp coverdir directory // containing a list of meta-data files for packages being tested
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/storage_decorator.go
config *storagebackend.ConfigForResource, resourcePrefix string, keyFunc func(obj runtime.Object) (string, error), newFunc func() runtime.Object, newListFunc func() runtime.Object, getAttrsFunc storage.AttrFunc, trigger storage.IndexerFuncs, indexers *cache.Indexers) (storage.Interface, factory.DestroyFunc, error) { return NewRawStorage(config, newFunc, newListFunc, resourcePrefix) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/storage_factory.go
klogV.InfoS("Storage caching is enabled", objectTypeToArgs(newFunc())...) } cacherConfig := cacherstorage.Config{ Storage: s, Versioner: storage.APIObjectVersioner{}, GroupResource: storageConfig.GroupResource, ResourcePrefix: resourcePrefix, KeyFunc: keyFunc, NewFunc: newFunc, NewListFunc: newListFunc, GetAttrsFunc: getAttrsFunc,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go
// // KeyRootFunc and KeyFunc must be supplied together or not at all. KeyRootFunc func(ctx context.Context) string // KeyFunc returns the key for a specific object in the collection. // KeyFunc is called for Create/Update/Get/Delete. Note that 'namespace' // can be gotten from ctx. // // KeyFunc and KeyRootFunc must be supplied together or not at all. KeyFunc func(ctx context.Context, name string) (string, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 23:22:44 UTC 2024 - 60.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go
Storage: wrappedStorage, Versioner: storage.APIObjectVersioner{}, GroupResource: schema.GroupResource{Resource: "pods"}, ResourcePrefix: setupOpts.resourcePrefix, KeyFunc: setupOpts.keyFunc, GetAttrsFunc: GetPodAttrs, NewFunc: newPod, NewListFunc: newPodList, IndexerFuncs: setupOpts.indexerFuncs, Codec: codecs.LegacyCodec(examplev1.SchemeGroupVersion),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 17K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
} } return "", name } var CurFunc *Func // WithFunc invokes do with CurFunc and base.Pos set to curfn and // curfn.Pos(), respectively, and then restores their previous values // before returning. func WithFunc(curfn *Func, do func()) { oldfn, oldpos := CurFunc, base.Pos defer func() { CurFunc, base.Pos = oldfn, oldpos }() CurFunc, base.Pos = curfn, curfn.Pos() do() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0)