Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,783 for Instant (0.11 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/NamedInstant.groovy

     */
    class NamedInstant extends Instant {
        private final String name
        private final int sequenceNumber
    
        NamedInstant(String name, long time, int sequenceNumber) {
            super(time)
            this.name = name
            this.sequenceNumber = sequenceNumber
        }
    
        @Override
        String toString() {
            return "[instant ${name} #${sequenceNumber} at ${nanos}]"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestWorkerTest.groovy

        }
    
        def createsTestProcessorAndBlocksUntilEndOfProcessingReceived() {
            when:
            async {
                worker.execute(workerContext)
                instant.completed
            }
    
            then:
            instant.completed > instant.stopped
            System.properties['org.gradle.test.worker'] == '<worker-id>'
    
            and:
            1 * factory.create(_, _, _) >> processor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

            when:
            async {
                start {
                    cacheAccess.withFileLock {
                        instant.action1
                        thread.blockUntil.action2
                    }
                }
                start {
                    cacheAccess.withFileLock {
                        instant.action2
                        thread.blockUntil.action1
                    }
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.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
    - 4.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationRunnerTest.groovy

                    operationRunner.run(runnableBuildOperation("<thread-1>") {
                        instant.action1Started
                        thread.blockUntil.action2Started
                    })
                }
                thread.blockUntil.action1Started
                operationRunner.run(runnableBuildOperation("<thread-2>") {
                    instant.action2Started
                    thread.blockUntil.action1Finished
                })
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:56:07 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy

        }
    
        def "acceptor stop blocks until accept action has completed"() {
            Action action = Mock()
    
            given:
            1 * action.execute(_) >> {
                instant.connected
                thread.block()
                instant.actionFinished
            }
    
            when:
            def acceptor = incomingConnector.accept(action, false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.time.Instant
    import java.util.Date
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class HeadersKotlinTest {
      @Test fun getOperator() {
        val headers = headersOf("a", "b", "c", "d")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheCleanupBuildOperationType.java

     * limitations under the License.
     */
    
    package org.gradle.cache.internal;
    
    import org.gradle.internal.operations.BuildOperationType;
    
    import java.io.File;
    import java.time.Instant;
    
    public final class CacheCleanupBuildOperationType implements BuildOperationType<CacheCleanupBuildOperationType.Details, CacheCleanupBuildOperationType.Result> {
    
        /**
         * Sent when the cache is cleaned up.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/grafana/minio-dashboard.json

                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "time() - max(minio_node_process_starttime_seconds{job=~\"$scrape_jobs\"})",
              "format": "time_series",
              "instant": true,
              "interval": "",
              "intervalFactor": 1,
              "legendFormat": "{{instance}}",
              "metric": "process_start_time_seconds",
              "refId": "A",
              "step": 60
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
  10. subprojects/build-events/src/test/groovy/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistryTest.groovy

        }
    
        def "listeners receive events concurrently"() {
            def listener1 = {
                thread.blockUntil.received
                instant.handled
            } as OperationCompletionListener
            def listener2 = {
                instant.received
                thread.blockUntil.handled
            } as OperationCompletionListener
    
            when:
            registry.onTaskCompletion(Providers.of(listener1))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top