Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 194 for structures (0.96 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            assertEquals(0x0311, response.getDialectRevision());
            assertNotNull(response.getServerGuid());
        }
    
        @ParameterizedTest
        @DisplayName("Should throw exception for invalid structure size")
        @ValueSource(ints = { 0, 1, 64, 66, 128 })
        void testReadBytesWireFormatInvalidStructureSize(int structureSize) {
            // Given
            byte[] buffer = new byte[256];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            this.structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.structureSize != 36) {
                throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize);
            }
            bufferIndex += 2;
    
            // Reserved (2 bytes)
            bufferIndex += 2;
    
            // Flags (4 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

    /**
     * Abstract base class for CrawlerClient implementations.
     * Provides common functionality for handling initialization parameters,
     * content length checks, and default method implementations.
     * It defines the basic structure and configuration options for crawler clients.
     */
    public abstract class AbstractCrawlerClient implements CrawlerClient {
    
        private static final Logger logger = LogManager.getLogger(AbstractCrawlerClient.class);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (10)
  4. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            byte[] dataBytes = { 1, 2, 3, 4 };
            String params = "test";
            byte[] buffer = createBuffer(10, dataBytes, params);
    
            // Verify buffer structure
            assertTrue(buffer.length >= 14, "Buffer should contain header, params and data");
        }
    
        @Test
        public void testByteOperations() {
            // Test byte operations that were used in the original test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        }
    
        @Test
        @DisplayName("Test parameter wire format structure")
        void testParameterWireFormatStructure() {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xABCD, 0x12345678);
            byte[] dst = new byte[100];
    
            int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, 10);
    
            // Verify structure:
            // Offset 0-1: FID (2 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. README.md

        .execute()
        .getResponse();
    ```
    
    ## Project Structure
    
    ```
    src/
    ├── main/java/org/codelibs/fess/suggest/
    │   ├── Suggester.java              # Main suggester API
    │   ├── SuggesterBuilder.java       # Builder pattern implementation
    │   ├── entity/
    │   │   ├── SuggestItem.java        # Core suggestion data structure
    │   │   └── ElevateWord.java        # Promoted words configuration
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should encode and verify complete structure")
            void testCompleteEncodingStructure() {
                // Given
                long sourceOffset = 0x1234567890ABCDEFL;
                long targetOffset = 0xFEDCBA0987654321L;
                int length = 0x12345678;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtStatus.java

        int NT_STATUS_ACCOUNT_DISABLED = 0xC0000072;
        /** No mapping between account names and security IDs was done */
        int NT_STATUS_NONE_MAPPED = 0xC0000073;
        /** The security ID structure is invalid */
        int NT_STATUS_INVALID_SID = 0xC0000078;
        /** The requested pipe instance is not available */
        int NT_STATUS_INSTANCE_NOT_AVAILABLE = 0xC00000ab;
        /** The pipe is not available */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

                byte[] outputBytes, int ioctlFlags) {
            final int headerLen = 64; // SMB2 header is 64 bytes
            final int bodyFixed = 48; // body size minus 1 for structure size field overlap
            final int payloadStart = headerLen + bodyFixed;
            final int bodyLen = bodyFixed + inputCount + outputCount;
    
            byte[] buf = new byte[bodyLen];
            int pos = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. 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)
Back to top