- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,055 for Range (0.03 seconds)
-
cmd/erasure-object_test.go
// remove and check the version in the first pool for testIdx, vid := range []string{versions[1], versions[0]} { names := []ObjectToDelete{ { ObjectV: ObjectV{ ObjectName: objectName, VersionID: vid, }, }, } _, delErrs := obj.DeleteObjects(ctx, bucketName, names, ObjectOptions{ Versioned: true, }) for i := range delErrs { if delErrs[i] != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.3K bytes - Click Count (0) -
cmd/peer-s3-server.go
return nil, err } } healBuckets.Range(func(_ string, volInfo VolInfo) bool { bi := BucketInfo{ Name: volInfo.Name, Created: volInfo.Created, } if vi, ok := deletedBuckets.Load(volInfo.Name); ok { bi.Deleted = vi.Created } buckets = append(buckets, bi) return true }) deletedBuckets.Range(func(_ string, v VolInfo) bool {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
internal/event/rules_test.go
{"images/*", "jpg", "images/*jpg"}, {"images/", "*jpg", "images/*jpg"}, {"images/*", "*jpg", "images/*jpg"}, {"201*/images/", "jpg", "201*/images/*jpg"}, } for i, testCase := range testCases { result := NewPattern(testCase.prefix, testCase.suffix) if result != testCase.expectedResult { t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result) } } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 8.8K bytes - Click Count (0) -
internal/event/config_test.go
{config3, "", []ARN{{TargetID{"1", "webhook"}, ""}, {TargetID{"2", "amqp"}, ""}}}, } for i, testCase := range testCases { testCase.config.SetRegion(testCase.region) result := []ARN{} for _, queue := range testCase.config.QueueList { result = append(result, queue.ARN) } if !reflect.DeepEqual(result, testCase.expectedResult) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 28.9K bytes - Click Count (0) -
cmd/erasure-metadata-utils.go
for _, versions := range diskVersions { if len(versions) > 0 { diskVersionsCount[binary.BigEndian.Uint64(versions)]++ } } var commonVersions uint64 maxCnt := 0 for versions, count := range diskVersionsCount { if maxCnt < count { maxCnt = count commonVersions = versions } } if maxCnt >= writeQuorum { for _, versions := range diskVersions {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
import static java.util.concurrent.TimeUnit.MILLISECONDS; import static org.junit.Assert.assertThrows; import com.google.common.base.Stopwatch; import com.google.common.collect.Range; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 9.7K bytes - Click Count (0) -
association.go
for _, ref := range association.Relationship.References { if !ref.OwnPrimaryKey && ref.PrimaryValue == "" { association.Error = ref.ForeignKey.Set(association.DB.Statement.Context, reflectValue, reflect.Zero(ref.ForeignKey.FieldType).Interface()) } } } } for idx, value := range values { rv := reflect.Indirect(reflect.ValueOf(value))Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0) -
cmd/bootstrap-peer-server.go
} for i, cmdLine := range s1.CmdLines { if cmdLine != s2.CmdLines[i] { return fmt.Errorf("Expected command line argument %s, seen %s", cmdLine, s2.CmdLines[i]) } } if reflect.DeepEqual(s1.MinioEnv, s2.MinioEnv) { return nil } // Report differences in environment variables. var missing []string var mismatching []string for k, v := range s1.MinioEnv { ev, ok := s2.MinioEnv[k]Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Oct 01 22:13:18 GMT 2024 - 8.4K bytes - Click Count (0) -
internal/bucket/lifecycle/evaluator_test.go
"testing" "time" "github.com/google/uuid" ) func TestNewerNoncurrentVersions(t *testing.T) { prepLifecycleCfg := func(tagKeys []string, retainVersions []int) Lifecycle { var lc Lifecycle for i := range retainVersions { ruleID := fmt.Sprintf("rule-%d", i) tag := Tag{ Key: tagKeys[i], Value: "minio", } lc.Rules = append(lc.Rules, Rule{ ID: ruleID, Status: "Enabled",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 5K bytes - Click Count (0) -
cmd/batch-handlers.go
} tagMap = t.ToMap() } for _, kv := range r.Flags.Filter.Tags { for t, v := range tagMap { if kv.Match(BatchJobKV{Key: t, Value: v}) { return true } } } // None of the provided tags filter match skip the object return false } for _, kv := range r.Flags.Filter.Metadata { for k, v := range oi.UserDefined {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1)