Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for ArrayType (0.19 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

                    return DecoderExtensions.readLengthPrefixedBooleans(decoder);
                }
            };
    
            public final Class<?> arrayType;
    
            PrimitiveType(Class<?> arrayType) {
                this.arrayType = arrayType;
            }
    
            public abstract Object clone(Object array);
    
            public abstract boolean equals(Object x, Object y);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/internal/abi/type.go

    func (t *Type) MapType() *MapType {
    	if t.Kind() != Map {
    		return nil
    	}
    	return (*MapType)(unsafe.Pointer(t))
    }
    
    // ArrayType returns t cast to a *ArrayType, or nil if its tag does not match.
    func (t *Type) ArrayType() *ArrayType {
    	if t.Kind() != Array {
    		return nil
    	}
    	return (*ArrayType)(unsafe.Pointer(t))
    }
    
    // FuncType returns t cast to a *FuncType, or nil if its tag does not match.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. src/encoding/gob/type.go

    	registerBasics()
    	wireTypeUserInfo = userType(wireTypeType)
    }
    
    // Array type
    type arrayType struct {
    	CommonType
    	Elem typeId
    	Len  int
    }
    
    func newArrayType(name string) *arrayType {
    	a := &arrayType{CommonType{Name: name}, 0, 0}
    	return a
    }
    
    func (a *arrayType) init(elem gobType, len int) {
    	// Set our type id before evaluating the element's, in case it's our own.
    	setTypeId(a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/debug/dwarf/type.go

    func (t *QualType) Size() int64 { return t.Type.Size() }
    
    // An ArrayType represents a fixed size array type.
    type ArrayType struct {
    	CommonType
    	Type          Type
    	StrideBitSize int64 // if > 0, number of bits to hold each element
    	Count         int64 // if == -1, an incomplete array, like char x[].
    }
    
    func (t *ArrayType) String() string {
    	return "[" + strconv.FormatInt(t.Count, 10) + "]" + t.Type.String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. src/internal/fuzz/encoding.go

    		return nil, fmt.Errorf("expected call expression with 1 argument; got %d", len(call.Args))
    	}
    	arg := call.Args[0]
    
    	if arrayType, ok := call.Fun.(*ast.ArrayType); ok {
    		if arrayType.Len != nil {
    			return nil, fmt.Errorf("expected []byte or primitive type")
    		}
    		elt, ok := arrayType.Elt.(*ast.Ident)
    		if !ok || elt.Name != "byte" {
    			return nil, fmt.Errorf("expected []byte")
    		}
    		lit, ok := arg.(*ast.BasicLit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  6. src/runtime/type.go

    	}
    	res := md.textAddr(uint32(off))
    	return unsafe.Pointer(res)
    }
    
    type uncommontype = abi.UncommonType
    
    type interfacetype = abi.InterfaceType
    
    type maptype = abi.MapType
    
    type arraytype = abi.ArrayType
    
    type chantype = abi.ChanType
    
    type slicetype = abi.SliceType
    
    type functype = abi.FuncType
    
    type ptrtype = abi.PtrType
    
    type name = abi.Name
    
    type structtype = abi.StructType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top