- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 149 for currentTimeMillis (0.2 sec)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals(input, result); } @Test void testTimeConversionRoundTrip() { // Test various time values long[] testTimes = { 1000L, 1500000000000L, System.currentTimeMillis() }; byte[] buffer = new byte[8]; for (long time : testTimes) { SMBUtil.writeTime(time, buffer, 0); long readTime = SMBUtil.readTime(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* successive readings of "now" in the same process. * * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like * {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values * <i>can</i> be subtracted to obtain a {@link Duration} (such as by {@link Duration#between}), but
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
TestLocking t = new TestLocking(); // Initial value assertEquals(0L, t.ltime, "ltime should start at 0"); // Set new value long currentTime = System.currentTimeMillis(); t.ltime = currentTime; assertEquals(currentTime, t.ltime, "ltime should be mutable"); } @Test @DisplayName("TestLocking implements Runnable")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
+ this.link + ",path=" + this.path + ",ttl=" + this.ttl + ",expiration=" + this.expiration + ",remain=" + (this.expiration - System.currentTimeMillis()) + "]"; } /** * Get the time to live for this referral * * @return the ttl */ public long getTtl() { return this.ttl; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
*/ private String generateRegistrationId(byte[] contextHandle, String shareName) { if (contextHandle == null || contextHandle.length == 0) { return "WITNESS-" + System.currentTimeMillis() + "-" + shareName.hashCode(); } // Use context handle bytes to create a unique ID StringBuilder sb = new StringBuilder("WITNESS-");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
@Test @DisplayName("Should manage expiration time") void testExpiration() { assertNull(echoResponse.getExpiration()); Long expiration = System.currentTimeMillis() + 10000L; echoResponse.setExpiration(expiration); assertEquals(expiration, echoResponse.getExpiration()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
this.lastModified = synonymLoader.getLastModified(); } else { this.synonymLoader = null; this.lastModified = System.currentTimeMillis(); } synonymMap = synonymLoader.getSynonymMap(); if (synonymMap != null && synonymMap.fst == null) { this.synonymMap = null; } } else {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 17K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
private MessageBuilder builder() { return messageBuilderFactory.builder(); } private void logStats(MavenSession session) { infoLine('-'); long finish = System.currentTimeMillis(); long time = finish - session.getRequest().getStartTime().getTime(); String wallClock = session.getRequest().getDegreeOfConcurrency() > 1 ? " (Wall Clock)" : "";Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 17.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
serverData.signaturesEnabled = true; serverData.signaturesRequired = false; serverData.maxNumberVcs = 1; serverData.maxRawSize = 65536; serverData.serverTime = System.currentTimeMillis(); serverData.serverTimeZone = -480; // PST serverData.encryptionKeyLength = 8; serverData.encryptionKey = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88 };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
// Create target information with timestamp for NTLMv2 List<AvPair> pairs = new LinkedList<>(); pairs.add(new AvTargetName("TARGET")); pairs.add(new AvTimestamp(System.currentTimeMillis())); pairs.add(new AvFlags(0)); pairs.add(new AvSingleHost(new byte[48])); // Dummy single host data type2.setTargetInformation(AvPairs.encode(pairs)); return type2; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0)