- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,154 for Handle (0.04 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(2048, response.getEndOfFile()); assertEquals(0x10, response.getFileAttributes()); } @Test @DisplayName("Should handle all zero values correctly") void testReadBytesWireFormatWithZeroValues() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
opt raise dep -->> handler: Raise HTTPException handler -->> client: HTTP error response dep -->> dep: Raise other exception end dep ->> operation: Run dependency, e.g. DB session opt raise operation -->> dep: Raise HTTPException dep -->> handler: Auto forward exception handler -->> client: HTTP error response
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
oplockLevelField.setAccessible(true); assertEquals(oplockLevel, oplockLevelField.get(notification)); } @Test @DisplayName("Should handle buffer with offset correctly") void testReadWithBufferOffset() throws Exception { int offset = 10; byte[] buffer = new byte[64]; byte[] fileId = createTestData(16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
// Expected to catch exception silently } } }; FwAssistantDirector assistantDirector = createMockAssistantDirector(); // Should handle ClassNotFoundException gracefully customHook.hook(assistantDirector); // Verify no exception is thrown to the caller assertTrue(true); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/Converter.java
*/ Object getAsObject(String value); /** * Returns {@literal true} if this converter can handle the specified type. * * @param clazz * the type. Must not be {@literal null} * @return {@literal true} if this converter can handle the specified type */ boolean isTarget(Class<?> clazz);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.4K bytes - Viewed (0) -
docs/en/docs/reference/openapi/index.md
# OpenAPI There are several utilities to handle OpenAPI.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 158 bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
// Each name should write at least 34 bytes (encoded name + scope) assertTrue(bytesWritten >= 68); } @Test @DisplayName("writeTrailerWireFormat with scope should handle scoped names") void testWriteTrailerWireFormatWithScope() { when(mockCalledName.getName()).thenReturn("SERVER"); when(mockCalledName.getNameType()).thenReturn(0x20);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0 } @Test @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully") void testConstructorWithEmptyNode() { // Arrange rpc.uuid_t rpcUuid = new rpc.uuid_t(); rpcUuid.time_low = TIME_LOW; rpcUuid.time_mid = TIME_MID;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
import org.junit.jupiter.api.Test; /** * Test suite for jcifs.smb1.https.Handler class. * Tests HTTPS URL stream handler functionality with NTLM authentication support. */ @DisplayName("SMB1 HTTPS Handler Tests") class HandlerTest { private Handler handler; @BeforeEach void setUp() { handler = new Handler(); } @Nested @DisplayName("Constructor Tests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
} @Test @DisplayName("Should handle null message") void testNullMessage() { // When/Then assertDoesNotThrow(() -> { CIFSException exception = new CIFSException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should handle null cause") void testNullCause() { // When/Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0)