Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 986 for handler1 (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                assertEquals(SMB_COM_NT_CANCEL, commandField.getByte(cancel));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 100, 255, 65535 })
            @DisplayName("Should handle different MID values")
            void testConstructorWithVariousMids(int mid) throws Exception {
                // Given
                Configuration config = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

    import jcifs.internal.TreeConnectResponse;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 Tree Connect AndX response implementation.
     * Handles server responses to tree connect requests in SMB1 protocol, providing
     * information about the connected share including service type and DFS capabilities.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                    request.addArtifact(pomArtifact);
                } else if (metadata instanceof SnapshotArtifactRepositoryMetadata
                        || metadata instanceof ArtifactRepositoryMetadata) {
                    // eaten, handled by repo system
                } else {
                    request.addMetadata(new MetadataBridge(metadata));
                }
            }
    
            try {
                repoSystem.install(session, request);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

    import jcifs.SmbTreeHandle;
    
    /**
     * Internal interface for SMB tree handle operations.
     *
     * This interface provides internal methods for managing
     * SMB tree connections and their lifecycle.
     *
     * @author mbechler
     */
    public interface SmbTreeHandleInternal extends SmbTreeHandle {
    
        /**
         * Releases this tree handle back to the pool for reuse
         */
        void release();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.readParametersWireFormat(buffer, 0, 100));
            assertEquals(0, response.readDataWireFormat(buffer, 0, 100));
        }
    
        @Test
        @DisplayName("Methods should handle null buffer without validation")
        void testMethodsWithNullBuffer() {
            // The implementation doesn't validate null buffers
            // These methods simply return 0 without accessing the buffer
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                assertEquals(1, buffer.getReferrals()[0].getVersion());
                assertEquals(1, buffer.getReferrals()[1].getVersion());
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various pathConsumed values")
            @CsvSource({ "0, 0", "10, 5", "100, 50", "1000, 500", "65534, 32767" })
            void testPathConsumedValues(int rawValue, int expectedResult) {
                byte[] testBuffer = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertEquals(encoded, decoded);
                assertArrayEquals(originalCiphers, decodedContext.getCiphers());
            }
    
            @Test
            @DisplayName("Should handle round-trip at non-zero offset")
            void testRoundTripWithOffset() throws SMBProtocolDecodingException {
                int offset = 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

            * [Override the default exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#override-the-default-exception-handlers).
            * [Reuse **FastAPI's** exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#reuse-fastapis-exception-handlers).
        * PR [#273](https://github.com/tiangolo/fastapi/pull/273).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            NtlmMessage.writeULong(dest, 0, 0x01020304);
            assertArrayEquals(new byte[] { 4, 3, 2, 1 }, dest, "Writer must be little‑endian");
        }
    
        @Test
        @DisplayName("writeULong handles negative values as unsigned")
        void testWriteULongNegative() {
            byte[] dest = new byte[4];
            NtlmMessage.writeULong(dest, 0, -1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                        // Handle nested properties
                        if (key.contains(".")) {
                            // Simple nested property handling for testing
                            result = result.replace("${" + key + "}", String.valueOf(value));
                        } else if (value instanceof TestUser) {
                            // Handle TestUser object
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top