Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for iface (0.03 sec)

  1. 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)
  2. src/internal/abi/iface.go

    Michael Anthony Knyszek <******@****.***> 1711143722 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 895 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/runtime/gcinfo_test.go

    	}
    	{
    		var x []string
    		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)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

                if (lep.startsWith("\\pipe\\")) {
                    String iface = (String)INTERFACES.get(lep.substring(6));
                    if (iface != null) {
                        int c, p;
                        c = iface.indexOf(':');
                        p = iface.indexOf('.', c + 1);
                        uuid = new UUID(iface.substring(0, c));
                        major = Integer.parseInt(iface.substring(c + 1, p));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  7. test/typeparam/mdempsky/17.go

    	}
    	return
    }
    
    func RangeChanIface[V iface]() (v iface) {
    	for v = range chanOf(zero[V]()) {
    	}
    	return
    }
    
    func RangeMapAny[K comparable, V any]() (k, v any) {
    	for k, v = range map[K]V{zero[K](): zero[V]()} {
    	}
    	return
    }
    
    func RangeMapIface[K interface {
    	iface
    	comparable
    }, V iface]() (k, v iface) {
    	for k, v = range map[K]V{zero[K](): zero[V]()} {
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 10 21:35:49 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. test/typeparam/issue54302.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    func A() {
    	B[int](new(G[int]))
    }
    
    func B[T any](iface interface{ M(T) }) {
    	x, ok := iface.(*G[T])
    	if !ok || iface != x {
    		panic("FAIL")
    	}
    }
    
    type G[T any] struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 06 15:20:00 UTC 2022
    - 362 bytes
    - Viewed (0)
Back to top