Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,193 for decoding (0.76 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

    import jcifs.smb.SmbException;
    import jcifs.util.Hexdump;
    
    /**
     * Base class for SMB2/SMB3 protocol messages.
     *
     * This abstract class provides common functionality for all SMB2/SMB3
     * message types including encoding, decoding, and message handling.
     *
     * @author mbechler
     */
    public abstract class ServerMessageBlock2 implements CommonServerMessageBlock {
    
        /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            // Verify the raw bytes are the UTF-16LE encoding of the input string
            assertArrayEquals(targetName.getBytes(StandardCharsets.UTF_16LE), avTargetName.getRaw(),
                    "Raw bytes should be UTF-16LE encoded string");
        }
    
        /**
         * Test getTargetName() method with a string input.
         * Verifies that the original string is returned after encoding and decoding.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. internal/s3select/jstream/errors.go

    	ErrMaxDepth      = DecoderError{msg: "maximum recursion depth exceeded"}
    )
    
    type errPos [2]int // line number, byte offset where error occurred
    
    // DecoderError contains a detailed decoding error.
    type DecoderError struct {
    	msg       string // description of error
    	context   string // additional error context
    	pos       errPos
    	atChar    byte
    	readerErr error // underlying reader error, if any
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

          response("https://httpbin.org/brotli", "bb919aaa06e8".decodeHex()) {
            header("Content-Encoding", "br")
          }
    
        assertFailsWith<IOException> {
          val failingResponse = brotliInterceptor.decompress(response)
          failingResponse.body.string()
        }.also { ioe ->
          assertThat(ioe).hasMessage("Brotli stream decoding failed")
          assertThat(ioe.cause?.javaClass?.simpleName).isEqualTo("BrotliRuntimeException")
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
        private int sectPerAlloc;
        private int bytesPerSect;
    
        /**
         * Default constructor for decoding file system size information.
         */
        public FileFsSizeInformation() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

     *
     * @author mbechler
     */
    public class FileEndOfFileInformation implements FileInformation, Encodable {
    
        private long endOfFile;
    
        /**
         * Default constructor for decoding.
         */
        public FileEndOfFileInformation() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel()
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

     *
     * @author mbechler
     */
    public class FileInternalInfo implements FileInformation {
    
        private long indexNumber;
    
        /**
         * Default constructor for decoding file internal information.
         */
        public FileInternalInfo() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel()
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
        private int sectPerAlloc;
        private int bytesPerSect;
    
        /**
         * Default constructor for decoding file system full size information.
         */
        public FileFsFullSizeInformation() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @param buffer source buffer
         * @param bufferIndex starting index in source buffer
         * @param len length of data to read
         * @return number of bytes read
         * @throws SMBProtocolDecodingException if decoding fails
         */
        protected abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException;
    
        /**
         * Reads data from wire format
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    import java.io.UnsupportedEncodingException;
    import java.util.HashMap;
    
    import jcifs.smb1.util.Encdec;
    
    /**
     * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages.
     * This class provides methods for reading and writing primitive types and strings
     * in NDR format for DCE/RPC communication.
     */
    public class NdrBuffer {
        int referent;
        HashMap referents;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top