- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 120 for ifaceeq (0.3 sec)
-
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) -
pkg/volume/iscsi/iscsi_test.go
if lun != 0 { t.Errorf("wrong lun: %v", lun) } iface := spec.PersistentVolume.Spec.PersistentVolumeSource.ISCSI.ISCSIInterface if iface != "default" { t.Errorf("wrong ISCSIInterface: %v", iface) } } func TestGetVolumeSpec_no_lun(t *testing.T) { path := "plugins/kubernetes.io/iscsi/volumeDevices/iface-default/127.0.0.1:3260-iqn.2014-12.server:storage.target01"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 16.4K bytes - Viewed (0) -
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)