- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 2,189 for whet (0.02 sec)
-
android/guava-tests/test/com/google/common/base/SuppliersTest.java
for (int i = 0; i < 2; i++) { try { memoizedSupplier.get(); fail("failed to throw NullPointerException"); } catch (NullPointerException e) { // this is what should happen } } } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testMemoizeNonSerializable() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
That information is available in the app's **OpenAPI schema**, and then shown in the API docs. That same information from the models that is included in OpenAPI is what can be used to **generate the client code**. ### Hey API { #hey-api } Once we have a FastAPI app with the models, we can use Hey API to generate a TypeScript client. The fastest way to do that is via npx. ```sh
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 10.1K bytes - Viewed (1) -
src/test/java/jcifs/smb/DfsImplTest.java
// Set up mock behaviors when(mockContext.getConfig()).thenReturn(mockConfig); when(mockContext.getCredentials()).thenReturn(mockCredentials); when(mockContext.getTransportPool()).thenReturn(mockTransportPool); when(mockConfig.getDfsTtl()).thenReturn(300L); // Mock transport to throw IOException - simulating connection failure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
@DisplayName("Test isSigningEnforced returns true when signing is enforced") void testIsSigningEnforcedReturnsTrue() { // Given when(negotiationRequest.isSigningEnforced()).thenReturn(true); // When boolean result = negotiationRequest.isSigningEnforced(); // Then assertTrue(result, "isSigningEnforced should return true when signing is enforced");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// Arrange when(mockConnection.getRequestMethod()).thenReturn("GET"); when(mockConnection.getAllowUserInteraction()).thenReturn(true); when(mockConnection.getDoInput()).thenReturn(true); when(mockConnection.getDoOutput()).thenReturn(true); when(mockConnection.getIfModifiedSince()).thenReturn(12345L); when(mockConnection.getUseCaches()).thenReturn(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
/** A typical timeout value we'll use in the tests. */ private static final long SMALL_TIMEOUT_MILLIS = 10; /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */ private static final long EXPECTED_HANG_DELAY_MILLIS = 75; /** * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked. */ private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class)); assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids)); } @Test void testResolveSids_WithNullServerName() throws CIFSException { doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
DfsReferralData mockData = mock(DfsReferralData.class); when(mockData.getServer()).thenReturn("SERVER"); when(mockData.getShare()).thenReturn("share"); when(mockData.getPath()).thenReturn("path"); when(mockData.getExpiration()).thenReturn(System.currentTimeMillis() + 60000); when(mockData.getPathConsumed()).thenReturn(0); when(mockData.getDomain()).thenReturn("DOMAIN");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
rpc.uuid_t uuid = new rpc.uuid_t(); // Mock the NdrBuffer responses for decoding when(mockNdrBuffer.dec_ndr_long()).thenReturn(0x12345678); when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 0x9ABC, (int) (short) 0xDEF0); when(mockNdrBuffer.dec_ndr_small()).thenReturn((int) (byte) 0x11, (int) (byte) 0x22, // clock seq bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
cmd/erasure-healing.go
func isObjectDangling(metaArr []FileInfo, errs []error, dataErrsByPart map[int][]int) (validMeta FileInfo, ok bool) { // We can consider an object data not reliable // when xl.meta is not found in read quorum disks. // or when xl.meta is not readable in read quorum disks. notFoundMetaErrs, nonActionableMetaErrs := danglingMetaErrsCount(errs) notFoundPartsErrs, nonActionablePartsErrs := 0, 0
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.6K bytes - Viewed (0)