Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,092 for AArray (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

            }
            deleteFromArray(arraySettingsIndexName, settingsId, createId(key, value));
        }
    
        protected String createArraySettingsIndexName(final String settingsIndexName) {
            return settingsIndexName + "_array";
        }
    
        protected String createId(final String key, final Object value) {
            return encoder.encodeToString(("key:" + key + "value:" + value).getBytes(CoreLibConstants.CHARSET_UTF_8));
        }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"self.array.exists_one(e, e > 4)":                                22,
    				"!self.array.all(e, e < 2)":                                      21,
    				"!self.array.exists(e, e < 0)":                                   52,
    				"!self.array.exists_one(e, e == 2)":                              25,
    				"self.array.all(e, e < 100)":                                     43,
    				"size(self.array.filter(e, e%2 == 0)) == 3":                      68,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

            "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array));
        expectArrayContentsInOrder(getOrderedElements(), array);
      }
    
      public void testToArray_rightSizedArrayOfObject() {
        Object[] array = new Object[getNumElements()];
        assertSame(
            "toArray(sameSizeObject[]) should return the given array",
            array,
            collection.toArray(array));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DecoderExtensions.java

            int length = decoder.readInt();
            short[] array = new short[length];
            readShorts(decoder, array);
            return array;
        }
    
        public static void readShorts(Decoder decoder, short[] array) throws IOException {
            for (int i = 0; i < array.length; i++) {
                array[i] = decoder.readShort();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/EncoderExtensions.java

            encoder.writeInt(array.length);
            writeInts(encoder, array);
        }
    
        public static void writeInts(Encoder encoder, int[] array) throws IOException {
            for (int e : array) {
                encoder.writeInt(e);
            }
        }
    
        public static void writeLengthPrefixedLongs(Encoder encoder, long[] array) throws IOException {
            encoder.writeInt(array.length);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top