- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,452 for systemd (0.04 sec)
-
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
* Update activity timestamp */ public void updateActivity() { this.lastActivityTime = System.currentTimeMillis(); } /** * Get idle time since last activity * * @return idle time in milliseconds */ public long getIdleTime() { return System.currentTimeMillis() - lastActivityTime; } /** * Check if channel is in healthy state
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
// Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation // cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true"); String concurrentPackage = SettableFuture.class.getPackage().getName();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
// Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation // cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true"); String concurrentPackage = SettableFuture.class.getPackage().getName();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
if (current == State.OPEN) { long timeSinceLastFailure = System.currentTimeMillis() - lastFailureTime.get(); if (timeSinceLastFailure > timeoutMillis) { if (state.compareAndSet(State.OPEN, State.HALF_OPEN)) { stateChangeTime.set(System.currentTimeMillis()); halfOpenSuccesses.set(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
System.out.println("[ Looking for " + groupId + ":" + artifactId + " ]"); for (Artifact a : project.getArtifacts()) { System.out.println(a.toString()); if (artifactId.equals(a.getArtifactId()) && a.getGroupId().equals(groupId)) { System.out.println("RETURN"); return a; } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
} // The temporary file is named destination + ".tmp" and is done this way to ensure // that the temporary file is in the same file system as the destination because the // File.renameTo operation doesn't really work across file systems. // So we will attempt to do a File.renameTo for efficiency and atomicity, if this fails
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
container-tests/build.gradle.kts
plugins { kotlin("jvm") } val platform = System.getProperty("okhttp.platform", "jdk9") val testJavaVersion = System.getProperty("test.java.version", "21").toInt() tasks.withType<Test> { useJUnitPlatform() onlyIf("By default not in CI") { System.getenv("CI") == null || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Mar 17 14:46:34 UTC 2024 - 1.1K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
try { lastAccessTime = System.currentTimeMillis(); return children.containsKey(name); } finally { lock.readLock().unlock(); } } /** * Check if cache entry is expired * * @return true if expired */ public boolean isExpired() { return System.currentTimeMillis() - lastUpdateTime > maxAge; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// This test verifies that the handler resolution mechanism correctly skips the 'jcifs' // package when it is listed in the 'java.protocol.handler.pkgs' system property. // We use mock handlers since actual system handlers might not be available in test environment. System.setProperty("java.protocol.handler.pkgs", "jcifs"); setupMockProtocolHandlers(); URL url = new URL("http://example.com/resource");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)