- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 101 for ifaceeq (0.4 sec)
-
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/cmd/compile/internal/types2/typeparam.go
func (t *TypeParam) Underlying() Type { return t.iface() } func (t *TypeParam) String() string { return TypeString(t, nil) } // ---------------------------------------------------------------------------- // Implementation func (t *TypeParam) cleanup() { t.iface() t.check = nil } // iface returns the constraint interface of t. func (t *TypeParam) iface() *Interface { bound := t.bound
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/iface_i/i.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package iface_i type I interface { M() } type T struct { } func (t *T) M() { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 263 bytes - Viewed (0) -
src/runtime/gcinfo_test.go
verifyGCInfo(t, "stack slice", &x, infoSlice) runtime.KeepAlive(x) } { var x any verifyGCInfo(t, "stack eface", &x, infoEface) runtime.KeepAlive(x) } { var x Iface verifyGCInfo(t, "stack iface", &x, infoIface) runtime.KeepAlive(x) } for i := 0; i < 10; i++ { verifyGCInfo(t, "heap Ptr", runtime.Escape(new(Ptr)), trimDead(infoPtr))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:58:08 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_issue62156.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 23:18:16 UTC 2023 - 410 bytes - Viewed (0) -
src/go/types/typeparam.go
func (t *TypeParam) Underlying() Type { return t.iface() } func (t *TypeParam) String() string { return TypeString(t, nil) } // ---------------------------------------------------------------------------- // Implementation func (t *TypeParam) cleanup() { t.iface() t.check = nil } // iface returns the constraint interface of t. func (t *TypeParam) iface() *Interface { bound := t.bound
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/iface_i/i.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package iface_i type I interface { M() } type T struct { } func (t *T) M() { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 263 bytes - Viewed (0) -
src/internal/types/testdata/check/decls1.go
t21 int = a /* ERRORx `cannot use .* variable declaration` */ ) // Various more complex expressions var ( u1 = x /* ERROR "not an interface" */ .(int) u2 = iface.([]int) u3 = iface.(a /* ERROR "not a type" */ ) u4, ok = iface.(int) u5, ok2, ok3 = iface /* ERROR "assignment mismatch" */ .(int) ) // Constant expression initializations var ( v1 = 1 /* ERROR "mismatched types untyped int and untyped string" */ + "foo"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 3.8K bytes - Viewed (0) -
test/fixedbugs/bug514.go
*myInt } var val = 1234 var valNotInHeap = notInHeap{i: val} func main() { i := val check(i) mi := myInt{f: &valNotInHeap} check(mi.Get()) ifv := iface(mi) check(ifv.Get()) ifv = iface(&mi) check(ifv.Get()) em := embed{&mi} check(em.Get()) ifv = em check(ifv.Get()) ifv = &em check(ifv.Get()) } func check(v int) { if v != val { panic(v) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 15:27:18 UTC 2022 - 782 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)