HomeSort by relevance Sort by last modified time
    Searched refs:array (Results 401 - 425 of 7929) sorted by null

<<11121314151617181920>>

  /art/test/552-checker-primitive-typeprop/src/
Main.java 34 int[] array = new int[3]; local
37 result = (Integer) m.invoke(null, true, array);
40 result = (Integer) m.invoke(null, false, array);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/exception/util/
ArgUtils.java 37 * Transform a multidimensional array into a one-dimensional list.
39 * @param array Array (possibly multidimensional).
41 * {@code array}.
43 public static Object[] flatten(Object[] array) {
45 if (array != null) {
46 for (Object o : array) {
  /external/clang/test/PCH/
objc_container.h 14 NSMutableArray *array; local
15 id oldObject = array[10];
17 array[10] = oldObject;
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_stackdepot_test.cc 21 uptr array[] = {1, 2, 3, 4, 5}; local
22 StackTrace s1(array, ARRAY_SIZE(array));
26 EXPECT_EQ(ARRAY_SIZE(array), stack.size);
27 EXPECT_EQ(0, internal_memcmp(stack.trace, array, sizeof(array)));
47 uptr array[] = {1, 2, 3, 4, 6}; local
48 StackTrace s1(array, ARRAY_SIZE(array));
54 EXPECT_EQ(ARRAY_SIZE(array), stack.size)
    [all...]
  /external/compiler-rt/test/asan/TestCases/
alloca_loop_unpoisoning.cc 23 char array[len]; // NOLINT local
24 assert(!(reinterpret_cast<uintptr_t>(array) & 31L));
27 char array[i]; // NOLINT local
  /external/eigen/doc/examples/
Tutorial_ArrayClass_interop_matrix.cpp 20 result = m.array() * n.array();
21 cout << "-- Array m*n: --" << endl << result << endl << endl;
24 result = m.array() + 4;
25 cout << "-- Array m + 4: --" << endl << result << endl << endl;
  /external/guava/guava-tests/test/com/google/common/collect/
UnmodifiableIteratorTest.java 35 final String[] array = {"a", "b", "c"}; local
41 return i < array.length;
48 return array[i++];
  /external/icu/icu4c/source/common/
unistr_props.cpp 35 UChar *array = getArrayStart(); local
46 U16_PREV(array, 0, i, c);
63 U16_NEXT(array, i, length, c);
  /external/libcxx/test/libcxx/containers/sequences/array/array.zero/
db_indexing.pass.cpp 17 // test array<T, 0>::operator[] throws a debug exception.
21 #include <array>
23 template <class Array>
24 inline bool CheckDebugThrows(Array& Arr, size_t Index) {
36 typedef std::array<int, 0> C;
45 typedef std::array<const int, 0> C;
  /external/libcxx/test/std/containers/sequences/array/array.tuple/
get_const.pass.cpp 10 // <array>
12 // template <size_t I, class T, size_t N> const T& get(const array<T, N>& a);
14 #include <array>
19 // std::array is explicitly allowed to be initialized with A a = { init-list };.
27 typedef std::array<T, 3> C;
36 typedef std::array<T, 3> C;
  /external/mesa3d/src/gallium/drivers/r300/compiler/
memory_pool.h 51 * Generic helper for growing an array that has separate size/count
54 * type * Array;
58 * memory_pool_array_reserve(pool, type, Array, Size, Reserved, k);
63 * \warning Array, Size, Reserved have to be lvalues and may be evaluated
66 #define memory_pool_array_reserve(pool, type, array, size, reserved, num) do { \
74 memcpy(newarray, (array), (size) * sizeof(type)); \
75 (array) = newarray; \
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/json/
JSONArrayTest.java 15 JSONArray array = new JSONArray(Arrays.asList("a", "b")); local
16 assertThat(array).isEqualTo(new JSONArray(array.toString()));
  /external/valgrind/drd/tests/
annotate_barrier.c 45 int* array; member in struct:threadinfo
102 * Single thread, which touches p->iterations elements of array p->array.
103 * Each modification of an element of p->array is a data race.
108 int* const array = p->array; local
117 p->thread_num, i + 1, &array[i]);
118 array[i] = i;
131 int* array; local
134 array = malloc(iterations * sizeof(array[0]))
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DoublePrimitiveOpsTests.java 47 double[] array = LongStream.range(1, 10).asDoubleStream().map(i -> i * 2).toArray(); local
48 assertEquals(array, new double[]{2, 4, 6, 8, 10, 12, 14, 16, 18});
52 double[] array = LongStream.range(1, 10).parallel().asDoubleStream().map(i -> i * 2).toArray(); local
53 assertEquals(array, new double[]{2, 4, 6, 8, 10, 12, 14, 16, 18});
65 double[] array = Arrays.stream(content).sorted().toArray(); local
66 assertEquals(array, sortedContent);
70 double[] array = Arrays.stream(content).parallel().sorted().toArray(); local
71 assertEquals(array, sortedContent);
83 double[] array = Arrays.stream(content).sorted().sorted().toArray(); local
84 assertEquals(array, sortedContent)
88 double[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
dshow.h 37 #define NUMELMS(array) (sizeof(array)/sizeof((array)[0]))
  /prebuilts/jdk/jdk8/darwin-x86/sample/lambda/DefaultMethods/
ArrayIterator.java 53 * Returns an iterator that goes over the elements in the array.
55 * @param <E> type of an array element
56 * @param array source array to iterate over it
57 * @return an iterator that goes over the elements in the array
59 public static <E> Iterator<E> iterator(final E[] array) {
76 return (index < array.length);
91 return array[index++];
  /prebuilts/jdk/jdk8/linux-x86/sample/lambda/DefaultMethods/
ArrayIterator.java 53 * Returns an iterator that goes over the elements in the array.
55 * @param <E> type of an array element
56 * @param array source array to iterate over it
57 * @return an iterator that goes over the elements in the array
59 public static <E> Iterator<E> iterator(final E[] array) {
76 return (index < array.length);
91 return array[index++];
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/array/array.tuple/
get_const.pass.cpp 10 // <array>
12 // template <size_t I, class T, size_t N> const T& get(const array<T, N>& a);
14 #include <array>
19 // std::array is explicitly allowed to be initialized with A a = { init-list };.
27 typedef std::array<T, 3> C;
36 typedef std::array<T, 3> C;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
LongBufferTest.java 51 long array[] = buf.array(); local
52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
54 loadTestData1(array, buf.arrayOffset(), buf.capacity());
55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
57 loadTestData2(array, buf.arrayOffset(), buf.capacity());
58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
68 long array[] = buf.array() local
257 long array[] = new long[1]; local
285 long array[] = new long[buf.capacity()]; local
417 long array[] = new long[1]; local
446 long array[] = new long[buf.capacity()]; local
638 assertEquals(buf.get(i), array[offset + i]); local
    [all...]
FloatBufferTest.java 51 float array[] = buf.array(); local
52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
54 loadTestData1(array, buf.arrayOffset(), buf.capacity());
55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
57 loadTestData2(array, buf.arrayOffset(), buf.capacity());
58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
68 float array[] = buf.array() local
277 float array[] = new float[1]; local
306 float array[] = new float[buf.capacity()]; local
440 float array[] = new float[1]; local
469 float array[] = new float[buf.capacity()]; local
655 assertEquals(buf.get(i), array[offset + i], 0.01); local
    [all...]
  /toolchain/binutils/binutils-2.27/bfd/
elf-strtab.c 52 /* Number of array entries alloced. */
56 /* Array of pointers to strtab entries. */
57 struct elf_strtab_hash_entry **array; member in struct:elf_strtab_hash
115 table->array = ((struct elf_strtab_hash_entry **)
117 if (table->array == NULL)
123 table->array[0] = NULL;
134 free (tab->array);
170 tab->array = (struct elf_strtab_hash_entry **)
171 bfd_realloc_or_free (tab->array, tab->alloced * amt);
172 if (tab->array == NULL
361 struct elf_strtab_hash_entry **array, **a, *e; local
    [all...]
  /external/tensorflow/tensorflow/compiler/tests/
dynamic_stitch_test.py 53 idx1 = np.array([0, 2], dtype=np.int32)
54 idx2 = np.array([[1], [3]], dtype=np.int32)
55 val1 = np.array([[], []], dtype=np.int32)
56 val2 = np.array([[[]], [[]]], dtype=np.int32)
59 expected=np.array([[], [], [], []], np.int32))
62 val1 = np.array([0, 4, 7], dtype=np.int32)
63 val2 = np.array([1, 6, 2, 3, 5], dtype=np.int32)
64 val3 = np.array([0, 40, 70], dtype=np.float32)
65 val4 = np.array([10, 60, 20, 30, 50], dtype=np.float32)
66 expected = np.array([0, 10, 20, 30, 40, 50, 60, 70], dtype=np.float32
    [all...]
  /external/tensorflow/tensorflow/contrib/lite/toco/tflite/
types.cc 24 const Array& array, flatbuffers::FlatBufferBuilder* builder) {
26 const auto& src_data = array.GetBuffer<T>().data;
33 void CopyBuffer(const ::tflite::Buffer& buffer, Array* array) {
40 std::vector<NativeT>* dst_data = &array->GetMutableBuffer<T>().data;
85 const Array& array, flatbuffers::FlatBufferBuilder* builder) {
86 if (!array.buffer) return 0; // an empty buffer, usually an output.
88 switch (array.data_type)
    [all...]
  /external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
TestUtil.java 18 import java.lang.reflect.Array;
68 * Counts the total number of elements in an ND array.
70 * @param array the array to count the elements of
73 public static int flattenedNumElements(Object array) {
75 for (int i = 0; i < Array.getLength(array); i++) {
76 Object e = Array.get(array, i);
87 * Flattens an ND-array into a 1D-array with the same elements
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
PriorityQueueTest.java 46 Integer[] array = { 2, 45, 7, -12, 9 }; local
47 for (int i = 0; i < array.length; i++) {
48 integerQueue.offer(array[i]);
57 Arrays.sort(array);
59 assertTrue(Arrays.equals(array, resultArray));
115 Integer[] array = { 2, 45, 7, -12, 9 }; local
116 for (int i = 0; i < array.length; i++) {
117 integerQueue.offer(array[i]);
121 for (int i = 0; i < array.length; i++) {
127 assertEquals(array.length - 1, integerQueue.size())
143 String[] array = { "ONE", "TWO", "THREE", "FOUR", "FIVE" }; local
158 Integer[] array = { 2, 45, 7, -12, 9 }; local
187 int[] array = { 2, 45, 7, -12, 9 }; local
260 Integer[] array = { 2, 45, 7, -12, 9 }; local
271 Integer[] array = { 2, 45, 7, -12, 9 }; local
317 String[] array = { "AAAAA", "AA", "AAAA", "AAAAAAAA" }; local
336 int[] array = { 3, 5, 79, -17, 5 }; local
357 int[] array = { 2, 45, 7, -12, 9 }; local
388 int[] array = { 3, 5, 79, -17, 5 }; local
418 String[] array = { "AAAAA", "AA", "AAAA", "AAAAAAAA" }; local
471 String[] array = { "MYTESTSTRING", "AAAAA", "BCDEF", "ksTRD", "AAAAA" }; local
497 int[] array = { 2, 45, 7, -12, 9 }; local
521 int[] array = { 2, 45, 7, -12, 9 }; local
534 Integer[] array = { 2, 45, 7, -12, 9 }; local
586 Integer[] array = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39 }; local
604 String[] array = { "AAAAA", "AA", "AAAA", "AAAAAAAA" }; local
617 Integer[] array = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39 }; local
629 Integer[] array = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39 }; local
640 Integer[] array = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39 }; local
675 Integer[] array = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39 }; local
692 Integer[] array = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39 }; local
709 Integer[] array = { 2, 45, 7, -12, 9, 23, 17, 1118, 10, 16, 39 }; local
728 Integer[] array = { 2, 45, 7, -12, 9 }; local
743 Integer[] array = { 2, 45, 7, -12, 9 }; local
759 Integer[] array = { 2, 45, 7, -12, 9 }; local
    [all...]

Completed in 454 milliseconds

<<11121314151617181920>>