- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 105 for ifaceeq (0.15 sec)
-
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) -
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) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginClasspathIntegrationTest.groovy
file("api/src/main/java/org/gradle/FooException.java") << """ package org.gradle; class FooException extends Exception { } """ file("client/src/main/java/org/gradle/Iface.java") << """ package org.gradle; interface Iface { /** * Method Description. * * @throws FooException whenever * @throws IllegalArgumentException otherwise */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 2.5K bytes - Viewed (0) -
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) -
src/cmd/compile/internal/types2/interface.go
} func (check *Checker) interfaceType(ityp *Interface, iface *syntax.InterfaceType, def *TypeName) { addEmbedded := func(pos syntax.Pos, typ Type) { ityp.embeddeds = append(ityp.embeddeds, typ) if ityp.embedPos == nil { ityp.embedPos = new([]syntax.Pos) } *ityp.embedPos = append(*ityp.embedPos, pos) } for _, f := range iface.MethodList { if f.Name == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 6.2K bytes - Viewed (0) -
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) -
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) -
src/go/types/interface.go
} func (check *Checker) interfaceType(ityp *Interface, iface *ast.InterfaceType, def *TypeName) { addEmbedded := func(pos token.Pos, typ Type) { ityp.embeddeds = append(ityp.embeddeds, typ) if ityp.embedPos == nil { ityp.embedPos = new([]token.Pos) } *ityp.embedPos = append(*ityp.embedPos, pos) } for _, f := range iface.Methods.List { if len(f.Names) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 8.1K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_linux.go
InterfaceStats: criInterfaceToSummary(criNetwork.DefaultInterface), Interfaces: make([]statsapi.InterfaceStats, 0, len(criNetwork.Interfaces)), } for _, iface := range criNetwork.Interfaces { iStats.Interfaces = append(iStats.Interfaces, criInterfaceToSummary(iface)) } ps.Network = &iStats } func addCRIPodMemoryStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 16 11:09:04 UTC 2023 - 4K bytes - Viewed (0) -
src/runtime/runtime-gdb_test.go
} } } const autotmpTypeSource = ` package main type astruct struct { a, b int } func main() { var iface interface{} = map[string]astruct{} var iface2 interface{} = []astruct{} println(iface, iface2) } ` // TestGdbAutotmpTypes ensures that types of autotmp variables appear in .debug_info // See bug #17830. func TestGdbAutotmpTypes(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 23.2K bytes - Viewed (0)