Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 188 for instantly (0.18 sec)

  1. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputReaderTest.groovy

            async {
                start {
                    def result = userInputReader.readInput()
                    instant.read
                    assert result == response
                }
                thread.block()
                instant.put
                userInputReader.putInput(response)
            }
            instant.read > instant.put
    
            where:
            response << [
                new UserInputReader.TextResponse("answer"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/SynchronizedToolingImplementationLoaderTest.groovy

            }
    
            then:
            instant.idle < instant.created
            1 * target.create(distro, factory, _ as InternalBuildProgressListener, params, cancellationToken) >> {
                instant.busy
                thread.block()
                instant.idle
                Stub(ConsumerConnection)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultPhasedBuildActionExecuterTest.groovy

            instant.dispatched < instant.resultAvailable
            instant.resultAvailable < instant.resultReceived
        }
    
        def "run() blocks until result is available"() {
            given:
            asyncConnection.run(!null, !null) >> { def consumerAction, ResultHandlerVersion1 adaptedHandler ->
                start {
                    thread.block()
                    instant.resultAvailable
                    adaptedHandler.onComplete(null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerTest.groovy

            }
    
            then:
            instant.bReceived > instant.aHandled
        }
    
        def notifyDoesNotBlockWhenAnotherThreadIsNotifyingOnDifferentType() {
            given:
            def listener1 = { String p ->
                instant.aReceived
                thread.block()
                instant.aHandled
            } as TestFooListener
            def listener2 = {
                instant.bReceived
            } as TestBarListener
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildLauncherTest.groovy

            instant.dispatched < instant.resultAvailable
            instant.resultAvailable < instant.resultReceived
        }
    
        def "run() blocks until build is finished"() {
            given:
            asyncConnection.run(!null, !null) >> { args ->
                def handler = args[1]
                start {
                    thread.block()
                    instant.resultAvailable
                    handler.onComplete(null)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceReportScenarioHistoryExecution.groovy

    import org.gradle.performance.measure.DataSeries
    
    import java.time.Instant
    
    /**
     * Each instance represents a performance execution, i.e. a row in performance execution database
     */
    class PerformanceReportScenarioHistoryExecution {
        private static final int ENOUGH_REGRESSION_CONFIDENCE_THRESHOLD = 90
        Instant time
        String teamCityBuildId
        String commitId
        String shortCommitId
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy

                thread.blockUntil.requested2
                stream.received(bytes2)
            }
    
            then:
            1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested1 }
            1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested2 }
        }
    
        def "read bytes returns when stream is closed"() {
            def dispatch = Mock(OutputEventListener)
            def stream = new StdInStream(dispatch)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/ContinuousBuildTriggerHandler.java

                notifier.run();
                changeOrCancellationArrived.await();
                while (!cancellationToken.isCancellationRequested()) {
                    Instant now = nowFromMonotonicClock();
                    Instant endOfQuietPeriod = lastChangeAt.plus(quietPeriod);
                    if (!endOfQuietPeriod.isAfter(now)) {
                        break;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/exbhv/FavoriteLogBhv.java

        @Override
        protected LocalDateTime toLocalDateTime(final Object value) {
            if (value != null) {
                try {
                    final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString()));
                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/exbhv/UserInfoBhv.java

        @Override
        protected LocalDateTime toLocalDateTime(final Object value) {
            if (value != null) {
                try {
                    final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString()));
                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top