Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,783 for Instant (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/es/log/exbhv/ClickLogBhv.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)
  5. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/async/DefaultAsyncConsumerActionExecutorTest.groovy

                connection.run(action, handler)
                instant.dispatched
            }
    
            then:
            1 * actionExecuter.run(action) >> {
                thread.blockUntil.dispatched
                instant.actionStarted
                return "result"
            }
            1 * handler.onComplete("result") >> {
                instant.resultReceived
            }
    
            and:
            instant.actionStarted < instant.resultReceived
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

                instant.idle
                assert result == DaemonStopState.Clean
            }
    
            then:
            stopped
            instant.idle > instant.actionFinished
    
            and:
            1 * onStartCommand.run()
            1 * command.run() >> {
                instant.actionStarted
                thread.block()
                instant.actionFinished
            }
            0 * _._
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/BlockTarget.groovy

    /**
     * A target for blocking. Exposes each named instant as a property, and accessing that property will block until the
     * instant has been reached.
     */
    class BlockTarget {
        private final Instants instants
    
        BlockTarget(Instants instants) {
            this.instants = instants
        }
    
        def getProperty(String name) {
            instants.waitFor(name)
            true
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/debug/dump.go

    limitations under the License.
    */
    
    package debug
    
    import (
    	"time"
    
    	"k8s.io/apiserver/pkg/endpoints/request"
    	flowcontrolrequest "k8s.io/apiserver/pkg/util/flowcontrol/request"
    )
    
    // QueueSetDump is an instant dump of queue-set.
    type QueueSetDump struct {
    	Queues                     []QueueDump
    	QueuelessExecutingRequests []RequestDump
    	Waiting                    int
    	Executing                  int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top