Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for ifaceeq (0.19 sec)

  1. src/cmd/compile/internal/types2/predicates.go

    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    	if tpar, _ := Unalias(t).(*TypeParam); tpar != nil && tpar.bound != nil {
    		iface, _ := safeUnderlying(tpar.bound).(*Interface)
    		return iface != nil && iface.tset != nil && iface.tset.IsEmpty()
    	}
    	return false
    }
    
    // isGeneric reports whether a type is a generic, uninstantiated type
    // (generic signatures are not included).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/go/types/predicates.go

    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    	if tpar, _ := Unalias(t).(*TypeParam); tpar != nil && tpar.bound != nil {
    		iface, _ := safeUnderlying(tpar.bound).(*Interface)
    		return iface != nil && iface.tset != nil && iface.tset.IsEmpty()
    	}
    	return false
    }
    
    // isGeneric reports whether a type is a generic, uninstantiated type
    // (generic signatures are not included).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/app/cmd.go

    	// Find IP addr of excluded interfaces and add to a map for instant lookup
    	for _, ifaceName := range exclusions {
    		iface, err := net.InterfaceByName(ifaceName)
    		if err != nil {
    			log.Warnf("Unable to get interface %s: %v", ifaceName, err)
    			continue
    		}
    		addrs, err := iface.Addrs()
    		if err != nil {
    			log.Warnf("Unable to get IP addr(s) of interface %s: %v", ifaceName, err)
    			continue
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/instantiate.go

    	smap := makeSubstMap(tparams, targs)
    	for i, tpar := range tparams {
    		// Ensure that we have a (possibly implicit) interface as type bound (go.dev/issue/51048).
    		tpar.iface()
    		// The type parameter bound is parameterized with the same type parameters
    		// as the instantiated type; before we can use it for bounds checking we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/issues_test.go

    			}
    		}
    		if obj == nil {
    			t.Fatal("object X not found")
    		}
    		iface := obj.Type().Underlying().(*Interface) // object X must be an interface
    
    		// Each iface method m is embedded; and m's receiver base type name
    		// must match the method's name per the choice in the source file.
    		for i := 0; i < iface.NumMethods(); i++ {
    			m := iface.Method(i)
    			recvName := m.Type().(*Signature).Recv().Type().(*Named).Obj().Name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/go/types/issues_test.go

    			}
    		}
    		if obj == nil {
    			t.Fatal("object X not found")
    		}
    		iface := obj.Type().Underlying().(*Interface) // object X must be an interface
    
    		// Each iface method m is embedded; and m's receiver base type name
    		// must match the method's name per the choice in the source file.
    		for i := 0; i < iface.NumMethods(); i++ {
    			m := iface.Method(i)
    			recvName := m.Signature().Recv().Type().(*Named).Obj().Name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/go/types/instantiate.go

    	smap := makeSubstMap(tparams, targs)
    	for i, tpar := range tparams {
    		// Ensure that we have a (possibly implicit) interface as type bound (go.dev/issue/51048).
    		tpar.iface()
    		// The type parameter bound is parameterized with the same type parameters
    		// as the instantiated type; before we can use it for bounds checking we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                if (superclass != null) {
                    queue.add(superclass);
                }
                for (Class<?> iface : type.getInterfaces()) {
                    if (seenInterfaces.add(iface)) {
                        queue.add(Cast.<Class<? super T>>uncheckedCast(iface));
                    }
                }
            }
            return seenInterfaces;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    			for k, v := range sys.PAXRecords {
    				h.PAXRecords[k] = v
    			}
    		}
    	}
    	var doNameLookups = true
    	if iface, ok := fi.(FileInfoNames); ok {
    		doNameLookups = false
    		var err error
    		h.Gname, err = iface.Gname()
    		if err != nil {
    			return nil, err
    		}
    		h.Uname, err = iface.Uname()
    		if err != nil {
    			return nil, err
    		}
    	}
    	if sysStat != nil {
    		return h, sysStat(fi, h, doNameLookups)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. src/cmd/vet/testdata/print/print.go

    	var et5 errorTest5
    	et5.error() // ok, not an error method.
    	// Interfaces can be used with any verb.
    	var iface interface {
    		ToTheMadness() bool // Method ToTheMadness usually returns false
    	}
    	fmt.Printf("%f", iface) // ok: fmt treats interfaces as transparent and iface may well have a float concrete type
    	// Can't print a function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
Back to top