Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for iface (0.19 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/go/types/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
    - 24K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/iimport.go

    // for interface methods to def.
    func canReuse(def *types.Named, rhs types.Type) bool {
    	if def == nil {
    		return true
    	}
    	iface, _ := rhs.(*types.Interface)
    	if iface == nil {
    		return true
    	}
    	// Don't use iface.Empty() here as iface may not be complete.
    	return iface.NumEmbeddeds() == 0 && iface.NumExplicitMethods() == 0
    }
    
    type importReader struct {
    	p          *iimporter
    	declReader bytes.Reader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. test/live.go

    var m map[string]int
    var mi map[interface{}]int
    
    // str and iface are used to ensure that a temp is required for runtime calls below.
    func str() string
    func iface() interface{}
    
    func f16() {
    	if b {
    		delete(mi, iface()) // ERROR "stack object .autotmp_[0-9]+ interface \{\}$"
    	}
    	delete(mi, iface())
    	delete(mi, iface())
    }
    
    var m2s map[string]*byte
    var m2 map[[2]string]*byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top