Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 140 for cmptype (0.4 sec)

  1. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            final Method m1 = MapType.class.getMethod("mapOfStringToObject");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true));
            assertThat(GenericsUtil.getKeyTypeOfMap(t1), is(sameClass(String.class)));
            assertThat(GenericsUtil.getValueTypeOfMap(t1), is(sameClass(Object.class)));
    
            final Method m2 = MapType.class.getMethod("mapOfClassToString");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/interface.go

    	Resolve(name string) (TypeRef, bool)
    }
    
    // TypeRef refers an object type that can be looked up for its fields.
    type TypeRef interface {
    	ref.Type
    
    	// CELType wraps the TypeRef to be a type that is understood by CEL.
    	CELType() *types.Type
    
    	// Field finds the field by the field name, or false if the field is not known.
    	// This function directly return a FieldType that is known to CEL to be more customizable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    					"field": stringType,
    				}),
    				"mapOfMap": mapType(mapTypePtr(&stringType)),
    				"mapOfObj": mapType(objectTypePtr(map[string]schema.Structural{
    					"field2": stringType,
    				})),
    				"mapOfListMap": mapType(listMapTypePtr([]string{"k"}, objectTypePtr(map[string]schema.Structural{
    					"k": stringType,
    					"v": stringType,
    				}))),
    				"mapOfList": mapType(listTypePtr(&stringType)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeref.go

    }
    
    // Val returns an instance given the fields.
    func (r *TypeRef) Val(fields map[string]ref.Val) ref.Val {
    	return common.NewObjectVal(r, fields)
    }
    
    // CELType returns the type. The returned type is of TypeType type.
    func (r *TypeRef) CELType() *types.Type {
    	return r.celTypeType
    }
    
    // Field looks up the field by name.
    // This is the unstructured version that allows any name as the field name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/binary/BaseBinarySpecTest.groovy

            binary.inputs*.name == ["input"]
        }
    
        private <T extends BinarySpec, I extends BaseBinarySpec> T create(Class<T> type, Class<I> implType, String name, MutableModelNode componentNode = null) {
            BaseBinaryFixtures.create(type, implType, name, componentNode)
        }
    
        interface SampleComponent extends ComponentSpec {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/comparator.go

    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    // Comparator diffs between a config dump from Istiod and one from Envoy
    type Comparator struct {
    	envoy, istiod *configdump.Wrapper
    	w             io.Writer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

                }
            }
            if (errors.length() > 0) {
                throw new AssertionError("Result contains unexpected $compType\n${errors}\nMatched $compType:\n${matched}")
            }
        }
    
        void compare(String compType, Collection<String> actual, Collection<String> expected) {
            def actualSorted = new ArrayList<String>(actual).sort()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  8. src/internal/concurrent/hashtriemap.go

    func NewHashTrieMap[K, V comparable]() *HashTrieMap[K, V] {
    	var m map[K]V
    	mapType := abi.TypeOf(m).MapType()
    	ht := &HashTrieMap[K, V]{
    		root:     newIndirectNode[K, V](nil),
    		keyHash:  mapType.Hasher,
    		keyEqual: mapType.Key.Equal,
    		valEqual: mapType.Elem.Equal,
    		seed:     uintptr(rand.Uint64()),
    	}
    	return ht
    }
    
    type hashFunc func(unsafe.Pointer, uintptr) uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/encoding/gob/type.go

    	return g.Name
    }
    
    func (g *gobEncoderType) string() string { return g.Name }
    
    // Map type
    type mapType struct {
    	CommonType
    	Key  typeId
    	Elem typeId
    }
    
    func newMapType(name string) *mapType {
    	m := &mapType{CommonType{Name: name}, 0, 0}
    	return m
    }
    
    func (m *mapType) init(key, elem gobType) {
    	// Set our type id before evaluating the element's, in case it's our own.
    	setTypeId(m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. pkg/config/schema/collection/schemas_test.go

    	_ "google.golang.org/protobuf/types/known/emptypb"
    	_ "google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/collection"
    	"istio.io/istio/pkg/config/schema/resource"
    )
    
    var (
    	emptyResource = resource.Builder{
    		Kind:         "Empty",
    		Plural:       "empties",
    		ProtoPackage: "google.golang.org/protobuf/types/known/emptypb",
    		Proto:        "google.protobuf.Empty",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top