- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 51 for Nanosecond (0.06 seconds)
-
src/archive/tar/strconv_test.go
} } if ok && !ts.Equal(v.want) { t.Errorf("parsePAXTime(%q): got (%ds %dns), want (%ds %dns)", v.in, ts.Unix(), ts.Nanosecond(), v.want.Unix(), v.want.Nanosecond()) } } } func TestFormatPAXTime(t *testing.T) { vectors := []struct { sec, nsec int64 want string }{ {1350244992, 0, "1350244992"},
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 11 17:52:43 GMT 2025 - 15K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// Given byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); // SMB times are in 100-nanosecond intervals since 1601 // Java times are in milliseconds since 1970 long currentJavaTime = System.currentTimeMillis(); long smbTime = currentJavaTime * 10000L + 116444736000000000L;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/archive/tar/common.go
fitsOctal := fitsInOctal(size, ts.Unix()) if (isMtime && !fitsOctal) || !isMtime { whyNoUSTAR = fmt.Sprintf("USTAR cannot encode %s=%v", name, ts) format.mustNotBe(FormatUSTAR) } needsNano := ts.Nanosecond() != 0 if !isMtime || !fitsOctal || needsNano { preferPAX = true // USTAR may truncate sub-second measurements if paxKey == paxNone { whyNoPAX = fmt.Sprintf("PAX cannot encode %s=%v", name, ts)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
*/ package com.google.common.util.concurrent; import static com.google.common.base.Verify.verify; import static com.google.common.util.concurrent.Internal.toNanosSaturated; import static java.util.concurrent.TimeUnit.NANOSECONDS; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Preconditions;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
*/ public void recordRdmaSend(int bytes, long durationNanos) { rdmaSends.incrementAndGet(); bytesTransferred.addAndGet(bytes); totalSendTime.addAndGet(durationNanos); } /** * Record an RDMA receive operation * * @param bytes number of bytes received * @param durationNanos operation duration in nanoseconds */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 10.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
import static java.lang.Thread.currentThread; import static java.util.concurrent.Executors.newCachedThreadPool; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.base.Stopwatch; import java.time.Duration; import java.util.ArrayList;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
hook.start(); } for (Thread hook : hooks) { hook.join(); } } } /* Half of a 1-second timeout in nanoseconds */ private static final long HALF_SECOND_NANOS = NANOSECONDS.convert(1L, SECONDS) / 2; public void testShutdownAndAwaitTermination_immediateShutdown() throws Exception { ExecutorService service = Executors.newSingleThreadExecutor();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
hook.start(); } for (Thread hook : hooks) { hook.join(); } } } /* Half of a 1-second timeout in nanoseconds */ private static final long HALF_SECOND_NANOS = NANOSECONDS.convert(1L, SECONDS) / 2; public void testShutdownAndAwaitTermination_immediateShutdown() throws Exception { ExecutorService service = Executors.newSingleThreadExecutor();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Queues.java
* the License. */ package com.google.common.collect; import static com.google.common.collect.Internal.toNanosSaturated; import static java.util.concurrent.TimeUnit.NANOSECONDS; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Preconditions;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 18K bytes - Click Count (0)