- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for Epoch (0.04 sec)
-
pkg/test/loadbalancersim/timeseries/instance.go
} func (ts *Instance) SeriesAsDurationSinceEpoch(epoch time.Time) (Data, []time.Duration) { ts.mutex.Lock() defer ts.mutex.Unlock() return ts.data.Copy(), ts.times.asDurationSinceEpoch(epoch) } type times []time.Time func (t times) copy() times { out := make(times, 0, len(t)) out = append(out, t...) return out } func (t times) asDurationSinceEpoch(epoch time.Time) []time.Duration {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 03 18:19:25 UTC 2022 - 1.8K bytes - Viewed (0) -
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) -
src/syscall/route_freebsd_32bit.go
// packet header view. // See https://svnweb.freebsd.org/base?view=revision&revision=254804. m := (*ifMsghdr)(unsafe.Pointer(any)) p.Header.Data.Hwassist = uint32(m.Data.Hwassist) p.Header.Data.Epoch = m.Data.Epoch p.Header.Data.Lastchange = m.Data.Lastchange return &InterfaceMessage{Header: p.Header, Data: b[int(unsafe.Offsetof(p.Header.Data))+int(p.Header.Data.Datalen) : any.Msglen]}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 15:46:41 UTC 2022 - 1.1K bytes - Viewed (0) -
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) -
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) -
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) -
test/fixedbugs/bug218.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 11 14:36:33 UTC 2015 - 389 bytes - Viewed (0) -
test/fixedbugs/bug332.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 28 02:31:54 UTC 2020 - 376 bytes - Viewed (0) -
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) -
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)