Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 212 for getPtype (1.91 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // Then
                assertNotNull(bindWithParams, "Constructor should create instance");
                assertEquals(0, bindWithParams.getOpnum(), "Opnum should be 0");
                assertEquals(11, bindWithParams.getPtype(), "Ptype should be 11 for bind message");
                assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, bindWithParams.getFlags(),
                        "Flags should be set for first and last fragment");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/MsrpcGetMembersInAliasTest.java

            assertEquals(mockSids, msrpcGetMembersInAlias.sids, "sids should be set correctly");
            assertEquals(0, msrpcGetMembersInAlias.getPtype(), "ptype should be initialized to 0");
            assertEquals(DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG, msrpcGetMembersInAlias.getFlags(),
                    "flags should be set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            assertEquals(mockHandle, lsarClose.handle, "The handle should be initialized correctly.");
    
            // Verify that the ptype is set to 0
            assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");
    
            // Verify that the flags are set to the combination of DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            // We can verify the state of the object after construction.
    
            // Verify ptype and flags are set correctly
            assertEquals(0, policy.getPtype(), "ptype should be 0");
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, policy.getFlags(),
                    "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        /**
         * The result code of the DCERPC operation
         */
        protected int result = 0;
    
        /**
         * Gets the packet type of this DCERPC message
         * @return the packet type
         */
        public int getPtype() {
            return ptype;
        }
    
        /**
         * Gets the flags of this DCERPC message
         * @return the message flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        }
    
        @Test
        void testConstructor() {
            // Verify constructor properly initializes the object
            assertNotNull(msrpcShareGetInfo);
            assertEquals(0, msrpcShareGetInfo.getPtype());
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, msrpcShareGetInfo.getFlags());
    
            // Verify parent class initialization
            assertNotNull(msrpcShareGetInfo.info);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("getPtype should return correct packet type")
            void testGetPtype() {
                message.ptype = DcerpcConstants.RPC_PT_REQUEST;
                assertEquals(DcerpcConstants.RPC_PT_REQUEST, message.getPtype());
            }
    
            @Test
            @DisplayName("getFlags should return correct flags")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            DefaultToolchain toolchain = newDefaultToolchain(model, "TYPE");
            assertEquals("TYPE", toolchain.getType());
    
            model.setType("MODEL_TYPE");
            toolchain = newDefaultToolchain(model);
            assertEquals("MODEL_TYPE", toolchain.getType());
        }
    
        @Test
        void testGetLogger() {
            ToolchainModel model = new ToolchainModel();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top