- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 802 for mkcounter (0.18 sec)
-
src/internal/coverage/pods/pods_test.go
// Add a meta-data file with two counter files to first dir. mkmeta(o1, "m1") mkcounter(o1, "m1", 1, 42) mkcounter(o1, "m1", 2, 41) mkcounter(o1, "m1", 2, 40) // Add a counter file with no associated meta file. mkcounter(o1, "orphan", 9, 39) // Add a meta-data file with three counter files to second dir. mkmeta(o2, "m2") mkcounter(o2, "m2", 1, 38) mkcounter(o2, "m2", 2, 37) mkcounter(o2, "m2", 3, 36)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 31 14:00:17 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go
return &Counter{name: name, file: &defaultFile} } // Inc adds 1 to the counter. func (c *Counter) Inc() { c.Add(1) } // Add adds n to the counter. n cannot be negative, as counts cannot decrease. func (c *Counter) Add(n int64) { debugPrintf("Add %q += %d", c.name, n) if n < 0 { panic("Counter.Add negative") } if n == 0 { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/monitoring/counter.go
api "go.opentelemetry.io/otel/metric" "istio.io/istio/pkg/log" ) type counter struct { baseMetric c api.Float64Counter // precomputedAddOption is just a precomputation to avoid allocations on each record call precomputedAddOption []api.AddOption } var _ Metric = &counter{} func newCounter(o options) *counter { c, err := meter().Float64Counter(o.name, api.WithDescription(o.description),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/counter.go
// each time the corresponding event is observed. // // Although it is possible to use New to create // a Counter each time a particular event needs to be recorded, // that usage fails to amortize the construction cost over // multiple calls to Add, so it is more expensive and not recommended. type Counter = counter.Counter // A StackCounter is the in-memory knowledge about a stack counter.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 18:02:34 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/volume/flexvolume/mounter.go
type flexVolumeMounter struct { *flexVolume // Runner used to setup the volume. runner exec.Interface // the considered volume spec spec *volume.Spec readOnly bool } var _ volume.Mounter = &flexVolumeMounter{} // Mounter interface // SetUp creates new directory. func (f *flexVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error { return f.SetUpAt(f.GetPath(), mounterArgs) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/volume/flexvolume/mounter-defaults.go
limitations under the License. */ package flexvolume import ( "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/volume" ) type mounterDefaults flexVolumeMounter // SetUpAt is part of the volume.Mounter interface. // This implementation relies on the attacher's device mount path and does a bind mount to dir. func (f *mounterDefaults) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 24 15:56:30 UTC 2022 - 1.5K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/jvm/JavaCompilationSoakTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/rules/JacocoLimit.java
String getCounter(); /** * Sets the counter that applies to the limit. * * @param counter Counter */ void setCounter(String counter); /** * The value that applies to the limit as defined by * <a href="http://www.eclemma.org/jacoco/trunk/doc/api/org/jacoco/core/analysis/ICounter.CounterValue.html">org.jacoco.core.analysis.ICounter.CounterValue</a>.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 2.6K bytes - Viewed (0) -
cluster/gce/gci/mounter/mounter.go
David Xia <******@****.***> 1563470572 -0400
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 20 22:26:16 UTC 2019 - 2.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go
return r.goversion[s] } func (r *Config) HasVersion(program, version string) bool { return r.pgversion[pgkey{program, version}] } func (r *Config) HasCounter(program, counter string) bool { return r.pgcounter[pgkey{program, counter}] } func (r *Config) HasCounterPrefix(program, prefix string) bool { return r.pgcounterprefix[pgkey{program, prefix}] } func (r *Config) HasStack(program, stack string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 3.5K bytes - Viewed (0)