Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 693 for decode (0.05 sec)

  1. cmd/batch-replicate_gen_test.go

    	v := BatchJobReplicateCredentials{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBatchJobReplicateCredentials Msgsize() is inaccurate")
    	}
    
    	vn := BatchJobReplicateCredentials{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

    /* encdec - encode and decode integers, times, and
     * internationalized strings to and from popular binary formats
     * http://www.ioplex.com/~miallen/encdec/
     * Copyright (c) 2003 Michael B. Allen <******@****.***>
     *
     * The GNU Library General Public License
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Library General Public
     * License as published by the Free Software Foundation; either
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

        public long getFree () {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        } catch (e: NoSuchElementException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: IllegalArgumentException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: GeneralSecurityException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        }
      }
    }
    
    internal data class TbsCertificate(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

         * @return the totalBytesWritten
         */
        public byte[] getData () {
            return this.data;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.namedPipeState = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

            return this.tflags;
        }
    
    
        /**
         * @return the referrals
         */
        public final Referral[] getReferrals () {
            return this.referrals;
        }
    
    
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            this.pathConsumed = SMBUtil.readInt2(buffer, bufferIndex) / 2;
            bufferIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  7. docs/debugging/inspect/utils.go

    	"log"
    )
    
    func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) {
    	// Try PEM
    	if block, _ := pem.Decode(priv); block != nil {
    		return x509.ParsePKCS1PrivateKey(block.Bytes)
    	}
    	// Try base 64
    	dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv)))
    	if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
    		return x509.ParsePKCS1PrivateKey(dst[:n])
    	}
    	// Try Raw, return error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 02 20:36:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

        public long getFree () {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            // Read total allocation units.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

         */
        public byte[] getResumeKey () {
            return this.resumeKey;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            if ( len < 24 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/rpc.java

                _dst = _dst.derive(_nodei);
                for ( int _i = 0; _i < _nodes; _i++ ) {
                    _dst.enc_ndr_small(this.node[ _i ]);
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
                this.time_low = _src.dec_ndr_long();
                this.time_mid = (short) _src.dec_ndr_short();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top