Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for complete (1.93 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.java

          @Override
          public void onEvent(@NotNull EventSource eventSource, @Nullable String id, @Nullable String type, @NotNull String data) {
            try {
              assertEquals("hello", data);
              future.complete(null);
            } catch (Exception e) {
              future.completeExceptionally(e);
            }
          }
    
          @Override
          public void onClosed(@NotNull EventSource eventSource) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

              .build(),
          )
        call.enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: okio.IOException,
            ) {
              callFailure.complete(e)
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
            }
          },
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

          return callDone(e)
        }
    
        return e
      }
    
      /**
       * Complete this call. This should be called once these properties are all false:
       * [requestBodyOpen], [responseBodyOpen], and [expectMoreExchanges].
       *
       * This will release the connection if it is still held.
       *
       * It will also notify the listener that the call completed; either successfully or
       * unsuccessfully.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

              readyTask != null -> {
                multipleReadyTasks = true
                break@eachQueue
              }
    
              // We have a task to execute when we complete the loop.
              else -> {
                readyTask = candidate
              }
            }
          }
    
          // Implement the decision.
          when {
            // We have a task ready to go. Get ready.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            generator.setBaseDir(new File(System.getProperty("java.io.tmpdir")));
            generator.setCommandList(Arrays.asList("imagemagick", "convert", "${url}", "${outputFile}"));
    
            assertTrue("Complete configuration should be valid", true);
    
            // Test minimal configuration
            final CommandGenerator minimalGenerator = new CommandGenerator();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            }
        }
    
        /**
         * Initializes the search engine client and configures indices.
         * Called automatically after dependency injection is complete.
         */
        @PostConstruct
        public void open() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                }
            } finally {
                waitingThreadNames.remove(threadName);
            }
            return true;
        }
    
        /**
         * Waits for all waiting threads to complete.
         */
        public void waitForNoWaitingThreads() {
            int count = waitingThreadNames.size();
            while (count > 0) {
                if (logger.isInfoEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

              super.close();
              if (!completed) {
                completed = true;
                progressListener.update(totalBytesWritten, contentLength(), completed);
              }
            }
          };
        }
      }
    
      interface ProgressListener {
        void update(long bytesWritten, long contentLength, boolean done);
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

                if (!completed) {
                  completed = true
                  progressListener.update(totalBytesWritten, contentLength(), completed)
                }
              }
            }
    
          val bufferedSink = forwardingSink.buffer()
          delegate.writeTo(bufferedSink)
          bufferedSink.flush()
        }
      }
    
      fun interface ProgressListener {
        fun update(
          bytesWritten: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. docs/recipes.md

                    if (!completed) {
                      completed = true
                      progressListener.update(totalBytesWritten, contentLength(), completed)
                    }
                  }
                }
    
                val bufferedSink = forwardingSink.buffer()
                delegate.writeTo(bufferedSink)
                bufferedSink.flush()
              }
            }
    
            fun interface ProgressListener {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top