Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 242 for bundle (0.1 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

          actions += { stream -> stream.sink.close() }
        }
    
      fun sleep(
        duration: Long,
        unit: TimeUnit,
      ) = apply {
        actions += { Thread.sleep(unit.toMillis(duration)) }
      }
    
      override fun handle(socket: Socket) {
        val task = serviceSocketTask(socket.asBufferedSocket())
        results.add(task)
        task.run()
      }
    
      /** Returns a task that processes both request and response from [socket]. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

        }
      }
    
      public static void main(String... args) throws Exception {
        new RequestBodyCompression().run();
      }
    
      /** This interceptor compresses the HTTP request body. Many webservers can't handle this! */
      static class GzipRequestInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request originalRequest = chain.request();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/SneakyThrows.java

      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
       * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,
       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SneakyThrows.java

      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
       * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,
       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

         * with other sources.
         *
         * **Warning:** callers to this method must immediately call [newSource] to create a source and
         * close that when they're done. Otherwise a handle to [file] will be leaked.
         */
        @Throws(IOException::class)
        fun edit(
          file: File,
          upstream: Source,
          metadata: ByteString,
          bufferMaxSize: Long,
        ): Relay {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              shift += 24;
              len += 3;
            } else {
              int codePoint = Character.codePointAt(input, i);
              if (codePoint == c) {
                // not a valid code point; let the JDK handle invalid Unicode
                return hashBytes(input.toString().getBytes(charset));
              }
              i++;
              buffer |= codePointToFourUtf8Bytes(codePoint) << shift;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

              // If the delegate is already done, run the execution list immediately on the current
              // thread.
              executionList.execute();
              return;
            }
    
            // TODO(lukes): handle RejectedExecutionException
            adapterExecutor.execute(
                () -> {
                  try {
                    /*
                     * Threads from our private pool are never interrupted. Threads from a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. docs/features/https.md

           * Returns an input stream containing one or more certificate PEM files. This implementation just
           * embeds the PEM files in Java strings; most applications will instead read this from a resource
           * file that gets bundled with the application.
           */
          private fun trustedCertificatesInputStream(): InputStream {
            ... // Full source omitted. See sample.
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

     * and creating appropriate DictionaryFile instances for them.
     */
    public abstract class DictionaryCreator {
    
        /** Pattern used to match file paths that this creator can handle. */
        protected Pattern pattern;
    
        /** Manager for dictionary operations and lifecycle. */
        @Resource
        protected DictionaryManager dictionaryManager;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

    import org.lastaflute.job.LaJobRunner;
    import org.lastaflute.job.LaJobScheduler;
    
    import jakarta.annotation.Resource;
    
    /**
     * Job scheduler for managing all scheduled jobs in Fess.
     * Implements LaJobScheduler to handle job scheduling and execution.
     */
    public class AllJobScheduler implements LaJobScheduler {
    
        private static final Logger logger = LogManager.getLogger(AllJobScheduler.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top