- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fuint (0.06 sec)
-
tests/migrate_test.go
} } func TestMigrateIgnoreRelations(t *testing.T) { type RelationModel1 struct { ID uint } type RelationModel2 struct { ID uint } type RelationModel3 struct { ID uint RelationModel1ID uint RelationModel1 *RelationModel1 RelationModel2ID uint RelationModel2 *RelationModel2 `gorm:"-:migration"` } var err error
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
tests/query_test.go
switch name { case "Name": if _, ok := first[dbName].(string); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Age": if _, ok := first[dbName].(uint); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Birthday": if _, ok := first[dbName].(*time.Time); !ok {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 50.4K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
t.Align = 1 case *dwarf.UintType: if dt.BitSize > 0 { fatalf("%s: unexpected: %d-bit uint type - %s", lineno(pos), dt.BitSize, dtype) } if t.Align = t.Size; t.Align >= c.ptrSize { t.Align = c.ptrSize } switch t.Size { default: fatalf("%s: unexpected: %d-byte uint type - %s", lineno(pos), t.Size, dtype) case 1: t.Go = c.uint8 case 2: t.Go = c.uint16
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
src/bytes/bytes_test.go
} } } const maxInt = int(^uint(0) >> 1) runTestCases("", []testCase{ 0: {"--", -2147483647, "negative"}, 1: {"", maxInt, ""}, 2: {"-", 10, ""}, 3: {"gopher", 0, ""}, 4: {"-", -1, "negative"}, 5: {"--", -102, "negative"}, 6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"}, }) const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0)