Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 480 for flags0 (0.04 sec)

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

        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
            req.addFlags0(0x20);
            flags0 = (int) getPrivateField(req, "flags0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            setResponse(resp);
            return resp;
        }
    
        /**
         * Adds flags to the flags0 field.
         *
         * @param fl
         *            the flags0 to set
         */
        public final void addFlags0(final int fl) {
            this.flags0 |= fl;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        private final int impersonationLevel;
        private long allocationSize;
        private final byte securityFlags;
        private int namelen_index;
    
        int flags0, desiredAccess;
    
        SmbComNTCreateAndX(final String name, final int flags, final int access, final int shareAccess, final int extFileAttributes,
                final int createOptions, final ServerMessageBlock andx) {
            super(andx);
            this.path = name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                send(new SmbComOpenAndX(unc, access, flags, null), response);
                f = response.fid;
            }
    
            return f;
        }
    
        void open(final int flags, final int access, final int attrs, final int options) throws SmbException {
            if (isOpen()) {
                return;
            }
            fid = open0(flags, access, attrs, options);
            opened = true;
    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/internal/smb1/com/ServerData.java

         */
        public ServerData() {
            // Default constructor
        }
    
        /**
         * Server flags from the SMB header.
         */
        public byte sflags;
        /**
         * Server flags2 field from the SMB header.
         */
        public int sflags2;
        /**
         * Maximum number of outstanding multiplex requests.
         */
        public int smaxMpxCount;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            // Test with RECURSIVE_TREE scope (recursive flag set)
            DirectoryLeaseContext context2 = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.RECURSIVE_TREE);
            context2.setNotificationEnabled(true);
    
            byte[] buffer2 = new byte[context2.size()];
            context2.encode(buffer2, 0);
    
            int flags2 = SMBUtil.readInt4(buffer2, 68);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            }
        }
    
        /* --- flag handling -------------------------------- */
        @Test
        void testFlagSetAndUnset() {
            TestMessage m = new TestMessage();
            int FLAG_A = 0x01;
            int FLAG_B = 0x02;
            assertFalse(m.isFlagSet(FLAG_A));
            m.setFlag(FLAG_A);
            assertTrue(m.isFlagSet(FLAG_A));
            // unset correctly removes the flag
            m.unsetFlag(FLAG_A);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FLAGS_OPLOCK_REQUESTED_OR_GRANTED = 0x20;
        /** Notify of modify action flag */
        int FLAGS_NOTIFY_OF_MODIFY_ACTION = 0x40;
        /** Response flag */
        int FLAGS_RESPONSE = 0x80;
    
        /** No flags2 set */
        int FLAGS2_NONE = 0x0000;
        /** Long filenames supported flag */
        int FLAGS2_LONG_FILENAMES = 0x0001;
        /** Extended attributes supported flag */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            AvFlags flags1 = new AvFlags(0x11111111);
            AvFlags flags2 = new AvFlags(0x22222222);
            pairs.add(flags1);
            pairs.add(new AvTimestamp(new byte[8]));
            pairs.add(flags2);
    
            AvPair result = AvPairs.get(pairs, AvPair.MsvAvFlags);
            assertNotNull(result, "Should find the pair");
            assertEquals(flags1, result, "Should return first occurrence");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putShort((short) 0); // pathConsumed (will be divided by 2)
                bb.putShort((short) 0); // numReferrals
                bb.putShort((short) 0); // tflags
                bb.putShort((short) 0); // tflags high bytes (skipped in decode)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top