Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 231 for intercepted (0.16 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

                  socket.setReceiveBufferSize(SOCKET_BUFFER_SIZE)
                  return socket
                }
              },
            ).build()
      }
    
      @AfterEach
      fun tearDown() {
        Thread.interrupted() // Clear interrupted state.
      }
    
      @Test
      fun interruptWritingRequestBody() {
        server.enqueue(MockResponse())
        server.start()
        val call =
          client.newCall(
            Request
              .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

                        MojoNotFoundException, InvalidPluginDescriptorException {
            /*
             * Initialize mapping from lifecycle phase to bound mojos. The key set of this map denotes the phases the caller
             * is interested in, i.e. all phases up to and including the specified phase.
             */
    
            Map<String, Map<PhaseId, List<MojoExecution>>> mappings =
                    new TreeMap<>(new PhaseComparator(lifecycle.getPhases()));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          throws ExecutionException {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              return future.get();
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            interruptCurrentThread();
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  4. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorJavaTest.java

    import okhttp3.Gzip;
    import okhttp3.brotli.Brotli;
    import org.junit.jupiter.api.Test;
    
    class ZstdInterceptorJavaTest {
      @Test
      public void testConstructor() {
        CompressionInterceptor interceptor = new CompressionInterceptor(
          Zstd.INSTANCE,
          Gzip.INSTANCE,
          Brotli.INSTANCE
        );
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 969 bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            @Override
            public String getValidatorPackageName() {
                return "validator";
            }
    
            @Override
            public String getInterceptorPackageName() {
                return "interceptor";
            }
    
            @Override
            public String getHelperPackageName() {
                return "helper";
            }
    
            @Override
            public String getRepositoryPackageName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      /**
       * Awaits an interrupt, then clears the interrupted status. Similar to {@code
       * assertTrue(Thread.interrupted())} except that this version tolerates late interrupts.
       */
      private static void assertInterrupted() {
        try {
          /*
           * The sleep() will end immediately if we've already been interrupted or
           * wait patiently for the interrupt if not.
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  7. native-image-tests/build.gradle.kts

    // https://github.com/square/okhttp/issues/8901
    // sourceSets {
    //  test {
    //    java.srcDirs(
    //      "../okhttp-brotli/src/test/java",
    //      "../okhttp-dnsoverhttps/src/test/java",
    //      "../okhttp-logging-interceptor/src/test/java",
    //      "../okhttp-sse/src/test/java",
    //    )
    //  }
    // }
    
    dependencies {
      implementation(projects.okhttp)
    
      testImplementation(projects.mockwebserver3Junit5)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListenerForDepMgmt.java

     * when the ResolutionListener interface deprecation of the manageArtifact
     * method (and the [yet to be done] addition of these methods to that
     * interface) has had a chance to propagate to all interested plugins.
     */
    @Deprecated
    public interface ResolutionListenerForDepMgmt {
        void manageArtifactVersion(Artifact artifact, Artifact replacement);
    
        void manageArtifactScope(Artifact artifact, Artifact replacement);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        AtomicBoolean interrupted = new AtomicBoolean();
        // we need to use another thread because it will be interrupted and thus using
        // the current one, owned by JUnit, would make the test fail
        Thread thread =
            new Thread(
                () -> {
                  terminated.set(shutdownAndAwaitTermination(service, 1L, SECONDS));
                  interrupted.set(Thread.currentThread().isInterrupted());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  10. maven-tests/pom.xml

          <groupId>com.squareup.okhttp3</groupId>
          <artifactId>mockwebserver3</artifactId>
        </dependency>
    
        <dependency>
          <groupId>com.squareup.okhttp3</groupId>
          <artifactId>logging-interceptor</artifactId>
        </dependency>
      </dependencies>
    
      <reporting>
        <plugins>
          <plugin>
            <artifactId>maven-project-info-reports-plugin</artifactId>
          </plugin>
        </plugins>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:42 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top