Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 640 for unicode (0.05 sec)

  1. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt8(this.indexNumber, dst, dstIndex);
            return 8;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test encode without andx command")
        void testEncodeWithoutAndx() {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
            byte[] buffer = new byte[1024];
    
            int length = testBlock.encode(buffer, 0);
    
            assertTrue(length > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

        }
    
        @Test
        void encode_shouldCallEncNdrLongWithCorrectValue() throws NdrException {
            int testValue = 98765;
            NdrLong ndrLong = new NdrLong(testValue);
    
            // Call the encode method
            ndrLong.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_long was called exactly once with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_long(testValue);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            setTreeId(t);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            final int len = super.encode(dst, dstIndex);
            final int exp = size();
            final int actual = getLength();
            if (exp != actual) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            // Name: 4 bytes ("RqL2")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 52 bytes (lease V2 structure)
            return 16 + 4 + 4 + 52;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(16, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        /**
         * Get the operation number for this DCERPC message.
         * @return the operation number
         */
        public abstract int getOpnum();
    
        /**
         * Encode the input parameters for this DCERPC message.
         * @param buf the buffer to encode into
         * @throws NdrException if encoding fails
         */
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
    
        /**
    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/main/java/jcifs/ntlmssp/av/AvFlags.java

         * @param flags the flag values as integer
         */
        public AvFlags(final int flags) {
            this(encode(flags));
        }
    
        /**
         * Gets the flags as an integer value
         * @return flags
         */
        public int getFlags() {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
        private static byte[] encode(final int flags) {
            final byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/body-nested-models.md

    Y Python tiene un tipo de datos especial para conjuntos de elementos únicos, el `set`.
    
    Entonces podemos declarar `tags` como un conjunto de strings:
    
    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    Con esto, incluso si recibes un request con datos duplicados, se convertirá en un conjunto de elementos únicos.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ByteEncodable.java

         */
        @Override
        public int size() {
            return this.len;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            System.arraycopy(this.bytes, this.off, dst, dstIndex, this.len);
            return this.len;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Encodable.java

    public interface Encodable {
    
        /**
         * Encodes this object into the specified byte array.
         *
         * @param dst the destination byte array to encode into
         * @param dstIndex the starting index in the destination array
         * @return encoded length
         */
        int encode(byte[] dst, int dstIndex);
    
        /**
         * Returns the size in bytes that this object will occupy when encoded.
         *
         * @return the encoded size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top