Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 438 for timeouts (0.3 sec)

  1. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                    }
                });
            }
    
            startLatch.countDown(); // Start all threads
            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            long overallEnd = System.nanoTime();
            double overallTimeMs = (overallEnd - overallStart) / 1_000_000.0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. tests/transaction_test.go

    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    
    	tx := db.Begin()
    	time.Sleep(3 * time.Second)
    	if err = tx.Find(&User{}).Error; err == nil {
    		t.Errorf("should return error when transaction timeout, got error %v", err)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
      }
    
      /*
       * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has
       * a better chance of completing each within its per-test-method timeout.
       */
    
      public void testFuzzyCompare0() {
        runTestFuzzyCompare(0);
      }
    
      public void testFuzzyCompare1() {
        runTestFuzzyCompare(1);
      }
    
      public void testFuzzyCompare2() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

          for (Thread hook : hooks) {
            hook.start();
          }
          for (Thread hook : hooks) {
            hook.join();
          }
        }
      }
    
      /* Half of a 1-second timeout in nanoseconds */
      private static final long HALF_SECOND_NANOS = NANOSECONDS.convert(1L, SECONDS) / 2;
    
      public void testShutdownAndAwaitTermination_immediateShutdown() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. cmd/bucket-targets.go

    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		return !h.Online
    	}
    	go sys.initHC(ep)
    	return false
    }
    
    // markOffline sets endpoint to offline if network i/o timeout seen.
    func (sys *BucketTargetSys) markOffline(ep *url.URL) {
    	sys.hMutex.Lock()
    	defer sys.hMutex.Unlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		h.Online = false
    		sys.hc[ep.Host] = h
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. api/go1.17.txt

    pkg net, method (*ParseError) Temporary() bool
    pkg net, method (*ParseError) Timeout() bool
    pkg net, method (IP) IsPrivate() bool
    pkg net/http, func AllowQuerySemicolons(Handler) Handler
    pkg net/url, method (Values) Has(string) bool
    pkg reflect, func VisibleFields(Type) []StructField
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  7. cmd/metrics-v3-types.go

    	}
    }
    
    // MetricsGroup - represents a group of metrics. It includes a `MetricsLoaderFn`
    // function that provides a way to load the metrics from the system. The metrics
    // are cached and refreshed after a given timeout.
    //
    // For metrics with a `bucket` dimension, a list of buckets argument is required
    // to collect the metrics.
    //
    // It implements the prometheus.Collector interface for metric groups without a
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.util.transport.TransportException;
    
    /**
     * This class encapsulates the logic for switching tree connections
     *
     * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on
     * DFS referrals.
     *
     * @author mbechler
     *
     */
    class SmbTreeConnection implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTreeConnection.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testSignSeqProperty() {
                testBlock.setSignSeq(42);
                assertEquals(42, testBlock.getSignSeq());
            }
    
            @Test
            @DisplayName("Test override timeout property")
            void testOverrideTimeoutProperty() {
                assertNull(testBlock.getOverrideTimeout());
                testBlock.setOverrideTimeout(5000);
                assertEquals(5000, testBlock.getOverrideTimeout());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. cmd/sftp-server.go

    		defer server.Close()
    		server.Serve()
    	}
    
    	sftpServer, err := xsftp.NewServer(&xsftp.Options{
    		PublicIP: publicIP,
    		Port:     port,
    		// OpensSSH default handshake timeout is 2 minutes.
    		SSHHandshakeDeadline: 2 * time.Minute,
    		Logger:               new(sftpLogger),
    		SSHConfig:            sshConfig,
    		HandleSFTPSession:    handleSFTPSession,
    	})
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top