- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 273 for Id (0.1 sec)
-
tests/embedded_struct_test.go
. "gorm.io/gorm/utils/tests" ) func TestEmbeddedStruct(t *testing.T) { type ReadOnly struct { ReadOnly *bool } type BasePost struct { Id int64 Title string URL string ReadOnly } type Author struct { ID string Name string Email string } type HNPost struct { BasePost Author `gorm:"EmbeddedPrefix:user_"` // Embedded struct Upvotes int32 }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/bootstrap/config_test.go
os.Chdir(tempDir) os.MkdirAll("./etc/istio/pod/", os.ModePerm) os.WriteFile(constants.PodInfoLabelsPath, []byte(`istio-locality="region.zone.subzone"`), 0o600) node, err := GetNodeMetaData(MetadataOptions{ ID: "test", Envs: os.Environ(), ExitOnZeroActiveConnections: true, }) g := NewWithT(t) g.Expect(err).Should(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/metacache.go
m.fileNotFound = m.fileNotFound || update.fileNotFound } // delete all cache data on disks. func (m *metacache) delete(ctx context.Context) { if m.bucket == "" || m.id == "" { bugLogIf(ctx, fmt.Errorf("metacache.delete: bucket (%s) or id (%s) empty", m.bucket, m.id)) return } objAPI := newObjectLayerFn() if objAPI == nil { internalLogIf(ctx, errors.New("metacache.delete: no object layer")) return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 5K bytes - Viewed (0) -
internal/disk/disk.go
// 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 Files uint64 Ffree uint64 FSType string Major uint32
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/kube/krt/static.go
"istio.io/istio/pkg/slices" ) type staticList[T any] struct { vals map[Key[T]]T id collectionUID } func NewStaticCollection[T any](vals []T) Collection[T] { res := map[Key[T]]T{} for _, v := range vals { res[GetKey(v)] = v } return &staticList[T]{ vals: res, id: nextUID(), } } func (s *staticList[T]) GetKey(k Key[T]) *T { if o, f := s.vals[k]; f { return &o
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go
return true } var id *ast.Ident // id of cancel var stmt := stack[len(stack)-3] switch stmt := stmt.(type) { case *ast.ValueSpec: if len(stmt.Names) > 1 { id = stmt.Names[1] } case *ast.AssignStmt: if len(stmt.Lhs) > 1 { id, _ = stmt.Lhs[1].(*ast.Ident) } } if id != nil { if id.Name == "_" { pass.ReportRangef(id,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 9K bytes - Viewed (0) -
internal/config/identity/openid/jwt.go
} if !audValues.Contains(pCfg.ClientID) { // if audience claims is missing, look for "azp" claims. // OPTIONAL. Authorized party - the party to which the ID // Token was issued. If present, it MUST contain the OAuth // 2.0 Client ID of this party. This Claim is only needed // when the ID Token has a single audience value and that
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 18:10:41 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/test/framework/components/prometheus/kube.go
if err != nil { return nil, err } c.api[cls.Name()] = prometheusApiV1.NewAPI(client) } return c, nil } func (c *kubeComponent) ID() resource.ID { return c.id } // API implements environment.DeployedPrometheus. func (c *kubeComponent) API() prometheusApiV1.API { return c.api[c.clusters.Default().Name()] }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
if fi.VersionID != versions[i].VersionID { t.Fatalf("getFileInfoVersions: versions don't match at %d, version id expected %s but got %s", i, fi.VersionID, versions[i].VersionID) } if fi.NumVersions != len(fivs.Versions) { t.Fatalf("getFileInfoVersions: version with %s version id expected to have %d as NumVersions but got %d", fi.VersionID, len(fivs.Versions), fi.NumVersions) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 22:18:44 UTC 2024 - 7.1K bytes - Viewed (0) -
pkg/test/framework/components/ambient/waypoint.go
} func (k kubeComponent) Inbound() string { return k.inbound.Address() } func (k kubeComponent) Outbound() string { return k.outbound.Address() } func (k kubeComponent) ID() resource.ID { return k.id } func (k kubeComponent) Close() error { if k.inbound != nil { k.inbound.Close() } if k.outbound != nil { k.outbound.Close() } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 6.5K bytes - Viewed (0)