Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for ArrayType (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    	}
    	if ruleType == "int-or-string" {
    		return "", "", true
    	}
    	return ruleType, "", false
    }
    
    func genArrayWithRule(arrayType, rule string) func(maxItems *int64) *schema.Structural {
    	passedType, passedFormat, xIntString := parseRuleType(arrayType)
    	return func(maxItems *int64) *schema.Structural {
    		return &schema.Structural{
    			Generic: schema.Generic{
    				Type: "array",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    				d.Type = p.typeOrNil()
    			} else {
    				// d.Name "[" pname "]" ...
    				// d.Name "[" x ...
    				d.Type = p.arrayType(pos, x)
    			}
    		case _Rbrack:
    			// d.Name "[" "]" ...
    			p.next()
    			d.Type = p.sliceType(pos)
    		default:
    			// d.Name "[" ...
    			d.Type = p.arrayType(pos, nil)
    		}
    	} else {
    		d.Alias = p.gotAssign()
    		d.Type = p.typeOrNil()
    	}
    
    	if d.Type == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. src/runtime/alg.go

    		return strhash(p, h)
    	case abi.Interface:
    		i := (*interfacetype)(unsafe.Pointer(t))
    		if len(i.Methods) == 0 {
    			return nilinterhash(p, h)
    		}
    		return interhash(p, h)
    	case abi.Array:
    		a := (*arraytype)(unsafe.Pointer(t))
    		for i := uintptr(0); i < a.Len; i++ {
    			h = typehash(a.Elem, add(p, i*a.Elem.Size_), h)
    		}
    		return h
    	case abi.Struct:
    		s := (*structtype)(unsafe.Pointer(t))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/go/ast/walk.go

    		Walk(v, n.X)
    
    	case *UnaryExpr:
    		Walk(v, n.X)
    
    	case *BinaryExpr:
    		Walk(v, n.X)
    		Walk(v, n.Y)
    
    	case *KeyValueExpr:
    		Walk(v, n.Key)
    		Walk(v, n.Value)
    
    	// Types
    	case *ArrayType:
    		if n.Len != nil {
    			Walk(v, n.Len)
    		}
    		Walk(v, n.Elt)
    
    	case *StructType:
    		Walk(v, n.Fields)
    
    	case *FuncType:
    		if n.TypeParams != nil {
    			Walk(v, n.TypeParams)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			p.typedefList = append(p.typedefList, typedefInfo{dt.Name, pos})
    			p.recordTypedefs1(dt.Type, pos, visited)
    		}
    	case *dwarf.PtrType:
    		p.recordTypedefs1(dt.Type, pos, visited)
    	case *dwarf.ArrayType:
    		p.recordTypedefs1(dt.Type, pos, visited)
    	case *dwarf.QualType:
    		p.recordTypedefs1(dt.Type, pos, visited)
    	case *dwarf.FuncType:
    		p.recordTypedefs1(dt.ReturnType, pos, visited)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/iimport.go

    )
    
    type ident struct {
    	pkg  *types.Package
    	name string
    }
    
    const predeclReserved = 32
    
    type itag uint64
    
    const (
    	// Types
    	definedType itag = iota
    	pointerType
    	sliceType
    	arrayType
    	chanType
    	mapType
    	signatureType
    	structType
    	interfaceType
    	typeParamType
    	instanceType
    	unionType
    )
    
    // iImportData imports a package from the serialized package data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/reflect/type.go

    const (
    	RecvDir ChanDir             = 1 << iota // <-chan
    	SendDir                                 // chan<-
    	BothDir = RecvDir | SendDir             // chan
    )
    
    // arrayType represents a fixed array type.
    type arrayType = abi.ArrayType
    
    // chanType represents a channel type.
    type chanType = abi.ChanType
    
    // funcType represents a function type.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		vq.Qualifier.goString(indent+2, "Qualifier: "),
    		vq.Type.goString(indent+2, "Type: "))
    }
    
    // ArrayType is an array type.
    type ArrayType struct {
    	Dimension AST
    	Element   AST
    }
    
    func (at *ArrayType) print(ps *printState) {
    	// Pass the array type down as an inner type so that we print
    	// multi-dimensional arrays correctly.
    	ps.inner = append(ps.inner, at)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        val token = analysisContext.token
    
        return when (this) {
            is ArrayValue -> {
                val arrayType = getType(analysisContext.resolveSession.moduleDescriptor)
                KaArrayAnnotationValue(value.expandArrayAnnotationValue(arrayType, analysisContext), sourcePsi = null, token)
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KaFe10Resolver.kt

            val returnType = if (resultingDescriptor is ValueParameterDescriptor && resultingDescriptor.isVararg) {
                val arrayType = resultingDescriptor.returnType ?: return null
                analysisContext.builtIns.getArrayElementType(arrayType)
            } else {
                resultingDescriptor.returnType
            }
            val ktReturnType = returnType?.toKtType(analysisContext) ?: return null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top