- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for iface (0.14 sec)
-
src/runtime/iface.go
// //go:linkname reflect_ifaceE2I reflect.ifaceE2I func reflect_ifaceE2I(inter *interfacetype, e eface, dst *iface) { *dst = iface{assertE2I(inter, e._type), e.data} } //go:linkname reflectlite_ifaceE2I internal/reflectlite.ifaceE2I func reflectlite_ifaceE2I(inter *interfacetype, e eface, dst *iface) { *dst = iface{assertE2I(inter, e._type), e.data} } func iterate_itabs(fn func(*itab)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_util.go
if !strings.HasPrefix(line, "iface.") || strings.Contains(line, "<empty>") { continue } iface := strings.Fields(line) if len(iface) != 3 || iface[1] != "=" { return nil, fmt.Errorf("error: invalid iface setting: %v", iface) } // iscsi_ifacename is immutable once the iface is created if iface[0] == "iface.iscsi_ifacename" { continue } params[iface[0]] = iface[2] } return params, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 22 12:53:01 UTC 2022 - 34.1K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_util_test.go
fakeIscsiadmOutput1 := "# BEGIN RECORD 2.0-873\n" + "iface.iscsi_ifacename = default\n" + "iface.transport_name = tcp\n" + "iface.initiatorname = <empty>\n" + "iface.mtu = 0\n" + "# END RECORD" fakeIscsiadmOutput2 := "# BEGIN RECORD 2.0-873\n" + "iface.iscsi_ifacename = default\n" + "iface.transport_name = cxgb4i\n" + "iface.initiatorname = <empty>\n" + "iface.mtu = 0\n" + "# END RECORD"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 18 09:43:07 UTC 2022 - 14.5K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
// after we've called SetUnderlying everywhere. // // TODO(mdempsky): After CL 424876 lands, it should be safe to call // iface.Complete() immediately. r.p.ifaces = append(r.p.ifaces, iface) return iface } func (r *reader) signature(recv *types.Var, rtparams, tparams []*types.TypeParam) *types.Signature { r.Sync(pkgbits.SyncSignature) params := r.params() results := r.params() variadic := r.Bool()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
embeddeds, ecopied := subst.typeList(t.embeddeds) if mcopied || ecopied { iface := subst.check.newInterface() iface.embeddeds = embeddeds iface.embedPos = t.embedPos iface.implicit = t.implicit assert(t.complete) // otherwise we are copying incomplete data iface.complete = t.complete // If we've changed the interface type, we may need to replace its
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
if err != nil { return nil, err } initIface := iface if initiatorName != "" { iface = bkportal[0] + ":" + spec.Name() } return &iscsiDisk{ podUID: podUID, VolName: spec.Name(), Portals: bkportal, Iqn: iqn, Lun: lun, InitIface: initIface, Iface: iface, chapDiscovery: chapDiscovery, chapSession: chapSession,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 23.4K bytes - Viewed (0) -
src/go/types/subst.go
embeddeds, ecopied := subst.typeList(t.embeddeds) if mcopied || ecopied { iface := subst.check.newInterface() iface.embeddeds = embeddeds iface.embedPos = t.embedPos iface.implicit = t.implicit assert(t.complete) // otherwise we are copying incomplete data iface.complete = t.complete // If we've changed the interface type, we may need to replace its
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/subr.go
return m } // Implements reports whether t implements the interface iface. t can be // an interface, a type parameter, or a concrete type. func Implements(t, iface *types.Type) bool { var missing, have *types.Field var ptr int return implements(t, iface, &missing, &have, &ptr) } // ImplementsExplain reports whether t implements the interface iface. t can be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:45:58 UTC 2023 - 20.2K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_test.go
if lun != 0 { t.Errorf("wrong lun: %v", lun) } iface := spec.PersistentVolume.Spec.PersistentVolumeSource.ISCSI.ISCSIInterface if iface != "default" { t.Errorf("wrong ISCSIInterface: %v", iface) } } func TestGetVolumeSpec_no_lun(t *testing.T) { path := "plugins/kubernetes.io/iscsi/volumeDevices/iface-default/127.0.0.1:3260-iqn.2014-12.server:storage.target01"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 16.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
iface.embeddeds = old.embeddeds assert(old.complete) // otherwise we are copying incomplete data iface.complete = old.complete iface.implicit = old.implicit // should be false but be conservative underlying = iface } iface.methods = methods iface.tset = nil // recompute type set with new methods // If check != nil, check.newInterface will have saved the interface for later completion.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0)