Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 109 for newarray (0.18 sec)

  1. src/go/doc/testdata/issue22856.0.golden

    	func NewSlice3() [][][]T
    
    	// NewSliceOfSlice is not a factory function because slices of a ...
    	func NewSliceOfSlice() [][]T
    
    
    TYPES
    	// 
    	type T struct{}
    
    	// 
    	func New() T
    
    	// 
    	func NewArray() [1]T
    
    	// 
    	func NewPointer() *T
    
    	// 
    	func NewPointerArray() [1]*T
    
    	// 
    	func NewPointerOfPointer() **T
    
    	// 
    	func NewPointerSlice() []*T
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 654 bytes
    - Viewed (0)
  2. src/go/doc/testdata/issue22856.2.golden

    	func NewSlice3() [][][]T
    
    	// NewSliceOfSlice is not a factory function because slices of a ...
    	func NewSliceOfSlice() [][]T
    
    
    TYPES
    	// 
    	type T struct{}
    
    	// 
    	func New() T
    
    	// 
    	func NewArray() [1]T
    
    	// 
    	func NewPointer() *T
    
    	// 
    	func NewPointerArray() [1]*T
    
    	// 
    	func NewPointerOfPointer() **T
    
    	// 
    	func NewPointerSlice() []*T
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 654 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/abiutils_test.go

    	//         (r1 [2]int32, r2 [1]int32, r3 [0]int32, r4 [1][1]int32) {
    	i32 := types.Types[types.TINT32]
    	ae := types.NewArray(i32, 0)
    	a1 := types.NewArray(i32, 1)
    	a2 := types.NewArray(i32, 2)
    	aa1 := types.NewArray(a1, 1)
    	ft := mkFuncType(nil, []*types.Type{a1, ae, aa1, a2},
    		[]*types.Type{a2, a1, ae, aa1})
    
    	exp := makeExpectedDump(`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	typs[28] = types.Types[types.TSTRING]
    	typs[29] = newSig(params(typs[28]), nil)
    	typs[30] = newSig(params(typs[2]), nil)
    	typs[31] = newSig(params(typs[5]), nil)
    	typs[32] = types.NewArray(typs[0], 32)
    	typs[33] = types.NewPtr(typs[32])
    	typs[34] = newSig(params(typs[33], typs[28], typs[28]), params(typs[28]))
    	typs[35] = newSig(params(typs[33], typs[28], typs[28], typs[28]), params(typs[28]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

    }
    
    
    internal
    fun MethodVisitor.visitTypeInsn(opcode: Int, type: InternalName) {
        visitTypeInsn(opcode, type.value)
    }
    
    
    internal
    fun MethodVisitor.NEWARRAY(primitiveType: Int) {
        visitIntInsn(Opcodes.NEWARRAY, primitiveType)
    }
    
    
    internal
    fun MethodVisitor.LDC(type: InternalName) {
        visitLdcInsn(Type.getType("L${type.value};"))
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java

                    if (array.length == inserted) {
                        return array;
                    }
                    Object[] newArray = new Object[inserted];
                    System.arraycopy(array, 0, newArray, 0, inserted);
                    return newArray;
                }
            }
    
            @SuppressWarnings("unchecked")
            public static <T> ImmutableUniqueList<T> empty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      }
    
      static <T> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      static <T> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
        T[] result = newArray(arrayOfType, to - from);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 29 18:16:45 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/regexp/onepass.go

    	defer func() {
    		if !ok {
    			merged = nil
    			next = nil
    		}
    	}()
    
    	ix := -1
    	extend := func(newLow *int, newArray *[]rune, pc uint32) bool {
    		if ix > 0 && (*newArray)[*newLow] <= merged[ix] {
    			return false
    		}
    		merged = append(merged, (*newArray)[*newLow], (*newArray)[*newLow+1])
    		*newLow += 2
    		ix += 2
    		next = append(next, pc)
    		return true
    	}
    
    	for lx < leftLen || rx < rightLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. src/go/doc/testdata/issue22856.go

    func NewPointer() *T           { return &T{} }
    func NewPointerSlice() []*T    { return []*T{&T{}} }
    func NewSlice() []T            { return []T{T{}} }
    func NewPointerOfPointer() **T { x := &T{}; return &x }
    func NewArray() [1]T           { return [1]T{T{}} }
    func NewPointerArray() [1]*T   { return [1]*T{&T{}} }
    
    // NewSliceOfSlice is not a factory function because slices of a slice of
    // type *T are not factory functions of type T.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingCollection.java

       * this implementation.
       *
       * @since 7.0
       */
      protected @Nullable Object[] standardToArray() {
        @Nullable Object[] newArray = new @Nullable Object[size()];
        return toArray(newArray);
      }
    
      /**
       * A sensible definition of {@link #toArray(Object[])} in terms of {@link #size} and {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 8.2K bytes
    - Viewed (0)
Back to top