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

<<41424344454647484950>>

  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.2.1/
commons-lang3-3.2.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3/
commons-lang3-3.3.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3.2/
commons-lang3-3.3.2.jar 
  /external/tensorflow/tensorflow/python/training/
training_ops_test.py 66 alpha = np.array(2.0).astype(dtype)
111 expected_out = np.array([(
133 lr = np.array(2.0).astype(dtype)
142 lr = np.array(2.0).astype(dtype)
143 l1 = np.array(3.0).astype(dtype)
144 l2 = np.array(4.0).astype(dtype)
212 x = np.array(x_val).astype(dtype)
213 y = np.array(y_val).astype(dtype)
214 lr = np.array(2.0).astype(dtype)
216 grad = np.array(grad_val).astype(dtype
    [all...]
  /system/libhidl/
test_main.cpp 194 int32_t array[] = {5, 6, 7};
195 vector<int32_t> v(array, array + 3);
201 EXPECT_ARRAYEQ(hv1, array, 3);
211 EXPECT_ARRAYEQ(v3, array, v3.size());
215 int32_t array[] = {5, 6, 7}; local
216 android::hardware::hidl_vec<int32_t> hv1 = std::vector<int32_t>(array, array + 3);
253 int32_t array[] = {5, 6, 7};
254 hidl_vec<int32_t> hv1 = std::vector<int32_t>(array, array + 3)
    [all...]
  /external/javassist/src/test/test/javassist/convert/
ArrayAccessReplaceTest.java 160 public static Object arrayReadObject(Object array, int index) {
164 public static void arrayWriteObject(Object array, int index, Object element) {
168 public static byte arrayReadByteOrBoolean(Object array, int index) {
172 public static void arrayWriteByteOrBoolean(Object array, int index, byte element) {
176 public static char arrayReadChar(Object array, int index) {
180 public static void arrayWriteChar(Object array, int index, char element) {
184 public static double arrayReadDouble(Object array, int index) {
188 public static void arrayWriteDouble(Object array, int index, double element) {
192 public static float arrayReadFloat(Object array, int index) {
196 public static void arrayWriteFloat(Object array, int index, float element)
    [all...]
  /external/skia/tests/
TArrayTest.cpp 41 // { 1 }, replace with new array
123 void test_copy_ctor(skiatest::Reporter* reporter, SkTArray<T, MEM_MOVE>&& array) {
124 SkASSERT(array.empty());
126 array.emplace_back(new SkRefCnt);
127 REPORTER_ASSERT(reporter, array.back()->unique());
131 SkTArray<T, MEM_MOVE> copy(array);
132 for (const auto& ref : array)
138 for (const auto& ref : array)
298 template <typename Array> static void test_array_reserve(skiatest::Reporter* reporter,
299 Array* array, int reserveCount)
    [all...]
  /external/skqp/tests/
TArrayTest.cpp 41 // { 1 }, replace with new array
123 void test_copy_ctor(skiatest::Reporter* reporter, SkTArray<T, MEM_MOVE>&& array) {
124 SkASSERT(array.empty());
126 array.emplace_back(new SkRefCnt);
127 REPORTER_ASSERT(reporter, array.back()->unique());
131 SkTArray<T, MEM_MOVE> copy(array);
132 for (const auto& ref : array)
138 for (const auto& ref : array)
298 template <typename Array> static void test_array_reserve(skiatest::Reporter* reporter,
299 Array* array, int reserveCount)
    [all...]
  /frameworks/base/tests/net/java/android/net/apf/
ApfTest.java     [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
ResizableIntArrayTests.java 30 final int[] array = src.getPrimitiveArray(); local
32 assertNotNull("new instance array", array);
33 assertEquals("new instance array length", DEFAULT_CAPACITY, array.length);
38 final int[] array = src.getPrimitiveArray(); local
52 assertSame("array after add " + i, array, src.getPrimitiveArray());
54 assertSame("array after add " + i, array2, src.getPrimitiveArray());
56 assertSame("array after add " + i, array3, src.getPrimitiveArray())
110 final int[] array = src.getPrimitiveArray(); local
141 final int[] array = src.getPrimitiveArray(); local
197 final int[] array = dst.getPrimitiveArray(); local
225 final int[] array = dst.getPrimitiveArray(); local
274 final int[] array = src.getPrimitiveArray(); local
    [all...]
  /art/runtime/
image.cc 163 auto* array = reinterpret_cast<LengthPrefixedArray<ArtField>*>(base + fields.Offset() + pos); local
164 for (size_t i = 0; i < array->size(); ++i) {
165 visitor->Visit(&array->At(i, sizeof(ArtField)));
167 pos += array->ComputeSize(array->size());
178 auto* array = reinterpret_cast<LengthPrefixedArray<ArtMethod>*>(base + methods.Offset() + pos); local
179 for (size_t i = 0; i < array->size(); ++i) {
180 visitor->Visit(&array->At(i, method_size, method_alignment));
182 pos += array->ComputeSize(array->size(), method_size, method_alignment)
    [all...]
  /external/dhcpcd-6.8.2/dbus/
dbus-dict.c 173 DBusMessageIter var, array; local
184 dbus_message_iter_open_container(&var, DBUS_TYPE_ARRAY, ts, &array);
193 dbus_message_iter_append_basic(&array, DBUS_TYPE_BYTE,
206 ok = dbus_message_iter_append_basic(&array, DBUS_TYPE_BYTE, &u8);
209 dbus_message_iter_close_container(&var, &array);
220 DBusMessageIter var, array; local
247 dbus_message_iter_open_container(&var, DBUS_TYPE_ARRAY, ts, &array);
253 ok = append_sanitized_string(&array, tok);
261 ok = dbus_message_iter_append_basic(&array,
271 dbus_message_iter_close_container(&var, &array);
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_fragprog.c 164 GLfloat *wpos = span->array->attribs[VARYING_SLOT_POS][col];
175 machine->Attribs = span->array->attribs;
212 if (span->array->mask[i]) {
219 COPY_4V(span->array->attribs[VARYING_SLOT_COL0][i],
230 COPY_4V(span->array->attribs[VARYING_SLOT_COL0 + buf][i],
240 span->array->z[i] = 0;
242 span->array->z[i] = ctx->DrawBuffer->_DepthMax;
244 span->array->z[i] =
250 span->array->mask[i] = GL_FALSE;
269 assert(span->array->ChanType == GL_FLOAT)
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
buffer_sequence_adapter.hpp 230 class buffer_sequence_adapter<Buffer, boost::array<Elem, 2> >
235 const boost::array<Elem, 2>& buffer_sequence)
258 static bool all_empty(const boost::array<Elem, 2>& buffer_sequence)
264 static void validate(const boost::array<Elem, 2>& buffer_sequence)
270 static Buffer first(const boost::array<Elem, 2>& buffer_sequence)
283 class buffer_sequence_adapter<Buffer, std::array<Elem, 2> >
288 const std::array<Elem, 2>& buffer_sequence)
311 static bool all_empty(const std::array<Elem, 2>& buffer_sequence)
317 static void validate(const std::array<Elem, 2>& buffer_sequence)
323 static Buffer first(const std::array<Elem, 2>& buffer_sequence
    [all...]
  /external/pdfium/core/fxge/
cfx_color.cpp 67 CFX_Color CFX_Color::ParseColor(const CPDF_Array& array) {
69 switch (array.GetCount()) {
71 rt = CFX_Color(CFX_Color::kGray, array.GetFloatAt(0));
74 rt = CFX_Color(CFX_Color::kRGB, array.GetFloatAt(0), array.GetFloatAt(1),
75 array.GetFloatAt(2));
78 rt = CFX_Color(CFX_Color::kCMYK, array.GetFloatAt(0), array.GetFloatAt(1),
79 array.GetFloatAt(2), array.GetFloatAt(3))
    [all...]
  /external/selinux/libsemanage/src/
utilities.c 167 semanage_list_t **array = NULL; local
178 array = malloc(sizeof(semanage_list_t *) * count);
179 if (!array)
182 array[i++] = temp;
185 qsort(array, count, sizeof(semanage_list_t *),
188 array[i]->next = array[i + 1];
190 array[i]->next = NULL;
191 (*l) = array[0];
192 free(array);
    [all...]
  /external/tensorflow/tensorflow/compiler/tests/
image_ops_test.py 73 rgb_np = np.array(data, dtype=nptype).reshape([2, 2, 3]) / 255.
87 hsv_np = np.array([
116 x_np = np.array(x_data, dtype=np.float32).reshape(x_shape) / 255.
122 y_np = np.array(y_data, dtype=np.float32).reshape(x_shape) / 255.
129 x_np = np.array(x_data, dtype=np.uint8).reshape(x_shape)
132 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
170 x_np = np.array(x_data, dtype=np.uint8).reshape(x_shape)
174 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
188 x_np = np.array(x_data, dtype=np.uint8).reshape(x_shape)
192 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape
    [all...]
  /external/tensorflow/tensorflow/contrib/lite/toco/tflite/
types_test.cc 41 // Helper function that creates an array, writes it into a flatbuffer, and then
44 Array ToFlatBufferAndBack(std::initializer_list<::toco::DataType<T>> items) {
48 Array src;
52 Array result;
94 Array array; local
95 EXPECT_THAT(DataBuffer::Serialize(array, &builder), HasOffset(0));
106 DataBuffer::Deserialize(*tensor, *buffer, &array);
107 EXPECT_EQ(nullptr, array.buffer);
113 Array array local
130 Array array; local
    [all...]
  /external/tensorflow/tensorflow/contrib/opt/python/training/
nadam_optimizer_test.py 59 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype)
60 grads0_np = np.array([0.1, 0.1], dtype=dtype.as_numpy_dtype)
61 var1_np = np.array([3.0, 4.0], dtype=dtype.as_numpy_dtype)
62 grads1_np = np.array([0.01, 0.01], dtype=dtype.as_numpy_dtype)
70 grads0_np_indices = np.array([0, 1], dtype=np.int32)
74 grads1_np_indices = np.array([0, 1], dtype=np.int32)
112 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype)
113 grads0_np = np.array([0.1, 0.1], dtype=dtype.as_numpy_dtype)
114 var1_np = np.array([3.0, 4.0], dtype=dtype.as_numpy_dtype)
115 grads1_np = np.array([0.01, 0.01], dtype=dtype.as_numpy_dtype
    [all...]
  /external/tensorflow/tensorflow/contrib/rnn/kernels/
gru_ops.h 36 inline Eigen::array<Eigen::DenseIndex, 2> x_offsets() const { return {0, 0}; }
38 inline Eigen::array<Eigen::DenseIndex, 2> x_extends() const {
42 inline Eigen::array<Eigen::DenseIndex, 2> h_offsets() const {
46 inline Eigen::array<Eigen::DenseIndex, 2> h_extends() const {
50 inline Eigen::array<Eigen::DenseIndex, 2> ru_r_offset() const {
54 inline Eigen::array<Eigen::DenseIndex, 2> ru_u_offset() const {
58 inline Eigen::array<Eigen::DenseIndex, 2> cell_extents() const {
94 Eigen::array<Eigen::DenseIndex, 2> broadcast_shape({batch_size_, 1});
95 Eigen::array<Eigen::DenseIndex, 2> b_ru_shape({1, b_ru.dimensions()[0]});
112 Eigen::array<Eigen::DenseIndex, 2> b_c_shape({1, b_c.dimensions()[0]})
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
AdaptiveIconDrawable.java 117 * Indices used to access {@link #mLayerState.mChildDrawable} array for foreground and
124 * State variable that maintains the {@link ChildDrawable} array.
224 final ChildDrawable[] array = state.mChildren; local
226 final ChildDrawable layer = array[i];
426 final ChildDrawable[] array = state.mChildren; local
428 final ChildDrawable layer = array[i];
609 final ChildDrawable[] array = mLayerState.mChildren; local
611 final Drawable dr = array[i].mDrawable;
620 final ChildDrawable[] array = mLayerState.mChildren; local
622 final Drawable dr = array[i].mDrawable
647 final ChildDrawable[] array = mLayerState.mChildren; local
661 final ChildDrawable[] array = mLayerState.mChildren; local
682 final ChildDrawable[] array = mLayerState.mChildren; local
693 final ChildDrawable[] array = mLayerState.mChildren; local
705 final ChildDrawable[] array = mLayerState.mChildren; local
731 final ChildDrawable[] array = mLayerState.mChildren; local
747 final ChildDrawable[] array = mLayerState.mChildren; local
771 final ChildDrawable[] array = mLayerState.mChildren; local
790 final ChildDrawable[] array = mLayerState.mChildren; local
874 final ChildDrawable[] array = mLayerState.mChildren; local
999 final ChildDrawable[] array = mChildren; local
1030 final ChildDrawable[] array = mChildren; local
1066 final ChildDrawable[] array = mChildren; local
1082 final ChildDrawable[] array = mChildren; local
1093 final ChildDrawable[] array = mChildren; local
    [all...]
  /test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
HostInfoStore.java 88 * Start a new array of result.
96 * Start a new array of result with specified name.
106 * Complete adding result to the last started array.
174 * Adds a int array to the InfoStore
177 public void addArrayResult(String name, int[] array) throws IOException {
181 for (int value : checkArray(array)) {
188 * Adds a long array to the InfoStore
191 public void addArrayResult(String name, long[] array) throws IOException {
195 for (long value : checkArray(array)) {
202 * Adds a float array to the InfoStor
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
sparse_ops_test.py 54 ind = np.array([[0, 0], [1, 0], [1, 3], [1, 4], [3, 2], [3, 3]])
55 val = np.array([0, 10, 13, 14, 32, 33])
56 shape = np.array([5, 6])
64 ind = np.array([[0, 0, 1], [0, 1, 0], [0, 1, 2], [1, 0, 3], [1, 1, 0],
66 val = np.array([1, 10, 12, 103, 150, 149, 150, 122])
67 shape = np.array([2, 3, 4])
116 ind = np.array([[0, 0], [1, 0], [1, 2], [2, 0], [2, 1], [1, 1]])
118 indices = np.array([0, 13, 10, 33, 32, 14])
119 values = np.array([-3, 4, 1, 9, 5, 1])
120 shape = np.array([3, 3]
    [all...]
  /external/autotest/client/cros/audio/
audio_analysis_unittest.py 17 def dummy_peak_detection(self, array, window_size):
18 """Detects peaks in an array in simple way.
20 A point (i, array[i]) is a peak if array[i] is the maximum among
21 array[i - half_window_size] to array[i + half_window_size].
22 If array[i - half_window_size] to array[i + half_window_size] are all
34 length = len(array)
36 def mid_is_peak(array, mid, left, right)
    [all...]
  /external/pdfium/fpdfsdk/
fpdfdoc_unittest.cpp 236 auto array = pdfium::MakeUnique<CPDF_Array>(); local
237 array->AddNew<CPDF_Number>(0); // Page Index.
238 array->AddNew<CPDF_Name>("XYZ");
239 array->AddNew<CPDF_Number>(4); // X
240 array->AddNew<CPDF_Number>(5); // Y
241 array->AddNew<CPDF_Number>(6); // Zoom.
250 EXPECT_TRUE(FPDFDest_GetLocationInPage(array.get(), &hasX, &hasY, &hasZoom,
259 array->SetNewAt<CPDF_Null>(2);
260 array->SetNewAt<CPDF_Null>(3);
261 array->SetNewAt<CPDF_Null>(4)
    [all...]

Completed in 1522 milliseconds

<<41424344454647484950>>