Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 101 for ifaceeq (0.25 sec)

  1. src/go/internal/srcimporter/srcimporter_test.go

    	if level > 10 {
    		t.Errorf("%s: embeds itself", named)
    		return
    	}
    
    	iface, _ := named.Underlying().(*types.Interface)
    	if iface == nil {
    		return // not an interface
    	}
    
    	// check explicitly declared methods
    	for i := 0; i < iface.NumExplicitMethods(); i++ {
    		m := iface.ExplicitMethod(i)
    		recv := m.Type().(*types.Signature).Recv()
    		if recv == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/cgo/internal/testshared/shared_test.go

    	globalSkip(t)
    	goCmd(t, "install", "-buildmode=shared", "-linkshared", "./iface_a")
    	// Note: iface_i gets installed implicitly as a dependency of iface_a.
    	goCmd(t, "install", "-buildmode=shared", "-linkshared", "./iface_b")
    	goCmd(t, "install", "-linkshared", "./iface")
    	run(t, "running type/itab uniqueness tester", "../../bin/iface")
    }
    
    // Access a global variable from a library.
    func TestGlobal(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/TypesTest.groovy

            then: 0 * _
        }
    
        class Base {
            @Incubating
            Object doSomething() { null }
        }
    
        interface Iface {}
    
        class Child extends Base implements Serializable, Iface {
            @Nullable
            Object doSomething() { null }
        }
    
        def "walking type hierarchy happens breadth-first"() {
            def visitor = Mock(Types.TypeVisitor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 06 15:03:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/net/net_windows_test.go

    	}
    	slices.Sort(have)
    
    	ifaces := make(map[string]bool)
    	err = netshInterfaceIPShowInterface("ipv6", ifaces)
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = netshInterfaceIPShowInterface("ipv4", ifaces)
    	if err != nil {
    		t.Fatal(err)
    	}
    	want := make([]string, 0)
    	for name, isup := range ifaces {
    		want = append(want, toString(name, isup))
    	}
    	slices.Sort(want)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Types.java

                if (superclass != null) {
                    queue.add(superclass);
                }
                for (Class<?> iface : type.getInterfaces()) {
                    if (seenInterfaces.add(iface)) {
                        queue.add(Cast.<Class<? super T>>uncheckedCast(iface));
                    }
                }
            }
        }
    
        @FunctionalInterface
        public interface TypeVisitor<T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/vendor/golang.org/x/tools/internal/typeparams/normalize.go

    	constraint := tparam.Constraint()
    	if constraint == nil {
    		return nil, fmt.Errorf("%s has nil constraint", tparam)
    	}
    	iface, _ := constraint.Underlying().(*types.Interface)
    	if iface == nil {
    		return nil, fmt.Errorf("constraint is %T, not *types.Interface", constraint.Underlying())
    	}
    	return InterfaceTermSet(iface)
    }
    
    // InterfaceTermSet computes the normalized terms for a constraint interface,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top