Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 557 for Pflags (1.13 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcConstants.java

        // RPC_C_PF_ flags (packet flags)
        /**
         * Broadcast packet flag
         */
        int RPC_C_PF_BROADCAST = 0x01;
        /**
         * No fragmentation packet flag
         */
        int RPC_C_PF_NO_FRAGMENT = 0x02;
        /**
         * Maybe semantics packet flag
         */
        int RPC_C_PF_MAYBE = 0x04;
        /**
         * Idempotent operation packet flag
         */
        int RPC_C_PF_IDEMPOTENT = 0x08;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

                    + ",informationLevel=0x" + Hexdump.toHexString(informationLevel, 3) + ",resumeKey=0x" + Hexdump.toHexString(resumeKey, 4)
                    + ",flags=0x" + Hexdump.toHexString(flags, 2) + ",filename=" + filename + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

         */
        @Test
        void testConstructor_CreateAndOpen() {
            int flags = SmbFile.O_CREAT;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
            assertEquals(0x11, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_OPEN
        }
    
        /**
         * Test constructor with no special flags.
         */
        @Test
        void testConstructor_OpenOnly() {
            int flags = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/ACETest.java

        }
    
        @Test
        @DisplayName("Test all flag combinations for inheritance")
        void testAllFlagCombinationsForInheritance() {
            // Test each individual flag
            ace.flags = ACE.FLAGS_OBJECT_INHERIT;
            assertFalse(ace.isInherited());
    
            ace.flags = ACE.FLAGS_CONTAINER_INHERIT;
            assertFalse(ace.isInherited());
    
            ace.flags = ACE.FLAGS_NO_PROPAGATE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        /**
         * Checks if a specific flag is set
         * @param flag the flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean isFlagSet(final int flag) {
            return (flags & flag) == flag;
        }
    
        /**
         * Unsets a specific flag
         * @param flag the flag to unset
         */
        public void unsetFlag(final int flag) {
            flags &= ~flag;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            @DisplayName("Second constructor sets unshared based on flags")
            void secondCtorUnsharedFlagPath() throws Exception {
                // Arrange: include UNSHARED flag to exercise that branch
                int flags = SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_UNSHARED;
    
                // Act
                SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", flags, ctx());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            for (int flag : new int[] { 0, 0xFF, 0x01, 0x80 }) {
                TestMessage m = new TestMessage();
                m.ptype = 0;
                m.flags = flag;
    
                NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
                m.encode(buf);
    
                // Reset and skip to flags field
                buf.setIndex(3);
                assertEquals(flag, buf.dec_ndr_small());
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            String username = "testuser";
            String workstation = "TESTWS";
            int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM;
    
            // When
            Type3Message type3 = new Type3Message(createMockContext(), type2, null, password, domain, username, workstation, flags);
    
            // Then
            assertNotNull(type3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top