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

<<41424344454647484950>>

  /external/eigen/unsupported/test/
cxx11_tensor_forced_eval.cpp 32 Eigen::array<DimPair, 1> dims;
56 Eigen::array<int, 1> depth_dim;
61 Eigen::array<int, 2> bcast;
  /external/googletest/googlemock/include/gmock/internal/
gmock-internal-utils.h 350 // DecayArray<T>::type turns an array type U[N] to const U* and preserves
390 // native array, class StlContainerView<RawContainer> has the
419 // This specialization is used when RawContainer is a native array type.
425 // NativeArray<T> can represent a native array either by value or by
427 // can be used to reference a const native array. We cannot
432 static const_reference ConstReference(const Element (&array)[N]) {
448 // conversion of it doesn't help - only the conversion of the array).
449 return type(const_cast<Element*>(&array[0]), N,
452 return type(array, N, RelationToSourceReference());
455 static type Copy(const Element (&array)[N])
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
ListAddTester.java 37 @SuppressWarnings("unchecked") // too many "unchecked generic array creations"
64 E[] array = createArrayWithNullElement(); local
65 collection = getSubjectGenerator().create(array);
68 List<E> expected = Helpers.copyToList(array);
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
CharsTest.java 269 char[] array = {(char) 0, (char) 1, 'A'}; local
272 assertTrue(Arrays.equals(array, Chars.toArray(three)));
274 assertTrue(Arrays.equals(array, Chars.toArray(Chars.asList(array))));
303 char[] array = {(char) 0, (char) 1}; local
304 List<Character> list = Chars.asList(array);
306 assertTrue(Arrays.equals(new char[] {(char) 2, (char) 1}, array));
307 array[1] = (char) 3;
312 char[] array = { (char) 0, (char) 1, (char) 2 }; local
313 List<Character> list = Chars.asList(array);
326 char[] array = { (char) 0, (char) 1, (char) 2, (char) 3 }; local
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestEnumMapGenerator.java 50 Entry<AnEnum, String>[] array = new Entry[entries.length]; local
55 array[i++] = e;
57 return create(array);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
TestStringBiMapGenerator.java 55 Entry<String, String>[] array = new Entry[entries.length]; local
60 array[i++] = e;
62 return create(array);
TestStringListMultimapGenerator.java 66 Entry<String, String>[] array = new Entry[entries.length]; local
71 array[i++] = e;
73 return create(array);
TestStringSetMultimapGenerator.java 65 Entry<String, String>[] array = new Entry[entries.length]; local
70 array[i++] = e;
72 return create(array);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListAddTester.java 39 @SuppressWarnings("unchecked") // too many "unchecked generic array creations"
66 E[] array = createArrayWithNullElement(); local
67 collection = getSubjectGenerator().create(array);
70 List<E> expected = Helpers.copyToList(array);
  /external/guava/guava-tests/benchmark/com/google/common/collect/
ComparatorDelegationOverheadBenchmark.java 42 Integer[] array = new Integer[n]; local
44 array[j] = rng.nextInt();
46 inputArrays[i] = array;
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
LocaleIDs.java 119 * linear search of the string array. the arrays are unfortunately ordered by the
122 private static int findIndex(String[] array, String target){
123 for (int i = 0; i < array.length; i++) {
124 if (target.equals(array[i])) {
TrieBuilder.java 40 * Number of data values in a stage 2 (data array) block. 2, 4, 8, ..,
122 * Length of the index (stage 1) array before folding.
128 * Length of the BMP portion of the index (stage 1) array.
145 * Shift size for shifting left the index array values.
153 * Maximum length of the runtime data (stage 2) array.
162 * If set, then the data (stage 2) array is 32 bits wide.
167 * (stage 2) array as a simple, linear array at data + DATA_BLOCK_LENGTH.
203 * Compare two sections of an array for equality.
205 protected static final boolean equal_int(int[] array, int start1, int start2, int length)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
LocaleIDs.java 121 * linear search of the string array. the arrays are unfortunately ordered by the
124 private static int findIndex(String[] array, String target){
125 for (int i = 0; i < array.length; i++) {
126 if (target.equals(array[i])) {
TrieBuilder.java 38 * Number of data values in a stage 2 (data array) block. 2, 4, 8, ..,
120 * Length of the index (stage 1) array before folding.
126 * Length of the BMP portion of the index (stage 1) array.
143 * Shift size for shifting left the index array values.
151 * Maximum length of the runtime data (stage 2) array.
160 * If set, then the data (stage 2) array is 32 bits wide.
165 * (stage 2) array as a simple, linear array at data + DATA_BLOCK_LENGTH.
201 * Compare two sections of an array for equality.
203 protected static final boolean equal_int(int[] array, int start1, int start2, int length)
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/invocation/
ArgumentsProcessor.java 28 // expands array varArgs that are given by runtime (1, [a, b]) into true
38 // in case someone deliberately passed null varArg array
50 private static <T> boolean isNullOrEmpty(T[] array) {
51 return array == null || array.length == 0;
  /external/pdfium/fxjs/
cjs_globalvariablearray.cpp 15 void CJS_GlobalVariableArray::Copy(const CJS_GlobalVariableArray& array) {
17 for (int i = 0, sz = array.Count(); i < sz; i++) {
18 CJS_KeyValue* pOldObjData = array.GetAt(i);
  /external/sfntly/cpp/src/sfntly/data/
byte_array.h 27 // An abstraction to a contiguous array of bytes.
34 // Gets the current filled and readable length of the array.
37 // Gets the maximum size of the array. This is the maximum number of bytes that
38 // the array can hold and all of it may not be filled with data or even fully
42 // Determines whether or not this array is growable or of fixed size.
48 // @param index the index into the byte array
54 // end of the array.
55 // @param index the index into the byte array
62 // that would go past the end of the array.
63 // @param index the index into the byte array
    [all...]
  /external/skia/tests/
UtilsTest.cpp 67 // test out reset with data in the array (and a new allocation)
79 // test out destructor with data in the array (and using existing allocation)
93 // Test out resut with data in the array and malloced storage
123 int i, array[kSEARCH_COUNT]; local
127 array[i] = rand.nextS();
130 SkTHeapSort<int>(array, kSEARCH_COUNT);
133 REPORTER_ASSERT(reporter, array[i-1] <= array[i]);
138 int index = SkTSearch<int>(array, kSEARCH_COUNT, array[i], sizeof(int))
    [all...]
  /external/skqp/tests/
UtilsTest.cpp 67 // test out reset with data in the array (and a new allocation)
79 // test out destructor with data in the array (and using existing allocation)
93 // Test out resut with data in the array and malloced storage
123 int i, array[kSEARCH_COUNT]; local
127 array[i] = rand.nextS();
130 SkTHeapSort<int>(array, kSEARCH_COUNT);
133 REPORTER_ASSERT(reporter, array[i-1] <= array[i]);
138 int index = SkTSearch<int>(array, kSEARCH_COUNT, array[i], sizeof(int))
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/tests/
reduce_hlo_test.cc 16 #include <array>
36 std::array<int64, 4> input_minor_to_major;
37 std::array<int64, 3> output_minor_to_major;
  /external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
logistic_test.py 34 np_loc = np.array([2.0] * batch_size, dtype=np.float32)
44 np_loc = np.array([2.0] * batch_size, dtype=np.float32)
47 x = np.array([2.5, 2.5, 4.0, 0.1, 1.0, 2.0], dtype=np.float32)
62 np_loc = np.array([2.0] * batch_size, dtype=np.float32)
67 x = np.array([2.5, 2.5, 4.0, 0.1, 1.0, 2.0], dtype=np.float32)
77 np_loc = np.array([2.0] * batch_size, dtype=np.float32)
82 x = np.array([2.5, 2.5, 4.0, 0.1, 1.0, 2.0], dtype=np.float32)
92 np_loc = np.array([2.0] * batch_size, dtype=np.float32)
97 x = np.array([2.5, 2.5, 4.0, 0.1, 1.0, 2.0], dtype=np.float32)
107 np_loc = np.array([2.0] * batch_size, dtype=np.float32
    [all...]
  /external/tensorflow/tensorflow/examples/learn/
boston.py 44 tf.feature_column.numeric_column('x', shape=np.array(x_train).shape[1:])]
58 y_predicted = np.array(list(p['predictions'] for p in predictions))
59 y_predicted = y_predicted.reshape(np.array(y_test).shape)
iris_run_config.py 44 X_FEATURE, shape=np.array(x_train).shape[1:])]
58 y_predicted = np.array(list(p['class_ids'] for p in predictions))
59 y_predicted = y_predicted.reshape(np.array(y_test).shape)
  /external/tensorflow/tensorflow/python/kernel_tests/
tensor_priority_test.py 33 supported_rhs_without_delegation = (3, 3.0, [1.0, 2.0], np.array(
35 shape=(1, 2), buffer=np.array([1.0, 2.0])),
80 rhs = NumpyArraySubclass(shape=(1, 2), buffer=np.array([1.0, 2.0]))
  /external/v8/testing/gmock/include/gmock/internal/
gmock-internal-utils.h 351 // DecayArray<T>::type turns an array type U[N] to const U* and preserves
391 // native array, class StlContainerView<RawContainer> has the
420 // This specialization is used when RawContainer is a native array type.
426 // NativeArray<T> can represent a native array either by value or by
428 // can be used to reference a const native array. We cannot
433 static const_reference ConstReference(const Element (&array)[N]) {
449 // conversion of it doesn't help - only the conversion of the array).
450 return type(const_cast<Element*>(&array[0]), N,
453 return type(array, N, RelationToSourceReference());
456 static type Copy(const Element (&array)[N])
    [all...]

Completed in 508 milliseconds

<<41424344454647484950>>