- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for perfunc (1.53 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/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) -
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/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go
if crd.DeletionTimestamp.IsZero() { key, err := r.Store.KeyFunc(ctx, name) if err != nil { return nil, false, err } preconditions := storage.Preconditions{UID: options.Preconditions.UID, ResourceVersion: options.Preconditions.ResourceVersion} out := r.Store.NewFunc() err = r.Store.Storage.GuaranteedUpdate( ctx, key, out, false, &preconditions,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 8K bytes - Viewed (0) -
pkg/scheduler/internal/heap/heap.go
// according to the heap invariant. The queue keeps the keys of objects stored // in "items". queue []string // keyFunc is used to make the key used for queued item insertion and retrieval, and // should be deterministic. keyFunc KeyFunc // lessFunc is used to compare two objects in the heap. lessFunc lessFunc } var ( _ = heap.Interface(&data{}) // heapData is a standard heap )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 29 18:37:35 UTC 2022 - 6.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/dcl.go
funcStack = append(funcStack, ir.CurFunc) ir.CurFunc = fn } // FinishFuncBody restores ir.CurFunc to its state before the last // call to DeclFunc. func FinishFuncBody() { funcStack, ir.CurFunc = funcStack[:len(funcStack)-1], funcStack[len(funcStack)-1] } func CheckFuncStack() { if len(funcStack) != 0 { base.Fatalf("funcStack is non-empty: %v", len(funcStack)) } } // make a new Node off the books.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:15:50 UTC 2023 - 3.1K bytes - Viewed (0) -
test/typeparam/issue49309.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:26:40 UTC 2022 - 367 bytes - Viewed (0) -
test/fixedbugs/issue56923.go
// license that can be found in the LICENSE file. package p type Eq[T any] interface { Eqv(a T, b T) bool } type EqFunc[T any] func(a, b T) bool func (r EqFunc[T]) Eqv(a, b T) bool { return r(a, b) } func New[T any](f func(a, b T) bool) Eq[T] { return EqFunc[T](f) } func Equal(a, b []byte) bool { return string(a) == string(b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 496 bytes - Viewed (0)