- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,052 for timeIt (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
override fun read( sink: Buffer, byteCount: Long, ): Long { check(!closed) return data.read(sink, byteCount) } override fun timeout(): Timeout = Timeout.NONE } return source.buffer().asResponseBody(null, -1) } private fun newResponse( responseBody: ResponseBody, code: Int = 200, ): Response = Response
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected boolean smbTcpNoDelay = false; /** Response timeout in milliseconds for SMB operations */ protected int smbResponseTimeout = SmbConstants.DEFAULT_RESPONSE_TIMEOUT; /** Socket timeout in milliseconds for SMB connections */ protected int smbSocketTimeout = SmbConstants.DEFAULT_SO_TIMEOUT; /** Connection timeout in milliseconds for establishing SMB connections */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
internal/http/server.go
} // Wait for opened connection to be closed up to Shutdown timeout. return nil } // UseIdleTimeout configure idle connection timeout func (srv *Server) UseIdleTimeout(d time.Duration) *Server { srv.IdleTimeout = d return srv } // UseReadTimeout configure connection request read timeout. func (srv *Server) UseReadTimeout(d time.Duration) *Server { srv.ReadTimeout = d return srv }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* ({@code this}) will be cancelled and interrupted. * * @param timeout when to time out the future * @param unit the time unit of the time parameter * @param scheduledExecutor The executor service to enforce the timeout. */ @J2ktIncompatible @GwtIncompatible // ScheduledExecutorService @SuppressWarnings("GoodTime") // should accept a java.time.Duration public final FluentFuture<V> withTimeout(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.7K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/RequestTimeoutException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util.transport; /** * Exception thrown when a request times out during SMB communication. * Indicates that a request could not be completed within the specified timeout period. * * @author mbechler */ public class RequestTimeoutException extends TransportException { /** * */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
void testExpiration() throws InterruptedException { // Registration should not be expired initially with long timeout assertFalse(registration.isExpired(60000)); // Wait a bit to ensure some time has passed Thread.sleep(50); // Should be expired with very short timeout (shorter than sleep time) assertTrue(registration.isExpired(10)); } @Test void testStateTransitions() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java
/** * Sets the tree ID. * * @param t the tree ID to set */ void setTid(int t); /** * Gets the custom response timeout for this request. * * @return custom response timeout for this request */ Integer getOverrideTimeout();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
val displayName: String, val timeout: Int, val defaultBaselines: String = "", val channel: String, val extraParameters: String = "", ) { PER_COMMIT( displayName = "Performance Regression Test", timeout = 420, channel = "commits", ), PER_DAY( displayName = "Slow Performance Regression Test", timeout = 420, channel = "commits",Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Nov 05 13:00:26 GMT 2025 - 27.5K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
// Verify the method was called verify(mockResponse, times(2)).isReceived(); } @Test void testReceived() { // Call the method mockResponse.received(); // Verify that the method was called verify(mockResponse, times(1)).received(); } @Test void testClearReceived() { // Call the methodCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
InOrder inOrder = inOrder(handle, fd, tree); inOrder.verify(handle, times(1)).ensureOpen(); inOrder.verify(fd, times(1)).getTree(); inOrder.verify(tree, times(1)).send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY)); verify(fd, times(1)).close(); verify(tree, times(1)).close(); } @ParameterizedTest
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)