- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 136 for Nanosecond (0.07 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 16 23:38:33 GMT 2023 - 1.9K bytes - Click Count (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 intervalsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (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 }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.8K bytes - Click Count (0) -
android/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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.5K bytes - Click Count (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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
* CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}. * * @author Adam Winer * @since 12.0 */ @SuppressWarnings("GoodTime") // lots of violations (nanosecond math) @GwtIncompatible public final class CacheBuilderSpec { /** Parses a single value. */ private interface ValueParser { void parse(CacheBuilderSpec spec, String key, @Nullable String value); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
* CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}. * * @author Adam Winer * @since 12.0 */ @SuppressWarnings("GoodTime") // lots of violations (nanosecond math) @GwtIncompatible public final class CacheBuilderSpec { /** Parses a single value. */ private interface ValueParser { void parse(CacheBuilderSpec spec, String key, @Nullable String value); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
return timestamp; } /** * Sets the notification timestamp. * * @param timestamp the timestamp value in FILETIME format (100-nanosecond intervals since January 1, 1601 UTC) */ public void setTimestamp(long timestamp) { this.timestamp = timestamp; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0)