Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 195 for structures (1.06 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

        void size_returnsAlignedValue() {
            // Arrange
            Smb2LogoffRequest req = newRequest();
            int base = Smb2Constants.SMB2_HEADER_LENGTH + 4; // structure size
            int expected = ((base + 7) / 8) * 8; // expected 8-byte alignment
    
            // Act
            int actual = req.size();
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. CLAUDE.md

    ## Technical Details
    
    - **Java Version**: 17+
    - **Dependencies**:
      - Apache Commons IO 2.19.0 (runtime)
      - JUnit 4.13.2 (test)
    - **Module Name**: `org.codelibs.curl4j`
    - **Package Structure**: `org.codelibs.curl.*`
    - **Build Tool**: Maven 3.x
    - **Test Coverage**: JaCoCo plugin enabled
    
    ## Code Style
    
    - Uses external Eclipse formatter configuration from CodeLibs
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

         * @throws UnknownHostException if the IP address is not found
         */
        @Test
        void testConstructor() throws IOException, PACDecodingException, UnknownHostException {
            // Build a sample Kerberos EncData structure
            ASN1EncodableVector vector = new ASN1EncodableVector();
            vector.add(new DERTaggedObject(2, new DERGeneralString("TEST.REALM")));
    
            ASN1EncodableVector principalVector = new ASN1EncodableVector();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // Create a buffer and write
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
                // Verify structure size (should be 41)
                assertEquals(41, SMBUtil.readInt2(buffer, 64));
    
                // Verify info type and file info class
                assertEquals((byte) 0x01, buffer[66]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        @Test
        void testReadSecurityBuffer() {
            // Test readSecurityBuffer
            byte[] data = new byte[20];
            byte[] content = "Hello".getBytes();
    
            // Simulate a security buffer structure: length (2 bytes), length (2 bytes), offset (4 bytes)
            // Length = 5, Offset = 8
            ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. ADDING_NEW_LANGUAGE.md

    Currently supported UI languages: German, English, Spanish, French, Italian, Japanese, Korean, Dutch, Polish, Brazilian Portuguese, Russian, Simplified Chinese, and Traditional Chinese.
    
    ## File Structure
    
    Language resource files are located in:
    ```
    src/main/resources/
    ├── fess_label.properties           # Base English labels (fallback)
    ├── fess_label_[locale].properties  # Language-specific labels (~1,056 lines)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                // Create a buffer and write
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
                // Verify structure size (should be 33)
                assertEquals(33, SMBUtil.readInt2(buffer, 64));
    
                // Verify info type and file info class
                assertEquals((byte) 0x01, buffer[66]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertTrue(bytesWritten > 0);
    
            // Verify structure size field
            assertEquals(57, buffer[0]);
            assertEquals(0, buffer[1]);
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat with long path")
        void testWriteBytesWireFormatLongPath() {
            String longPath = "very\\long\\path\\to\\some\\deeply\\nested\\file\\in\\directory\\structure.txt";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

    import org.lastaflute.web.util.LaRequestUtil;
    import org.lastaflute.web.validation.VaMessenger;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * This class represents the base response structure for API results.
     * It encapsulates the API response and provides methods to build different types of API responses.
     */
    public class ApiResult {
    
        /**
         * The API response object.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        @Override
        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("RqLs")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 32 bytes (lease V1 structure)
            return 16 + 4 + 4 + 32;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top