Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 290 for 0x80 (0.2 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x08, SmbConstants.ATTR_VOLUME);
            assertEquals(0x10, SmbConstants.ATTR_DIRECTORY);
        }
    
        /**
         * Test FLAGS constants.
         */
        @Test
        @DisplayName("FLAGS constants are correct")
        void flagsTest() {
            assertEquals(0x00, SmbConstants.FLAGS_NONE);
            assertEquals(0x08, SmbConstants.FLAGS_PATH_NAMES_CASELESS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16)
                    0x01, // ShareType (DISK)
                    0x00, // Reserved
                    0x01, 0x00, 0x00, 0x00, // ShareFlags
                    0x08, 0x00, 0x00, 0x00, // Capabilities
                    (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess
            };
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

        }
    
        @ParameterizedTest(name = "session error {1} -\\u003e {2}")
        @CsvSource({ "-1,Connection refused", "0x80,Not listening on called name", "0x81,Not listening for calling name",
                "0x82,Called name not present", "0x83,Called name present, but insufficient resources", "0x8F,Unspecified error",
                "999,Unknown error code: 999" })
        @DisplayName("getErrorString for SSN service errors")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        void testAttributesWithOrOperation() {
            // The constructor ORs attributes with 0x80
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, 0x01, // FILE_ATTRIBUTE_READONLY
                    TEST_CREATE_TIME, TEST_LAST_WRITE_TIME, TEST_LAST_ACCESS_TIME);
    
            // The constructor should create FileBasicInfo with attributes | 0x80
            assertNotNull(trans2SetFileInfo);
    
            // Test with zero attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/ASN1Util.java

                if (0 == tagNo) {
                    throw new IOException("corrupted stream - invalid high tag number found");
                }
    
                while ((b & 0x80) != 0) {
                    if (tagNo >>> 24 != 0) {
                        throw new IOException("Tag number more than 31 bits");
                    }
    
                    tagNo <<= 7;
    
                    b = s.read();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            maxParameterCount = 6;
            maxDataCount = 0;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtException.java

        public static final int NOT_LISTENING_CALLED = 0x80;
        /** Not listening for the calling name */
        public static final int NOT_LISTENING_CALLING = 0x81;
        /** Called name not present */
        public static final int CALLED_NOT_PRESENT = 0x82;
        /** Insufficient resources to establish session */
        public static final int NO_RESOURCES = 0x83;
        /** Unspecified session service error */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtException.java

        public static final int NOT_LISTENING_CALLED = 0x80;
        /** Not listening for the calling name */
        public static final int NOT_LISTENING_CALLING = 0x81;
        /** Called name not present */
        public static final int CALLED_NOT_PRESENT = 0x82;
        /** Insufficient resources to establish session */
        public static final int NO_RESOURCES = 0x83;
        /** Unspecified session service error */
    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/jcifs/smb1/util/HexdumpTest.java

            PrintStream ps = new PrintStream(baos);
    
            // Test with control characters and printable characters
            byte[] data = { 0x00, 0x01, 0x09, 0x0A, 0x0D, 0x1F, // Control characters
                    0x20, 0x41, 0x42, 0x7E, // Printable characters
                    (byte) 0x7F, (byte) 0x80, (byte) 0xFF // Extended/control
            };
    
            Hexdump.hexdump(ps, data, 0, data.length);
            String output = baos.toString();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

         */
        public static final int FILE_NOTIFY_CHANGE_SIZE = 0x8;
        /**
         * Notify when last write time changes
         */
        public static final int FILE_NOTIFY_CHANGE_LAST_WRITE = 0x10;
        /**
         * Notify when last access time changes
         */
        public static final int FILE_NOTIFY_CHANGE_LAST_ACCESS = 0x20;
        /**
         * Notify when creation time changes
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top