Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,390 for AArray (0.33 sec)

  1. analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.kt

    annotation class A(vararg val strings: String)
    annotation class AArray(vararg val value: A)
    
    @AArray(A(strings = ["foo", "bar"]))
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jan 12 10:48:21 UTC 2023
    - 146 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.txt

    KtDeclaration: KtClass Foo
    annotations: [
      AArray(value = [/A(strings = ["foo", "bar"], )])
        psi: KtAnnotationEntry
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jan 12 10:48:21 UTC 2023
    - 122 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/array.go

    package types2
    
    // An Array represents an array type.
    type Array struct {
    	len  int64
    	elem Type
    }
    
    // NewArray returns a new array type for the given element type and length.
    // A negative length indicates an unknown length.
    func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
    
    // Len returns the length of array a.
    // A negative result indicates an unknown length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 803 bytes
    - Viewed (0)
  4. src/go/types/array.go

    func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
    
    // Len returns the length of array a.
    // A negative result indicates an unknown length.
    func (a *Array) Len() int64 { return a.len }
    
    // Elem returns element type of array a.
    func (a *Array) Elem() Type { return a.elem }
    
    func (a *Array) Underlying() Type { return a }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 927 bytes
    - Viewed (0)
  5. test/ken/array.go

    Rob Pike <******@****.***> 1330061064 +1100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/kind_string.go

    	_ = x[TUINT-10]
    	_ = x[TUINTPTR-11]
    	_ = x[TCOMPLEX64-12]
    	_ = x[TCOMPLEX128-13]
    	_ = x[TFLOAT32-14]
    	_ = x[TFLOAT64-15]
    	_ = x[TBOOL-16]
    	_ = x[TPTR-17]
    	_ = x[TFUNC-18]
    	_ = x[TSLICE-19]
    	_ = x[TARRAY-20]
    	_ = x[TSTRUCT-21]
    	_ = x[TCHAN-22]
    	_ = x[TMAP-23]
    	_ = x[TINTER-24]
    	_ = x[TFORW-25]
    	_ = x[TANY-26]
    	_ = x[TSTRING-27]
    	_ = x[TUNSAFEPTR-28]
    	_ = x[TIDEAL-29]
    	_ = x[TNIL-30]
    	_ = x[TBLANK-31]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/fmt/fmt_test.go

    	{"%g", 1.23456789e-3, "0.00123456789"},
    	{"%g", 1.23456789e20, "1.23456789e+20"},
    
    	// arrays
    	{"%v", array, "[1 2 3 4 5]"},
    	{"%v", iarray, "[1 hello 2.5 <nil>]"},
    	{"%v", barray, "[1 2 3 4 5]"},
    	{"%v", &array, "&[1 2 3 4 5]"},
    	{"%v", &iarray, "&[1 hello 2.5 <nil>]"},
    	{"%v", &barray, "&[1 2 3 4 5]"},
    
    	// slices
    	{"%v", slice, "[1 2 3 4 5]"},
    	{"%v", islice, "[1 hello 2.5 <nil>]"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/spec/assignability.go

    }
    
    // proto-types for tests
    
    type (
    	_Basic     = int
    	_Array     = [10]int
    	_Slice     = []int
    	_Struct    = struct{ f int }
    	_Pointer   = *int
    	_Func      = func(x int) string
    	_Interface = interface{ m() int }
    	_Map       = map[string]int
    	_Chan      = chan int
    
    	Basic     _Basic
    	Array     _Array
    	Slice     _Slice
    	Struct    _Struct
    	Pointer   _Pointer
    	Func      _Func
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/type.go

    	case TRESULTS:
    		t.extra = new(Results)
    	}
    	return t
    }
    
    // NewArray returns a new fixed-length array Type.
    func NewArray(elem *Type, bound int64) *Type {
    	if bound < 0 {
    		base.Fatalf("NewArray: invalid bound %v", bound)
    	}
    	t := newType(TARRAY)
    	t.extra = &Array{Elem: elem, Bound: bound}
    	if elem.HasShape() {
    		t.SetHasShape(true)
    	}
    	if elem.NotInHeap() {
    		t.SetNotInHeap(true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typebits/typebits.go

    	case types.TSLICE:
    		// struct { byte *array; uintgo len; uintgo cap; }
    		if off&int64(types.PtrSize-1) != 0 {
    			base.Fatalf("typebits.Set: invalid TARRAY alignment, %v", t)
    		}
    		bv.Set(int32(off / int64(types.PtrSize))) // pointer in first slot (BitsPointer)
    
    	case types.TARRAY:
    		elt := t.Elem()
    		if elt.Size() == 0 {
    			// Short-circuit for #20739.
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top