Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 140 for cmptype (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                return value;
            }
            try {
                final Class<?> implType = getClassForImplementationHint(type, configuration, loader);
                if (null == value && implType.isInterface() && configuration.getChildCount() == 0) {
                    return null; // nothing to process
                }
                final Object bean = instantiateObject(implType);
                if (null == value) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. pkg/config/analysis/local/helpers_test.go

    // limitations under the License.
    package local
    
    // Test helpers common to this package
    
    import (
    	"reflect"
    	"testing"
    
    	"google.golang.org/protobuf/types/known/emptypb"
    	"google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pkg/config/analysis/legacy/source/kube"
    	"istio.io/istio/pkg/config/resource"
    	r2 "istio.io/istio/pkg/config/schema/resource"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top