Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 719 for decoding (0.17 sec)

  1. cmd/erasure-coding.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/hex"
    	"fmt"
    	"os"
    	"reflect"
    	"sync"
    
    	"github.com/cespare/xxhash/v2"
    	"github.com/klauspost/reedsolomon"
    	"github.com/minio/minio/internal/logger"
    )
    
    // Erasure - erasure encoding details.
    type Erasure struct {
    	encoder                  func() reedsolomon.Encoder
    	dataBlocks, parityBlocks int
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            assertNotNull(avTimestamp);
            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertEquals(timestamp, avTimestamp.getTimestamp()); // Verify encoding and decoding
        }
    
        /**
         * Test getTimestamp method with a positive timestamp.
         */
        @Test
        public void testGetTimestampPositive() {
            long expectedTimestamp = 123456789012345L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Decodable.java

         * @param bufferIndex the starting index in the buffer
         * @param len the maximum length of data to decode
         * @return decoded length
         * @throws SMBProtocolDecodingException if decoding fails
         */
        int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/av/AvPair.java

     */
    package jcifs.ntlmssp.av;
    
    /**
     * Base class for NTLMSSP AV (Attribute-Value) pairs used in NTLM authentication.
     * Provides common functionality for encoding and decoding attribute-value pairs.
     *
     * @author mbechler
     */
    public class AvPair {
    
        /**
         * EOL type
         */
        public static final int MsvAvEOL = 0x0;
    
        /**
         * Flags type
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.java

        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if an error occurs during decoding
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java

        /**
         * Constructs KerberosPacAuthData from token bytes.
         *
         * @param token the PAC token bytes
         * @param keys map of Kerberos keys indexed by key type
         * @throws PACDecodingException if PAC decoding fails
         */
        public KerberosPacAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            this.pac = new Pac(token, keys);
        }
    
        /**
         * Returns the PAC object.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.ndr;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when an error occurs during NDR encoding or decoding operations.
     */
    public class NdrException extends CIFSException {
    
        /**
         *
         */
        private static final long serialVersionUID = 7621650016319792189L;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (1)
Back to top