- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 976 for timer (0.03 sec)
-
src/test/java/jcifs/internal/RequestWithPathTest.java
requestWithPath.setResolveInDfs(true); verify(requestWithPath, times(1)).setResolveInDfs(true); doNothing().when(requestWithPath).setResolveInDfs(false); requestWithPath.setResolveInDfs(false); verify(requestWithPath, times(1)).setResolveInDfs(false); // Test with implementation testImplementation.setResolveInDfs(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
package jcifs.dcerpc; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.dcerpc.ndr.NdrBuffer; class DcerpcSecurityProviderTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
handle.close(); verify(treeConnection, times(1)).release(); // Second release -> usage 0 -> -1 triggers RuntimeCIFSException RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, () -> handle.release()); assertTrue(ex.getMessage().contains("below zero")); verify(treeConnection, times(1)).release(); // still only once } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
cmd/os-instrumented.go
} // time an os action. func (o *osMetrics) time(s osMetric) func() { startTime := time.Now() return func() { duration := time.Since(startTime) atomic.AddUint64(&o.operations[s], 1) o.latency[s].add(duration) } } // incTime will increment time on metric s with a specific duration. func (o *osMetrics) incTime(s osMetric, d time.Duration) { atomic.AddUint64(&o.operations[s], 1)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
assertNotNull(handle); // Verify that sendrecv was called with MsrpcSamrConnect4 and then MsrpcSamrConnect2 verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class)); verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect2.class)); } } @Test void testConstructor_OtherDcerpcException() throws DcerpcException, IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
}); try { future.get(timeoutSeconds, TimeUnit.SECONDS); } catch (TimeoutException e) { // Force lease release if break handling times out LeaseEntry entry = leases.get(key); if (entry != null) { log.warn("Lease break timeout for key: {} on path: {}, falling back to no caching", key, entry.getPath());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
O FastAPI usará este `response_model` para fazer toda a documentação de dados, validação, etc. e também para **converter e filtrar os dados de saída** para sua declaração de tipo. /// tip | Dica Se você tiver verificações de tipo rigorosas em seu editor, mypy, etc, você pode declarar o tipo de retorno da função como `Any`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Nov 26 22:51:05 UTC 2024 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
assertDoesNotThrow(mockSession::close); verify(mockSession, times(1)).getConfig(); verify(mockSession, times(1)).getContext(); verify(mockSession, times(1)).unwrap(SmbSession.class); verify(mockSession, times(1)).close(); } @Test @DisplayName("Should support partial mocking scenarios")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
schema/field_test.go
} } newValues["updated_at"] = time.Time{} newValues["active"] = false checkField(t, userSchema, reflectValue, newValues) // test valuer and other type age := myint(10) var nilTime *time.Time newValues2 := map[string]interface{}{ "name": sql.NullString{String: "valuer_and_setter_3", Valid: true}, "id": &sql.NullInt64{Int64: 3, Valid: true},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Feb 19 09:02:53 UTC 2022 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
* operation in order to trigger shutdown, consider instead registering a listener and * implementing {@code stopping}. Note, however, that {@code stopping} does not run at exactly the * same times as {@code triggerShutdown}. */ protected void triggerShutdown() {} /** * Returns the {@link Executor} that will be used to run this service. Subclasses may override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.5K bytes - Viewed (0)