Lines Matching refs:ticks
23 ticks: u64, field
45 pub const fn from_rfc4122(ticks: u64, counter: u16) -> Self { in from_rfc4122()
46 Timestamp { ticks, counter } in from_rfc4122()
78 let ticks = UUID_TICKS_BETWEEN_EPOCHS in from_unix() localVariable
82 Timestamp { ticks, counter } in from_unix()
93 (self.ticks, self.counter) in to_rfc4122()
104 (self.ticks - UUID_TICKS_BETWEEN_EPOCHS) / 10_000_000, in to_unix()
105 ((self.ticks - UUID_TICKS_BETWEEN_EPOCHS) % 10_000_000) as u32 in to_unix()
117 (self.ticks - UUID_TICKS_BETWEEN_EPOCHS) * 100 in to_unix_nanos()
202 let time_low = (ts.ticks & 0xFFFF_FFFF) as u32; in new_v1()
203 let time_mid = ((ts.ticks >> 32) & 0xFFFF) as u16; in new_v1()
205 (((ts.ticks >> 48) & 0x0FFF) as u16) | (1 << 12); in new_v1()
241 let ticks: u64 = u64::from(self.as_bytes()[6] & 0x0F) << 56 in to_timestamp() localVariable
253 Some(Timestamp::from_rfc4122(ticks, counter)) in to_timestamp()