- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 2,259 for Condition (0.04 seconds)
-
tests/query_test.go
t.Fatalf("Build NOT condition, but got %v", result.Statement.SQL.String()) } result = dryDB.Where("name = ?", "jinzhu1").Not("name = ?", "jinzhu2").Find(&User{}) if !regexp.MustCompile("SELECT \\* FROM .*users.* WHERE .*name.* = .+ AND NOT.*name.* = .+").MatchString(result.Statement.SQL.String()) { t.Fatalf("Build NOT condition, but got %v", result.Statement.SQL.String()) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
cmd/postpolicyform.go
if startsWithSupported, condFound := startsWithConds[policy.Key]; condFound { // Check if the current condition supports starts-with operator if op == policyCondStartsWith && !startsWithSupported { return fmt.Errorf("Invalid according to Policy: Policy Condition failed") } // Check if current policy condition is satisfied if !checkPolicyCond(op, formValues.Get(formCanonicalName), policy.Value) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/policy_test.go
policy.NewResourceSet(policy.NewResource("mybucket")), condition.NewFunctions(), ), policy.NewBPStatement("", policy.Allow, policy.NewPrincipal("*"), policy.NewActionSet(policy.PutObjectAction), policy.NewResourceSet(policy.NewResource("mybucket/myobject*")), condition.NewFunctions(), ), }, } anonGetBucketLocationArgs := policy.BucketPolicyArgs{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 8.9K bytes - Click Count (0) -
cmd/http-tracer_test.go
} } } // TestHTTPStatsRaceCondition tests the race condition fix for HTTPStats. // This test specifically addresses the race between: // - Write operations via updateStats. // - Read operations via toServerHTTPStats(false). func TestRaulStatsRaceCondition(t *testing.T) { httpStats := newHTTPStats() // Simulate the concurrent scenario from the original race condition: // Multiple HTTP request handlers updating stats concurrently,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/post-policy_test.go
// Add the bucket condition, only accept buckets equal to the one passed. bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName) // Add the key condition, only accept keys equal to the one passed. keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey) // Add content length condition, only accept content sizes of a given length.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
internal/s3select/sql/statement.go
selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand != nil && selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left != nil && selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left != nil && selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left.Primary != nil &&
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9K bytes - Click Count (0) -
docs/multi-user/README.md
- `aws:SourceIp` - This is the requester's IP address, for use with IP address conditions. If running behind Nginx like proxies, MinIO preserve's the source IP. ``` { "Version": "2012-10-17", "Statement": { "Effect": "Allow", "Action": "s3:ListBucket*", "Resource": "arn:aws:s3:::mybucket", "Condition": {"IpAddress": {"aws:SourceIp": "203.0.113.0/24"}} } } ```
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.2K bytes - Click Count (0) -
internal/s3select/sql/evaluate.go
} func (e *AndCondition) evalNode(r Record, tableAlias string) (*Value, error) { if len(e.Condition) == 1 { // In this case, result does not have to be boolean return e.Condition[0].evalNode(r, tableAlias) } // Compute AND of conditions result := true for _, ex := range e.Condition { res, err := ex.evalNode(r, tableAlias) if err != nil { return nil, err } b, ok := res.ToBool()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/arm64error.s
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 14 19:00:00 GMT 2025 - 38.4K bytes - Click Count (0) -
docs/iam/policies/deny-objects-with-invalid-sse-kms-key-id.json
"Statement":[{ "Sid":"DenyObjectsWithInvalidSSEKMS", "Effect":"Deny", "Principal":"*", "Action":"s3:PutObject", "Resource":"arn:aws:s3:::multi-key-poc/*", "Condition":{ "StringNotEquals":{ "s3:x-amz-server-side-encryption-aws-kms-key-id":"minio-default-key" } } } ]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 14 15:43:07 GMT 2024 - 439 bytes - Click Count (0)