Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 450 for sflags (0.12 sec)

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

        /**
         * Test setting and getting byte field (sflags)
         */
        @ParameterizedTest
        @ValueSource(bytes = { 0x00, 0x01, 0x7F, (byte) 0x80, (byte) 0xFF })
        @DisplayName("Test sflags field with various byte values")
        public void testSflagsField(byte value) {
            // When
            serverData.sflags = value;
    
            // Then
            assertEquals(value, serverData.sflags);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/ntlmssp/av/AvFlags.java

         * Constructs an AV flags pair from integer flags
         * @param flags the flag values as integer
         */
        public AvFlags(final int flags) {
            this(encode(flags));
        }
    
        /**
         * Gets the flags as an integer value
         * @return flags
         */
        public int getFlags() {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
        private static byte[] encode(final int flags) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

            boolean end = false;
            int flags;
            String charset;
            if (lmResponseOffset < pos + 12 || ntResponseOffset < pos + 12 || domainOffset < pos + 12 || userOffset < pos + 12
                    || workstationOffset < pos + 12) {
                // no room for SK/Flags
                flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_OEM;
                setFlags(flags);
                charset = getOEMEncoding();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test flags property")
            void testFlagsProperty() {
                testBlock.setFlags((byte) 0x12);
                assertEquals((byte) 0x12, testBlock.getFlags());
            }
    
            @Test
            @DisplayName("Test flags2 property")
            void testFlags2Property() {
                testBlock.setFlags2(0x1234);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

                    + ",informationLevel=0x" + Hexdump.toHexString(this.informationLevel, 3) + ",resumeKey=0x"
                    + Hexdump.toHexString(this.resumeKey, 4) + ",flags=0x" + Hexdump.toHexString(this.tflags, 2) + ",filename=" + this.filename
                    + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

         * @return the numReferrals
         */
        public final int getNumReferrals() {
            return this.numReferrals;
        }
    
        /**
         * Get the referral flags
         *
         * @return the tflags
         */
        public final int getTflags() {
            return this.tflags;
        }
    
        /**
         * Get the array of referral entries
         *
         * @return the referrals
         */
        public final Referral[] getReferrals() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top