- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 698 for structs (0.06 sec)
-
schema/relationship_test.go
}) } func TestEmbeddedBelongsTo(t *testing.T) { type Country struct { ID int `gorm:"primaryKey"` Name string } type Address struct { CountryID int Country Country } type NestedAddress struct { Address } type CountryMixin struct { CountryID int Country Country } type Org struct { ID int
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 26.5K bytes - Viewed (0) -
cmd/admin-handlers.go
disks := strings.Split(r.Form.Get("disks"), ",") byDisk := strings.EqualFold(r.Form.Get("by-disk"), "true") var diskMap map[string]struct{} if len(disks) > 0 && disks[0] != "" { diskMap = make(map[string]struct{}, len(disks)) for _, k := range disks { if k != "" { diskMap[k] = struct{}{} } } } jobID := r.Form.Get("by-jobID") hosts := strings.Split(r.Form.Get("hosts"), ",")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
cmd/metacache-set.go
// from a single drive, shuffling of the drives is subsequently. disks = newDisks askDisks = 1 } else { // If we did not find suitable disks, perform strict quorum listing // as no disk agrees on quorum anymore. askDisks = getListQuorum("strict", er.setDriveCount) } } var fallbackDisks []StorageAPI // Special case: ask all disks if the drive count is 4Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.7K bytes - Viewed (0) -
utils/utils_test.go
if fields := strings.FieldsFunc(db, IsValidDBNameChar); len(fields) != 1 { t.Fatalf("failed to parse db name %v", db) } } } func TestCheckTruth(t *testing.T) { checkTruthTests := []struct { v string out bool }{ {"123", true}, {"true", true}, {"", false}, {"false", false}, {"False", false}, {"FALSE", false}, {"\u0046alse", false}, }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, Jf uint8 pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, Jt uint8 pkg syscall (netbsd-arm64-cgo), type BpfInsn struct, K uint32 pkg syscall (netbsd-arm64-cgo), type BpfProgram struct pkg syscall (netbsd-arm64-cgo), type BpfProgram struct, Insns *BpfInsn pkg syscall (netbsd-arm64-cgo), type BpfProgram struct, Len uint32
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0) -
api/go1.20.txt
pkg runtime/cgo (linux-arm-cgo), type Incomplete struct #46731 pkg runtime/cgo (netbsd-386-cgo), type Incomplete struct #46731 pkg runtime/cgo (netbsd-amd64-cgo), type Incomplete struct #46731 pkg runtime/cgo (netbsd-arm64-cgo), type Incomplete struct #46731 pkg runtime/cgo (netbsd-arm-cgo), type Incomplete struct #46731 pkg runtime/cgo (openbsd-386-cgo), type Incomplete struct #46731
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 17 21:23:32 UTC 2023 - 602.6K bytes - Viewed (0) -
tests/serializer_test.go
package tests_test import ( "bytes" "context" "fmt" "reflect" "strings" "testing" "time" "gorm.io/gorm" "gorm.io/gorm/schema" . "gorm.io/gorm/utils/tests" ) type SerializerStruct struct { gorm.Model Name []byte `gorm:"json"` Roles Roles `gorm:"serializer:json"` Roles2 *Roles `gorm:"serializer:json"`
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
api/go1.21.txt
pkg crypto/tls, type QUICEvent struct #44886 pkg crypto/tls, type QUICEvent struct, Data []uint8 #44886 pkg crypto/tls, type QUICEvent struct, Kind QUICEventKind #44886 pkg crypto/tls, type QUICEvent struct, Level QUICEncryptionLevel #44886 pkg crypto/tls, type QUICEvent struct, Suite uint16 #44886 pkg crypto/tls, type SessionState struct #60105 pkg crypto/tls, type SessionState struct, EarlyData bool #60107
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0) -
cmd/config-versions.go
"github.com/minio/pkg/v3/quick" ) // FileLogger is introduced to workaround the dependency about logrus type FileLogger struct { Enable bool `json:"enable"` Filename string `json:"filename"` } // ConsoleLogger is introduced to workaround the dependency about logrus type ConsoleLogger struct { Enable bool `json:"enable"` }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/api-datatypes.go
} return e.EncodeElement(t.Format(time.RFC3339), startElement) } // ObjectV object version key/versionId type ObjectV struct { ObjectName string `xml:"Key"` VersionID string `xml:"VersionId"` } // ObjectToDelete carries key name for the object to delete. type ObjectToDelete struct { ObjectV // Replication status of DeleteMarker DeleteMarkerReplicationStatus string `xml:"DeleteMarkerReplicationStatus"`
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 3K bytes - Viewed (0)