/external/clang/test/Frontend/ |
optimization-remark-analysis.c | 7 double foo(int N, int *Array) { 12 switch(Array[i]) {
|
/external/eigen/test/ |
rvalue_types.cpp | 38 Scalar abs_diff = (m-n).array().abs().sum(); 52 CALL_SUBTEST_1(rvalue_copyassign( Array<float,1,Dynamic>::Random(50).eval() )); 55 CALL_SUBTEST_1(rvalue_copyassign( Array<float,Dynamic,1>::Random(50).eval() )); 57 CALL_SUBTEST_2(rvalue_copyassign( Array<float,2,1>::Random().eval() )); 58 CALL_SUBTEST_2(rvalue_copyassign( Array<float,3,1>::Random().eval() )); 59 CALL_SUBTEST_2(rvalue_copyassign( Array<float,4,1>::Random().eval() )); 61 CALL_SUBTEST_2(rvalue_copyassign( Array<float,2,2>::Random().eval() )); 62 CALL_SUBTEST_2(rvalue_copyassign( Array<float,3,3>::Random().eval() )); 63 CALL_SUBTEST_2(rvalue_copyassign( Array<float,4,4>::Random().eval() ));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/ |
GwtPlatform.java | 20 import com.google.gwt.lang.Array; 35 public static <T> T[] clone(T[] array) { 36 return (T[]) Array.clone(array);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
BinaryStreamArray.h | 1 //===- BinaryStreamArray.h - Array backed by an arbitrary stream *- C++ -*-===// 21 /// provides two different array implementations. 29 /// elements of the array need not be laid out in contiguous memory. 51 /// VarStreamArray represents an array of variable length records backed by a 114 /// given an offset into the array's underlying stream, return an 141 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, 143 : VarStreamArrayIterator(Array, E, 0, HadError) {} 145 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, 147 : IterRef(Array.Stream.drop_front(Offset)), Extract(E), 148 Array(&Array), AbsOffset(Offset), HadError(HadError) [all...] |
BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p6.cpp | 42 template<class T> class Array { /* ... */ }; 44 template<class T> void sort(Array<T>& v) { /* ... */ } 48 void f(Array<String>& v) { 52 // sort(Array<T>&), T is String 55 template<> void sort<String>(Array<String>& v); // // expected-error{{after instantiation}} 56 template<> void sort<>(Array<char*>& v); // OK: sort<char*> not yet used
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
LibCallSemantics.cpp | 52 const LibCallFunctionInfo *Array = getFunctionInfoArray(); 53 if (Array == 0) return 0; 55 // We now have the array of entries. Populate the StringMap. 56 for (unsigned i = 0; Array[i].Name; ++i) 57 (*Map)[Array[i].Name] = Array+i;
|
/external/deqp/modules/gles2/functional/ |
es2fVertexArrayTest.cpp | 21 * \brief Vertex array and buffer tests 72 Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMIC_DRAW}; 75 Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_BYTE} [all...] |
/external/eigen/unsupported/Eigen/src/Splines/ |
SplineFwd.h | 38 typedef Array<Scalar,1,OrderAtCompileTime> BasisVectorType; 41 typedef Array<Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> BasisDerivativeType; 44 typedef Array<Scalar,Dimension,Dynamic,DerivativeMemoryLayout,Dimension,NumOfDerivativesAtCompileTime> DerivativeType; 47 typedef Array<Scalar,Dimension,1> PointType; 50 typedef Array<Scalar,1,Dynamic> KnotVectorType; 53 typedef Array<Scalar,1,Dynamic> ParameterVectorType; 56 typedef Array<Scalar,Dimension,Dynamic> ControlPointVectorType; 74 typedef Array<_Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> BasisDerivativeType; 77 typedef Array<_Scalar,_Dim,Dynamic,DerivativeMemoryLayout,_Dim,NumOfDerivativesAtCompileTime> DerivativeType;
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
StreamWriter.h | 53 template <typename T> Error writeArray(ArrayRef<T> Array) { 54 if (Array.size() == 0) 57 if (Array.size() > UINT32_MAX / sizeof(T)) 61 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 62 Array.size() * sizeof(T))); 66 Error writeArray(VarStreamArray<T, U> Array) { 67 return writeStreamRef(Array.getUnderlyingStream()); 70 template <typename T> Error writeArray(FixedStreamArray<T> Array) { 71 return writeStreamRef(Array.getUnderlyingStream());
|
/external/clang/test/SemaTemplate/ |
instantiate-member-initializers.cpp | 39 template<typename T> struct Array { 41 Array() : a() {} 43 Array<int> s;
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
quantization_util.h | 24 // Gets the target quantized data type of an array based on the fake quant op. 36 // Returns the quantized data type of an array, falling back to the provided 38 ArrayDataType GetQuantizedDataType(const Array& array, 41 // Chooses the quantization params for a given array and a given target 42 // quantized data type (which may not be the array's current data type). 44 const Array& array, ArrayDataType quantized_data_type, 47 // Quantizes an array by setting its data type and (if constant) quantizing 48 // all values in the array [all...] |
/external/eigen/doc/snippets/ |
Cwise_array_power_array.cpp | 0 Array<double,1,3> x(8,25,3),
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
GwtPlatform.java | 21 import java.lang.reflect.Array; 48 T[] result = (T[]) Array.newInstance(type, length);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
GwtPlatform.java | 21 import com.google.gwt.lang.Array; 38 return Array.createFrom(reference, length);
|
/external/libcxx/test/libcxx/containers/sequences/array/array.zero/ |
db_back.pass.cpp | 17 // test array<T, 0>::front() throws a debug exception. 21 #include <array> 23 template <class Array> 24 inline bool CheckDebugThrows(Array& Arr) { 36 typedef std::array<int, 0> C; 43 typedef std::array<const int, 0> C;
|
db_front.pass.cpp | 17 // test array<T, 0>::front() throws a debug exception. 21 #include <array> 23 template <class Array> 24 inline bool CheckDebugThrows(Array& Arr) { 36 typedef std::array<int, 0> C; 43 typedef std::array<const int, 0> C;
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
IsEqual.java | 7 import java.lang.reflect.Array; 48 return Array.getLength(actualArray) == Array.getLength(expectedArray); 52 for (int i = 0; i < Array.getLength(actualArray); i++) { 53 if (!areEqual(Array.get(actualArray, i), Array.get(expectedArray, i))) { 75 * <p>The created matcher provides a special behaviour when examining <code>Array</code>s, whereby
|
/external/tensorflow/tensorflow/compiler/xla/ |
array3d.h | 27 #include "tensorflow/compiler/xla/array.h" 35 // Simple 3D array structure. 37 class Array3D : public Array<T> { 39 Array3D() : Array<T>(std::vector<int64>{0, 0, 0}) {} 41 // Creates an array of dimensions n1 x n2 x n3, uninitialized values. 43 : Array<T>(std::vector<int64>{n1, n2, n3}) {} 45 // Creates an array of dimensions n1 x n2 x n3, initialized to value. 47 : Array<T>(std::vector<int64>{n1, n2, n3}, value) {} 49 // Creates an array from the given nested initializer list. The outer 55 // results in an array with n1=3, n2=4, n3=2 [all...] |
array_test.cc | 16 #include "tensorflow/compiler/xla/array.h" 26 Array<int> uninit({2, 3}); 34 Array<int> fullof7({1, 2, 3}, 7); 50 Array<int> arr({{1, 2, 3}, {4, 5, 6}}); 64 Array<Eigen::half> d2({{1.0f, 2.0f, 3.0f}, {4.0f, 5.0f, 6.0f}}); 68 Array<Eigen::half> d3({{{1.0f}, {4.0f}}, {{1.0f}, {4.0f}}, {{1.0f}, {4.0f}}}); 73 Array<Eigen::half> d4( 83 Array<int> arr({2, 3}); 94 Array<int> arr({2, 3}); 107 Array<bool> arr{{false, true, false}, {false, true, false}} [all...] |
/external/brotli/js/ |
polyfill.js | 17 if (!Array.prototype.copyWithin) { 18 Array.prototype.copyWithin = function(target, start, end) { 40 if (!Array.prototype.fill) { 41 Object.defineProperty(Array.prototype, 'fill', { 56 Int8Array.prototype.copyWithin = Array.prototype.copyWithin; 60 Int8Array.prototype.fill = Array.prototype.fill; 64 Int32Array.prototype.fill = Array.prototype.fill;
|
/external/deqp/modules/glshared/ |
glsVertexArrayTests.cpp | 21 * \brief Vertex array and buffer tests 67 std::string Array::targetToString(Target target) 72 "array" // TARGET_ARRAY, 75 return de::getSizedArrayElement<Array::TARGET_LAST>(targets, (int)target); 78 std::string Array::inputTypeToString(InputType type) 99 return de::getSizedArrayElement<Array::INPUTTYPE_LAST>(types, (int)type); 102 std::string Array::outputTypeToString(OutputType type) 123 return de::getSizedArrayElement<Array::OUTPUTTYPE_LAST>(types, (int)type); 126 std::string Array::usageTypeToString(Usage usage) 144 return de::getSizedArrayElement<Array::USAGE_LAST>(usages, (int)usage) 1938 const ArraySpec& array = arrays[ndx]; local 1985 const ArraySpec& array = arrays[ndx]; local [all...] |
/device/linaro/bootloader/edk2/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/ |
DxeNt32PeCoffExtraActionLib.c | 56 // An Array to hold the ModHandle
136 Store the ModHandle in an array indexed by the Pdb File name.
156 PDB_NAME_TO_MOD_HANDLE *Array;
164 Array = mPdbNameModHandleArray;
165 for (Index = 0; Index < mPdbNameModHandleArraySize; Index++, Array++) {
166 if (Array->PdbPointer != NULL && Array->ModHandle == ModHandle) {
171 Array = mPdbNameModHandleArray;
172 for (Index = 0; Index < mPdbNameModHandleArraySize; Index++, Array++) {
173 if (Array->PdbPointer == NULL) { [all...] |
/external/junit/src/main/java/org/junit/internal/ |
ComparisonCriteria.java | 3 import java.lang.reflect.Array; 21 * @param expecteds Object array or array of arrays (multi-dimensional array) with 23 * @param actuals Object array or array of arrays (multi-dimensional array) with 41 Object expected = Array.get(expecteds, i); 42 Object actual = Array.get(actuals, i); 68 Assert.fail(header + "expected array was null") [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_primitive_restart.c | 50 if (ctx->Array.PrimitiveRestartFixedIndex) 57 cut_index_will_work = ctx->Array.RestartIndex == 0xff; 60 cut_index_will_work = ctx->Array.RestartIndex == 0xffff; 63 cut_index_will_work = ctx->Array.RestartIndex == 0xffffffff; 153 if (!(ctx->Array._PrimitiveRestart)) {
|