Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 693 for decode (0.1 sec)

  1. src/main/java/jcifs/smb1/dcerpc/rpc.java

                _dst.advance(1 * _nodes);
    
                _dst = _dst.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
                    _dst.enc_ndr_small(node[_i]);
                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                time_low = (int)_src.dec_ndr_long();
                time_mid = (short)_src.dec_ndr_short();
                time_hi_and_version = (short)_src.dec_ndr_short();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types.go

    // UnmarshalYAML - BatchJobKV extends default unmarshal to extract line, col information.
    func (kv *BatchJobKV) UnmarshalYAML(val *yaml.Node) error {
    	type jobKV BatchJobKV
    	var tmp jobKV
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    	*kv = BatchJobKV(tmp)
    	kv.line, kv.col = val.Line, val.Column
    	return nil
    }
    
    // Validate returns an error if key is empty
    func (kv BatchJobKV) Validate() error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
      private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/apiserverinternal/v1alpha1/generated.proto

      // Spec is an empty spec. It is here to comply with Kubernetes API style.
      optional StorageVersionSpec spec = 2;
    
      // API server instances report the version they can decode and the version they
      // encode objects to when persisting objects in the backend.
      optional StorageVersionStatus status = 3;
    }
    
    // Describes the state of the storageVersion at a certain point.
    message StorageVersionCondition {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

    
        /**
         * @param responseType
         * @return decoded data
         * @throws SmbException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getOutputData ( Class<T> responseType ) throws SmbException {
    
            Decodable out = getOutputData();
    
            if ( out == null ) {
                throw new SmbException("Failed to decode output data");
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

         */
        public int getTotalBytesWritten () {
            return this.totalBytesWritten;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.chunksWritten = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/CommonServerMessageBlock.java

    /**
     * @author mbechler
     *
     */
    public interface CommonServerMessageBlock extends Message {
    
        /**
         * Decode message data from the given byte array
         * 
         * @param buffer
         * @param bufferIndex
         * @return message length
         * @throws SMBProtocolDecodingException
         */
        int decode ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException;
    
    
        /**
         * @param dst
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  9. cmd/data-usage-cache_gen_test.go

    	v := allTierStats{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeallTierStats Msgsize() is inaccurate")
    	}
    
    	vn := allTierStats{}
    	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 {
    		t.Error(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/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: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
Back to top