- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for Nanosecond (0.04 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
this.flags = SMBUtil.readInt4(buffer, bufferIndex + 4); // Flags (4 bytes) return 8; } /** * Get the timeout value in 100-nanosecond intervals (raw wire format) * @return the timeout in 100-nanosecond intervals */ public long getTimeout100Ns() { return timeout100Ns; } /** * Get the timeout value converted to milliseconds
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
return timeoutMs; } /** * Get the timeout value in 100-nanosecond intervals as required by MS-SMB2 * @return the timeout in 100-nanosecond intervals */ public long getTimeoutFor100Ns() { if (timeoutMs == 0) { return 0L; // Persistent handles use 0 } // Convert milliseconds to 100-nanosecond intervals // 1 ms = 10,000 * 100ns intervalsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
internal/amztime/iso8601_time.go
const ( iso8601TimeFormat = "2006-01-02T15:04:05.000Z" // Reply date format with millisecond precision. iso8601TimeFormatLong = "2006-01-02T15:04:05.000000Z" // Reply date format with nanosecond precision. ) // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec. // // This function is needed to avoid a Go's float64 precision bug, where Go avoids
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 16 23:38:33 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs.go
// FormatSQLTimestamp - returns the a string representation of the // timestamp as used in S3 Select func FormatSQLTimestamp(t time.Time) string { _, zoneOffset := t.Zone() hasZone := zoneOffset != 0 hasFracSecond := t.Nanosecond() != 0 hasSecond := t.Second() != 0 hasTime := t.Hour() != 0 || t.Minute() != 0 hasDay := t.Day() != 1 hasMonth := t.Month() != 1 switch { case hasFracSecond: return t.Format(layoutNanosecond)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
long lastAccess = 1600000100000L; long lastWrite = 1600000200000L; long change = 1600000300000L; int attributes = 0x1234; // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601) long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; writeLong(buffer, 0, (create + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
internal/bucket/lifecycle/transition.go
trnDate, err := time.Parse(time.RFC3339, dateStr) if err != nil { return errTransitionInvalidDate } // Allow only date timestamp specifying midnight GMT hr, m, sec := trnDate.Clock() nsec := trnDate.Nanosecond() loc := trnDate.Location() if hr != 0 || m != 0 || sec != 0 || nsec != 0 || loc.String() != time.UTC.String() { return errTransitionDateNotMidnight } *tDate = TransitionDate{trnDate} return nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
// Decode output parameters for WitnessHeartbeat // Response sequence number (64-bit) responseSequenceNumber = buf.dec_ndr_hyper(); // Heartbeat interval (64-bit, in 100-nanosecond intervals) // Convert from FILETIME intervals to milliseconds long filetimeInterval = buf.dec_ndr_hyper(); heartbeatInterval = filetimeInterval / 10000; // Convert to milliseconds }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
expDate, err := time.Parse(time.RFC3339, dateStr) if err != nil { return errLifecycleInvalidDate } // Allow only date timestamp specifying midnight GMT hr, m, sec := expDate.Clock() nsec := expDate.Nanosecond() loc := expDate.Location() if hr != 0 || m != 0 || sec != 0 || nsec != 0 || loc.String() != time.UTC.String() { return errLifecycleDateNotMidnight } *eDate = ExpirationDate{expDate} return nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.6K bytes - Viewed (0) -
internal/s3select/parquet/reader.go
var duration time.Duration // Only support UTC normalized timestamps. if ts.IsAdjustedToUTC { switch { case ts.Unit.IsSetNANOS(): duration = time.Duration(val) * time.Nanosecond case ts.Unit.IsSetMILLIS(): duration = time.Duration(val) * time.Millisecond case ts.Unit.IsSetMICROS(): duration = time.Duration(val) * time.Microsecond default:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
return MINUTES; } if (SECONDS.convert(nanos, NANOSECONDS) > 0) { return SECONDS; } if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) { return MILLISECONDS; } if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { return MICROSECONDS; } return NANOSECONDS; } private static String abbreviate(TimeUnit unit) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 9.2K bytes - Viewed (0)