Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 588 for Encoder (0.12 sec)

  1. cmd/last-minute_gen_test.go

    func TestEncodeDecodeAccElem(t *testing.T) {
    	v := AccElem{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeAccElem Msgsize() is inaccurate")
    	}
    
    	vn := AccElem{}
    	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: Tue Jul 05 21:45:49 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  2. cmd/metacache_gen_test.go

    func TestEncodeDecodemetacache(t *testing.T) {
    	v := metacache{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodemetacache Msgsize() is inaccurate")
    	}
    
    	vn := metacache{}
    	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 Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            return "4b324fc8-1670-01d3-1278-5a47bf6ee188:3.0";
        }
    
        public static class ShareInfo0 extends NdrObject {
    
            public String netname;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.netname, 1);
    
                if ( this.netname != null ) {
                    _dst = _dst.deferred;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 19.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                this.sid = sid;
                this.domain_handle = domain_handle;
            }
    
            public void encode_in(NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
                _dst.enc_ndr_long(access_mask);
                sid.encode(_dst);
            }
            public void decode_out(NdrBuffer _src) throws NdrException {
                domain_handle.decode(_src);
                retval = (int)_src.dec_ndr_long();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 14K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

            this.sourceKey = sourceKey;
            this.chunks = chunks;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharSource.java

     * \r} or {@code \r\n}, do not include the line separator in each line and do not consider there to
     * be an empty line at the end if the contents are terminated with a line separator.
     *
     * <p>Any {@link ByteSource} containing text encoded with a specific {@linkplain Charset character
     * encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. internal/s3select/jstream/README.md

    we can choose to extract and act only the objects within the top-level array:
    ```go
    f, _ := os.Open("input.json")
    decoder := jstream.NewDecoder(f, 1) // extract JSON values at a depth level of 1
    for mv := range decoder.Stream() {
      fmt.Printf("%v\n ", mv.Value)
    }
    ```
    
    output:
    ```
    map[desc:RGB colors:[red green blue]]
    map[desc:CMYK colors:[cyan magenta yellow black]]
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/samr.java

            }
    
    
            @Override
            public void encode_in ( NdrBuffer _dst ) throws NdrException {
                this.handle.encode(_dst);
                _dst.enc_ndr_long(this.access_mask);
                this.sid.encode(_dst);
            }
    
    
            @Override
            public void decode_out ( NdrBuffer _src ) throws NdrException {
                this.domain_handle.decode(_src);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 15.1K bytes
    - Viewed (0)
  9. 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)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

    /**
     * The first two bytes of each value is a header that includes its tag (field ID) and length.
     */
    internal data class DerHeader(
      /**
       * Namespace of the tag.
       *
       * This value is encoded in bits 7 and 8 of the first byte of each value.
       *
       * ```
       * 0b00xxxxxx Universal
       * 0b01xxxxxx Application
       * 0b10xxxxxx Context-Specific
       * 0b11xxxxxx Private
       * ```
       */
      var tagClass: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top