- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 1,053 for struct_ (0.12 seconds)
-
cmd/post-policy_test.go
if err != nil { // Failed to create newbucket, abort. t.Fatalf("%s : %s", instanceType, err.Error()) } // Test cases for signature-V2. testCasesV2 := []struct { expectedStatus int secretKey string formData map[string]string }{ {http.StatusForbidden, credentials.SecretKey, map[string]string{"AWSAccessKeyId": "invalidaccesskey"}},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
cmd/xl-storage-meta-inline.go
newVals := make([][]byte, 0, sz) var removeKey func(s []byte) bool // Copy if big number of compares... if len(keys) > 5 && sz > 5 { mKeys := make(map[string]struct{}, len(keys)) for _, key := range keys { mKeys[key] = struct{}{} } removeKey = func(s []byte) bool { _, ok := mKeys[string(s)] return ok } } else { removeKey = func(s []byte) bool {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 9.4K bytes - Click Count (0) -
cmd/warm-backend-minio.go
"errors" "fmt" "io" "math" "net/url" "strings" "github.com/minio/madmin-go/v3" minio "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) type warmBackendMinIO struct { warmBackendS3 } var _ WarmBackend = (*warmBackendMinIO)(nil) const ( maxMultipartPutObjectSize = 1024 * 1024 * 1024 * 1024 * 5 maxPartsCount = 10000
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4K bytes - Click Count (1) -
internal/bucket/replication/destination.go
// DestinationARNMinIOPrefix - destination ARN prefix for MinIO. const DestinationARNMinIOPrefix = "arn:minio:replication:" // Destination - destination in ReplicationConfiguration. type Destination struct { XMLName xml.Name `xml:"Destination" json:"Destination"` Bucket string `xml:"Bucket" json:"Bucket"` StorageClass string `xml:"StorageClass" json:"StorageClass"` ARN stringCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4K bytes - Click Count (0) -
internal/bucket/replication/rule_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package replication import ( "bytes" "fmt" "testing" ) func TestMetadataReplicate(t *testing.T) { testCases := []struct { inputConfig string opts ObjectOpts expectedResult bool }{ // case 1 - rule with replica modification enabled; not a replica {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.6K bytes - Click Count (0) -
cmd/namespace-lock_test.go
nsLk := newNSLock(false) // lk1; ref=1 if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) { t.Fatal("failed to acquire lock") } // lk2 lk2ch := make(chan struct{}) go func() { defer close(lk2ch) nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 1*time.Millisecond) }() time.Sleep(1 * time.Millisecond) // wait for goroutine to advance; ref=2
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3K bytes - Click Count (0) -
internal/arn/arn.go
const ( arnPrefixArn = "arn" arnPartitionMinio = "minio" arnServiceIAM = "iam" arnResourceTypeRole = "role" ) // ARN - representation of resources based on AWS ARNs. type ARN struct { Partition string Service string Region string ResourceType string ResourceID string } // Allows english letters, numbers, '.', '-', '_' and '/'. Starts with a
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.5K bytes - Click Count (0) -
internal/config/crypto_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/bucket/replication/replication_test.go
package replication import ( "bytes" "fmt" "testing" ) func TestParseAndValidateReplicationConfig(t *testing.T) { testCases := []struct { inputConfig string expectedParsingErr error expectedValidationErr error destBucket string sameTarget bool }{ { // 1 Invalid delete marker status in replication config
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.4K bytes - Click Count (0) -
cmd/iam-store.go
return nil } *d = doc return nil } // key options type options struct { ttl int64 // expiry in seconds } type iamWatchEvent struct { isCreated bool // !isCreated implies a delete event. keyPath string } // iamCache contains in-memory cache of IAM data. type iamCache struct { updatedAt time.Time // map of policy names to policy definitionsCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 87.1K bytes - Click Count (0)