Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for ArrayType (0.32 sec)

  1. 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
    	}
    	type CommonType struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		}
    		if node != nil { // push child
    			children = append(children, node)
    		}
    		return false // no recursion
    	})
    
    	// Then add fake Nodes for bare tokens.
    	switch n := n.(type) {
    	case *ast.ArrayType:
    		children = append(children,
    			tok(n.Lbrack, len("[")),
    			tok(n.Elt.End(), len("]")))
    
    	case *ast.AssignStmt:
    		children = append(children,
    			tok(n.TokPos, len(n.Tok.String())))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.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. android/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)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
  10. src/go/ast/filter.go

    	}
    	return b
    }
    
    func filterType(typ Expr, f Filter, export bool) bool {
    	switch t := typ.(type) {
    	case *Ident:
    		return f(t.Name)
    	case *ParenExpr:
    		return filterType(t.X, f, export)
    	case *ArrayType:
    		return filterType(t.Elt, f, export)
    	case *StructType:
    		if filterFieldList(t.Fields, f, export) {
    			t.Incomplete = true
    		}
    		return len(t.Fields.List) > 0
    	case *FuncType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top