Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 430 for Flags2 (0.06 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        msg.flags &= ~DCERPC_LAST_FRAG;
                        n = max_xmit - 24;
                    } else {
                        msg.flags |= DCERPC_LAST_FRAG;
                        isDirect = false;
                        msg.alloc_hint = n;
                    }
    
                    msg.length = 24 + n;
    
                    if (off > 0) {
                        msg.flags &= ~DCERPC_FIRST_FRAG;
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    + ",maxParameterCount=" + maxParameterCount + ",maxDataCount=" + maxDataCount + ",maxSetupCount=" + (int) maxSetupCount
                    + ",flags=0x" + Hexdump.toHexString(flags, 2) + ",timeout=" + timeout + ",parameterCount=" + parameterCount
                    + ",parameterOffset=" + parameterOffset + ",parameterDisplacement=" + parameterDisplacement + ",dataCount=" + dataCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertTrue(type1Token.length > 0);
    
            // Decode the token to verify its properties
            Type1Message type1Message = new Type1Message(type1Token);
            // Type1Message ORs default flags with provided flags; ensure expected bits are present
            assertTrue((type1Message.getFlags() & context.ntlmsspFlags) == context.ntlmsspFlags);
            assertEquals(domain, type1Message.getSuppliedDomain());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            assertEquals(0, msrpcShareGetInfo.getPtype());
    
            // Check individual flag bits
            int flags = msrpcShareGetInfo.getFlags();
            assertTrue((flags & DcerpcConstants.DCERPC_FIRST_FRAG) != 0);
            assertTrue((flags & DcerpcConstants.DCERPC_LAST_FRAG) != 0);
        }
    
        @Test
        void testShareInfo502Initialization() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should handle all flags set")
            void testAllFlagsSet() {
                int allFlags = 0xFFFFFFFF;
                testMessage.addFlags(allFlags);
                assertEquals(allFlags, testMessage.getFlags());
    
                // Should still be able to clear specific flags
                testMessage.clearFlags(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ACE.java

         *
         * @return descriptive text for the ACE scope
         */
        String getApplyToText();
    
        /**
         * Returns the flags for this ACE. The <code>isInherited()</code>
         * method checks the <code>FLAGS_INHERITED</code> bit in these flags.
         *
         * @return the ACE flags
         */
        int getFlags();
    
        /**
         * Returns true if this ACE is an inherited ACE and false if it is a direct ACE.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
            // Flags at +16: server-to-redirector
            SMBUtil.writeInt4(0x00000001, buf, start + 16);
            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
         * Build a SESSION_SETUP response body with specified flags and security blob.
         * securityBufferOffset is set relative to header start.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @param flags write operation flags
         * @throws IOException if an I/O error occurs
         */
        public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException {
            if (len <= 0) {
                return;
            }
    
            if (tmp == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            this.decode(buffer, bufferIndex, len);
        }
    
        /**
         * Gets the type flags of this security descriptor.
         *
         * @return the type flags indicating security descriptor control flags
         */
        public final int getType() {
            return this.type;
        }
    
        /**
         * Gets the access control entries (ACEs) from this security descriptor.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
            assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");
            // ptype and flags are protected fields in DcerpcMessage, cannot test directly
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top