Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for snapshotState (0.22 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStepTest.groovy

                assert state.outputFileLocationSnapshots == beforeExecutionOutputSnapshots
            }
            0 * _
    
            assertOperation()
        }
    
        @Override
        void snapshotState() {
            super.snapshotState()
            _ * outputSnapshotter.snapshotOutputs(work, _) >> ImmutableSortedMap.of()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractCaptureStateBeforeExecutionStepTest.groovy

                ImmutableSortedMap.of(),
                ImmutableSortedMap.of(),
                _
            ) >> { throw failure }
            interaction { snapshotState() }
            0 * _
    
            assertOperation(ex)
        }
    
        void snapshotState() {
            _ * context.shouldCaptureBeforeExecutionState() >> true
            _ * context.previousExecutionState >> Optional.empty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:34 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureNonIncrementalStateBeforeExecutionStepTest.groovy

        }
    
        def "output file properties are snapshotted as empty"() {
            when:
            step.execute(work, context)
    
            then:
            interaction { snapshotState() }
            1 * delegate.execute(work, _ as BeforeExecutionContext) >> { UnitOfWork work, BeforeExecutionContext delegateContext ->
                def state = delegateContext.beforeExecutionState.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/internal/trace/summary.go

    		r.RangeTime[name] = dt
    	}
    	return r
    }
    
    // snapshotStat returns the snapshot of the goroutine execution statistics.
    // This is called as we process the ordered trace event stream. lastTs is used
    // to process pending statistics if this is called before any goroutine end event.
    func (g *GoroutineSummary) snapshotStat(lastTs Time) (ret GoroutineExecStats) {
    	ret = g.GoroutineExecStats.clone()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top