Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 733 for clocks (0.95 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/progress/DefaultProgressLoggerFactory.java

        public DefaultProgressLoggerFactory(ProgressListener progressListener, Clock clock, BuildOperationIdFactory buildOperationIdFactory) {
            this.progressListener = progressListener;
            this.clock = clock;
            this.buildOperationIdFactory = buildOperationIdFactory;
        }
    
        @Override
        public ProgressLogger newOperation(Class<?> loggerCategory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/MonotonicClockTest.groovy

            1 * nanoTime() >> START_NANOS
        }
    
        private Clock clock = new MonotonicClock(timeSource, SYNC_INTERVAL)
    
        def "prevents time from going backwards"() {
            when:
            setNanos 0
    
            then:
            clock.currentTime == START_MILLIS + 0
    
            when:
            setNanos 10
    
            then:
            clock.currentTime == START_MILLIS + 10
    
            when:
            setNanos 8
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress_test.go

    	"k8s.io/klog/v2"
    	"k8s.io/klog/v2/ktesting"
    	"k8s.io/utils/clock"
    	testingclock "k8s.io/utils/clock/testing"
    )
    
    var (
    	pollPeriod      = time.Millisecond
    	minimalNoChange = 20 * time.Millisecond
    	pollTimeout     = 5 * time.Second
    )
    
    func TestConditionalProgressRequester(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	logger := klog.FromContext(ctx)
    
    	clock := testingclock.NewFakeClock(time.Now())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:51:06 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/SuiteTestClassProcessor.java

                                       Clock clock) {
            this.suiteDescriptor = suiteDescriptor;
            this.processor = processor;
            this.clock = clock;
        }
    
        @Override
        public void startProcessing(TestResultProcessor testResultProcessor) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileCoordinator.java

    import org.gradle.internal.time.Clock;
    
    @ServiceScope(Scope.BuildTree.class)
    public class ProfileCoordinator implements RootBuildLifecycleListener {
        private final BuildProfile profile;
        private final ReportGeneratingProfileListener generator;
        private final Clock clock;
    
        public ProfileCoordinator(BuildProfile profile, ReportGeneratingProfileListener generator, Clock clock) {
            this.profile = profile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	slices.Sort(filenames)
    	return filenames, nil
    }
    
    // lastBlock returns the last block in the document.
    // It panics if the document has no blocks.
    func lastBlock(doc *md.Document) md.Block {
    	return doc.Blocks[len(doc.Blocks)-1]
    }
    
    // addLines adds n lines to the position of b.
    // n can be negative.
    func addLines(b md.Block, n int) {
    	pos := position(b)
    	pos.StartLine += n
    	pos.EndLine += n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/labels.go

    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                         // enclosing block
    	lstmt  *syntax.LabeledStmt            // labeled statement to which this block belongs, or nil
    	labels map[string]*syntax.LabeledStmt // allocated lazily
    }
    
    // insert records a new label declaration for the current block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildLoggerFactory.java

            this.styledTextOutputFactory = styledTextOutputFactory;
            this.workValidationWarningReporter = workValidationWarningReporter;
            this.clock = clock;
            this.gradleEnterprisePluginManager = gradleEnterprisePluginManager;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ThrottlingOutputEventListener.java

        }
    
        ThrottlingOutputEventListener(OutputEventListener listener, int throttleMs, ScheduledExecutorService executor, Clock clock) {
            this.throttleMs = throttleMs;
            this.listener = listener;
            this.executor = executor;
            this.clock = clock;
            scheduleUpdateNow();
        }
    
        private void scheduleUpdateNow() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileEventAdapter.java

        public ProfileEventAdapter(BuildProfile buildProfile, BuildStartedTime buildStartedTime, Clock clock) {
            this.buildProfile = buildProfile;
            this.buildStartedTime = buildStartedTime;
            this.clock = clock;
        }
    
        // BuildListener
        @Override
        public void beforeSettings(Settings settings) {
            long now = clock.getCurrentTime();
            buildProfile.setBuildStarted(now);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top