Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 108 for MapType (0.12 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

              Type getType() {
                return new TypeToken<Object>() {}.getType();
              }
            }.getType());
      }
    
      public void testStaticContext() {
        assertEquals(Map.class, mapType().getRawType());
      }
    
      private abstract static class Holder<T> {
        Type getContentType() {
          return new TypeToken<T>(getClass()) {}.getType();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

              Type getType() {
                return new TypeToken<Object>() {}.getType();
              }
            }.getType());
      }
    
      public void testStaticContext() {
        assertEquals(Map.class, mapType().getRawType());
      }
    
      private abstract static class Holder<T> {
        Type getContentType() {
          return new TypeToken<T>(getClass()) {}.getType();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_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: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/node/v1alpha1/types.go

    	// node matched by this selector. The RuntimeClass nodeSelector is merged
    	// with a pod's existing nodeSelector. Any conflicts will cause the pod to
    	// be rejected in admission.
    	// +optional
    	// +mapType=atomic
    	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,1,opt,name=nodeSelector"`
    
    	// tolerations are appended (excluding duplicates) to pods running with this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 22 08:59:25 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/node/v1/types.go

    	// node matched by this selector. The RuntimeClass nodeSelector is merged
    	// with a pod's existing nodeSelector. Any conflicts will cause the pod to
    	// be rejected in admission.
    	// +optional
    	// +mapType=atomic
    	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,1,opt,name=nodeSelector"`
    
    	// tolerations are appended (excluding duplicates) to pods running with this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/mkbuiltin.go

    	case *ast.InterfaceType:
    		if len(t.Methods.List) != 0 {
    			log.Fatal("non-empty interfaces unsupported")
    		}
    		return "types.Types[types.TINTER]"
    	case *ast.MapType:
    		return fmt.Sprintf("types.NewMap(%s, %s)", i.subtype(t.Key), i.subtype(t.Value))
    	case *ast.StarExpr:
    		return fmt.Sprintf("types.NewPtr(%s)", i.subtype(t.X))
    	case *ast.StructType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    	case *ast.KeyValueExpr:
    		children = append(children,
    			tok(n.Colon, len(":")))
    
    	case *ast.LabeledStmt:
    		children = append(children,
    			tok(n.Colon, len(":")))
    
    	case *ast.MapType:
    		children = append(children,
    			tok(n.Map, len("map")))
    
    	case *ast.ParenExpr:
    		children = append(children,
    			tok(n.Lparen, len("(")),
    			tok(n.Rparen, len(")")))
    
    	case *ast.RangeStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/type.go

    		} else if t.StructType().Map.MapType().Bucket == t {
    			// Both have non-nil Map
    			// Special case for Maps which include a recursive type where the recursion is not broken with a named type
    			if x.StructType().Map.MapType().Bucket != x {
    				return CMPlt // bucket maps are least
    			}
    			return t.StructType().Map.cmp(x.StructType().Map)
    		} else if x.StructType().Map.MapType().Bucket == x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  9. src/encoding/gob/doc.go

    description, constructed from these types:
    
    	type wireType struct {
    		ArrayT           *ArrayType
    		SliceT           *SliceType
    		StructT          *StructType
    		MapT             *MapType
    		GobEncoderT      *gobEncoderType
    		BinaryMarshalerT *gobEncoderType
    		TextMarshalerT   *gobEncoderType
    
    	}
    	type arrayType struct {
    		CommonType
    		Elem typeId
    		Len  int
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    }
    
    func (t *unstructuredMap) ConvertToType(typeValue ref.Type) ref.Val {
    	switch typeValue {
    	case types.MapType:
    		return t
    	case types.TypeType:
    		return types.MapType
    	}
    	return types.NewErr("type conversion error from '%s' to '%s'", t.Type(), typeValue.TypeName())
    }
    
    func (t *unstructuredMap) Equal(other ref.Val) ref.Val {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
Back to top