- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 84 for ArrayType (0.14 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
}); } } private TypeMetaData extractTypeName(Type type) { TypeMetaData typeMetaData = new TypeMetaData(); type.ifArrayType(arrayType -> typeMetaData.setArrayDimensions(arrayType.getArrayLevel())); extractElementTypeName(type.getElementType(), typeMetaData); return typeMetaData; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 21 13:27:02 UTC 2023 - 11.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/positions.go
continue } return n.Pos() case *CallExpr: m = n.Fun case *ListExpr: if len(n.ElemList) > 0 { m = n.ElemList[0] continue } return n.Pos() // types // case *ArrayType: // case *SliceType: // case *DotsType: // case *StructType: // case *Field: // case *InterfaceType: // case *FuncType: // case *MapType: // case *ChanType: // statements
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractValueProcessor.java
T managedValue(Managed value, T state); T managedImmutableValue(Managed managed); T fromIsolatable(Isolatable<?> value); T emptyArray(Class<?> arrayType); T array(ImmutableList<T> elements, Class<?> arrayType); T primitiveArray(Object value); T emptyList(); T list(ImmutableList<T> elements); T set(ImmutableSet<T> elements);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 19:08:37 UTC 2024 - 10K bytes - Viewed (0) -
src/unique/clone.go
} } } // buildArrayCloneSeq populates a cloneSeq for an abi.Type that has Kind abi.Array. func buildArrayCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) { atyp := typ.ArrayType() etyp := atyp.Elem offset := baseOffset for range atyp.Len { switch etyp.Kind() { case abi.String: seq.stringOffsets = append(seq.stringOffsets, offset) case abi.Struct:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:21 UTC 2024 - 2.6K bytes - Viewed (0) -
src/internal/reflectlite/type.go
// Using a pointer to this struct reduces the overall size required // to describe a non-defined type with no methods. type uncommonType = abi.UncommonType // arrayType represents a fixed array type. type arrayType = abi.ArrayType // chanType represents a channel type. type chanType = abi.ChanType type funcType = abi.FuncType type interfaceType = abi.InterfaceType
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
if elt == nil { return nil } return &ast.ArrayType{ Len: &ast.BasicLit{ Kind: token.INT, Value: fmt.Sprintf("%d", t.Len()), }, Elt: elt, } case *types.Slice: elt := TypeExpr(f, pkg, t.Elem()) if elt == nil { return nil } return &ast.ArrayType{ Elt: elt, } case *types.Map: key := TypeExpr(f, pkg, t.Key())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(returnClass, is(sameClass(Object.class))); } /** * @throws Exception */ public void testArray() throws Exception { final Method m1 = ArrayType.class.getMethod("arrayOfStringClass"); final Type t1 = m1.getGenericReturnType(); final Type t2 = GenericsUtil.getElementTypeOfArray(t1); assertThat(GenericsUtil.getRawClass(t2), is(sameClass(Class.class)));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.5K bytes - Viewed (0) -
src/internal/reflectlite/reflect_mirror_test.go
import ( "fmt" "go/ast" "go/parser" "go/token" "io/fs" "os" "path/filepath" "runtime" "strings" "sync" "testing" ) var typeNames = []string{ "uncommonType", "arrayType", "chanType", "funcType", "interfaceType", "ptrType", "sliceType", "structType", } type visitor struct { m map[string]map[string]bool } func newVisitor() visitor { v := visitor{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 21:11:15 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java
} else if (typeToInspect instanceof GenericArrayType) { GenericArrayType arrayType = (GenericArrayType) typeToInspect; typesToInspect.add(arrayType.getGenericComponentType()); } else if (typeToInspect instanceof WildcardType) { WildcardType wildcardType = (WildcardType) typeToInspect;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/nodes_test.go
// ListExpr: tested via multi-value const/var declarations } var types = []test{ {"Operation", `@*T`}, {"Operation", `@*struct{}`}, {"ArrayType", `@[10]T`}, {"ArrayType", `@[...]T`}, {"SliceType", `@[]T`}, {"DotsType", `@...T`}, {"StructType", `@struct{}`}, {"InterfaceType", `@interface{}`}, {"FuncType", `func@()`}, {"MapType", `@map[T]T`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 18:45:06 UTC 2023 - 8.7K bytes - Viewed (0)