Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 202 for launch (0.09 seconds)

  1. module-tests/build.gradle.kts

      testImplementation(projects.mockwebserver3Junit5)
    
      testImplementation(libs.junit.jupiter.api)
      testRuntimeOnly(libs.junit.jupiter.engine)
      testRuntimeOnly(libs.junit.platform.launcher)
    }
    
    application {
      mainClass = "okhttp3.modules.Main"
      mainModule = "okhttp3.modules"
    }
    
    jlinkApplication {
      stripDebug = true
      stripJavaDebugAttributes = true
      compress.set("zip-9")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  2. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

                SearchProgressListener.NOOP,
                shards.size(),
                exc -> {}
            );
            CountDownLatch latch = new CountDownLatch(shards.size());
            for (int i = 0; i < shards.size(); i++) {
                consumer.consumeResult(shards.get(i), () -> latch.countDown());
            }
            latch.await();
            SearchPhaseController.ReducedQueryPhase phase = consumer.reduce();
            executor.shutdownNow();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  3. .ci/scripts/packaging-test.ps1

    param($GradleTasks='destructiveDistroTest')
    
    If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
    {
        # Relaunch as an elevated process:
        Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path) -Verb RunAs
        exit
    }
    
    $AppProps = ConvertFrom-StringData (Get-Content .ci/java-versions.properties -raw)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 15 22:00:26 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            if (ComponentUtil.getFessConfig().isSuggestDocuments()) {
                final CountDownLatch latch = new CountDownLatch(1);
    
                logger.info("Parsing words from indexed documents.");
                suggestHelper.indexFromDocuments(ret -> {
                    logger.info("Success indexing from documents.");
                    latch.countDown();
                }, t -> {
                    logger.error("Failed to update suggest index.", t);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  5. build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts

    val testRuntimeOnly = configurations.maybeCreate("testRuntimeOnly")
    dependencies {
      testRuntimeOnly(library("junit-jupiter-engine"))
      testRuntimeOnly(library("junit-vintage-engine"))
      testRuntimeOnly(library("junit-platform-launcher"))
    }
    
    tasks.withType<Test> {
      useJUnitPlatform()
      jvmArgs("-Dokhttp.platform=$platform")
    
      if (platform == "loom") {
        jvmArgs("-Djdk.tracePinnedThreads=short")
      }
      if (platform == "openjsse") {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 07:16:57 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

        call: Call,
        delayMillis: Int,
      ): CountDownLatch {
        val latch = CountDownLatch(1)
        Thread {
          sleep(delayMillis)
          if (cancelMode == CANCEL) {
            call.cancel()
          } else {
            threadToCancel!!.interrupt()
          }
          latch.countDown()
        }.apply { start() }
        return latch
      }
    
      companion object {
        // The size of the socket buffers in bytes.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                                failureCount.incrementAndGet();
                            }
                        }
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            assertTrue(latch.await(10, TimeUnit.SECONDS), "Concurrent operations should complete");
            executor.shutdown();
    
            // Circuit breaker should have handled concurrent operations
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            private final CountDownLatch latch = new CountDownLatch(1);
    
            private BlockingExchange(TransferEvent event) {
                super(event);
            }
    
            @Override
            public void process(Consumer<TransferEvent> consumer) {
                super.process(consumer);
                latch.countDown();
            }
    
            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

                    try {
                        fesenClient.addOnConnectListener(() -> callbackCount.incrementAndGet());
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            latch.await(5, TimeUnit.SECONDS);
            executor.shutdown();
    
            // Verify all listeners were added
            assertEquals(numThreads, fesenClient.onConnectListenerList.size());
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                                collisions.incrementAndGet();
                            }
                        }
                    } finally {
                        latch.countDown();
                    }
                });
            }
    
            // Then
            assertTrue(latch.await(10, TimeUnit.SECONDS), "All threads should complete");
            executor.shutdown();
            assertEquals(0, collisions.get(), "There should be no nonce collisions");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
Back to Top