Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 826 for encode (0.1 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.util.Random
    import okhttp3.internal.http2.Huffman.decode
    import okhttp3.internal.http2.Huffman.encode
    import okhttp3.internal.http2.Huffman.encodedLength
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

        }
    
        /**
         * Constructs an AvTargetName with the specified target name
         *
         * @param targetName the target name string to encode
         */
        public AvTargetName(final String targetName) {
            this(encode(targetName));
        }
    
        /**
         * Gets the target name from this AV pair
         *
         * @return the target name
         */
        public String getTargetName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/dcerpc/rpc.java

            /**
             * The low field of the clock sequence.
             */
            public byte clock_seq_low;
            /**
             * The spatially unique node identifier (6 bytes).
             */
            public byte[] node;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(time_low);
                _dst.enc_ndr_short(time_mid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.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.endOfFile, dst, dstIndex);
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
    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/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)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

        }
    
        @Override
        public int getContextType() {
            return CONTEXT_ID;
        }
    
        /**
         * Get the context data
         *
         * @return encoded context data
         */
        public byte[] getData() {
            // Encode the context data
            byte[] data = new byte[20]; // 2 + 2 + 4 + 4 + 4 + 4
    
            int idx = 0;
            SMBUtil.writeInt2(transformCount, data, idx);
            idx += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

            // Default constructor
        }
    
        /**
         * Encodes a permission string into a search role format.
         * Processes user, group, and role prefixes along with allow/deny prefixes.
         *
         * @param value the permission string to encode
         * @return the encoded permission string, or null if the input is blank or invalid
         */
        public String encode(final String value) {
            if (StringUtil.isBlank(value)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. 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)
Back to top