Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,783 for Instant (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/Headers.kt

        ) = add(name, value.toHttpDateString())
    
        /**
         * Add a header with the specified name and formatted instant. Does validation of header names
         * and value.
         */
        @IgnoreJRERequirement // Only programs that already have Instant will use this.
        fun add(
          name: String,
          value: Instant,
        ) = add(name, Date.from(value))
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheBuildOperationsFixture.groovy

        }
    
        private BuildOperationRecord loadOperation() {
            operations.firstMatchingRegex("Load (configuration cache|instant execution) state")
        }
    
        private BuildOperationRecord storeOperation() {
            operations.firstMatchingRegex("Store (configuration cache|instant execution) state.*")
        }
    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. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time.go

    	if t == nil {
    		return true
    	}
    	return t.Time.IsZero()
    }
    
    // Before reports whether the time instant t is before u.
    func (t *MicroTime) Before(u *MicroTime) bool {
    	if t != nil && u != nil {
    		return t.Time.Before(u.Time)
    	}
    	return false
    }
    
    // Equal reports whether the time instant t is equal to u.
    func (t *MicroTime) Equal(u *MicroTime) bool {
    	if t == nil && u == nil {
    		return true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl.logging
    
    import java.io.PrintWriter
    import java.io.StringWriter
    import java.time.Instant
    import java.time.ZoneOffset
    import java.time.format.DateTimeFormatterBuilder
    import java.time.temporal.ChronoField.HOUR_OF_DAY
    import java.time.temporal.ChronoField.MINUTE_OF_HOUR
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/cache/internal/VersionSpecificCacheCleanupAction.java

        }
    
        private boolean requiresCleanup() {
            Instant lastCleanupTime;
    
            File gcFile = getGcFile();
            if (!gcFile.exists()) {
                if (!gcFile.getParentFile().exists()) {
                    return false;
                } else {
                    lastCleanupTime = null;
                }
            } else {
                lastCleanupTime = Instant.ofEpochMilli(gcFile.lastModified());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java

    import java.text.SimpleDateFormat;
    import java.time.Instant;
    import java.time.format.DateTimeFormatter;
    import java.util.Date;
    import java.util.TimeZone;
    
    import static org.gradle.performance.measure.DataSeries.confidenceInDifference;
    
    public class FormatSupport {
        public static String executionTimestamp() {
            return timestamp(Instant.now());
        }
    
        public static String timestamp(Instant time) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

                request2.release()
            }
            server.stop()
    
            then:
            instant.aDone > instant.aBlocked
            instant.bDone > instant.bBlocked
        }
    
        def "can chain expectations"() {
            given:
            server.expectConcurrent("a", "b")
            server.expect("c")
            def handle = server.expectConcurrentAndBlock(2, "d", "e")
            server.expect("f")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. src/net/dial_test.go

    	}{
    		// These should just work on the first try.
    		{[]string{"127.0.0.1"}, []string{}, "", true, instant},
    		{[]string{"::1"}, []string{}, "", true, instant},
    		{[]string{"127.0.0.1", "::1"}, []string{slowDst6}, "tcp6", true, instant},
    		{[]string{"::1", "127.0.0.1"}, []string{slowDst4}, "tcp4", true, instant},
    		// Primary is slow; fallback should kick in.
    		{[]string{slowDst4}, []string{"::1"}, "", true, fallbackDelay},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy

                }
            }
        }
    
        def "cannot look up services while closing"() {
            given:
            def registry = new DefaultServiceRegistry()
            registry.add(Closeable, {
                instant.closing
                thread.blockUntil.lookupDone
            } as Closeable)
    
            when:
            async {
                start() {
                    registry.close()
                }
                start {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/cmd/trace/gstate.go

    // to emit a flow event from, indicating explicitly that this goroutine was unblocked by the system.
    func (gs *gState[R]) blockedSyscallEnd(ts trace.Time, stack trace.Stack, ctx *traceContext) {
    	name := "exit blocked syscall"
    	gs.setStartCause(ts, name, trace.SyscallP, stack)
    
    	// Emit an syscall exit instant event for the "Syscall" lane.
    	ctx.Instant(traceviewer.InstantEvent{
    		Name:     name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top