Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Epoch (0.16 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/OperationResult.java

         * Returns the time when the operation started its execution.
         *
         * @return The start time, in milliseconds since the epoch.
         */
        long getStartTime();
    
        /**
         * Returns the time when the operation finished its execution.
         *
         * @return The end time, in milliseconds since the epoch.
         */
        long getEndTime();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestResult.java

        /**
         * Returns the time when this test started execution.
         *
         * @return The start time, in milliseconds since the epoch.
         */
        long getStartTime();
    
        /**
         * Returns the time when this test completed execution.
         *
         * @return The end t ime, in milliseconds since the epoch.
         */
        long getEndTime();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/functional/src/main/java/org/gradle/internal/time/TimestampSuppliers.java

     * @since 8.0
     */
    public class TimestampSuppliers {
        /**
         * Returns a supplier that calculates a timestamp exactly the given amount of time
         * prior to the current time, or 0 if the amount of time extends beyond the epoch.
         */
        public static Supplier<Long> inThePast(int value, TimeUnit timeUnit) {
            // This needs to be an anonymous inner class instead of a lambda for configuration cache compatibility
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/time/TimestampSuppliersTest.groovy

     */
    
    package org.gradle.internal.time
    
    import spock.lang.Specification
    
    import java.util.concurrent.TimeUnit
    
    
    class TimestampSuppliersTest extends Specification {
        def "timestamps earlier than the epoch evaluate to zero"() {
            expect:
            TimestampSuppliers.inThePast(Integer.MAX_VALUE, TimeUnit.HOURS).get() == 0
    
            and:
            TimestampSuppliers.daysAgo(Integer.MAX_VALUE).get() == 0
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. src/runtime/time_windows_arm64.s

    TEXT time·now(SB),NOSPLIT,$0-24
    	MOVD	$_INTERRUPT_TIME, R3
    	MOVD	time_lo(R3), R0
    	MOVD	$100, R1
    	MUL	R1, R0
    	MOVD	R0, mono+16(FP)
    
    	MOVD	$_SYSTEM_TIME, R3
    	MOVD	time_lo(R3), R0
    	// convert to Unix epoch (but still 100ns units)
    	#define delta 116444736000000000
    	SUB	$delta, R0
    	// Convert to nSec
    	MOVD	$100, R1
    	MUL	R1, R0
    
    	// Code stolen from compiler output for:
    	//
    	//	var x uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 906 bytes
    - Viewed (0)
  6. src/runtime/time_windows_386.s

    	MOVL	DX, mono+16(FP)
    
    wall:
    	MOVL	(_SYSTEM_TIME+time_hi1), CX
    	MOVL	(_SYSTEM_TIME+time_lo), AX
    	MOVL	(_SYSTEM_TIME+time_hi2), DX
    	CMPL	CX, DX
    	JNE	wall
    
    	// w = DX:AX
    	// convert to Unix epoch (but still 100ns units)
    	#define delta 116444736000000000
    	SUBL	$(delta & 0xFFFFFFFF), AX
    	SBBL $(delta >> 32), DX
    
    	// nano/100 = DX:AX
    	// split into two decimal halves by div 1e9.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt

        assertThat(builder["e"]).isNull()
      }
    
      @Test fun builderSetOperator() {
        val builder = Headers.Builder()
        builder["a"] = "b"
        builder["c"] = "d"
        builder["e"] = Date(0L)
        builder["g"] = Instant.EPOCH
        assertThat(builder["a"]).isEqualTo("b")
        assertThat(builder["c"]).isEqualTo("d")
        assertThat(builder["e"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
    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/ide/tooling-api/src/main/java/org/gradle/tooling/events/ProgressEvent.java

     * task has finished, etc.
     *
     * @since 2.4
     */
    public interface ProgressEvent {
    
        /**
         * Returns the time this event was triggered.
         *
         * @return The event time, in milliseconds since the epoch.
         */
        long getEventTime();
    
        /**
         * Returns a human consumable short description of the event.
         *
         * @return The short description of the event.
         */
        String getDisplayName();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. build/README.md

    for builds. `make` itself is **not** hermetic.
    
    The Kubernetes build environment supports the [`SOURCE_DATE_EPOCH` environment
    variable](https://reproducible-builds.org/specs/source-date-epoch/) specified by
    the Reproducible Builds project, which can be set to a UNIX epoch timestamp.
    This will be used for the build timestamps embedded in compiled Go binaries,
    and maybe someday also Docker images.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 07:20:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/runtime/time_windows_arm.s

    	MOVW	$_SYSTEM_TIME, R3
    wall:
    	MOVW	time_hi1(R3), R1
    	DMB	MB_ISH
    	MOVW	time_lo(R3), R0
    	DMB	MB_ISH
    	MOVW	time_hi2(R3), R2
    	CMP	R1, R2
    	BNE	wall
    
    	// w = R1:R0 in 100ns untis
    	// convert to Unix epoch (but still 100ns units)
    	#define delta 116444736000000000
    	SUB.S   $(delta & 0xFFFFFFFF), R0
    	SBC     $(delta >> 32), R1
    
    	// Convert to nSec
    	MOVW    $100, R2
    	MULLU   R0, R2, (R4, R3)    // R4:R3 = R1:R0 * R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top