- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,451 for orange (0.04 seconds)
-
internal/store/queuestore_test.go
if err != nil { t.Fatal("Failed to create a queue store ", err) } // Put 10 items for range 10 { if _, err := store.Put(testItem); err != nil { t.Fatal("Failed to put to queue store ", err) } } itemKeys := store.List() // Get 10 items. if len(itemKeys) == 10 { for _, key := range itemKeys { item, eErr := store.Get(key) if eErr != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 13 12:17:37 GMT 2025 - 21.7K bytes - Click Count (0) -
docs/debugging/reorder-disks/main.go
if err != nil { return nil, err } exp := argP.Expand() if node == "" { for index, e := range exp { result = append(result, localDisk{index: index, path: strings.Join(e, "")}) } } else { for index, e := range exp { u, err := url.Parse(strings.Join(e, "")) if err != nil { return nil, err } if strings.Contains(u.Host, node) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.4K bytes - Click Count (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 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:31:09 GMT 2025 - 29.7K bytes - Click Count (0) -
internal/event/rules.go
func (rules Rules) MatchSimple(objectName string) bool { for pattern := range rules { if wildcard.MatchSimple(pattern, objectName) { return true } } return false } // Match - returns TargetIDSet matching object name in rules. func (rules Rules) Match(objectName string) TargetIDSet { targetIDs := NewTargetIDSet() for pattern, targetIDSet := range rules { if wildcard.MatchSimple(pattern, objectName) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 2.7K bytes - Click Count (0) -
internal/event/config.go
return err } // Empty queue list means user wants to delete the notification configuration. if len(parsedConfig.QueueList) > 0 { for i, q1 := range parsedConfig.QueueList[:len(parsedConfig.QueueList)-1] { for _, q2 := range parsedConfig.QueueList[i+1:] { // Removes the region from ARN if server region is not set if q2.ARN.region != "" && q1.ARN.region == "" { q2.ARN.region = "" }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
src/bytes/bytes.go
panic("bytes: Join output length overflow") } n += len(sep) * (len(s) - 1) } for _, v := range s { if len(v) > maxInt-n { panic("bytes: Join output length overflow") } n += len(v) } b := bytealg.MakeNoZero(n)[:n:n] bp := copy(b, s[0]) for _, v := range s[1:] { bp += copy(b[bp:], sep) bp += copy(b[bp:], v) } return b }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 16:42:15 GMT 2025 - 35.5K bytes - Click Count (0) -
callbacks/create.go
if !db.Statement.Unscoped { for _, c := range db.Statement.Schema.CreateClauses { db.Statement.AddClause(c) } } if supportReturning && len(db.Statement.Schema.FieldsWithDefaultDBValue) > 0 { if _, ok := db.Statement.Clauses["RETURNING"]; !ok { fromColumns := make([]clause.Column, 0, len(db.Statement.Schema.FieldsWithDefaultDBValue)) for _, field := range db.Statement.Schema.FieldsWithDefaultDBValue {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13K bytes - Click Count (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) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.4K bytes - Click Count (0) -
cmd/erasure-object.go
for i, err := range errs { if err == nil { continue } for _, v := range dedupVersions[i].Versions { delObjErrs[index][v.Idx] = err } } }(index, disk) } wg.Wait() // Reduce errors for each object for objIndex := range objects { diskErrs := make([]error, len(storageDisks)) // Iterate over disks to fetch the errorCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0)