Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 867 for encode (0.12 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            public String netname;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(netname, 1);
    
                if (netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(netname);
    
                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  2. cmd/storage-rest-common_gen_test.go

    	v := nsScannerOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodensScannerOptions Msgsize() is inaccurate")
    	}
    
    	vn := nsScannerOptions{}
    	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 Nov 21 01:09:35 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

            .override(
              Encoding.SKIP,
              '\t'.code,
              '\n'.code,
              '\u000c'.code,
              '\r'.code,
            )
            .override(
              Encoding.PERCENT,
              ' '.code,
              '"'.code,
              '#'.code,
              '<'.code,
              '>'.code,
              '?'.code,
              '`'.code,
            )
            .override(
              Encoding.PERCENT,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops_gen_test.go

    	v := healingTracker{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodehealingTracker Msgsize() is inaccurate")
    	}
    
    	vn := healingTracker{}
    	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)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
      /** True if the default value should be used if this value is absent during decoding. */
      val isOptional: Boolean = false,
      /** The value to return if this value is absent. Undefined unless this is optional. */
      val defaultValue: T? = null,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

        if (alreadyEncoded && (
            codePoint == '\t'.code || codePoint == '\n'.code ||
              codePoint == '\u000c'.code || codePoint == '\r'.code
          )
        ) {
          // Skip this character.
        } else if (codePoint == ' '.code && encodeSet === FORM_ENCODE_SET) {
          // Encode ' ' as '+'.
          writeUtf8("+")
        } else if (codePoint == '+'.code && plusIsSpace) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance_gen_test.go

    	v := rebalanceInfo{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecoderebalanceInfo Msgsize() is inaccurate")
    	}
    
    	vn := rebalanceInfo{}
    	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 Oct 25 19:36:57 UTC 2022
    - 11K bytes
    - Viewed (0)
  8. internal/dsync/lock-args_gen_test.go

    func TestEncodeDecodeLockArgs(t *testing.T) {
    	v := LockArgs{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeLockArgs Msgsize() is inaccurate")
    	}
    
    	vn := LockArgs{}
    	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 Nov 21 01:09:35 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. cmd/batch-expire_gen_test.go

    	v := BatchJobExpire{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBatchJobExpire Msgsize() is inaccurate")
    	}
    
    	vn := BatchJobExpire{}
    	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: Sat Dec 02 10:51:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. 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)
Back to top