Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 180 for rpc (0.02 sec)

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

        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor with rpc.uuid_t should copy all fields correctly")
            void testConstructorWithRpcUuidT() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = TIME_LOW;
                rpcUuid.time_mid = TIME_MID;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            void testDecodeHeaderThrowsNdrExceptionForRpcVersion() {
                when(mockBuffer.dec_ndr_small()).thenReturn(4); // Incorrect RPC version
                assertThrows(NdrException.class, () -> message.decode_header(mockBuffer));
            }
    
            @Test
            @DisplayName("decode_header should throw NdrException for invalid minor RPC version")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

     */
    
    package jcifs.smb1.dcerpc;
    
    /**
     * A Unicode string representation for DCE/RPC operations in JCIFS.
     * This class wraps strings for use in RPC calls with optional zero termination.
     */
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        /**
         * Constructs a UnicodeString with zero termination option.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            try (DcerpcHandle handle = getHandle(ctx, loc, address, "\\PIPE\\netdfs")) {
                final MsrpcDfsRootEnum rpc = new MsrpcDfsRootEnum(loc.getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * WitnessUnregister RPC message implementation for MS-SWN specification.
     * This message is used to unregister from witness notifications.
     */
    public class WitnessUnregisterMessage extends WitnessRpcMessage {
    
        // Input parameters for WitnessUnregister
        private byte[] contextHandle;
    
        /**
         * Creates a new WitnessUnregister RPC message.
         */
        public WitnessUnregisterMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcMessage.java

    import jcifs.dcerpc.ndr.NdrObject;
    
    /**
     * Abstract base class for DCE/RPC protocol messages.
     * This class provides common functionality for all DCE/RPC message types.
     */
    public abstract class DcerpcMessage extends NdrObject implements DcerpcConstants {
    
        /**
         * Default constructor for DcerpcMessage.
         * Initializes the DCE/RPC message structure.
         */
        protected DcerpcMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
            doAnswer(invocation -> {
                MsrpcSamrCloseHandle rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockHandle).sendrecv(closeCaptor.capture());
    
            SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.dcerpc.rpc;
    
    /**
     * MS-RPC SAMR open domain operation.
     *
     * This class implements the SAMR OpenDomain operation for obtaining
     * a handle to a specific domain in the Security Account Manager.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessClient.java

        }
    
        /**
         * Creates a new witness client with a custom RPC client (for testing).
         *
         * @param witnessServer the witness server address
         * @param context the CIFS context
         * @param rpcClient the RPC client to use
         */
        protected WitnessClient(InetAddress witnessServer, CIFSContext context, WitnessRpcClient rpcClient) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *     be unique to the built instance of the ThreadFactory and will be assigned sequentially. For
       *     example, {@code "rpc-pool-%d"} will generate thread names like {@code "rpc-pool-0"}, {@code
       *     "rpc-pool-1"}, {@code "rpc-pool-2"}, etc.
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setNameFormat(String nameFormat) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top