Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 618 for Encoder (0.14 sec)

  1. cmd/batch-job-common-types_gen_test.go

    1. v := BatchJobKV{}
    2. var buf bytes.Buffer
    3. msgp.Encode(&buf, &v)
    4.  
    5. m := v.Msgsize()
    6. if buf.Len() > m {
    7. t.Log("WARNING: TestEncodeDecodeBatchJobKV Msgsize() is inaccurate")
    8. }
    9.  
    10. vn := BatchJobKV{}
    11. err := msgp.Decode(&buf, &vn)
    12. if err != nil {
    13. t.Error(err)
    14. }
    15.  
    16. buf.Reset()
    17. msgp.Encode(&buf, &v)
    18. err = msgp.NewReader(&buf).Skip()
    19. if err != nil {
    20. t.Error(err)
    21. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. cmd/batch-rotate_gen_test.go

    1. v := BatchJobKeyRotateEncryption{}
    2. var buf bytes.Buffer
    3. msgp.Encode(&buf, &v)
    4.  
    5. m := v.Msgsize()
    6. if buf.Len() > m {
    7. t.Log("WARNING: TestEncodeDecodeBatchJobKeyRotateEncryption Msgsize() is inaccurate")
    8. }
    9.  
    10. vn := BatchJobKeyRotateEncryption{}
    11. err := msgp.Decode(&buf, &vn)
    12. if err != nil {
    13. t.Error(err)
    14. }
    15.  
    16. buf.Reset()
    17. msgp.Encode(&buf, &v)
    18. err = msgp.NewReader(&buf).Skip()
    19. if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_gen_test.go

    1. v := xlMetaDataDirDecoder{}
    2. var buf bytes.Buffer
    3. msgp.Encode(&buf, &v)
    4.  
    5. m := v.Msgsize()
    6. if buf.Len() > m {
    7. t.Log("WARNING: TestEncodeDecodexlMetaDataDirDecoder Msgsize() is inaccurate")
    8. }
    9.  
    10. vn := xlMetaDataDirDecoder{}
    11. err := msgp.Decode(&buf, &vn)
    12. if err != nil {
    13. t.Error(err)
    14. }
    15.  
    16. buf.Reset()
    17. msgp.Encode(&buf, &v)
    18. err = msgp.NewReader(&buf).Skip()
    19. if err != nil {
    20. t.Error(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 18 20:15:22 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen_test.go

    1. v := allTierStats{}
    2. var buf bytes.Buffer
    3. msgp.Encode(&buf, &v)
    4.  
    5. m := v.Msgsize()
    6. if buf.Len() > m {
    7. t.Log("WARNING: TestEncodeDecodeallTierStats Msgsize() is inaccurate")
    8. }
    9.  
    10. vn := allTierStats{}
    11. err := msgp.Decode(&buf, &vn)
    12. if err != nil {
    13. t.Error(err)
    14. }
    15.  
    16. buf.Reset()
    17. msgp.Encode(&buf, &v)
    18. err = msgp.NewReader(&buf).Skip()
    19. if err != nil {
    20. t.Error(err)
    21. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. cmd/batch-replicate_gen_test.go

    1. v := BatchJobReplicateCredentials{}
    2. var buf bytes.Buffer
    3. msgp.Encode(&buf, &v)
    4.  
    5. m := v.Msgsize()
    6. if buf.Len() > m {
    7. t.Log("WARNING: TestEncodeDecodeBatchJobReplicateCredentials Msgsize() is inaccurate")
    8. }
    9.  
    10. vn := BatchJobReplicateCredentials{}
    11. err := msgp.Decode(&buf, &vn)
    12. if err != nil {
    13. t.Error(err)
    14. }
    15.  
    16. buf.Reset()
    17. msgp.Encode(&buf, &v)
    18. err = msgp.NewReader(&buf).Skip()
    19. 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)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

    1.  
    2. @Override
    3. public void encode ( NdrBuffer _dst ) throws NdrException {
    4. _dst.align(4);
    5. _dst.enc_ndr_long(this.level);
    6. int _descr = this.level;
    7. _dst.enc_ndr_long(_descr);
    8. _dst.enc_ndr_referent(this.e, 1);
    9.  
    10. if ( this.e != null ) {
    11. _dst = _dst.deferred;
    12. this.e.encode(_dst);
    13.  
    14. }
    15. }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

    1. this.root_directory.encode(_dst);
    2.  
    3. }
    4. if ( this.object_name != null ) {
    5. _dst = _dst.deferred;
    6. this.object_name.encode(_dst);
    7.  
    8. }
    9. if ( this.security_quality_of_service != null ) {
    10. _dst = _dst.deferred;
    11. this.security_quality_of_service.encode(_dst);
    12.  
    13. }
    14. }
    15.  
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  8. cmd/batch-handlers_gen_test.go

    1. v := BatchJobPrefix{}
    2. var buf bytes.Buffer
    3. msgp.Encode(&buf, &v)
    4.  
    5. m := v.Msgsize()
    6. if buf.Len() > m {
    7. t.Log("WARNING: TestEncodeDecodeBatchJobPrefix Msgsize() is inaccurate")
    8. }
    9.  
    10. vn := BatchJobPrefix{}
    11. err := msgp.Decode(&buf, &vn)
    12. if err != nil {
    13. t.Error(err)
    14. }
    15.  
    16. buf.Reset()
    17. msgp.Encode(&buf, &v)
    18. err = msgp.NewReader(&buf).Skip()
    19. if err != nil {
    20. t.Error(err)
    21. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. cmd/local-locker_gen_test.go

    1. v := localLockMap{}
    2. var buf bytes.Buffer
    3. msgp.Encode(&buf, &v)
    4.  
    5. m := v.Msgsize()
    6. if buf.Len() > m {
    7. t.Log("WARNING: TestEncodeDecodelocalLockMap Msgsize() is inaccurate")
    8. }
    9.  
    10. vn := localLockMap{}
    11. err := msgp.Decode(&buf, &vn)
    12. if err != nil {
    13. t.Error(err)
    14. }
    15.  
    16. buf.Reset()
    17. msgp.Encode(&buf, &v)
    18. err = msgp.NewReader(&buf).Skip()
    19. if err != nil {
    20. t.Error(err)
    21. }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

    1. }
    2. }
    3.  
    4. /**
    5. * Returns the certificate encoded in [PEM format][rfc_7468].
    6. *
    7. * [rfc_7468]: https://tools.ietf.org/html/rfc7468
    8. */
    9. fun X509Certificate.certificatePem(): String {
    10. return buildString {
    11. append("-----BEGIN CERTIFICATE-----\n")
    12. encodeBase64Lines(encoded.toByteString())
    13. append("-----END CERTIFICATE-----\n")
    14. }
    15. }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top