- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,002 for Struct (0.04 sec)
-
cmd/object-api-options_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 2.4K bytes - Viewed (0) -
internal/store/batch.go
const defaultCommitTimeout = 30 * time.Second // Batch represents an ordered batch type Batch[I any] struct { items []I limit uint32 store Store[I] quitCh chan struct{} sync.Mutex } // BatchConfig represents the batch config type BatchConfig[I any] struct { Limit uint32 Store Store[I] CommitTimeout time.Duration Log logger }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
internal/arn/arn_test.go
if got := tt.arn.String(); got != tt.want { t.Errorf("ARN.String() = %v, want %v", got, tt.want) } }) } } func TestNewIAMRoleARN(t *testing.T) { type args struct { resourceID string serverRegion string } tests := []struct { name string args args want ARN wantErr bool }{ { name: "valid resource ID must succeed", args: args{ resourceID: "my-role",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (0) -
internal/disk/disk.go
package disk // Info stat fs struct is container which holds following values // Total - total size of the volume / disk // Free - free size of the volume / disk // Files - total inodes available // Ffree - free inodes available // FSType - file system type // Major - major dev id // Minor - minor dev id // Devname - device name type Info struct { Total uint64 Free uint64 Used uint64Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
utils/utils_test.go
if fields := strings.FieldsFunc(db, IsInvalidDBNameChar); 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 Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 4.9K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
}, func() *Value { return FromTimestamp(time.Time{}) }, func() *Value { return FromString("") }, } func TestValue_SameTypeAs(t *testing.T) { type fields struct { a, b Value } type test struct { name string fields fields wantOk bool } var tests []test for i := range valueBuilders { a := valueBuilders[i]() for j := range valueBuilders {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
internal/config/lambda/event/targetidset_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "reflect" "testing" ) func TestTargetIDSetClone(t *testing.T) { testCases := []struct { set TargetIDSet targetIDToAdd TargetID }{ {NewTargetIDSet(), TargetID{"1", "webhook"}}, {NewTargetIDSet(TargetID{"1", "webhook"}), TargetID{"2", "webhook"}},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 3.9K bytes - Viewed (0) -
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 Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 26.5K bytes - Viewed (0) -
cmd/net_test.go
package cmd import ( "errors" "fmt" "reflect" "testing" "github.com/minio/minio-go/v7/pkg/set" ) func TestMustSplitHostPort(t *testing.T) { testCases := []struct { hostPort string expectedHost string expectedPort string }{ {":54321", "", "54321"}, {"server:54321", "server", "54321"}, {":0", "", "0"}, {"server:https", "server", "443"},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.2K 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.5K bytes - Viewed (0)