Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for Levels (1.42 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/internal/fscc/FileSystemInformation.java

     * Provides common functionality for various SMB2/SMB3 file system information classes
     * used in query file system information operations, with constants for information levels.
     *
     * @author mbechler
     */
    public interface FileSystemInformation extends Decodable {
    
        /**
         * SMB information allocation constant.
         */
        byte SMB_INFO_ALLOCATION = -1;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

                // These are valid levels, skip assertion
                return;
            }
    
            IllegalArgumentException exception =
                    assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(level));
            assertTrue(exception.getMessage().contains("Unsupported information level"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    
    class Trans2QueryPathInformationResponse extends SmbComTransactionResponse {
    
        // information levels
        static final int SMB_QUERY_FILE_BASIC_INFO = 0x101;
        static final int SMB_QUERY_FILE_STANDARD_INFO = 0x102;
    
        class SmbQueryFileBasicInfo implements Info {
            long createTime;
            long lastAccessTime;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 COM_LOCKING_ANDX command implementation.
     *
     * This command locks or unlocks byte ranges within a file. It can also
     * be used to break oplocks and change oplock levels.
     *
     * @author mbechler
     */
    public class SmbComLockingAndX extends AndXServerMessageBlock {
    
        private int fid;
        private byte typeOfLock;
        private byte newOpLockLevel;
        private long timeout;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertNull(exception3.getComponentName());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Root cause");
            RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            // 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);
    
            // Verify the chain
    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