Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 360 for ontimeout (0.11 sec)

  1. guava/src/com/google/common/util/concurrent/DirectExecutorService.java

      public boolean isTerminated() {
        synchronized (lock) {
          return shutdown && runningTasks == 0;
        }
      }
    
      @Override
      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
        long nanos = unit.toNanos(timeout);
        synchronized (lock) {
          while (true) {
            if (shutdown && runningTasks == 0) {
              return true;
            } else if (nanos <= 0) {
              return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertTrue(result.contains("Session Id: " + thumbnailJob.sessionId));
        }
    
        // Test execute with timeout
        public void test_execute_withTimeout() {
            thumbnailJob.numOfThreads(2);
            thumbnailJob.timeout = 120; // Set timeout
            thumbnailJob.processTimeout = true;
    
            testProcessHelper.exitValue = -1;
            testProcessHelper.processOutput = "Process terminated";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

            }
        }
    
        @Override
        public ByteBuffer receive(int timeout) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) {
                throw new IOException("Connection not established");
            }
    
            try {
                socket.setSoTimeout(timeout);
    
                // First, read the header to determine message size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

          call: RealCall,
          e: IOException?,
        )
    
        fun noNewExchanges()
    
        fun cancel()
      }
    
      companion object {
        /**
         * The timeout to use while discarding a stream of input data. Since this is used for connection
         * reuse, this timeout should be significantly less than the time it takes to establish a new
         * connection.
         */
        const val DISCARD_STREAM_TIMEOUT_MILLIS = 100
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/RequestParam.java

     */
    public enum RequestParam {
    
        /**
         * No special request parameters.
         */
        NONE,
    
        /**
         * Wait indefinitely for a response
         */
        NO_TIMEOUT,
    
        /**
         * Do not retry request on failure
         */
        NO_RETRY,
    
        /**
         * Save the raw payload for further inspection
         */
        RETAIN_PAYLOAD
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              }
              return -1L
            }
          },
        )
        return null
      }
    
      private fun awaitTcpConnect(
        timeout: Long,
        unit: TimeUnit,
      ): ConnectResult? {
        if (tcpConnectsInFlight.isEmpty()) return null
    
        val result = connectResults.poll(timeout, unit) ?: return null
    
        tcpConnectsInFlight.remove(result.plan)
    
        return result
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

            override fun cancel() = TODO()
    
            override fun isExecuted(): Boolean = TODO()
    
            override fun isCanceled(): Boolean = TODO()
    
            override fun timeout(): Timeout = TODO()
    
            override fun clone(): Call = TODO()
          }
      }
    
      @Test
      fun callback() {
        val callback =
          object : Callback {
            override fun onFailure(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            // Result should contain session ID info
            assertTrue(result.contains("Python Process terminated."));
        }
    
        // Test execute with timeout
        public void test_execute_withTimeout() {
            pythonJob.filename("timeout.py");
            pythonJob.timeout = 60; // Set timeout
            pythonJob.processTimeout = true;
    
            testProcessHelper.exitValue = -1;
            testProcessHelper.processOutput = "Process terminated";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

        public void init(final FilterConfig filterConfig) throws ServletException {
            String name;
            int level;
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min.
             */
            Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000");
            Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200");
            /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * @throws NullPointerException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException {
    
        if (e == null) throw new NullPointerException();
        Monitor monitor = this.monitor;
        if (monitor.enterWhen(notFull, timeout, unit)) {
          try {
            insert(e);
            return true;
          } finally {
            monitor.leave();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top