Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for Turing (0.17 sec)

  1. cmd/object-api-listobjects_test.go

    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    	}
    
    	var err error
    	testObjects := []struct {
    		parentBucket string
    		name         string
    		content      string
    		meta         map[string]string
    	}{
    		{testBuckets[0], "Asia-maps.png", "asis-maps", map[string]string{"content-type": "image/png"}},
    		{testBuckets[0], "Asia/India/India-summer-photos-1", "contentstring", nil},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    		start := time.Now()
    		resp, err := remoteConn.Request(context.Background(), handlerTest, testPayload)
    		errFatal(err)
    		if string(resp) != string(testPayload) {
    			t.Errorf("want %q, got %q", testPayload, string(resp))
    		}
    		t.Log("Roundtrip:", time.Since(start))
    	})
    
    	t.Run("localToRemoteErrHuge", func(t *testing.T) {
    		testPayload := bytes.Repeat([]byte("!"), 1<<10)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    	Erasure struct {
    		Version string `json:"version"`
    	} `json:"xl"`
    }
    
    // Represents the V1 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    // formatErasureV1 - structure holds format config version '1'.
    type formatErasureV1 struct {
    	formatMetaV1
    	Erasure struct {
    		Version string `json:"version"` // Version of 'xl' format.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom.go

    	// Internal information.
    	QueuedBuckets         []string `json:"-" msg:"bkts"`
    	DecommissionedBuckets []string `json:"-" msg:"dbkts"`
    
    	// Last bucket/object decommissioned.
    	Bucket string `json:"-" msg:"bkt"`
    	// Captures prefix that is currently being
    	// decommissioned inside the 'Bucket'
    	Prefix string `json:"-" msg:"pfx"`
    	Object string `json:"-" msg:"obj"`
    
    	// Verbose information
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  5. internal/event/name_test.go

    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
    			}
    		}
    	}
    }
    
    func TestNameUnmarshalXML(t *testing.T) {
    	var blankName Name
    
    	testCases := []struct {
    		data         []byte
    		expectedName Name
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. cmd/config-current.go

    type Help struct {
    	SubSys          string         `json:"subSys"`
    	Description     string         `json:"description"`
    	MultipleTargets bool           `json:"multipleTargets"`
    	KeysHelp        config.HelpKVS `json:"keysHelp"`
    }
    
    // GetHelp - returns help for sub-sys, a key for a sub-system or all the help.
    func GetHelp(subSys, key string, envOnly bool) (Help, error) {
    	if len(subSys) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    )
    
    func defaultFilenameFunc() string {
    	return fmt.Sprintf("minio-%s.log", fmt.Sprintf("%X", time.Now().UTC().UnixNano()))
    }
    
    // Options define configuration options for Writer
    type Options struct {
    	// Directory defines the directory where log files will be written to.
    	// If the directory does not exist, it will be created.
    	Directory string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. cmd/admin-bucket-handlers.go

    			}
    		}
    	}
    }
    
    type importMetaReport struct {
    	madmin.BucketMetaImportErrs
    }
    
    func (i *importMetaReport) SetStatus(bucket, fname string, err error) {
    	st := i.Buckets[bucket]
    	var errMsg string
    	if err != nil {
    		errMsg = err.Error()
    	}
    	switch fname {
    	case bucketPolicyConfig:
    		st.Policy = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketNotificationConfig:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    	case errors.Is(err, errDiskAccessDenied):
    		// Show a descriptive error with a hint about how to fix it.
    		var username string
    		if u, err := user.Current(); err == nil {
    			username = u.Username
    		} else {
    			username = "<your-username>"
    		}
    		var hint string
    		if endpoint.URL != nil {
    			hint = fmt.Sprintf("Run the following command to add write permissions: `sudo chown -R %s %s && sudo chmod u+rxw %s`",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    func getListBucketURL(endPoint string) string {
    	return makeTestTargetURL(endPoint, "", "", url.Values{})
    }
    
    // return URL for HEAD on the bucket.
    func getHEADBucketURL(endPoint, bucketName string) string {
    	return makeTestTargetURL(endPoint, bucketName, "", url.Values{})
    }
    
    // return URL for deleting the bucket.
    func getDeleteBucketURL(endPoint, bucketName string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top