- Sort Score
- Num 10 results
- Language All
Results 1161 - 1170 of 1,826 for system (0.07 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java
void setUp() { sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size); } @Benchmark int creation(int reps) { int x = 0; for (int i = 0; i < reps; i++) { x ^= System.identityHashCode(impl.create(sampleData.getValuesInSet())); } return x; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
*/ public void testExpired() throws Exception { TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() { public void expired() { System.out.println("expired"); expiredCount++; } }, 1, true); assertNotNull(TimeoutManager.getInstance().thread); Thread.sleep(2000); assertTrue(expiredCount > 0);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.1K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle
* in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ import java.nio.file.Files String buildNumber = System.getenv('BUILD_NUMBER') if (buildNumber) { File uploadFile = file("build/${buildNumber}.tar.bz2") project.gradle.buildFinished { result -> println "build complete, generating: $uploadFile"
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
return; // close() doesn't exist, so we can't test it. } closeMethod.invoke(wrapper); assertThat(delegate.isTerminated()).isTrue(); } private static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); } private static boolean isBeforeJava19() { return JAVA_SPECIFICATION_VERSION.value().equals("1.8")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; /** * Test the artifact resolution exception message * */ class ArtifactResolutionExceptionTest { private static final String LS = System.lineSeparator(); @Test void testMissingArtifactMessageFormat() { String message = "Missing artifact"; String indentation = " "; String groupId = "aGroupId";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
if (mavenArtifactJar.matcher(filename).matches()) { Process p = Runtime.getRuntime().exec(new String[] { Paths.get(System.getProperty("java.home"), "bin/java").toString(), "-jar", file.toAbsolutePath().toString(), "5.32", "5.27"
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
*/ class NtlmPasswordAuthenticationTest { private static String originalLmCompatibility; @BeforeAll static void setUpClass() { // Save original property originalLmCompatibility = System.getProperty("jcifs.smb1.smb.lmCompatibility"); // Set default for tests jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", "3"); } @AfterAll static void tearDownClass() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 5) peer.play() // Play it back. val connection = connect(peer) val pingAtNanos = System.nanoTime() connection.writePingAndAwaitPong() val elapsedNanos = System.nanoTime() - pingAtNanos assertThat(elapsedNanos).isGreaterThan(0L) assertThat(elapsedNanos).isLessThan(TimeUnit.SECONDS.toNanos(1))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostForm.java
.post(formBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostForm().run(); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.4K bytes - Click Count (0)