Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for ArrayType (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  8. 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)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			obj:    []interface{}{"bar"},
    			oldObj: []interface{}{"baz"},
    			schema: withRule(arrayType("", nil, &stringSchema), `
    				!oldSelf.hasValue() || self[0] == "bar"
    			`),
    		},
    		{
    			name: "array - conditional index",
    			obj:  []interface{}{},
    			oldObj: []interface{}{
    				"baz",
    			},
    			schema: withRule(arrayType("", nil, &stringSchema), `
    				self.size() > 0 || oldSelf[?0].orValue("baz") == "baz"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		Args:         types,
    		ForLocalName: false, // may be set later in encoding
    	}
    }
    
    // arrayType parses:
    //
    //	<array-type> ::= A <(positive dimension) number> _ <(element) type>
    //	             ::= A [<(dimension) expression>] _ <(element) type>
    func (st *state) arrayType(isCast bool) AST {
    	st.checkChar('A')
    
    	if len(st.str) == 0 {
    		st.fail("missing array dimension")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top