Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 868 for unix (0.02 sec)

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

        }
      }
    
      fun exhaustResponse() =
        apply {
          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()
      }
    
    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. guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

        return delegate.get();
      }
    
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, ExecutionException, TimeoutException {
        return delegate.get(timeout, unit);
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. docs/pt/docs/deployment/manually.md

    * <a href="https://github.com/emmett-framework/granian" class="external-link" target="_blank">Granian</a>: um servidor HTTP Rust para aplicações Python.
    * <a href="https://unit.nginx.org/howto/fastapi/" class="external-link" target="_blank">NGINX Unit</a>: NGINX Unit é um runtime de aplicação web leve e versátil.
    
    ## Máquina Servidora e Programa Servidor
    
    Existe um pequeno detalhe sobre estes nomes para se manter em mente. 💡
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            double target = value;
            String unit = ""; // TODO l10n?
            String format = "0.#";
            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
                target /= 1024;
                unit = "K";
            } else if (value < 1024L * 1024L * 1024L) {
                target /= 1024;
                target /= 1024;
                unit = "M";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. mockwebserver/README.md

    Here's a complete example:
    
    ### Java
    ```java
    public void test() throws Exception {
      // Create a MockWebServer. These are lean enough that you can create a new
      // instance for every unit test.
      MockWebServer server = new MockWebServer();
    
      // Schedule some responses.
      server.enqueue(new MockResponse.Builder()
          .body("hello, world!")
          .build());
      server.enqueue(new MockResponse.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        private var editCount = 0
    
        override fun poll(): T = delegate.poll()
    
        override fun poll(
          timeout: Long,
          unit: TimeUnit,
        ): T? {
          return taskRunner.withLock {
            val waitUntil = nanoTime + unit.toNanos(timeout)
            while (true) {
              val result = poll()
              if (result != null) return@withLock result
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Monitor.java

        }
      }
    
      /**
       * Returns unit.toNanos(time), additionally ensuring the returned value is not at risk of
       * overflowing or underflowing, by bounding the value between 0 and (Long.MAX_VALUE / 4) * 3.
       * Actually waiting for more than 219 years is not supported!
       */
      private static long toSafeNanos(long time, TimeUnit unit) {
        long timeoutNanos = unit.toNanos(time);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ForwardingLock.java

      }
    
      @Override
      public boolean tryLock() {
        return delegate().tryLock();
      }
    
      @Override
      public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
        return delegate().tryLock(time, unit);
      }
    
      @Override
      public void unlock() {
        delegate().unlock();
      }
    
      @Override
      public Condition newCondition() {
        return delegate().newCondition();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.thumbnail.impl;
    
    import java.io.File;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class BaseThumbnailGeneratorTest extends UnitFessTestCase {
    
        private TestThumbnailGenerator generator;
    
        // Test concrete implementation for testing abstract BaseThumbnailGenerator
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      @ParametricNullness
      final V blockingGet(long timeout, TimeUnit unit)
          throws InterruptedException, TimeoutException, ExecutionException {
        // NOTE: if timeout < 0, remainingNanos will be < 0 and we will fall into the while(true) loop
        // at the bottom and throw a timeoutexception.
        long timeoutNanos = unit.toNanos(timeout); // we rely on the implicit null check on unit.
        long remainingNanos = timeoutNanos;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top