- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 244 for Slice3 (0.05 sec)
-
schema/field.go
if field.HasDefaultValue && !skipParseDefaultValue && field.DataType == Time { if t, err := now.Parse(field.DefaultValue); err == nil { field.DefaultValueInterface = t } } case reflect.Array, reflect.Slice: if reflect.Indirect(fieldValue).Type().Elem() == ByteReflectType && field.DataType == "" { field.DataType = Bytes } } if dataTyper, ok := fieldValue.Interface().(GormDataTypeInterface); ok {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 32K bytes - Viewed (0) -
src/archive/tar/writer_test.go
// license that can be found in the LICENSE file. package tar import ( "bytes" "encoding/hex" "errors" "io" "io/fs" "maps" "os" "path" "slices" "sort" "strings" "testing" "testing/fstest" "testing/iotest" "time" ) func bytediff(a, b []byte) string { const ( uniqueA = "- " uniqueB = "+ " identity = " " )
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 39.8K bytes - Viewed (0) -
src/archive/tar/reader_test.go
// license that can be found in the LICENSE file. package tar import ( "bytes" "compress/bzip2" "errors" "fmt" "hash/crc32" "io" "maps" "math" "os" "path" "reflect" "slices" "strconv" "strings" "testing" "time" ) func TestReader(t *testing.T) { vectors := []struct { file string // Test input file headers []*Header // Expected output headers
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Неактивный пользователь Теперь попробуйте пройти аутентификацию с неактивным пользователем: Пользователь: `alice` Пароль: `secret2` И попробуйте использовать операцию `GET` с путем `/users/me`. Вы получите ошибку "Inactive user", как тут: ```JSON { "detail": "Inactive user" } ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 10:53:40 UTC 2024 - 16.4K bytes - Viewed (0) -
src/archive/tar/writer.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar import ( "errors" "fmt" "io" "io/fs" "maps" "path" "slices" "strings" "time" ) // Writer provides sequential writing of a tar archive. // [Writer.WriteHeader] begins a new file with the provided [Header],
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
api/go1.2.txt
pkg flag, type Getter interface, Set(string) error pkg flag, type Getter interface, String() string pkg flag, var CommandLine *FlagSet pkg go/ast, type SliceExpr struct, Max Expr pkg go/ast, type SliceExpr struct, Slice3 bool pkg go/ast, type TypeAssertExpr struct, Lparen token.Pos pkg go/ast, type TypeAssertExpr struct, Rparen token.Pos pkg go/build, method (*Context) MatchFile(string, string) (bool, error)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (1) -
cmd/erasure-metadata.go
fi.Parts[i] = partInfo return } } // Proceed to include new part info. fi.Parts = append(fi.Parts, partInfo) // Parts in FileInfo should be in sorted order by part number. sort.Slice(fi.Parts, func(i, j int) bool { return fi.Parts[i].Number < fi.Parts[j].Number }) } // ObjectToPartOffset - translate offset of an object to offset of its individual part.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.3K bytes - Viewed (0) -
schema/relationship.go
schema.guessRelation(relation, field, guessBelongs) } else { switch field.IndirectFieldType.Kind() { case reflect.Struct: schema.guessRelation(relation, field, guessGuess) case reflect.Slice: schema.guessRelation(relation, field, guessHas) default: schema.err = fmt.Errorf("unsupported data type %v for %v on field %s", relation.FieldSchema, schema, field.Name) } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 23.1K bytes - Viewed (1) -
api/go1.5.txt
pkg go/types, method (*Signature) String() string pkg go/types, method (*Signature) Underlying() Type pkg go/types, method (*Signature) Variadic() bool pkg go/types, method (*Slice) Elem() Type pkg go/types, method (*Slice) String() string pkg go/types, method (*Slice) Underlying() Type pkg go/types, method (*StdSizes) Alignof(Type) int64 pkg go/types, method (*StdSizes) Offsetsof([]*Var) []int64 pkg go/types, method (*StdSizes) Sizeof(Type) int64
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
tests/generics_test.go
} else if len(users2) != len(users) { t.Fatalf("Failed to load join users, got: %v, expect: %v", len(users2), len(users)) } sort.Slice(users2, func(i, j int) bool { return users2[i].ID > users2[j].ID }) sort.Slice(users, func(i, j int) bool { return users[i].ID > users[j].ID }) for idx, user := range users { // user CheckUser(t, user, users2[idx])
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0)