- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 1,052 for timeIt (0.05 seconds)
-
src/test/java/jcifs/util/HMACT64Test.java
assertArrayEquals(finalDigest, result); verify(mockMd5, times(1)).digest(); // First call for inner digest verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor with ipad, once in engineDigest with opad verify(mockMd5, times(1)).digest(innerDigest); // Second call for final digest } } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
fun connectTimeoutMillis(): Int fun withConnectTimeout( timeout: Int, unit: TimeUnit, ): Chain fun readTimeoutMillis(): Int fun withReadTimeout( timeout: Int, unit: TimeUnit, ): Chain fun writeTimeoutMillis(): Int fun withWriteTimeout( timeout: Int, unit: TimeUnit, ): Chain }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
cmd/erasure-healing-common_test.go
// time occurrence from a list of time. func TestCommonTime(t *testing.T) { // List of test cases for common modTime. testCases := []struct { times []time.Time time time.Time quorum int }{ { // 1. Tests common times when slice has varying time elements. []time.Time{ time.Unix(0, 1).UTC(), time.Unix(0, 2).UTC(), time.Unix(0, 3).UTC(), time.Unix(0, 3).UTC(),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K bytes - Click Count (0) -
cmd/data-scanner-metric.go
} } } // time a scanner action. // Use for s < scannerMetricLastRealtime func (p *scannerMetrics) time(s scannerMetric) func() { startTime := time.Now() return func() { duration := time.Since(startTime) atomic.AddUint64(&p.operations[s], 1) if s < scannerMetricLastRealtime { p.latency[s].add(duration) } } } // timeSize add time and size of a scanner action.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 01 06:06:01 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
// Then: Verify the decoding sequence and values verify(mockNdrBuffer, times(2)).align(4); verify(mockNdrBuffer, times(2)).dec_ndr_long(); verify(mockNdrBuffer, times(2)).dec_ndr_short(); verify(mockNdrBuffer, times(8)).dec_ndr_small(); verify(mockNdrBuffer).advance(6); verify(mockNdrBuffer).derive(anyInt());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
internal/s3select/sql/timestampfuncs.go
duration = time.Duration(qty) * time.Minute case timePartSecond: duration = time.Duration(qty) * time.Second default: return nil, errNotImplemented } return FromTimestamp(t.Add(duration)), nil } // dateDiff computes the difference between two times in terms of the // `timePart` which can be years, months, days, hours, minutes or // seconds. For difference in years, months or days, the time part,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
// Act handle.close(); // Assert // Verify sendrecv was called once for open and once for close verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class)); } @Test void close_shouldThrowSmbExceptionOnRpcError() throws IOException { // ArrangeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial003_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
/** * Receive data using RDMA * * @param timeout timeout in milliseconds * @return received data buffer, or null if timeout * @throws IOException if receive fails */ public abstract ByteBuffer receive(int timeout) throws IOException; /** * Perform RDMA read operation *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
import java.util.concurrent.atomic.AtomicBoolean; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; /** * Unit tests for ResourceManager */ public class ResourceManagerTest { private ResourceManager resourceManager; @BeforeEach void setUp() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.9K bytes - Click Count (0)