Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 93 for 0x0001 (0.03 sec)

  1. src/main/java/jcifs/smb1/util/Encdec.java

            final int start = di;
            int ch;
            final int strlen = str.length();
    
            for (int i = 0; di < dlim && i < strlen; i++) {
                ch = str.charAt(i);
                if (ch >= 0x0001 && ch <= 0x007F) {
                    dst[di] = (byte) ch;
                    di++;
                } else {
                    if (ch > 0x07FF) {
                        if (dlim - di < 3) {
                            break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SID.java

        /**
         * Flag indicating that SIDs should be resolved to names.
         */
        public static final int SID_FLAG_RESOLVE_SIDS = 0x0001;
    
        /**
         * Well known SID: EVERYONE (S-1-1-0).
         */
        public static SID EVERYONE = null;
        /**
         * Well known SID: CREATOR_OWNER (S-1-3-0).
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /** SMB2 create/open file command */
        protected static final short SMB2_CREATE = 0x0005;
        /** SMB2 close file command */
        protected static final short SMB2_CLOSE = 0x0006;
        /** SMB2 flush file command */
        protected static final short SMB2_FLUSH = 0x0007;
        /** SMB2 read file command */
        protected static final short SMB2_READ = 0x0008;
        /** SMB2 write file command */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

        // extended file attribute encoding(others same as above)
        static final int ATTR_COMPRESSED = 0x800;
        static final int ATTR_NORMAL = 0x080;
        static final int ATTR_TEMPORARY = 0x100;
    
        static final int ATTR_GET_MASK = 0x7FFF; /* orig 0x7fff */
        static final int ATTR_SET_MASK = 0x30A7; /* orig 0x0027 */
    
        static final int DEFAULT_ATTR_EXPIRATION_PERIOD = 5000;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                    try (SmbFileHandleImpl f = openUnshared(O_RDONLY, FILE_WRITE_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE, dir,
                            dir != 0 ? 0x0001 : 0x0040)) {
                        th.send(new Trans2SetFileInformation(th.getConfig(), f.getFid(), attrs | dir, ctime, mtime, atime),
                                new Trans2SetFileInformationResponse(th.getConfig()), RequestParam.NO_RETRY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            void testFlagsNameListReferralConstant() {
                assertEquals(0x0002, Trans2GetDfsReferralResponse.FLAGS_NAME_LIST_REFERRAL);
            }
    
            @Test
            @DisplayName("Should have correct FLAGS_TARGET_SET_BOUNDARY value")
            void testFlagsTargetSetBoundaryConstant() {
                assertEquals(0x0004, Trans2GetDfsReferralResponse.FLAGS_TARGET_SET_BOUNDARY);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

        /**
         * Indicates that the referral contains a name list.
         */
        public static final int FLAGS_NAME_LIST_REFERRAL = 0x0002;
        /**
         * Indicates a target set boundary in the referral response.
         */
        public static final int FLAGS_TARGET_SET_BOUNDARY = 0x0004;
        /**
         * Indicates root targets in the DFS referral.
         */
        public static final int TYPE_ROOT_TARGETS = 0x0;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            byte[] encryptionKey = "12345678".getBytes();
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
            buffer.put(domainNameBytes);
            buffer.putShort((short) 0x0000); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                getResultMessageMethod.setAccessible(true);
    
                assertEquals("0x0004", getResultMessageMethod.invoke(null, 4), "Should return hex format for unknown code 4");
                assertEquals("0x00FF", getResultMessageMethod.invoke(null, 255), "Should return hex format for unknown code 255");
                assertEquals("0x1000", getResultMessageMethod.invoke(null, 4096), "Should return hex format for large unknown code");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            message.setFlags(0);
            message.setFlag(0b0001, true);
            assertEquals(0b0001, message.getFlags(), "Flag 0b0001 should be set.");
    
            message.setFlag(0b0100, true);
            assertEquals(0b0101, message.getFlags(), "Flag 0b0100 should be added to existing flags.");
    
            // Test clearing a flag
            message.setFlag(0b0001, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top