Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 227 for leves (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Should write 2 bytes: information level
            assertEquals(2, written);
    
            // Check information level (FS_SIZE_INFO maps to 0x0103)
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0103, actualInfoLevel);
        }
    
        @DisplayName("Test writeParametersWireFormat with different information levels")
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            // Check information level
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0101, actualInfoLevel);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { -1, 0, 100, 255, Integer.MAX_VALUE })
        void testMapInformationLevelWithUnsupportedLevels(int level) {
            if (level == FileInformation.FILE_BASIC_INFO || level == FileInformation.FILE_STANDARD_INFO
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileInformation.java

     * Defines common functionality for various SMB2/SMB3 file information classes used in
     * query and set file information operations, with constants for information levels.
     *
     * @author mbechler
     */
    public interface FileInformation extends Decodable, Encodable {
    
        // information levels
    
        /**
         * File end-of-file information class constant.
         */
        byte FILE_ENDOFFILE_INFO = 20;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        }
    
        @Test
        void testReadDataWireFormat_UnsupportedInformationLevel() throws Exception {
            // Test with unsupported information level
            response = new Trans2QueryFSInformationResponse(config, 0x999); // Invalid level
    
            byte[] buffer = new byte[100];
    
            // Set dataCount using reflection
            setDataCount(response, 20);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                System.arraycopy(fileId, 0, buffer, 8, 16);
                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Oplock Level Constants Tests")
        class OplockLevelTests {
    
            @ParameterizedTest
            @DisplayName("Should handle standard oplock levels")
            @MethodSource("provideOplockLevels")
            void testStandardOplockLevels(byte oplockLevel, String description) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            /**
             * The information level to return.
             */
            public int level;
            /**
             * The share information.
             */
            public NdrObject info;
    
            /**
             * Constructs a ShareGetInfo request.
             * @param servername the server name
             * @param sharename the share name
             * @param level the information level
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        private DfsReferralRequestBuffer buffer;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create buffer with simple path and referral level")
            void testConstructorWithSimplePath() {
                String path = "\\\\server\\share";
                int maxReferralLevel = 3;
    
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

     * returning various file information levels based on the requested information level.
     */
    public class Trans2QueryPathInformationResponse extends SmbComTransactionResponse {
    
        private final int informationLevel;
        private FileInformation info;
    
        /**
         * Constructs a Trans2QueryPathInformationResponse with the specified configuration and information level.
         *
         * @param config the SMB configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

    import jcifs.util.Hexdump;
    
    /**
     * Trans2 QueryPathInformation request message for querying file metadata.
     * This class implements the TRANS2_QUERY_PATH_INFORMATION transaction to retrieve
     * various file information levels such as basic info, standard info, and attributes.
     */
    public class Trans2QueryPathInformation extends SmbComTransaction {
    
        private final int informationLevel;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

        public void test_getCause_withNestedExceptions() {
            // Test deeply nested exception causes
            Exception level3 = new Exception("Level 3: Database connection failed");
            Exception level2 = new Exception("Level 2: User lookup failed", level3);
            Exception level1 = new Exception("Level 1: Authentication service error", level2);
            SsoProcessException topLevel = new SsoProcessException("SSO process failed", level1);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top