- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,349 for Struct (0.07 sec)
-
tests/preload_test.go
func TestNestedPreloadWithNestedJoin(t *testing.T) { type ( Preload struct { ID uint Value string NestedID uint } Join struct { ID uint Value string NestedID uint } Nested struct { ID uint Preloads []*Preload Join Join ValueID uint } Value struct { ID uint Name string Nested Nested } )
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
clause/clause.go
var ( currentTable = Table{Name: CurrentTable} PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey} ) // Column quote with name type Column struct { Table string Name string Alias string Raw bool } // Table quote with name type Table struct { Name string Alias string Raw bool
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Feb 02 09:15:08 UTC 2023 - 1.7K 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 Nov 03 19:28:11 UTC 2024 - 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 uint64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
return err } return nil } type getAllLogLevelsState struct { client *ControlzClient outputFormat string } func (ga *getAllLogLevelsState) run(out io.Writer) error { type scopeLogLevel struct { ScopeName string `json:"scope_name"` LogLevel string `json:"log_level"` Description string `json:"description"` } allScopes, err := ga.client.GetScopes()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
typedef struct TFE_MonitoringBoolGaugeCell TFE_MonitoringBoolGaugeCell; TF_CAPI_EXPORT extern void TFE_MonitoringBoolGaugeCellSet( TFE_MonitoringBoolGaugeCell* cell, bool value); TF_CAPI_EXPORT extern bool TFE_MonitoringBoolGaugeCellValue( TFE_MonitoringBoolGaugeCell* cell); // APIs for Bool Gauge without label. typedef struct TFE_MonitoringBoolGauge0 TFE_MonitoringBoolGauge0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
"slices" "strconv" "testing" "time" "github.com/dustin/go-humanize" ) const ActualSize = 1000 // Test FileInfo.AddObjectPart() func TestAddObjectPart(t *testing.T) { testCases := []struct { partNum int expectedIndex int }{ {1, 0}, {2, 1}, {4, 2}, {5, 3}, {7, 4}, // Insert part. {3, 2}, // Replace existing part. {4, 3}, // Missing part.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:02:50 UTC 2024 - 13.5K bytes - Viewed (0)