Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 503 for flags0 (0.17 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
        /**
         * Gets the SMB message flags
         * @return the flags
         */
        public final byte getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the SMB message flags
         * @param flags
         *            the flags to set
         */
        public final void setFlags(final byte flags) {
            this.flags = flags;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                    path = readString(buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
                    if (nodeOffset > 0) {
                        node = readString(buffer, start + nodeOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
                    }
                } else if (version == 1) {
                    node = readString(buffer, bufferIndex, len, (flags2 & FLAGS2_UNICODE) != 0);
                }
    
                return size;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

        }
    
        /**
         * Verifies reset() clears flags2 and updates resumeKey and filename used for parameters.
         */
        @Test
        void testResetUpdatesStateAndParameters() {
            // Given
            Trans2FindNext2 next = new Trans2FindNext2(0x0001, 0x0AAA0BBB, "old");
            next.flags2 = 0xFFFF; // simulate non-zero flags2
    
            // When
            next.reset(0x11121314, "last.dat");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            // These tests should be removed or replaced with actual constants
        }
    
        /**
         * Test individual FLAGS2 constants.
         */
        @Test
        @DisplayName("FLAGS2 individual constants are correct")
        void flags2ConstantsTest() {
            // Test individual flag values
            assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES);
            assertEquals(0x0002, SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            assertEquals(smb.flags, readSmb.flags);
            assertEquals(smb.flags2, readSmb.flags2);
            assertEquals(smb.tid, readSmb.tid);
            assertEquals(smb.pid, readSmb.pid);
            assertEquals(smb.uid, readSmb.uid);
            assertEquals(smb.mid, readSmb.mid);
        }
    
        @Test
        void testIsResponse() {
            smb.flags = (byte) ServerMessageBlock.FLAGS_RESPONSE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            final String str = errorCode == 0 ? "0" : SmbException.getMessageByCode(errorCode);
            return "command=" + c + ",received=" + received + ",errorCode=" + str + ",flags=0x" + Hexdump.toHexString(flags & 0xFF, 4)
                    + ",flags2=0x" + Hexdump.toHexString(flags2, 4) + ",signSeq=" + signSeq + ",tid=" + tid + ",pid=" + pid + ",uid=" + uid
                    + ",mid=" + mid + ",wordCount=" + wordCount + ",byteCount=" + byteCount;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

         * @param shareAccess the share access mode
         * @param flags the open flags
         * @param fileAttributes the file attributes
         * @param andx the next command in the chain
         */
        public SmbComOpenAndX(final Configuration config, final String fileName, final int access, final int shareAccess, final int flags,
                final int fileAttributes, final ServerMessageBlock andx) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/Referral.java

         * @return the serverType
         */
        public final int getServerType() {
            return this.serverType;
        }
    
        /**
         * Gets the referral flags.
         *
         * @return the rflags
         */
        public final int getRFlags() {
            return this.rflags;
        }
    
        /**
         * Gets the proximity value indicating the distance to the target.
         *
         * @return the proximity
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

            flags = 0x00;
            maxParameterCount = 8;
            maxDataCount = Trans2FindFirst2.LIST_SIZE;
            maxSetupCount = 0;
        }
    
        @Override
        void reset(final int resumeKey, final String lastName) {
            super.reset();
            this.resumeKey = resumeKey;
            this.filename = lastName;
            flags2 = 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top