- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 102 for ArrayType (0.19 sec)
-
src/go/doc/exports.go
if t.Op == token.TILDE { // approximation element r.filterType(nil, t.X) } case *ast.BinaryExpr: if t.Op == token.OR { // union r.filterType(nil, t.X) r.filterType(nil, t.Y) } case *ast.ArrayType: r.filterType(nil, t.Elt) case *ast.StructType: if r.filterFieldList(parent, t.Fields, nil) { t.Incomplete = true } case *ast.FuncType: r.filterParamList(t.TypeParams)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 8.5K bytes - Viewed (0) -
src/runtime/cgocheck.go
} if typ.Kind_&abi.KindGCProg == 0 { cgoCheckBits(src, typ.GCData, off, size) return } switch typ.Kind_ & abi.KindMask { default: throw("can't happen") case abi.Array: at := (*arraytype)(unsafe.Pointer(typ)) for i := uintptr(0); i < at.Len; i++ { if off < at.Elem.Size_ { cgoCheckUsingType(at.Elem, src, off, size) } src = add(src, at.Elem.Size_) skipped := off
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java
assertThat(paramType, instanceOf(GenericArrayType.class)); arrayType = (GenericArrayType) paramType; assertThat(arrayType.getGenericComponentType(), instanceOf(ParameterizedType.class)); parameterizedType = (ParameterizedType) arrayType.getGenericComponentType(); assertThat(parameterizedType.getRawType(), equalTo((Type) List.class));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 74.6K bytes - Viewed (0) -
src/encoding/gob/debug.go
deb.delta(1) com := deb.common() // Field number 1 is type Id of elem deb.delta(1) id := deb.typeId() // Field number 3 is length deb.delta(1) length := deb.int() wire.ArrayT = &arrayType{com, id, length} case 1: // slice type, one field of {{Common}, elem} // Field number 0 is CommonType deb.delta(1) com := deb.common() // Field number 1 is type Id of elem deb.delta(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 09:34:41 UTC 2023 - 18.3K bytes - Viewed (0) -
src/go/parser/parser.go
} // "[" has already been consumed, and lbrack is its position. // If len != nil it is the already consumed array length. func (p *parser) parseArrayType(lbrack token.Pos, len ast.Expr) *ast.ArrayType { if p.trace { defer un(trace(p, "ArrayType")) } if len == nil { p.exprLev++ // always permit ellipsis for more fault-tolerant parsing if p.tok == token.ELLIPSIS { len = &ast.Ellipsis{Ellipsis: p.pos}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
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) -
guava/src/com/google/common/reflect/TypeResolver.java
} if (type instanceof TypeVariable) { return type; } if (type instanceof GenericArrayType) { GenericArrayType arrayType = (GenericArrayType) type; return Types.newArrayType( notForTypeVariable().capture(arrayType.getGenericComponentType())); } if (type instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedType) type;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
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) -
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) -
src/go/types/expr.go
// Check for them here so we don't have to handle ... in general. if atyp, _ := e.Type.(*ast.ArrayType); atyp != nil && atyp.Len != nil { if ellip, _ := atyp.Len.(*ast.Ellipsis); ellip != nil && ellip.Elt == nil { // We have an "open" [...]T array type. // Create a new ArrayType with unknown length (-1) // and finish setting it up after analyzing the literal.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0)