- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 568 for clocks (0.41 sec)
-
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/MonotonicClock.java
* in between syncs with the system wall clock. * When issuing the first timestamp after the sync interval has expired, * The system wall clock will be read, and the current time set to the max of wall clock time or the most recently issued timestamp. * All other timestamps are calculated as the wall clock time at last sync + elapsed time since. * <p> * This clock deals relatively well when the system wall clock shift is adjusted by small amounts.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 5K bytes - Viewed (0) -
src/runtime/runtime.go
const minTimeForTicksPerSecond = 5_000_000*(1-osHasLowResClockInt) + 100_000_000*osHasLowResClockInt // ticksPerSecond returns a conversion rate between the cputicks clock and the nanotime clock. // // Note: Clocks are hard. Using this as an actual conversion rate for timestamps is ill-advised // and should be avoided when possible. Use only for durations, where a tiny error term isn't going
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 9.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
+ now + ", lastUpdated = " + lastUpdated + "). Please verify that the clocks of all" + " deploying machines are reasonably synchronized."); versioning.setLastUpdated(now); changed = true; } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 18.9K bytes - Viewed (0) -
src/time/time.go
// no leap seconds. // // # Monotonic Clocks // // Operating systems provide both a “wall clock,” which is subject to // changes for clock synchronization, and a “monotonic clock,” which is // not. The general rule is that the wall clock is for telling time and // the monotonic clock is for measuring time. Rather than split the API,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/time/time_test.go
{"ISOWeek", func(t1, t2 Time) bool { a1, b1 := t1.ISOWeek() a2, b2 := t2.ISOWeek() return a1 == a2 && b1 == b2 }}, {"Clock", func(t1, t2 Time) bool { a1, b1, c1 := t1.Clock() a2, b2, c2 := t2.Clock() return a1 == a2 && b1 == b2 && c1 == c2 }}, {"Hour", func(t1, t2 Time) bool { return t1.Hour() == t2.Hour() }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/runtime/metrics_test.go
// to abstract over the relationship of two Lock calls or an RLock // and a Lock call. type locker2 interface { Lock1() Unlock1() Lock2() Unlock2() } type mutex struct { mu sync.Mutex } func (m *mutex) Lock1() { m.mu.Lock() } func (m *mutex) Unlock1() { m.mu.Unlock() } func (m *mutex) Lock2() { m.mu.Lock() } func (m *mutex) Unlock2() { m.mu.Unlock() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Clock.java
import org.gradle.internal.service.scopes.Scope; import org.gradle.internal.service.scopes.ServiceScope; /** * A device for obtaining the current time. * * @see Time#clock() */ @ServiceScope(Scope.Global.class) public interface Clock { /** * The current time in millis. */ long getCurrentTime();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 974 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Locks.kt
import okhttp3.internal.http2.Http2Stream import okhttp3.internal.http2.Http2Writer /** * Centralisation of central locks according to docs/contribute/concurrency.md */ internal object Locks { inline fun <T> Dispatcher.withLock(action: () -> T): T { contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) } return lock.withLock(action) } inline fun <T> RealConnection.withLock(action: () -> T): T {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 2.1K bytes - Viewed (0) -
src/crypto/des/block.go
b1 = block & 0x0f0f00000f0f0000 b2 = block & 0x0000f0f00000f0f0 block ^= b1 ^ b2 ^ b1>>12 ^ b2<<12 b1 = block >> 32 & 0xff00ff b2 = (block & 0xff00ff00) block ^= b1<<32 ^ b2 ^ b1<<8 ^ b2<<24 b1 = block >> 48 b2 = block << 48 block ^= b1 ^ b2 ^ b1<<48 ^ b2>>48 return block } // creates 16 28-bit blocks rotated according // to the rotation schedule.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/block.go
package ssa import ( "cmd/internal/src" "fmt" ) // Block represents a basic block in the control flow graph of a function. type Block struct { // A unique identifier for the block. The system will attempt to allocate // these IDs densely, but no guarantees. ID ID // Source position for block's control operation Pos src.XPos // The kind of block this is. Kind BlockKind // Likely direction for branches.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 12.2K bytes - Viewed (0)