Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 159 for click (0.08 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/services/LoggingServiceRegistry.java

            return new NestedLogging();
        }
    
        @Provides
        protected Clock createTimeProvider() {
            return Time.clock();
        }
    
        @Provides
        protected StyledTextOutputFactory createStyledTextOutputFactory() {
            return new DefaultStyledTextOutputFactory(getStdoutListener(), get(Clock.class));
        }
    
        protected TextStreamOutputEventListener getStdoutListener() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache.go

    	mu              sync.Mutex                          // guards call to set
    	recordCacheSize func(providerName string, size int) // for unit tests
    }
    
    func newSimpleCache(clock clock.Clock, ttl time.Duration, providerName string) *simpleCache {
    	cache := utilcache.NewExpiringWithClock(clock)
    	cache.AllowExpiredGet = true // for a given key, the value (the decryptTransformer) is always the same
    	return &simpleCache{
    		cache: cache,
    		ttl:   ttl,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 31 20:26:58 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/TestGlobalScopeServices.java

            return loggingManagerFactory.create();
        }
    
        @Provides
        @Override
        protected BuildOperationProgressEventEmitter createBuildOperationProgressEventEmitter(
            Clock clock,
            CurrentBuildOperationRef currentBuildOperationRef,
            BuildOperationListenerManager listenerManager
        ) {
            return new NoOpBuildOperationProgressEventEmitter();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. pilot/pkg/status/distribution/reporter_test.go

    }
    
    func initReporterWithoutStarting() (out Reporter) {
    	out.PodName = "tespod"
    	out.inProgressResources = map[string]*inProgressEntry{}
    	out.client = nil              // TODO
    	out.clock = clock.RealClock{} // TODO
    	out.UpdateInterval = 300 * time.Millisecond
    	out.cm = nil // TODO
    	out.reverseStatus = make(map[string]sets.String)
    	out.status = make(map[string]string)
    	return
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestWorkerTest.groovy

        def test = Mock(TestClassRunInfo)
        def resultProcessor = Mock(TestResultProcessor)
        def worker = new TestWorker(factory)
        def serviceRegistry = new DefaultServiceRegistry().add(Clock, Time.clock())
    
        def setup() {
            workerContext.workerId >> "<worker-id>"
            workerContext.serverConnection >> connection
            workerContext.serviceRegistry >> serviceRegistry
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/scan/time/BuildScanClock.java

    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A view of the Gradle runtime's clock used by build scans.
     *
     * The provider is _required_ to provide monotonic timestamps.
     *
     * @since 4.2
     */
    @ServiceScope(Scope.BuildTree.class)
    public interface BuildScanClock {
    
        /**
         * The current wall clock time.
         */
        long getCurrentTime();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ThrottlingOutputEventListenerTest.groovy

    import org.gradle.internal.logging.events.UpdateNowEvent
    import org.gradle.internal.time.Clock
    import org.gradle.internal.time.MockClock
    import org.gradle.util.internal.MockExecutor
    import spock.lang.Subject
    
    class ThrottlingOutputEventListenerTest extends OutputSpecification {
        def listener = Mock(OutputEventListener)
        def clock = new MockClock()
        def executor = new MockExecutor()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/SelectiveCompiler.java

                LOG.info("Full recompilation is required because the source roots could not be inferred.");
                return rebuildAllCompiler.execute(spec);
            }
    
            Timer clock = Time.startTimer();
            CurrentCompilation currentCompilation = new CurrentCompilation(spec, classpathSnapshotter);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/SynchronizedLoggingTest.groovy

    import org.gradle.internal.operations.BuildOperationIdFactory
    import org.gradle.internal.time.Clock
    import org.gradle.test.fixtures.concurrent.ConcurrentSpec
    
    import java.util.concurrent.CopyOnWriteArraySet
    
    public class SynchronizedLoggingTest extends ConcurrentSpec {
        def logging = new SynchronizedLogging(Stub(Clock), Stub(BuildOperationIdFactory))
    
        def "initialises on first usage"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_deadline.go

    	return withRequestDeadline(handler, sink, policy, longRunning, negotiatedSerializer, requestTimeoutMaximum, clock.RealClock{})
    }
    
    func withRequestDeadline(handler http.Handler, sink audit.Sink, policy audit.PolicyRuleEvaluator, longRunning request.LongRunningRequestCheck,
    	negotiatedSerializer runtime.NegotiatedSerializer, requestTimeoutMaximum time.Duration, clock clock.PassiveClock) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 21:12:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top