Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for from (0.15 sec)

  1. cmd/object-handlers_test.go

    				fmt.Sprintf("bytes=-%d", objLen/2),
    				// Read middle half of object
    				fmt.Sprintf("bytes=%d-%d", objLen/4, objLen*3/4),
    				// Read 100MiB of the object from the beginning
    				fmt.Sprintf("bytes=%d-%d", 0, 100*humanize.MiByte),
    				// Read 100MiB of the object from the end
    				fmt.Sprintf("bytes=-%d", 100*humanize.MiByte),
    			}
    			for _, rangeHdr := range rangeHdrs {
    				mkGetReq(oi, rangeHdr, caseNumber, sf)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback.go

    		if i == 0 {
    			return 0
    		}
    		return i + f(i-1)
    	}
    	r = C.int(f(128))
    	return
    }
    
    // Test that C can pass in a Go string from a string constant.
    func testCallGoWithString(t *testing.T) {
    	C.callGoWithString()
    	want := "string passed from C to Go"
    	if stringFromGo != want {
    		t.Errorf("string passed through C is %s, want %s", stringFromGo, want)
    	}
    }
    
    var stringFromGo string
    
    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)
  3. cmd/object-handlers.go

    	for k, v := range userMeta {
    		// skip tier metadata when copying metadata from source object
    		switch k {
    		case metaTierName, metaTierStatus, metaTierObjName, metaTierVersionID:
    			continue
    		}
    		defaultMeta[k] = v
    	}
    
    	// remove SSE Headers from source info
    	crypto.RemoveSSEHeaders(defaultMeta)
    
    	// Storage class is special, it can be replaced regardless of the
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 11:39:31 GMT 2024
    - 124.7K bytes
    - Viewed (0)
  4. cmd/server_test.go

    	res, err := s.client.Do(req)
    	if err != nil {
    		c.Fatal(err)
    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    			c.Errorf("Expected key %s missing from %v", k, res.Header)
    		} else {
    			expectedSet := set.CreateStringSet(expectedMap[k]...)
    			gotSet := set.CreateStringSet(strings.Split(v[0], ", ")...)
    			if !expectedSet.Equals(gotSet) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    	}
    }
    
    func getRepReceivedBytesMD(namespace MetricNamespace) MetricDescription {
    	helpText := "Total number of bytes replicated to this bucket from another source bucket"
    	if namespace == clusterMetricNamespace {
    		helpText = "Total number of bytes replicated to this cluster from site replication peer"
    	}
    	return MetricDescription{
    		Namespace: namespace,
    		Subsystem: replicationSubsystem,
    		Name:      receivedBytes,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 21:22:15 GMT 2024
    - 132.1K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    			// configure replication from current cluster to other clusters
    			err := c.PeerBucketConfigureReplHandler(ctx, bucket)
    			if err != nil {
    				return c.annotateErr(configureReplication, err)
    			}
    		}
    		return nil
    	}
    	// all buckets are marked deleted across sites at this point. It should be safe to purge the .minio.sys/buckets/.deleted/<bucket> entry
    	// from disk
    	if deleteOp == Purge {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 182.7K bytes
    - Viewed (1)
  7. cmd/bucket-replication.go

    // then be retried by healing. In the case of permanent deletes, until the replication is completed on the
    // target cluster, the object version is marked deleted on the source and hidden from listing. It is permanently
    // deleted from the source when the VersionPurgeStatus changes to "Complete", i.e after replication succeeds
    // on target.
    func replicateDelete(ctx context.Context, dobj DeletedObjectReplicationInfo, objectAPI ObjectLayer) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 112K bytes
    - Viewed (1)
Back to top