- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,315 for range (0.04 sec)
-
internal/bucket/lifecycle/lifecycle.go
func (lc Lifecycle) HasTransition() bool { for _, rule := range lc.Rules { if rule.Transition.IsEnabled() { return true } } return false } // HasExpiry returns 'true' if lifecycle document has Expiry enabled. func (lc Lifecycle) HasExpiry() bool { for _, rule := range lc.Rules { if !rule.Expiration.IsNull() || !rule.NoncurrentVersionExpiration.IsNull() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
cmd/metacache-bucket.go
}) // Keep first metacacheMaxEntries... for _, cache := range remainCaches[metacacheMaxEntries:] { if time.Since(cache.lastHandout) > metacacheMaxClientWait { remove[cache.id] = struct{}{} } } } } for id := range remove { b.deleteCache(id) } } // updateCacheEntry will update a cache. // Returns the updated status.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.6K bytes - Viewed (0) -
callbacks.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arch.go
} instructions := make(map[string]obj.As) for i, s := range obj.Anames { instructions[s] = obj.As(i) } for i, s := range ppc64.Anames { if obj.As(i) >= obj.A_ARCHSPECIFIC { instructions[s] = obj.As(i) + obj.ABasePPC64 } } // The opcodes generated by x/arch's ppc64map are listed in // a separate slice, add them too. for i, s := range ppc64.GenAnames { instructions[s] = obj.As(i) + ppc64.AFIRSTGEN
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 24 12:32:56 UTC 2024 - 21.5K bytes - Viewed (0) -
migrator/migrator.go
} var ( parseIndexes = stmt.Schema.ParseIndexes() parseCheckConstraints = stmt.Schema.ParseCheckConstraints() ) for _, dbName := range stmt.Schema.DBNames { var foundColumn gorm.ColumnType for _, columnType := range columnTypes { if columnType.Name() == dbName { foundColumn = columnType break } } if foundColumn == nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
for za0004 := range z.PartNumbers { o = msgp.AppendInt(o, z.PartNumbers[za0004]) } // string "PartETags" o = append(o, 0xa9, 0x50, 0x61, 0x72, 0x74, 0x45, 0x54, 0x61, 0x67, 0x73) if z.PartETags == nil { // allownil: if nil o = msgp.AppendNil(o) } else { o = msgp.AppendArrayHeader(o, uint32(len(z.PartETags))) for za0005 := range z.PartETags {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
tests/update_many2many_test.go
for _, lang := range user.Languages { DB.Create(&lang) } user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User DB.Preload("Languages").Preload("Friends").Find(&user2, "id = ?", user.ID) CheckUser(t, user2, user) for idx := range user.Friends {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.3K bytes - Viewed (0) -
cmd/net.go
ifs, err := net.Interfaces() logger.FatalIf(err, "Unable to get IP addresses of this host") for _, interf := range ifs { addrs, err := interf.Addrs() if err != nil { continue } if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 { continue } for _, addr := range addrs { var ip net.IP switch v := addr.(type) { case *net.IPNet: ip = v.IP case *net.IPAddr:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
o = msgp.AppendArrayHeader(o, uint32(len(z.QueuedBuckets))) for za0001 := range z.QueuedBuckets { o = msgp.AppendString(o, z.QueuedBuckets[za0001]) } // string "dbkts" o = append(o, 0xa5, 0x64, 0x62, 0x6b, 0x74, 0x73) o = msgp.AppendArrayHeader(o, uint32(len(z.DecommissionedBuckets))) for za0002 := range z.DecommissionedBuckets { o = msgp.AppendString(o, z.DecommissionedBuckets[za0002]) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 04 21:02:54 UTC 2022 - 26.7K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
wantOk bool } var tests []test for i := range valueBuilders { a := valueBuilders[i]() for j := range valueBuilders { b := valueBuilders[j]() tests = append(tests, test{ name: fmt.Sprint(a.GetTypeString(), "==", b.GetTypeString()), fields: fields{ a: *a, b: *b, }, wantOk: i == j, }) } } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0)