Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,219 for AArray (0.12 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/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)
  8. 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)
  9. src/encoding/gob/decgen.go

    // license that can be found in the LICENSE file.
    
    package gob
    
    import (
    	"math"
    	"reflect"
    )
    
    `
    
    const arrayHelper = `
    func dec%[2]sArray(state *decoderState, v reflect.Value, length int, ovfl error) bool {
    	// Can only slice if it is addressable.
    	if !v.CanAddr() {
    		return false
    	}
    	return dec%[2]sSlice(state, v.Slice(0, v.Len()), length, ovfl)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/encoding/gob/encgen.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package gob
    
    import (
    	"reflect"
    )
    
    `
    
    const arrayHelper = `
    func enc%[2]sArray(state *encoderState, v reflect.Value) bool {
    	// Can only slice if it is addressable.
    	if !v.CanAddr() {
    		return false
    	}
    	return enc%[2]sSlice(state, v.Slice(0, v.Len()))
    }
    `
    
    const sliceHelper = `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top