/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListLastIndexOfTester.java | 47 E[] array = createSamplesArray(); local 48 array[getNumElements() / 2] = samples.e0; 49 collection = getSubjectGenerator().create(array);
|
SetAddTester.java | 50 E[] array = createArrayWithNullElement(); local 51 collection = getSubjectGenerator().create(array); 53 expectContents(array);
|
/external/libcxx/test/std/containers/sequences/array/ |
compare.pass.cpp | 10 // <array> 12 // bool operator==(array<T, N> const&, array<T, N> const&); 13 // bool operator!=(array<T, N> const&, array<T, N> const&); 14 // bool operator<(array<T, N> const&, array<T, N> const&); 15 // bool operator<=(array<T, N> const&, array<T, N> const&); 16 // bool operator>(array<T, N> const&, array<T, N> const&) [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/ |
Assert.java | 106 * Verify that the array is not null or empty. Throw an
108 * @param array - the array
110 * @throws AssertFailedException - if array is null or empty
112 public static void notNullOrEmpty(Object[] array, String argName) {
113 notNull(array, argName);
114 if (array.length == 0) {
115 throw new AssertFailedException("The \"" + argName + "\" array is empty");
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
TypeCommandHandlerTest.java | 38 final Command COMMAND1 = new Command("TYPE", array("A"));
39 final Command COMMAND2 = new Command("TYPE", array("B"));
40 final Command COMMAND3 = new Command("TYPE", array("L", "8"));
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/util/ |
Assert.java | 106 * Verify that the array is not null or empty. Throw an
108 * @param array - the array
110 * @throws AssertFailedException - if array is null or empty
112 public static void notNullOrEmpty(Object[] array, String argName) {
113 notNull(array, argName);
114 if (array.length == 0) {
115 throw new AssertFailedException("The \"" + argName + "\" array is empty");
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
TypeCommandHandlerTest.java | 38 final Command COMMAND1 = new Command("TYPE", array("A"));
39 final Command COMMAND2 = new Command("TYPE", array("B"));
40 final Command COMMAND3 = new Command("TYPE", array("L", "8"));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
ByteBufferHelper.java | 31 if (lastIndex >= 0 && buffer.hasArray() && nuSamples.get(lastIndex).hasArray() && buffer.array() == nuSamples.get(lastIndex).array() && 34 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
TestUtil.java | 32 char[] array = new char[count]; local 33 Arrays.fill(array, c); 34 return new String(array);
|
/external/pdfium/fxbarcode/common/ |
BC_CommonBitArray.cpp | 29 CBC_CommonBitArray::CBC_CommonBitArray(CBC_CommonBitArray* array) { 30 m_size = array->GetSize(); 31 m_bits = array->GetBits();
|
/external/pdfium/fxjs/ |
cjs_globalarrays.cpp | 12 v8::Local<v8::Array> array = (rt)->NewArray(); \ 14 array->Set(i, (rt)->NewString(values[i])); \ 15 (rt)->SetConstArray((name), array); \
|
/external/skia/include/core/ |
SkDataTable.h | 69 * "array". 71 * @param ptrs array of points to each element to be copied into the table. 72 * @param sizes array of byte-lengths for each entry in the corresponding 73 * ptrs[] array. 74 * @param count the number of array elements in ptrs[] and sizes[] to copy. 80 * Return a new table that contains a copy of the data in array. 82 * @param array contiguous array of data for all elements to be copied. 84 * @param count the number of entries to be copied out of array. The number 87 static sk_sp<SkDataTable> MakeCopyArray(const void* array, size_t elemSize, int count) [all...] |
/external/skia/src/core/ |
SkPtrRecorder.cpp | 61 void SkPtrSet::copyToArray(void* array[]) const { 64 SkASSERT(array); 70 array[index] = p[i].fPtr;
|
SkPtrRecorder.h | 46 * Copy the ptrs in the set into the specified array (allocated by the 47 * caller). The ptrs are assgined to the array based on their corresponding 48 * ID. e.g. array[ptr.ID - 1] = ptr. 52 void copyToArray(void* array[]) const; 93 // ptr and its ID/fIndex explicitly, since the ptr's position in the array 115 void copyToArray(T* array) const { 116 this->INHERITED::copyToArray((void**)array);
|
/external/skqp/include/core/ |
SkDataTable.h | 69 * "array". 71 * @param ptrs array of points to each element to be copied into the table. 72 * @param sizes array of byte-lengths for each entry in the corresponding 73 * ptrs[] array. 74 * @param count the number of array elements in ptrs[] and sizes[] to copy. 80 * Return a new table that contains a copy of the data in array. 82 * @param array contiguous array of data for all elements to be copied. 84 * @param count the number of entries to be copied out of array. The number 87 static sk_sp<SkDataTable> MakeCopyArray(const void* array, size_t elemSize, int count) [all...] |
/external/skqp/src/core/ |
SkPtrRecorder.cpp | 61 void SkPtrSet::copyToArray(void* array[]) const { 64 SkASSERT(array); 70 array[index] = p[i].fPtr;
|
SkPtrRecorder.h | 46 * Copy the ptrs in the set into the specified array (allocated by the 47 * caller). The ptrs are assgined to the array based on their corresponding 48 * ID. e.g. array[ptr.ID - 1] = ptr. 52 void copyToArray(void* array[]) const; 93 // ptr and its ID/fIndex explicitly, since the ptr's position in the array 115 void copyToArray(T* array) const { 116 this->INHERITED::copyToArray((void**)array);
|
/external/syslinux/com32/gpllib/dmi/ |
dmi_cache.c | 60 void dmi_cache_types(uint16_t code, const char *sep, char *array) 74 strcpy(array, "None"); 80 sprintf(array, "%s%s", sep, types[i]);
|
/external/tensorflow/tensorflow/compiler/tests/ |
adam_test.py | 60 var0_np = np.array([1.0, 2.0], dtype=dtype) 61 grads0_np = np.array([0.1, 0.1], dtype=dtype) 62 var1_np = np.array([3.0, 4.0], dtype=dtype) 63 grads1_np = np.array([0.01, 0.01], dtype=dtype) 99 var0_np = np.array([1.0, 2.0], dtype=dtype) 100 grads0_np = np.array([0.1, 0.1], dtype=dtype) 101 var1_np = np.array([3.0, 4.0], dtype=dtype) 102 grads1_np = np.array([0.01, 0.01], dtype=dtype) 138 var0_np = np.array([1.0, 2.0], dtype=dtype) 139 grads0_np = np.array([0.1, 0.1], dtype=dtype [all...] |
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/ |
zip_dataset_op_test.py | 32 np.tile(np.array([[1], [2], [3], [4]]), 20), 33 np.tile(np.array([[12], [13], [14], [15]]), 22), 34 np.array(arr)
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
batch_sequences_with_states_test.py | 47 ind1 = np.array([ 51 val1 = np.array([0, 10, 13, 14, 32, 33]) 52 shape1 = np.array([self.value_length, 6]) 57 ind2 = np.array([ 66 val2 = np.array([1, 10, 12, 103, 150, 149, 150, 122]) 67 shape2 = np.array([self.value_length, 3, 4]) 244 ind1_1 = np.array([ 251 ind1_2 = np.array([ 256 val1_1 = np.array([0, 10, 13, 14, 258 val1_2 = np.array([32, 33 [all...] |
/external/tensorflow/tensorflow/core/framework/ |
common_shape_fns.h | 18 #include <array> 126 Status Get3dOutputSize(const std::array<int64, 3>& input, 127 const std::array<int64, 3>& window, 128 const std::array<int64, 3>& strides, 129 Padding padding_type, std::array<int64, 3>* output_ptr, 130 std::array<int64, 3>* padding_ptr); 134 Status Get3dOutputSizeV2(const std::array<int64, 3>& input, 135 const std::array<int64, 3>& window, 136 const std::array<int64, 3>& dilations, 137 const std::array<int64, 3>& strides [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
betainc_op.h | 37 const typename Eigen::array<Eigen::DenseIndex, NDIM>& bcast_a, 39 const typename Eigen::array<Eigen::DenseIndex, NDIM>& bcast_b, 41 const typename Eigen::array<Eigen::DenseIndex, NDIM>& bcast_x,
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/ |
PrimitiveOpTest.java | 39 Output<Integer> array = TestUtil.constant(g, "array", new int[2]); local 42 new PrimitiveOp(g.opBuilder("Shape", "shape1").addInput(array).build()) {}; 44 new PrimitiveOp(g.opBuilder("Shape", "shape2").addInput(array).build()) {};
|
/external/tensorflow/tensorflow/python/eager/ |
graph_only_ops_test.py | 33 x = np.array([[1, 2, 3], [4, 5, 6]], dtype=np.int32) 42 x = np.array([42]) 43 y = sess.run(y_tf, feed_dict={x_tf: np.array([42])})
|