Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 588 for Encoder (0.08 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. cmd/signature-v4-utils_test.go

    		{"   a   b  c   ", "a b c"},
    		{"a \t b  c   ", "a b c"},
    		{"\"a \t b  c   ", "\"a b c"},
    		{" \t\n\u000b\r\fa \t\n\u000b\r\f b \t\n\u000b\r\f c \t\n\u000b\r\f", "a b c"},
    	}
    
    	// Tests generated values from url encoded name.
    	for i, testCase := range testCases {
    		result := signV4TrimAll(testCase.inputStr)
    		if testCase.result != result {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		ki.Error = err.Error()
    		return ki
    	}
    	defer resp.Body.Close()
    	decoder := json.NewDecoder(resp.Body)
    	if err := decoder.Decode(&ki); err != nil {
    		ki.Error = err.Error()
    	}
    	return ki
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    			t.Fatalf("Unexpected err: %#v", err)
    		}
    		rec := httptest.NewRecorder()
    		apiRouter.ServeHTTP(rec, reqI)
    		checkRespErr(rec, http.StatusOK)
    		decoder := xml.NewDecoder(rec.Body)
    		multipartResponse := &InitiateMultipartUploadResponse{}
    		err = decoder.Decode(multipartResponse)
    		if err != nil {
    			t.Fatalf("Error decoding the recorded response Body")
    		}
    		upID := multipartResponse.UploadID
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

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

                    this.root_directory.encode(_dst);
    
                }
                if ( this.object_name != null ) {
                    _dst = _dst.deferred;
                    this.object_name.encode(_dst);
    
                }
                if ( this.security_quality_of_service != null ) {
                    _dst = _dst.deferred;
                    this.security_quality_of_service.encode(_dst);
    
                }
            }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

      }
    }
    
    /**
     * Returns the certificate encoded in [PEM format][rfc_7468].
     *
     * [rfc_7468]: https://tools.ietf.org/html/rfc7468
     */
    fun X509Certificate.certificatePem(): String {
      return buildString {
        append("-----BEGIN CERTIFICATE-----\n")
        encodeBase64Lines(encoded.toByteString())
        append("-----END CERTIFICATE-----\n")
      }
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	versions := make([]FileInfoVersions, totalVersions)
    	decoder := msgpNewReader(r.Body)
    	defer readMsgpReaderPoolPut(decoder)
    	for i := 0; i < totalVersions; i++ {
    		dst := &versions[i]
    		if err := dst.DecodeMsg(decoder); err != nil {
    			s.writeErrorResponse(w, err)
    			return
    		}
    	}
    
    	done := keepHTTPResponseAlive(w)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  9. cmd/batch-handlers_gen_test.go

    	v := BatchJobPrefix{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBatchJobPrefix Msgsize() is inaccurate")
    	}
    
    	vn := BatchJobPrefix{}
    	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: Thu Aug 01 12:53:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. cmd/local-locker_gen_test.go

    	v := localLockMap{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodelocalLockMap Msgsize() is inaccurate")
    	}
    
    	vn := localLockMap{}
    	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: Mon Feb 19 22:54:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top