Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 242 for Iface1 (0.1 sec)

  1. src/text/template/exec_test.go

    	{"eq .V1 .V2", "true", true},
    	{"eq .Ptr .Ptr", "true", true},
    	{"eq .Ptr .NilPtr", "false", true},
    	{"eq .NilPtr .NilPtr", "true", true},
    	{"eq .Iface1 .Iface1", "true", true},
    	{"eq .Iface1 .NilIface", "false", true},
    	{"eq .NilIface .NilIface", "true", true},
    	{"eq .NilIface .Iface1", "false", true},
    	{"eq .NilIface 0", "false", true},
    	{"eq 0 .NilIface", "false", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  2. src/html/template/exec_test.go

    	{"eq .V1 .V2", "true", true},
    	{"eq .Ptr .Ptr", "true", true},
    	{"eq .Ptr .NilPtr", "false", true},
    	{"eq .NilPtr .NilPtr", "true", true},
    	{"eq .Iface1 .Iface1", "true", true},
    	{"eq .Iface1 .Iface2", "false", true},
    	{"eq .Iface2 .Iface2", "true", true},
    	{"eq .Map .Map", "true", true},        // Uncomparable types but nil is OK.
    	{"eq .Map nil", "true", true},         // Uncomparable types but nil is OK.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. test/fixedbugs/issue15528.go

    )
    
    func main() {
    	var fail bool
    	for i, test := range efaces {
    		s := fmt.Sprintf("%[1]T %[1]v", test.x)
    		if s != test.s {
    			fmt.Printf("eface(%d)=%q want %q\n", i, s, test.s)
    			fail = true
    		}
    	}
    
    	for i, test := range ifaces {
    		s := fmt.Sprintf("%[1]T %#[1]v %[1]s", test.x)
    		if s != test.s {
    			fmt.Printf("iface(%d)=%q want %q\n", i, s, test.s)
    			fail = true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 12 14:31:26 UTC 2016
    - 3.1K bytes
    - Viewed (0)
  4. 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)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Facet.java

                return false;
            }
            Facet facet = (Facet) o;
            return type == facet.type && Objects.equal(name, facet.name) && Objects.equal(version, facet.version);
        }
    
        @Override
        public int hashCode() {
            return Objects.hashCode(type, name, version);
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    					var iface2 interface{}
    					if err := modePair.dec.Unmarshal(cborFromIface, &iface2); err != nil {
    						t.Fatalf("unexpected error from Unmarshal into %T: %v", &iface2, err)
    					}
    					if diff := cmp.Diff(iface, iface2); diff != "" {
    						t.Errorf("unexpected difference on roundtrip from interface{} to interface{}:\n%s", diff)
    					}
    				}
    
    				{
    					// original to original
    					final := reflect.New(reflect.TypeOf(original))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. test/codegen/ifaces.go

    Keith Randall <******@****.***> 1695069109 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 621 bytes
    - Viewed (0)
  9. pilot/pkg/util/network/ip.go

    func GetPrivateIPsIfAvailable() ([]string, bool) {
    	ok := true
    	ipAddresses := make([]string, 0)
    
    	ifaces, _ := net.Interfaces()
    
    	for _, iface := range ifaces {
    		if iface.Flags&net.FlagUp == 0 {
    			continue // interface down
    		}
    		if iface.Flags&net.FlagLoopback != 0 {
    			continue // loopback interface
    		}
    		addrs, _ := iface.Addrs()
    
    		for _, addr := range addrs {
    			var ip net.IP
    			switch v := addr.(type) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 21:27:21 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/netlink_linux.go

    func (h *netlinkHandle) GetAllLocalAddressesExcept(dev string) (sets.Set[string], error) {
    	ifaces, err := net.Interfaces()
    	if err != nil {
    		return nil, err
    	}
    	var addr []net.Addr
    	for _, iface := range ifaces {
    		if iface.Name == dev {
    			continue
    		}
    		ifadr, err := iface.Addrs()
    		if err != nil {
    			// This may happen if the interface was deleted. Ignore
    			// but log the error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top