Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 401 for Timeouts (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.MethodSource
    
    @Suppress("UsePropertyAccessSyntax")
    @Timeout(6)
    @Tag("slow")
    class SocketChannelTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. .github/workflows/go.yml

              MINIO_KMS_AUTO_ENCRYPTION: on
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make verify
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. cmd/lock-rest-server.go

    type lockRESTServer struct {
    	ll *localLocker
    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	// Add a timeout similar to what we expect upstream.
    	ctx, cancel := context.WithTimeout(context.Background(), dsync.DefaultTimeouts.RefreshCall)
    	defer cancel()
    
    	resp := lockRPCRefresh.NewResponse()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/sql/StatementUtil.java

                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Sets the query timeout.
         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @param queryTimeout
         *            Query timeout.
         * @see Statement#setQueryTimeout(int)
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. .github/workflows/mint/minio-erasure.yaml

        MINIO_ROOT_PASSWORD: "minio123"
        MINIO_KMS_SECRET_KEY: "my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="
      healthcheck:
        test: ["CMD", "mc", "ready", "local"]
        interval: 5s
        timeout: 5s
        retries: 5
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      minio1:
        <<: *minio-common
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Nov 03 21:18:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbWatchHandleTest.java

                    // Do nothing
                }
            };
    
            // Execute with timeout
            ExecutorService executor = Executors.newSingleThreadExecutor();
            try {
                Future<List<FileNotifyInformation>> future = executor.submit(() -> blockingHandle.watch());
    
                // Verify timeout occurs
                assertThrows(TimeoutException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top