- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,149 for handle (0.04 sec)
-
android/guava/src/com/google/common/collect/SneakyThrows.java
/** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SneakyThrows.java
/** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
assertSame(expectedInetAddress, inetAddress, "Should return configured InetAddress"); assertNotNull(inetAddress, "InetAddress should not be null"); } @Test @DisplayName("toInetAddress should handle UnknownHostException") void testToInetAddressWithException() throws UnknownHostException { // Given when(mockAddress.toInetAddress()).thenThrow(new UnknownHostException("Host not found"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
// Then assertNotNull(ex); assertEquals(message, ex.getMessage()); assertEquals(cause, ex.getCause()); } @Test @DisplayName("Should handle null message and/or cause without throwing") void testNullInputs() { assertDoesNotThrow(() -> { SpnegoException ex1 = new SpnegoException((String) null); assertNotNull(ex1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcLsarCloseTest.java
"flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); // Although we cannot directly assert that super(handle) was called with Mockito for a constructor, // the fact that the object is successfully created and its inherited fields are accessible // implies the super constructor was invoked. }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
// Handle array type attributes.put(name, parseArray(jsonParser)); } else if (jsonParser.getCurrentToken() == JsonToken.START_OBJECT) { // Handle nested object type attributes.put(name, parseObject(jsonParser)); } else { // Handle primitive types (string, number, boolean, etc.)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
byte[] buffer = new byte[512]; int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0); // Should handle special characters properly assertTrue(written > specialPath.length()); // Check information level int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLookupSids.java
*/ public class MsrpcLookupSids extends jcifs.dcerpc.msrpc.lsarpc.LsarLookupSids { /** * Creates a new request to lookup SIDs. * * @param policyHandle the LSA policy handle * @param sids the array of SIDs to lookup */ public MsrpcLookupSids(final LsaPolicyHandle policyHandle, final jcifs.SID[] sids) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
verifyNoInteractions(mockDir); } /** * Invalid/null inputs: ensure filters can handle null name and dir. */ @ParameterizedTest @DisplayName("null and empty names are handled explicitly") @NullAndEmptySource @ValueSource(strings = { " \t\n" }) void handlesNullAndEmptyNames(String name) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
Create a function to be run as the background task. It is just a standard function that can receive parameters. It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly. In this case, the task function will write to a file (simulating sending an email). And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.8K bytes - Viewed (0)