- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for NewReader (0.27 sec)
-
cmd/server_test.go
c.Assert(err, nil) // Verify if downloaded policy matches with previously uploaded. expectedPolicy, err := policy.ParseBucketPolicyConfig(strings.NewReader(bucketPolicyStr), bucketName) c.Assert(err, nil) gotPolicy, err := policy.ParseBucketPolicyConfig(bytes.NewReader(bucketPolicyReadBuf), bucketName) c.Assert(err, nil) c.Assert(reflect.DeepEqual(expectedPolicy, gotPolicy), true) // Delete policy.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
cmd/object-handlers_test.go
int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data), testCase.accessKey, testCase.secretKey) case testCase.contentEncoding == "": req, err = newTestStreamingSignedRequest(http.MethodPut, getPutObjectURL("", testCase.bucketName, testCase.objectName), int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data), testCase.accessKey, testCase.secretKey)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 160K bytes - Viewed (0) -
cmd/object-handlers.go
if rs != nil { contentRange := fmt.Sprintf("bytes %d-%d/%d", start, start+rangeLen-1, ci.Size) w.Header().Set(xhttp.ContentRange, contentRange) } io.Copy(w, bytes.NewReader(ci.Data)) return } if ci.StatusCode == http.StatusPreconditionFailed { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL) return
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 125K bytes - Viewed (0) -
cmd/bucket-replication.go
) var objectSize int64 for _, partInfo := range objInfo.Parts { if crypto.SSEC.IsEncrypted(objInfo.UserDefined) { hr, err = hash.NewReader(ctx, io.LimitReader(r, partInfo.Size), partInfo.Size, "", "", partInfo.ActualSize) } else { hr, err = hash.NewReader(ctx, io.LimitReader(r, partInfo.ActualSize), partInfo.ActualSize, "", "", partInfo.ActualSize) } if err != nil { return err }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 112.2K bytes - Viewed (1) -
cmd/site-replication.go
// do some validation. newReplCfgBytes, err := xml.Marshal(replicationConfig) if err != nil { return err } newReplicationConfig, err := sreplication.ParseConfig(bytes.NewReader(newReplCfgBytes)) if err != nil { return err } sameTarget, apiErr := validateReplicationDestination(ctx, bucket, newReplicationConfig, true) if apiErr != noError {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 184.1K bytes - Viewed (1) -
maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar
java.io.FileNotFoundExceptio; public static java.io.Reader newPlatformReader(java.net.URL) throws java.io.IOException; public static java.io.Reader newReader(java.io.InputStream, String) throws java.io.UnsupportedEncodingE; public static java.io.Reader newReader(java.io.File, String) throws java.io.FileNotFoundExceptio, java.io.UnsupportedEncodingE; public static java.io.Reader newReader(java.net.URL, String) throws java.io.IOException; static void <clinit>(); } org/codehaus/plexus/util/reflection/Reflector.class package...
Archive - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Tue Oct 16 20:15:40 GMT 2007 - 200.2K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar
java.io.FileNotFoundExceptio; public static java.io.Reader newPlatformReader(java.net.URL) throws java.io.IOException; public static java.io.Reader newReader(java.io.InputStream, String) throws java.io.UnsupportedEncodingE; public static java.io.Reader newReader(java.io.File, String) throws java.io.FileNotFoundExceptio, java.io.UnsupportedEncodingE; public static java.io.Reader newReader(java.net.URL, String) throws java.io.IOException; static void <clinit>(); } org/codehaus/plexus/util/reflection/Reflector.class package...
Archive - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 200.2K bytes - Viewed (0)