Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 321 for 0x02 (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

        }
    
        @Test
        public void testToStringContainsCount() {
            // Little-endian: count = 512 (0x0200)
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x02; // count = 512 in little-endian
            resp.readParameterWordsWireFormat(buf, 0);
            String str = resp.toString();
            assertTrue(str.contains("count=512"), "toString should include numeric count");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        void testFileInformationClassConstants() {
            assertEquals(0x01, Smb2QueryDirectoryRequest.FILE_DIRECTORY_INFO);
            assertEquals(0x02, Smb2QueryDirectoryRequest.FILE_FULL_DIRECTORY_INFO);
            assertEquals(0x03, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
            assertEquals(0x0C, Smb2QueryDirectoryRequest.FILE_NAMES_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                    isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
                    isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true;
                    isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true;
                    isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true;
    
                    /* The NbtAddress object used to query this node will be in the list
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[38] = 0x00;
    
            // Parameter count (2 bytes)
            buffer[39] = 0x00;
            buffer[40] = 0x00;
    
            // Parameter offset (2 bytes)
            buffer[41] = 0x00;
            buffer[42] = 0x00;
    
            // Parameter displacement (2 bytes)
            buffer[43] = 0x00;
            buffer[44] = 0x00;
    
            // Data count (2 bytes)
            buffer[45] = 0x00;
            buffer[46] = 0x00;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtException.java

        /** Name service error class */
        public static final int ERR_NAM_SRVC = 0x01;
        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
        // name service error codes
        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
        /** Server error in the name service */
        public static final int SRV_ERR = 0x2;
        /** Implementation error in the name service */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

                java.lang.reflect.Field flagsField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("flags");
                flagsField.setAccessible(true);
                assertEquals(0x01 | 0x02, flagsField.get(msrpcSamrOpenAlias),
                        "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
            } catch (NoSuchFieldException | IllegalAccessException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        void byteArrayConstructor_malformedDER_throwsWrapped() {
            // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content)
            byte[] malformed = new byte[] { 0x30, 0x02, 0x01 };
    
            // Act + Assert
            PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(malformed, null));
            assertTrue(ex.getMessage().contains("Malformed Kerberos Ticket"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.setIndex(10);
            byte[] partialData = { 0x05, 0x06, 0x07, 0x08, 0x09 };
            ndrBuffer.writeOctetArray(partialData, 1, 3); // Write 0x06, 0x07, 0x08
    
            assertEquals(13, ndrBuffer.getIndex());
            assertEquals(13, ndrBuffer.getLength());
            assertEquals(0x06, buffer[10]);
            assertEquals(0x07, buffer[11]);
            assertEquals(0x08, buffer[12]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        private static final int PRIMARY_SETUP_OFFSET = 61;
        private static final int SECONDARY_PARAMETER_OFFSET = 51;
    
        static final int DISCONNECT_TID = 0x01;
        static final int ONE_WAY_TRANSACTION = 0x02;
    
        static final int PADDING_SIZE = 4;
    
        private final int tflags = 0x00;
        private int pad1 = 0;
        private int pad2 = 0;
        private boolean hasMore = true;
        private boolean isPrimary = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dtyp/ACE.java

            case 0x00:
                return "This folder only";
            case 0x03:
                return "This folder, subfolders and files";
            case 0x0B:
                return "Subfolders and files only";
            case 0x02:
                return "This folder and subfolders";
            case 0x0A:
                return "Subfolders only";
            case 0x01:
                return "This folder and files";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top