Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for new (0.15 sec)

  1. cmd/site-replication.go

    		Cause: errors.New("site replication resync is already in progress"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRResyncCanceled = SRError{
    		Cause: errors.New("site replication resync is already canceled"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRNoResync = SRError{
    		Cause: errors.New("no resync in progress"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRResyncToSelf = SRError{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/bucket-replication.go

    }
    
    func replicateObjectWithMultipart(ctx context.Context, c *minio.Core, bucket, object string, r io.Reader, objInfo ObjectInfo, opts minio.PutObjectOptions) (err error) {
    	var uploadedParts []minio.CompletePart
    	// new multipart must not set mtime as it may lead to erroneous cleanups at various intervals.
    	opts.Internal.SourceMTime = time.Time{} // this value is saved properly in CompleteMultipartUpload()
    	var uploadID string
    	attempts := 1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/server_test.go

    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the HTTP request initiating the new multipart upload.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// parse the response body and obtain the new upload ID.
    	decoder := xml.NewDecoder(response.Body)
    	newResponse := &InitiateMultipartUploadResponse{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "ReplicationStats")
    					return
    				}
    				z.ReplicationStats = nil
    			} else {
    				if z.ReplicationStats == nil {
    					z.ReplicationStats = new(replicationAllStats)
    				}
    				err = z.ReplicationStats.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "ReplicationStats")
    					return
    				}
    			}
    		case "ats":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		switch {
    		case chkSums["CRC32"] != "":
    			OA.Checksum = new(objectAttributesChecksum)
    			OA.Checksum.ChecksumCRC32 = strings.Split(chkSums["CRC32"], "-")[0]
    		case chkSums["CRC32C"] != "":
    			OA.Checksum = new(objectAttributesChecksum)
    			OA.Checksum.ChecksumCRC32C = strings.Split(chkSums["CRC32C"], "-")[0]
    		case chkSums["SHA256"] != "":
    			OA.Checksum = new(objectAttributesChecksum)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    	dependGlobalIsDistErasure       bool
    	dependGlobalBackgroundHealState bool
    	dependBucketTargetSys           bool
    }
    
    // RegisterRead register the metrics populator function to be used
    // to populate new values upon cache invalidation.
    func (g *MetricsGroupV2) RegisterRead(read func(context.Context) []MetricV2) {
    	g.metricsCache = cachevalue.NewFromFunc(g.cacheInterval,
    		cachevalue.Opts{ReturnLastGood: true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		byteData []byte
    		md5sum   string
    	}{
    		{byteData: generateBytesData(6 * humanize.KiByte)},
    	}
    	h := md5.New()
    	h.Write(bytesData[0].byteData)
    	bytesData[0].md5sum = hex.EncodeToString(h.Sum(nil))
    
    	buffers := []*bytes.Buffer{
    		new(bytes.Buffer),
    		new(bytes.Buffer),
    	}
    
    	// set of inputs for uploading the objects before tests for downloading is done.
    	putObjectInputs := []struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    // an error is returned with information about the running heal
    // sequence. However, if the force-start flag is provided, the server
    // aborts the running heal sequence and starts a new one.
    func (a adminAPIHandlers) HealHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.HealAdminAction)
    	if objectAPI == nil {
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. src/cmd/cgo/internal/test/callback.go

    			t.Fatal("wrong panic:", r)
    		}
    	}()
    	C.callPanic()
    }
    
    // Test that C code can return a value if it calls a Go function that
    // causes a stack copy.
    func testReturnAfterGrow(t *testing.T) {
    	// Use a new goroutine so that we get a small stack.
    	c := make(chan int)
    	go func() {
    		c <- int(C.returnAfterGrow())
    	}()
    	if got, want := <-c, 123456; got != want {
    		t.Errorf("got %d want %d", got, want)
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top