Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 188 for rpc (0.1 sec)

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

            assertNull(unicodeStringFalse.buffer, "Buffer should be null for empty string");
        }
    
        @Test
        void testConstructorWithRpcUnicodeStringAndZterm() {
            // Create a dummy rpc.unicode_string
            rpc.unicode_string dummyRus = new rpc.unicode_string();
            dummyRus.length = 10;
            dummyRus.maximum_length = 20;
            dummyRus.buffer = new short[] { 'H', 'e', 'l', 'l', 'o' };
    
            // Test with zterm = true
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/metacache-server-pool.go

    		}
    		entries.truncate(0)
    		go func() {
    			rpc := globalNotificationSys.restClientFromHash(pathJoin(o.Bucket, o.Prefix))
    			if rpc != nil {
    				ctx, cancel := context.WithTimeout(GlobalContext, 5*time.Second)
    				defer cancel()
    				c, err := rpc.GetMetacacheListing(ctx, *o)
    				if err == nil {
    					c.error = "no longer used"
    					c.status = scanStateError
    					rpc.UpdateMetacacheListing(ctx, *c)
    				}
    			}
    		}()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcHandle.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Abstract base class for DCE/RPC communication handles.
     * This class provides the foundation for DCE/RPC client communication.
     */
    public abstract class DcerpcHandle implements DcerpcConstants, AutoCloseable {
    
        /*
         * Bindings are in the form:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top