- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 802 for mkcounter (0.15 sec)
-
src/internal/coverage/pods/pods.go
// each meta-data file M_k, then find all of the counter data files // that refer to that meta-data file (recall that the counter data // file name incorporates the meta-data hash), and add the counter // data file to the appropriate pod. // // This process is complicated by the fact that we need to keep track // of directory indices for counter data files. Here is an example to // motivate: // // directory 1: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/volume/iscsi/disk_manager.go
// volPath: pod volume dir path like, /var/lib/kubelet/pods/{podUID}/volumes/kubernetes.io~iscsi/{volumeName} func diskSetUp(manager diskManager, b iscsiDiskMounter, volPath string, mounter mount.Interface, fsGroup *int64, fsGroupChangePolicy *v1.PodFSGroupChangePolicy) error { notMnt, err := mounter.IsLikelyNotMountPoint(volPath) if err != nil && !os.IsNotExist(err) { klog.Errorf("cannot validate mountpoint: %s", volPath) return err } if !notMnt {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/cover/testdata/main.go
// It knows the coverage counter is called // "thisNameMustBeVeryLongToCauseOverflowOfCounterIncrementStatementOntoNextLineForTest". package main import ( "fmt" "os" ) func main() { testAll() verify() } type block struct { count uint32 line uint32 } var counters = make(map[block]bool) // shorthand for the long counter variable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 16:40:40 UTC 2016 - 3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/dynamic/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 140 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go
clk: clk, counter: counter, dontDump: true, }.exercise(t) }) } } func TestBaseline(t *testing.T) { metrics.Register() now := time.Now() clk, counter := testeventclock.NewFake(now, 0, nil) qsf := newTestableQueueSetFactory(clk, countingPromiseFactoryFactory(counter)) qCfg := fq.QueuingConfig{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 12:55:23 UTC 2023 - 58.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy
customTaskUsingServiceViaProperty("@${ServiceReference.name}('counter')") buildFile """ gradle.sharedServices.registerIfAbsent("counter", CountingService) { parameters.initial = 10 maxParallelUsages = 1 } task named(type: Consumer) { counter.get().increment() } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 61K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy
} def "runs side effect when calling '#method' on changing provider"() { given: def sideEffect = Mock(ValueSupplier.SideEffect) def counter = new AtomicInteger(23) def parent = Providers.changing { counter.getAndIncrement() } def provider = parent.withSideEffect(sideEffect) when: provider.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 06:53:07 UTC 2023 - 10.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper_test.go
} } type fakeResponseWriterDecorator struct { http.ResponseWriter counter *counter } func (fw *fakeResponseWriterDecorator) Unwrap() http.ResponseWriter { return fw.ResponseWriter } func (fw *fakeResponseWriterDecorator) Flush() { if fw.counter != nil { fw.counter.FlushInvoked++ } fw.ResponseWriter.(http.Flusher).Flush() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 17 12:58:53 UTC 2021 - 8.1K bytes - Viewed (0) -
src/internal/fuzz/mutators_byteslice_test.go
) type mockRand struct { values []int counter int b bool } func (mr *mockRand) uint32() uint32 { c := mr.values[mr.counter] mr.counter++ return uint32(c) } func (mr *mockRand) intn(n int) int { c := mr.values[mr.counter] mr.counter++ return c % n } func (mr *mockRand) uint32n(n uint32) uint32 { c := mr.values[mr.counter] mr.counter++ return uint32(c) % n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 19 18:23:43 UTC 2021 - 4.3K bytes - Viewed (0) -
src/internal/coverage/decodecounter/decodecounterfile.go
return binary.LittleEndian.Uint32(cdr.u32b), nil } } } else { panic("internal error: unknown counter flavor") } // Alternative/experimental path: one way we could handling writing // out counter data would be to just memcpy the counter segment // out to a file, meaning that a region in the counter memory // corresponding to a dead (never-executed) function would just be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 15:29:54 UTC 2023 - 9.8K bytes - Viewed (0)