Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 217 for 0x40 (0.02 sec)

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

        @Test
        void testSetFid() {
            response.fid = 123;
            assertEquals(123, response.fid);
        }
    
        @Test
        void testSetFileAttributes() {
            response.fileAttributes = 0x20; // ATTR_ARCHIVE
            assertEquals(0x20, response.fileAttributes);
        }
    
        @Test
        void testSetLastWriteTime() {
            long time = System.currentTimeMillis();
            response.lastWriteTime = time;
    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/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            maxSetupCount = 0;
        }
    
        @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) {
            final int start = dstIndex;
    
            writeInt2(informationLevel, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

            this.request = new DfsReferralRequestBuffer(filename, maxReferralLevel);
            this.totalDataCount = 0;
            this.maxParameterCount = 0;
            this.maxDataCount = 4096;
            this.maxSetupCount = (byte) 0x00;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#isForceUnicode()
         */
        @Override
        public boolean isForceUnicode() {
            return true;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.security = this.server.securityMode & 0x01;
            this.server.encryptedPasswords = (this.server.securityMode & 0x02) == 0x02;
            this.server.signaturesEnabled = (this.server.securityMode & 0x04) == 0x04;
            this.server.signaturesRequired = (this.server.securityMode & 0x08) == 0x08;
            this.server.smaxMpxCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         * Flag indicating an unlock operation to release a previously held lock.
         */
        public static final int SMB2_LOCKFLAG_UNLOCK = 0x4;
    
        /**
         * Flag indicating the lock should fail immediately if it cannot be granted.
         */
        public static final int SMB2_LOCKFLAG_FAIL_IMMEDIATELY = 0x10;
    
        private final long offset;
        private final long length;
        private final int flags;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dtyp/ACE.java

            return this.flags;
        }
    
        @Override
        public String getApplyToText() {
            switch (this.flags & (FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY)) {
            case 0x00:
                return "This folder only";
            case 0x03:
                return "This folder, subfolders and files";
            case 0x0B:
                return "Subfolders and files only";
            case 0x02:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            SMBUtil.writeInt2(this.writeMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt2(this.dataLength, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.dataOffset, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            assertEquals(1, SMBUtil.readInt2(buffer, 8));
            assertEquals(1, SMBUtil.readInt2(buffer, 10));
        }
    
        /**
         * Test that a large file lock (bit 0x10 set) is encoded and decoded correctly.
         */
        @ParameterizedTest
        @ValueSource(ints = { 0x10, 0x11 })
        void largeFileFlagSet_and_decoded_according_to_type(int type) throws Exception {
            Configuration cfg = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80));
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            }
            writeInt2(writeMode, dst, dstIndex);
            dstIndex += 2;
            writeInt2(remaining, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            writeInt2(dataLength, dst, dstIndex);
            dstIndex += 2;
            writeInt2(dataOffset, dst, dstIndex);
            dstIndex += 2;
            writeInt4(offset >> 32, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top