Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for unicode_string (0.58 sec)

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

                // Given: A unicode string with null buffer
                rpc.unicode_string unicodeString = new rpc.unicode_string();
                unicodeString.length = (short) 0;
                unicodeString.maximum_length = (short) 0;
                unicodeString.buffer = null;
    
                // When: Encoding the unicode string
                unicodeString.encode(mockNdrBuffer);
    
                // Then: Verify the encoding sequence
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    		LsarQosInfo *security_quality_of_service;
    	} LsarObjectAttributes;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarDomainInfo;
    
    	typedef struct {
    		unicode_string name;
    		unicode_string dns_domain;
    		unicode_string dns_forest;
    		uuid_t domain_guid;
    		sid_t *sid;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (3)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    		LsarQosInfo *security_quality_of_service;
    	} LsarObjectAttributes;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarDomainInfo;
    
    	typedef struct {
    		unicode_string name;
    		unicode_string dns_domain;
    		unicode_string dns_forest;
    		uuid_t domain_guid;
    		sid_t *sid;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

     */
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        /**
         * Constructs a UnicodeString with zero termination option.
         *
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString by wrapping an existing unicode_string.
         *
    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/UnicodeString.java

         *
         * @param rus
         *            wrapped string
         * @param zterm
         *            whether the string should be zero terminated
         */
        public UnicodeString(final rpc.unicode_string rus, final boolean zterm) {
            this.length = rus.length;
            this.maximum_length = rus.maximum_length;
            this.buffer = rus.buffer;
            this.zterm = zterm;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            // Test toString with a manually constructed UnicodeString (simulating rpc.unicode_string input)
            rpc.unicode_string dummyRus = new rpc.unicode_string();
            dummyRus.buffer = new short[] { 'T', 'e', 's', 't', 'i', 'n', 'g' };
            dummyRus.length = 14; // 7 characters * 2 bytes/char
            dummyRus.maximum_length = 14;
            UnicodeString manualUnicodeString = new UnicodeString(dummyRus, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/rpc.idl

    	} policy_handle;
    
    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	} policy_handle;
    
    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            dnsDomainInfo.name = new rpc.unicode_string();
            dnsDomainInfo.name.length = 8;
            dnsDomainInfo.name.maximum_length = 16;
            dnsDomainInfo.name.buffer = new short[] { 'T', 'E', 'S', 'T' };
    
            dnsDomainInfo.dns_domain = new rpc.unicode_string();
            dnsDomainInfo.dns_domain.length = 16;
            dnsDomainInfo.dns_domain.maximum_length = 32;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/rpc.java

         * Unicode string structure for DCE/RPC.
         * Represents a counted Unicode string as used in RPC protocols.
         */
        public static class unicode_string extends NdrObject {
    
            /**
             * Default constructor for unicode_string.
             */
            public unicode_string() {
                // Default constructor
            }
    
            /**
             * The actual length of the string in bytes.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top