Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,046 for Reporter (0.77 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CompositeDataReporter.java

            }
            for (DataReporter<CrossVersionPerformanceResults> reporter : reporters) {
                reporter.report(results);
            }
        }
    
        @Override
        public void close() throws IOException {
            for (DataReporter<CrossVersionPerformanceResults> reporter : reporters) {
                reporter.close();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/InvalidInstallationWarningReporterTest.groovy

        def mockLogger = Mock(Logger)
    
        def 'reporter logs only invalid installations'() {
            given:
            def reporter = new InvalidInstallationWarningReporter(mockLogger)
            def location = InstallationLocation.userDefined(new File("_"), "_")
            def metadata = Mock(JvmInstallationMetadata) {
                isValidInstallation() >> isValid
            }
    
            when:
            reporter.accept(location, metadata)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/gofmt/gofmt.go

    // A reporter reports output, warnings, and errors.
    type reporter struct {
    	prev  <-chan *reporterState
    	state *reporterState
    }
    
    // reporterState carries the state of a reporter instance.
    //
    // Only one reporter at a time may have access to a reporterState.
    type reporterState struct {
    	out, err io.Writer
    	exitCode int
    }
    
    // getState blocks until any prior reporters are finished with the reporter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/ReportingJvmMetadataDetector.java

        @Nonnull
        private final BiConsumer<InstallationLocation, JvmInstallationMetadata> reporter;
    
        public ReportingJvmMetadataDetector(@Nonnull JvmMetadataDetector delegate, @Nonnull BiConsumer<InstallationLocation, JvmInstallationMetadata> reporter) {
            this.delegate = delegate;
            this.reporter = reporter;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/buildevents/BuildExceptionReporterTest.groovy

        }
    
        def doesNothingWhenBuildIsSuccessful() {
            expect:
            reporter.buildFinished(result(null))
            output.value == ''
        }
    
        def reportsBuildFailure() {
            GradleException exception = new GradleException(MESSAGE);
    
            expect:
            reporter.buildFinished(result(exception))
            output.value == """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/watch/streamwatcher.go

    // into a watch.Interface.
    type StreamWatcher struct {
    	sync.Mutex
    	source   Decoder
    	reporter Reporter
    	result   chan Event
    	done     chan struct{}
    }
    
    // NewStreamWatcher creates a StreamWatcher from the given decoder.
    func NewStreamWatcher(d Decoder, r Reporter) *StreamWatcher {
    	sw := &StreamWatcher{
    		source:   d,
    		reporter: r,
    		// It's easy for a consumer to add buffering via an extra
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 06 13:42:59 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/ExceptionReportingActionTest.groovy

        final Action<ExecutionListener> target = Mock()
        final ExecutionListener listener = Mock()
        final Action<Throwable> reporter = Mock()
        final LoggingOutputInternal loggingOutput = Mock()
        final ExceptionReportingAction action = new ExceptionReportingAction(reporter, loggingOutput, target)
    
        def "executes Action"() {
            when:
            action.execute(listener)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. pilot/pkg/status/distribution/state.go

    			continue
    		}
    		var distributionState Progress
    		for reporter, w := range fractions {
    			// check for stale data here
    			if c.clock.Since(c.ObservationTime[reporter]) > c.StaleInterval {
    				scope.Warnf("Status reporter %s has not been heard from since %v, deleting report.",
    					reporter, c.ObservationTime[reporter])
    				staleReporters = append(staleReporters, reporter)
    			} else {
    				distributionState.PlusEquals(w)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/buildevents/TaskExecutionStatisticsReporterTest.groovy

    class TaskExecutionStatisticsReporterTest extends Specification {
        def textOutputFactory = new TestStyledTextOutputFactory()
        def reporter = new TaskExecutionStatisticsReporter(textOutputFactory)
    
        def "does not report statistics given 0 tasks"() {
            when:
            reporter.buildFinished(new TaskExecutionStatistics(0, 0, 0))
    
            then:
            (textOutputFactory as String) == ""
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/ReportingJvmMetadataDetectorTest.groovy

            def location = InstallationLocation.userDefined(new File("jdkHome"), "test")
            def metadata = Mock(JvmInstallationMetadata)
            def reporter = Mock(BiConsumer)
            def delegate = Mock(JvmMetadataDetector)
    
            def detector = new ReportingJvmMetadataDetector(delegate, reporter)
    
            when:
            def actual1 = detector.getMetadata(location)
            def actual2 = detector.getMetadata(location)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top