Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 195 for structures (0.91 sec)

  1. src/main/java/jcifs/pac/PacUnicodeString.java

         *
         * @return the pointer to the string data
         */
        public int getPointer() {
            return this.pointer;
        }
    
        /**
         * Validates the provided string against this structure's metadata.
         * Checks that the string length matches the expected length and that
         * null strings have a zero pointer.
         *
         * @param string the string to validate
         * @return the validated string
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JsonExtractor.java

    /**
     * Extracts text content and metadata from JSON files.
     * This extractor provides better structured data extraction compared to Tika's generic text extraction.
     *
     * <p>Features:
     * <ul>
     *   <li>Structured text extraction with key-value pairs</li>
     *   <li>Top-level field extraction as metadata</li>
     *   <li>Nested structure flattening with configurable depth</li>
     *   <li>Array element extraction</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java

    /**
     * Extracts text content and metadata from Markdown files.
     * This extractor provides better structured data extraction compared to Tika's generic text extraction.
     *
     * <p>Features:
     * <ul>
     *   <li>YAML front matter metadata extraction</li>
     *   <li>Heading structure extraction</li>
     *   <li>Link URL extraction</li>
     *   <li>Code block content extraction</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

            assertEquals("1.3.6.1.4.1.311.2.2.10", SpnegoConstants.NTLMSSP_MECHANISM, "NTLMSSP_MECHANISM mismatch");
        }
    
        @Test
        @DisplayName("Interface structure is as expected")
        void interfaceStructure() {
            Class<?> c = SpnegoConstants.class;
            assertTrue(c.isInterface(), "SpnegoConstants must be an interface");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Should read valid structure from wire format")
        void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // Write structure size (4) at offset
            SMBUtil.writeInt2(4, buffer, offset);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            assertEquals("Expected structureSize = 2", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with zero structure size throws exception")
        void testReadBytesWireFormatZeroStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 0 (invalid)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4)
                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testInvalidStructureSize() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should read valid structure from wire format")
        void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // Write valid structure (16 bytes)
            SMBUtil.writeInt2(16, buffer, offset); // Structure size
            buffer[offset + 2] = (byte) 0x01; // Share type (DISK)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacTest.java

                try {
                    Pac pac = new Pac(pacData, keys);
                    assertNotNull(pac.getServerSignature());
                    assertNotNull(pac.getKdcSignature());
                } catch (PACDecodingException e) {
                    // Expected due to invalid logon info structure
                    assertNotNull(e.getMessage());
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            @Test
            @DisplayName("Should read valid structure with size 4")
            void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4
                SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top