- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 173 for trackers (0.2 sec)
-
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy
tracker2.trackers >> [tracker3] tracker3.trackers >> [] def generator = new ClientBuildEventGenerator(consumer, subscriptions, [mapper], fallback) when: generator.started(operation, startEvent) then: 1 * tracker1.started(operation, startEvent) 1 * tracker2.started(operation, startEvent)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ClientBuildEventGenerator.java
this.trackers = ImmutableList.copyOf(trackers); } private void collectTrackers(Set<BuildOperationTracker> dest, List<? extends BuildOperationTracker> trackers) { for (BuildOperationTracker tracker : trackers) { if (!dest.contains(tracker)) { collectTrackers(dest, tracker.getTrackers()); dest.add(tracker); } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 9K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildOperationTracker.java
import java.util.Collections; import java.util.List; /** * Tracks some state for build operations of a given type. */ public interface BuildOperationTracker { /** * Returns the trackers that are used by this tracker. If this tracker is required, then its trackers should be notified of * build operation execution. If this tracker is not required, the trackers can be ignored. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildOperationMapper.java
boolean isEnabled(BuildEventSubscriptions subscriptions); Class<DETAILS> getDetailsType(); /** * Returns the trackers that are used by this mapper. If this mapper is enabled, then the trackers should be notified of * build operation execution. If this mapper is not enabled, the trackers can be ignored. */ default List<? extends BuildOperationTracker> getTrackers() { return Collections.emptyList(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/filewatcher/worker.go
func (wk *worker) drainRetiringTrackers() { // cleanup any trackers that were in the process // of being retired, but didn't get processed due // to termination for { select { case ft := <-wk.retireTrackerCh: retireTracker(ft) default: return } } } // make a local copy of the set of trackers to avoid contention with callers // used only by the worker goroutine
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 12 22:31:06 UTC 2024 - 5.2K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModificationTrackerFactory.kt
import org.jetbrains.kotlin.analysis.api.platform.KotlinPlatformComponent /** * [KotlinModificationTrackerFactory] creates modification trackers for select modification events. * * Further modification tracking is implemented with a subscription-based mechanism via [KotlinModificationTopics]. Modification trackers make the most
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageExternalResourceFileStoreTest.groovy
[r2, r3] as Set } when: def result = twoStageStore.search(key) then: result == [r1, r2, r3] as Set } def "file access tracker delegates to both trackers"() { def fat1 = Mock(FileAccessTracker) def fat2 = Mock(FileAccessTracker) when: twoStageStore.getFileAccessTracker().markAccessed(file) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/filestore/TwoStageArtifactIdentifierFileStoreTest.groovy
} 1 * writeStore.whereIs(key, "checksum") >> { found } expect: twoStageStore.whereIs(key, "checksum") == found } def "file access tracker delegates to both trackers"() { def fat1 = Mock(FileAccessTracker) def fat2 = Mock(FileAccessTracker) when: twoStageStore.getFileAccessTracker().markAccessed(file) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/test/util/assert/tracker.go
"istio.io/istio/pkg/test/util/retry" ) type Tracker[T comparable] struct { t test.Failer mu sync.Mutex events []T } // NewTracker builds a tracker which records events that occur func NewTracker[T comparable](t test.Failer) *Tracker[T] { return &Tracker[T]{t: t} } // Record that an event occurred. func (t *Tracker[T]) Record(event T) { t.mu.Lock() defer t.mu.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker_test.go
fakeClock := &testclock.FakePassiveClock{} tracker := &objectCountTracker{ clock: fakeClock, counts: map[string]*timestampedCount{}, } key := "foo.bar.resource" now := time.Now() fakeClock.SetTime(now.Add(-test.lastUpdated)) tracker.Set(key, test.count) fakeClock.SetTime(now) countGot, err := tracker.Get(key) if test.errExpected != err {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 17 19:36:14 UTC 2021 - 3.4K bytes - Viewed (0)