- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for 123_ (0.14 sec)
-
cmd/server_test.go
1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, 1234567890,1234567890,1234567890,1234567890,1234567890,123"` // Create 10MiB content where each line contains 1024 characters. for i := 0; i < 10*1024; i++ { buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line)) } putContent := buffer.String()
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
cmd/sts-handlers_test.go
] } ] }`) err = s.adm.AddCannedPolicy(ctx, policy, policyBytes) if err != nil { c.Fatalf("policy add error: %v", err) } if err = s.adm.AddUser(ctx, "dillon", "dillon-123"); err != nil { c.Fatalf("policy add error: %v", err) } err = s.adm.SetPolicy(ctx, policy, "dillon", false) if err != nil { c.Fatalf("Unable to set policy: %v", err) }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 18 19:09:19 GMT 2024 - 84.7K bytes - Viewed (0) -
internal/rest/client_test.go
target interface{} want bool }{ { name: "url.Error", err: &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")}, target: &url.Error{}, want: true, }, { name: "net.Error", err: &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")}, want: true, }, { name: "net.Error-unmatched",
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Nov 16 17:28:29 GMT 2021 - 1.9K bytes - Viewed (0) -
internal/config/storageclass/storage-class_test.go
func TestIsValidStorageClassKind(t *testing.T) { tests := []struct { sc string want bool }{ {"STANDARD", true}, {"REDUCED_REDUNDANCY", true}, {"", false}, {"INVALID", false}, {"123", false}, {"MINIO_STORAGE_CLASS_RRS", false}, {"MINIO_STORAGE_CLASS_STANDARD", false}, } for i, tt := range tests { if got := IsValid(tt.sc); got != tt.want {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Viewed (0) -
cmd/endpoint_test.go
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Jan 13 07:53:03 GMT 2024 - 18.9K bytes - Viewed (1) -
internal/dsync/drwmutex_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync import ( "context" "fmt" "runtime" "sync/atomic" "testing" "time" ) const ( id = "1234-5678" source = "main.go" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { drwm1 := NewDRWMutex(ds, "simplelock") ctx1, cancel1 := context.WithCancel(context.Background())
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Dec 24 03:49:07 GMT 2022 - 9.7K bytes - Viewed (0) -
cmd/object-api-utils_test.go
// cases which should pass the test. // passing in valid bucket names. {"lol", true}, {"1-this-is-valid", true}, {"1-this-too-is-valid-1", true}, {"this.works.too.1", true}, {"1234567", true}, {"123", true}, {"s3-eu-west-1.amazonaws.com", true}, {"ideas-are-more-powerful-than-guns", true}, {"testbucket", true}, {"1bucket", true}, {"bucket1", true}, {"a.b", true}, {"ab.a.bc", true},
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 23.4K bytes - Viewed (0) -
cmd/xl-storage_test.go
}{ // Cases which should pass the test. // passing in valid bucket names. {"lol", true}, {"1-this-is-valid", true}, {"1-this-too-is-valid-1", true}, {"this.works.too.1", true}, {"1234567", true}, {"123", true}, {"s3-eu-west-1.amazonaws.com", true}, {"ideas-are-more-powerful-than-guns", true}, {"testbucket", true}, {"1bucket", true}, {"bucket1", true}, {"$this-is-not-valid-too", true},
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 11 17:45:28 GMT 2024 - 66.7K bytes - Viewed (0) -
buildscripts/verify-healing-with-root-disks.sh
echo -n "." sleep 1 done done } # Prepare fake disks with losetup function prepare_block_devices() { set -e mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/ sudo modprobe loop for i in 1 2 3 4; do dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000 device=$(sudo losetup --find --show ${WORK_DIR}/disks/img.${i}) sudo mkfs.ext4 -F ${device} mkdir -p ${WORK_DIR}/mnt/disk${i}/
Shell Script - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri May 26 05:07:25 GMT 2023 - 2.2K bytes - Viewed (0) -
cmd/handler-utils_test.go
}, metadata: map[string]string{ "content-type": "image/png", }, shouldFail: false, }, // Validate if there are no keys to extract. { header: http.Header{ "Test-1": []string{"123"}, }, metadata: map[string]string{}, shouldFail: false, }, // Validate that there are all headers extracted { header: http.Header{ "X-Amz-Meta-Appid": []string{"amz-meta"},
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 6.1K bytes - Viewed (0)