- Sort Score
- Num 10 results
- Language All
Results 741 - 750 of 1,632 for stort (0.14 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
// Wait for the first task to be started in the background. It will block until we explicitly // stop it. blockingCallable.waitForStart(); // Give the second task a chance to (incorrectly) start up while the first task is running. assertThat(future2.isDone()).isFalse(); // Stop the first task. The second task should then run. blockingCallable.stop(); executor.shutdown();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Arrange WriterThread w = new WriterThread(); SmbFileOutputStream out = mock(SmbFileOutputStream.class); byte[] payload = new byte[] { 1, 2, 3, 4 }; w.start(); // Wait until writer thread signals readiness synchronized (w) { long deadline = System.currentTimeMillis() + 2000;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocBuilder.java
extensionsBuilder = new ClassDocExtensionsBuilder(model, listener); superTypeBuilder = new ClassDocSuperTypeBuilder(model, listener); } void build(ClassDoc classDoc) { listener.start(String.format("class %s", classDoc.getName())); try { superTypeBuilder.build(classDoc); commentBuilder.build(classDoc); propertiesBuilder.build(classDoc);
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
* It should correctly call the super constructor and set ptype and flags. */ @Test @DisplayName("Constructor should initialize fields and call super constructor") void constructorTest() { short level = 1; // Create an instance of the class under test MsrpcQueryInformationPolicy policy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.7K bytes - Click Count (0) -
module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java
} @Test public void testMockWebServer() throws IOException { MockWebServer server = new MockWebServer(); server.enqueue(new MockResponse(200, Headers.of(), "Hello, Java9!")); server.start(); // Just check we can run code that depends on OkHttp types Call call = OkHttpCaller.callOkHttp(server.url("/")); try (Response response = call.execute();) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 2.1K bytes - Click Count (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
*/ class JettyHttpClientTest { private val client = HttpClient() @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { client.start() } @AfterEach fun tearDown() { client.stop() } @Test fun get() { server.enqueue(MockResponse(body = "hello, Jetty HTTP Client")) val request = clientCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/JarLifecycleMappingProvider.java
/** * {@code jar} packaging plugins bindings provider for {@code default} lifecycle. */ @Named("jar") @Singleton public final class JarLifecycleMappingProvider extends AbstractLifecycleMappingProvider { // START SNIPPET: jar private static final String[] BINDINGS = { "process-resources", "org.apache.maven.plugins:maven-resources-plugin:" + RESOURCES_PLUGIN_VERSION + ":resources",Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/WarLifecycleMappingProvider.java
/** * {@code war} packaging plugins bindings provider for {@code default} lifecycle. */ @Named("war") @Singleton public final class WarLifecycleMappingProvider extends AbstractLifecycleMappingProvider { // START SNIPPET: war private static final String[] BINDINGS = { "process-resources", "org.apache.maven.plugins:maven-resources-plugin:" + RESOURCES_PLUGIN_VERSION + ":resources",Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST_2; import static java.lang.Math.max; import static java.util.Arrays.asList; import static java.util.Collections.sort; import static junit.framework.Assert.assertEquals; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.ContiguousSet;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java
validateApi(body, messages -> {}); body.crudMode = CrudMode.CREATE; final FileConfig fileConfig = getFileConfig(body).map(entity -> { try { fileConfigService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.2K bytes - Click Count (0)