- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 492 for CLOCK (0.04 sec)
-
pkg/kubelet/util/cache/object_cache_test.go
expirationcache "k8s.io/client-go/tools/cache" "k8s.io/utils/clock" testingclock "k8s.io/utils/clock/testing" ) type testObject struct { key string val string } // A fake objectCache for unit test. func NewFakeObjectCache(f func() (interface{}, error), ttl time.Duration, clock clock.Clock) *ObjectCache { ttlPolicy := &expirationcache.TTLPolicy{TTL: ttl, Clock: clock} deleteChan := make(chan string, 1) return &ObjectCache{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 17 13:19:08 UTC 2021 - 2.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/ConnectorServices.java
return new DefaultExecutorServiceFactory(); } @Provides protected Clock createTimeProvider() { return Time.clock(); } @Provides protected DistributionFactory createDistributionFactory(Clock clock) { return new DistributionFactory(clock); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/operations/TestListenerBuildOperationAdapter.java
private final BuildOperationIdFactory buildOperationIdFactory; private final Clock clock; public TestListenerBuildOperationAdapter(BuildOperationListener listener, BuildOperationIdFactory buildOperationIdFactory, Clock clock) { this.listener = listener; this.buildOperationIdFactory = buildOperationIdFactory; this.clock = clock; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java
private final ExecHandleBuilder execHandleBuilder; private final IdGenerator<?> idGenerator; private final Clock clock; private final String rootTestSuiteId; @Inject public XCTestProcessor(Clock clock, File executable, File workingDir, ExecHandleBuilder execHandleBuilder, IdGenerator<?> idGenerator, String rootTestSuiteId) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.1K bytes - Viewed (0) -
pkg/credentialprovider/plugin/plugin_test.go
} }) } } func Test_RegistryCacheKeyType(t *testing.T) { tclock := clock.RealClock{} pluginProvider := &pluginProvider{ clock: tclock, lastCachePurge: tclock.Now(), matchImages: []string{"*.registry.io"}, cache: cache.NewExpirationStore(cacheKeyFunc, &cacheExpirationPolicy{clock: tclock}), plugin: &fakeExecPlugin{ cacheKeyType: credentialproviderapi.RegistryPluginCacheKeyType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 09 06:11:06 UTC 2022 - 26.5K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandler.java
private final OutputEventListener eventDispatch; private final Clock clock; private final UserInputReader userInputReader; private final AtomicBoolean interrupted = new AtomicBoolean(); public DefaultUserInputHandler(OutputEventListener eventDispatch, Clock clock, UserInputReader userInputReader) { this.eventDispatch = eventDispatch; this.clock = clock; this.userInputReader = userInputReader; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go
clock: clock, requestWatchProgress: requestWatchProgress, contextMetadata: contextMetadata, } pr.cond = sync.NewCond(&pr.mux) return pr } type WatchProgressRequester func(ctx context.Context) error type TickerFactory interface { NewTimer(time.Duration) clock.Timer } // conditionalProgressRequester will request progress notification if there
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 09:56:38 UTC 2024 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go
t.mu.Lock() defer t.mu.Unlock() return t.latency } func newSumLatencyTracker(c clock.Clock) DurationTracker { return &durationTracker{ clock: c, aggregateFunction: sumDuration, } } func newMaxLatencyTracker(c clock.Clock) DurationTracker { return &durationTracker{ clock: c, aggregateFunction: maxDuration, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 22:15:37 UTC 2024 - 11.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/buildevents/BuildResultLoggerTest.groovy
private BuildStartedTime buildStartedTime = BuildStartedTime.startingAt(0) private Clock clock = Mock(Clock) private DurationFormatter durationFormatter = Mock(DurationFormatter) def workValidationWarningReporter = Stub(WorkValidationWarningReporter) private BuildResultLogger subject = new BuildResultLogger(textOutputFactory, buildStartedTime, clock, durationFormatter, workValidationWarningReporter)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 2.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SendPartialResponseThenBlock.java
private final Duration timeout; private final Condition condition; private final WaitPrecondition precondition; private boolean requestStarted; private boolean released; private final Clock clock = Time.clock(); private long mostRecentEvent; private AssertionError failure; SendPartialResponseThenBlock(Lock lock, Duration timeout, WaitPrecondition precondition, byte[] content) { this.lock = lock;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0)