- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 183 for iface (0.04 sec)
-
src/runtime/race/testdata/regression_test.go
func inlinetest(p **inltype) *inltype { return *p } type iface interface { Foo() *struct{ b bool } } type Int int func (i Int) Foo() *struct{ b bool } { return &struct{ b bool }{false} } func TestNoRaceForInfiniteLoop(t *testing.T) { var x Int // interface conversion causes nodes to be put on init list for iface(x).Foo().b { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 03 02:01:34 UTC 2015 - 2.7K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_linux.go
InterfaceStats: criInterfaceToSummary(criNetwork.DefaultInterface), Interfaces: make([]statsapi.InterfaceStats, 0, len(criNetwork.Interfaces)), } for _, iface := range criNetwork.Interfaces { iStats.Interfaces = append(iStats.Interfaces, criInterfaceToSummary(iface)) } ps.Network = &iStats } func addCRIPodMemoryStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 16 11:09:04 UTC 2023 - 4K bytes - Viewed (0) -
src/go/types/object_test.go
pkg := mustTypecheck(src, nil, nil) // get original error.Error method eface := Universe.Lookup("error") orig, _, _ := LookupFieldOrMethod(eface.Type(), false, nil, "Error") if orig == nil { t.Fatalf("original error.Error not found") } // get embedded error.Error method iface := pkg.Scope().Lookup("I") embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error") if embed == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
test/fixedbugs/bug517.go
// The gofrontend used to mishandle this code due to a pass ordering issue. // It was inconsistent as to whether unsafe.Sizeof(byte(0)) was a constant, // and therefore as to whether it was a direct-iface type. package main import "unsafe" type A [unsafe.Sizeof(byte(0))]*byte func (r A) V() byte { return *r[0] } func F() byte { panic("F") // should never be called }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 20 03:00:06 UTC 2023 - 703 bytes - Viewed (0) -
pkg/kubelet/network/dns/dns_windows.go
if err != nil { return nil, err } defer regKey.Close() ifaces, err := regKey.ReadSubKeyNames(0) if err != nil { return nil, err } for _, iface := range ifaces { suffixes, err := getRegistryStringValue(fmt.Sprintf("%s\\%s", netIfacesRegistry, iface), "SearchList") if err != nil { return nil, err } if suffixes == "" { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 21 22:21:57 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/type/ModelTypes.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/volume/iscsi/disk_manager.go
options := []string{"bind"} if b.readOnly { options = append(options, "ro") } if b.iscsiDisk.InitiatorName != "" { // new iface name is <target portal>:<volume name> b.iscsiDisk.Iface = b.iscsiDisk.Portals[0] + ":" + b.iscsiDisk.VolName } globalPDPath := manager.MakeGlobalPDName(*b.iscsiDisk) mountOptions := util.JoinMountOptions(b.mountOptions, options)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 3.4K bytes - Viewed (0) -
test/escape_iface.go
type M interface { M() } func mescapes(m M) { // ERROR "leaking param: m" sink = m } func mdoesnotescape(m M) { // ERROR "m does not escape" } // Tests for type stored directly in iface and with value receiver method. type M0 struct { p *int } func (M0) M() { } func efaceEscape0() { { i := 0 v := M0{&i} var x M = v _ = x } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 17:16:35 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go
return nil } func (obj *fakeDBusObject) AddMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call { return nil } func (obj *fakeDBusObject) RemoveMatchSignal(iface, member string, options ...dbus.MatchOption) *dbus.Call { return nil } func (obj *fakeDBusObject) GetProperty(p string) (dbus.Variant, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 29 19:50:06 UTC 2023 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object_test.go
pkg := mustTypecheck(src, nil, nil) // get original error.Error method eface := Universe.Lookup("error") orig, _, _ := LookupFieldOrMethod(eface.Type(), false, nil, "Error") if orig == nil { t.Fatalf("original error.Error not found") } // get embedded error.Error method iface := pkg.Scope().Lookup("I") embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error") if embed == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0)