- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 143 for cmptype (0.19 sec)
-
platforms/software/platform-base/src/testFixtures/groovy/org/gradle/test/fixtures/BaseInstanceFixtureSupport.groovy
public class BaseInstanceFixtureSupport { static <B, T extends B, I extends B> T create(Class<T> publicType, Class<? extends B> internalView, Class<I> implType, String name, Closure<I> createUnmanagedInstance) { def node = createNode(publicType, internalView, implType, name, createUnmanagedInstance) return node.asMutable(ModelType.of(publicType), new SimpleModelRuleDescriptor("<get $name>")).instance }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/TaskFactory.java
} NameValidator.validate(identity.name, "task name", ""); final Class<? extends DefaultTask> implType; if (identity.type == Task.class) { implType = DefaultTask.class; } else if (DefaultTask.class.isAssignableFrom(identity.type)) { implType = identity.type.asSubclass(DefaultTask.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 08:37:31 UTC 2021 - 4.3K bytes - Viewed (0) -
platforms/software/platform-base/src/testFixtures/groovy/org/gradle/platform/base/binary/BaseBinaryFixtures.groovy
import org.gradle.util.TestUtil class BaseBinaryFixtures { static <T extends BinarySpec, I extends BaseBinarySpec> T create(Class<T> publicType, Class<I> implType, String name, MutableModelNode componentNode) { return BaseInstanceFixtureSupport.create(publicType, BinarySpecInternal, implType, name) { MutableModelNode node ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2K bytes - Viewed (0) -
test/fixedbugs/issue4879.dir/a.go
type slice []int type maptype map[int]int func MakePrivateCollection() *Collection { return &Collection{ root: unsafe.Pointer(&nodeLoc{}), } } func MakePrivateCollection2() *Collection { return &Collection{ root: unsafe.Pointer(&slice{}), } } func MakePrivateCollection3() *Collection { return &Collection{ root: unsafe.Pointer(&maptype{}), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 25 23:43:31 UTC 2013 - 466 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val.go
func (v *ObjectVal) ConvertToType(typeValue ref.Type) ref.Val { switch typeValue { case v.typeRef: return v case types.TypeType: return v.typeRef.CELType() } return types.NewErr("unsupported conversion into %v", typeValue) } // Equal returns true if the `other` value has the same type and content as the implementing struct.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 21:55:08 UTC 2024 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/lists.go
var comparableTypes = []namedCELType{ {typeName: "int", celType: cel.IntType}, {typeName: "uint", celType: cel.UintType}, {typeName: "double", celType: cel.DoubleType}, {typeName: "bool", celType: cel.BoolType}, {typeName: "duration", celType: cel.DurationType}, {typeName: "timestamp", celType: cel.TimestampType}, {typeName: "string", celType: cel.StringType}, {typeName: "bytes", celType: cel.BytesType}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go
fieldName := jsonTagParts[0] declField, ok := userDeclType.Fields[fieldName] if !ok { t.Errorf("expected field %q to be present", field.Name) } if nativeTypeToCELType(t, field.Type).CelType().Equal(declField.Type.CelType()).Value() != true { t.Errorf("expected field %q to have type %v, got %v", field.Name, field.Type, declField.Type) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/config/resource/instance_test.go
// limitations under the License. package resource import ( "testing" . "github.com/onsi/gomega" "google.golang.org/protobuf/types/known/emptypb" ) func TestInstance_IsEmpty_False(t *testing.T) { g := NewWithT(t) e := Instance{ Message: &emptypb.Empty{}, } g.Expect(e.IsEmpty()).To(BeFalse()) } func TestInstance_IsEmpty_True(t *testing.T) { g := NewWithT(t) e := Instance{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go
EnvOptions: []cel.EnvOption{ cel.Variable(ScopedVarName, scopedType.CelType()), }, DeclTypes: []*apiservercel.DeclType{ scopedType, }, }, environment.VersionedOptions{ IntroducedVersion: version.MajorMinor(1, 24), EnvOptions: []cel.EnvOption{ cel.Variable(OldScopedVarName, scopedType.CelType()), }, }, ) if err != nil { return nil, nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 13.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt
} } override val typeContext = KaFe10TypeSystemCommonBackendContextForTypeMapping(resolveSession) fun mapType(type: KotlinType, mode: TypeMappingMode = TypeMappingMode.DEFAULT, sw: JvmSignatureWriter? = null): Type { return AbstractTypeMapper.mapType(this, type, mode, sw) } fun isPrimitiveBacked(type: KotlinType): Boolean = AbstractTypeMapper.isPrimitiveBacked(this, type)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 8.3K bytes - Viewed (0)