Home
last modified time | relevance | path

Searched refs:ElemType (Results 101 – 125 of 2199) sorted by relevance

12345678910>>...88

/dports/math/ensmallen/ensmallen-2.17.0/include/ensmallen_bits/problems/zdt/
H A Dzdt6_function.hpp78 typedef typename MatType::elem_type ElemType; in Evaluate() typedef
80 arma::Col<ElemType> objectives(numObjectives); in Evaluate()
83 ElemType sum = std::pow( in Evaluate()
85 ElemType g = 1. + 9. * sum; in Evaluate()
86 ElemType objectiveRatio = objectives(0) / g; in Evaluate()
96 typedef typename MatType::elem_type ElemType; in GetInitialPoint() typedef
98 return arma::Col<ElemType>(numVariables, 1, arma::fill::zeros); in GetInitialPoint()
122 typedef typename MatType::elem_type ElemType; in Evaluate() typedef
126 ElemType sum = std::pow( in Evaluate()
128 ElemType g = 1. + 9. * sum; in Evaluate()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/ipc/
H A DStringTable.h46 using ElemType = typename StringType::char_type; variable
50 : mBuffer(aBuffer.ReinterpretCast<ElemType>()) { in StringTable()
51 MOZ_ASSERT(uintptr_t(aBuffer.get()) % alignof(ElemType) == 0, in StringTable()
61 const ElemType* GetBare(const StringTableEntry& aEntry) const { in GetBare()
66 RangedPtr<ElemType> mBuffer;
72 using ElemType = typename StringType::char_type;
90 auto buffer = aBuffer.ReinterpretCast<ElemType>(); in Write()
94 sizeof(ElemType) * (entry.mValue.Length() + 1)); in Write()
100 uint32_t Size() const { return mSize * sizeof(ElemType); } in Size()
104 static constexpr size_t Alignment() { return alignof(ElemType); } in Alignment()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/ipc/
H A DStringTable.h46 using ElemType = typename StringType::char_type; variable
50 : mBuffer(aBuffer.ReinterpretCast<ElemType>()) { in StringTable()
51 MOZ_ASSERT(uintptr_t(aBuffer.get()) % alignof(ElemType) == 0, in StringTable()
61 const ElemType* GetBare(const StringTableEntry& aEntry) const { in GetBare()
66 RangedPtr<ElemType> mBuffer;
72 using ElemType = typename StringType::char_type;
86 auto buffer = aBuffer.ReinterpretCast<ElemType>(); in Write()
91 sizeof(ElemType) * (entry.mValue.Length() + 1)); in Write()
97 uint32_t Size() const { return mSize * sizeof(ElemType); } in Size()
101 static constexpr size_t Alignment() { return alignof(ElemType); } in Alignment()
/dports/www/firefox/firefox-99.0/dom/ipc/
H A DStringTable.h46 using ElemType = typename StringType::char_type; variable
50 : mBuffer(aBuffer.ReinterpretCast<ElemType>()) { in StringTable()
51 MOZ_ASSERT(uintptr_t(aBuffer.get()) % alignof(ElemType) == 0, in StringTable()
61 const ElemType* GetBare(const StringTableEntry& aEntry) const { in GetBare()
66 RangedPtr<ElemType> mBuffer;
72 using ElemType = typename StringType::char_type;
90 auto buffer = aBuffer.ReinterpretCast<ElemType>(); in Write()
94 sizeof(ElemType) * (entry.mValue.Length() + 1)); in Write()
100 uint32_t Size() const { return mSize * sizeof(ElemType); } in Size()
104 static constexpr size_t Alignment() { return alignof(ElemType); } in Alignment()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/ipc/
H A DStringTable.h46 using ElemType = typename StringType::char_type; variable
50 : mBuffer(aBuffer.ReinterpretCast<ElemType>()) { in StringTable()
51 MOZ_ASSERT(uintptr_t(aBuffer.get()) % alignof(ElemType) == 0, in StringTable()
61 const ElemType* GetBare(const StringTableEntry& aEntry) const { in GetBare()
66 RangedPtr<ElemType> mBuffer;
72 using ElemType = typename StringType::char_type;
90 auto buffer = aBuffer.ReinterpretCast<ElemType>(); in Write()
94 sizeof(ElemType) * (entry.mValue.Length() + 1)); in Write()
100 uint32_t Size() const { return mSize * sizeof(ElemType); } in Size()
104 static constexpr size_t Alignment() { return alignof(ElemType); } in Alignment()
/dports/math/ensmallen/ensmallen-2.17.0/include/ensmallen_bits/utility/indicators/
H A Digd_plus.hpp65 typedef typename CubeType::elem_type ElemType; in Evaluate() typedef
66 ElemType igd = 0; in Evaluate()
69 ElemType min = std::numeric_limits<ElemType>::max(); in Evaluate()
72 ElemType dist = 0; in Evaluate()
75 ElemType z = referenceFront(k, 0, i); in Evaluate()
76 ElemType a = front(k, 0, j); in Evaluate()
78 dist += std::pow(std::max<ElemType>(a - z, 0), 2); in Evaluate()
/dports/math/libmesh/libmesh-1.6.2/src/fe/
H A Dfe_nedelec_one.C48 const ElemType elem_type = elem->type(); in nedelec_one_nodal_soln()
157 unsigned int nedelec_one_n_dofs(const ElemType t, const Order o) in nedelec_one_n_dofs()
195 unsigned int nedelec_one_n_dofs_at_node(const ElemType t, in nedelec_one_n_dofs_at_node()
443 template <> unsigned int FE<2,NEDELEC_ONE>::n_dofs_per_elem(const ElemType, const Order) { return 0… in n_dofs_per_elem() argument
444 template <> unsigned int FE<3,NEDELEC_ONE>::n_dofs_per_elem(const ElemType, const Order) { return 0… in n_dofs_per_elem() argument
496 RealGradient FE<0,NEDELEC_ONE>::shape(const ElemType, const Order,const unsigned int,const Point &) in shape() argument
502 RealGradient FE<0,NEDELEC_ONE>::shape_deriv(const ElemType, const Order,const unsigned int, in shape_deriv() argument
512 RealGradient FE<0,NEDELEC_ONE>::shape_second_deriv(const ElemType, const Order,const unsigned int, in shape_second_deriv() argument
523 RealGradient FE<1,NEDELEC_ONE>::shape(const ElemType, const Order,const unsigned int,const Point &) in shape() argument
529 RealGradient FE<1,NEDELEC_ONE>::shape_deriv(const ElemType, const Order,const unsigned int, in shape_deriv() argument
[all …]
/dports/math/ensmallen/ensmallen-2.17.0/include/ensmallen_bits/problems/
H A Dbeale_function_impl.hpp32 typedef typename MatType::elem_type ElemType; in Evaluate() typedef
35 const ElemType x1 = coordinates(0); in Evaluate()
36 const ElemType x2 = coordinates(1); in Evaluate()
38 const ElemType objective = std::pow(1.5 - x1 + x1 * x2, 2) + in Evaluate()
59 typedef typename MatType::elem_type ElemType; in Gradient() typedef
62 const ElemType x1 = coordinates(0); in Gradient()
63 const ElemType x2 = coordinates(1); in Gradient()
66 const ElemType x2Sq = x2 * x2; in Gradient()
67 const ElemType x2Cub = pow(x2, 3); in Gradient()
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/core/tree/binary_space_tree/
H A Drp_tree_mean_split.hpp37 typedef typename MatType::elem_type ElemType; typedef in mlpack::tree::RPTreeMeanSplit
42 arma::Col<ElemType> direction;
44 arma::Col<ElemType> mean;
46 ElemType splitVal;
139 static ElemType GetAveragePointDistance(MatType& data,
153 const arma::Col<ElemType>& direction,
154 ElemType& splitVal);
167 arma::Col<ElemType>& mean,
168 ElemType& splitVal);
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/core/tree/rectangle_tree/
H A Dx_tree_split_impl.hpp32 typedef typename TreeType::ElemType ElemType; in SplitLeafNode() typedef
127 typedef typename TreeType::ElemType ElemType; in SplitNonLeafNode() typedef
178 ElemType bestScoreMinOverlapSplit = std::numeric_limits<ElemType>::max(); in SplitNonLeafNode()
187 ElemType bestAxisScore = std::numeric_limits<ElemType>::max(); in SplitNonLeafNode()
188 ElemType overlapBestOverlapAxis = 0; in SplitNonLeafNode()
189 ElemType areaBestOverlapAxis = 0; in SplitNonLeafNode()
190 ElemType overlapBestAreaAxis = 0; in SplitNonLeafNode()
191 ElemType areaBestAreaAxis = 0; in SplitNonLeafNode()
195 ElemType axisScore = 0.0; in SplitNonLeafNode()
238 ElemType area1 = bound1.Volume(); in SplitNonLeafNode()
[all …]
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/core/tree/octree/
H A Doctree.hpp31 typedef typename MatType::elem_type ElemType; typedef in mlpack::tree::Octree
61 ElemType parentDistance;
63 ElemType furthestDescendantDistance;
315 ElemType FurthestPointDistance() const;
324 ElemType FurthestDescendantDistance() const;
327 ElemType MinimumBoundDistance() const;
374 ElemType MinDistance(const Octree& other) const;
376 ElemType MaxDistance(const Octree& other) const;
382 ElemType MinDistance(
387 ElemType MaxDistance(
[all …]
/dports/math/libmesh/libmesh-1.6.2/include/fe/
H A Dfe_interface.h47 enum ElemType : int;
119 const ElemType t);
345 const ElemType t,
403 const ElemType t,
507 const ElemType t);
530 const ElemType t,
594 const ElemType t);
698 const ElemType t);
801 static bool is_InfFE_elem(const ElemType et);
895 const ElemType t,
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/gl/
H A DHeapCopyOfStackArray.h21 template <typename ElemType>
25 MOZ_IMPLICIT HeapCopyOfStackArray(const ElemType (&array)[N]) in HeapCopyOfStackArray()
26 : mArrayLength(N), mArrayData(MakeUnique<ElemType[]>(N)) { in HeapCopyOfStackArray()
27 memcpy(mArrayData.get(), &array[0], N * sizeof(ElemType)); in HeapCopyOfStackArray()
30 ElemType* Data() const { return mArrayData.get(); } in Data()
32 size_t ByteLength() const { return mArrayLength * sizeof(ElemType); } in ByteLength()
39 UniquePtr<ElemType[]> const mArrayData;
/dports/www/firefox/firefox-99.0/gfx/gl/
H A DHeapCopyOfStackArray.h21 template <typename ElemType>
25 MOZ_IMPLICIT HeapCopyOfStackArray(const ElemType (&array)[N]) in HeapCopyOfStackArray()
26 : mArrayLength(N), mArrayData(MakeUnique<ElemType[]>(N)) { in HeapCopyOfStackArray()
27 memcpy(mArrayData.get(), &array[0], N * sizeof(ElemType)); in HeapCopyOfStackArray()
30 ElemType* Data() const { return mArrayData.get(); } in Data()
32 size_t ByteLength() const { return mArrayLength * sizeof(ElemType); } in ByteLength()
39 UniquePtr<ElemType[]> const mArrayData;
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/gl/
H A DHeapCopyOfStackArray.h21 template <typename ElemType>
25 MOZ_IMPLICIT HeapCopyOfStackArray(const ElemType (&array)[N]) in HeapCopyOfStackArray()
26 : mArrayLength(N), mArrayData(MakeUnique<ElemType[]>(N)) { in HeapCopyOfStackArray()
27 memcpy(mArrayData.get(), &array[0], N * sizeof(ElemType)); in HeapCopyOfStackArray()
30 ElemType* Data() const { return mArrayData.get(); } in Data()
32 size_t ByteLength() const { return mArrayLength * sizeof(ElemType); } in ByteLength()
39 UniquePtr<ElemType[]> const mArrayData;
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/gl/
H A DHeapCopyOfStackArray.h21 template <typename ElemType>
25 MOZ_IMPLICIT HeapCopyOfStackArray(const ElemType (&array)[N]) in HeapCopyOfStackArray()
26 : mArrayLength(N), mArrayData(MakeUnique<ElemType[]>(N)) { in HeapCopyOfStackArray()
27 memcpy(mArrayData.get(), &array[0], N * sizeof(ElemType)); in HeapCopyOfStackArray()
30 ElemType* Data() const { return mArrayData.get(); } in Data()
32 size_t ByteLength() const { return mArrayLength * sizeof(ElemType); } in ByteLength()
39 UniquePtr<ElemType[]> const mArrayData;
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/gl/
H A DHeapCopyOfStackArray.h21 template <typename ElemType>
26 MOZ_IMPLICIT HeapCopyOfStackArray(ElemType (&array)[N]) in HeapCopyOfStackArray()
28 , mArrayData(MakeUnique<ElemType[]>(N)) in HeapCopyOfStackArray()
30 memcpy(mArrayData.get(), &array[0], N * sizeof(ElemType)); in HeapCopyOfStackArray()
33 ElemType* Data() const { return mArrayData.get(); } in Data()
35 size_t ByteLength() const { return mArrayLength * sizeof(ElemType); } in ByteLength()
42 UniquePtr<ElemType[]> const mArrayData;
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/gl/
H A DHeapCopyOfStackArray.h21 template <typename ElemType>
25 MOZ_IMPLICIT HeapCopyOfStackArray(const ElemType (&array)[N]) in HeapCopyOfStackArray()
26 : mArrayLength(N), mArrayData(MakeUnique<ElemType[]>(N)) { in HeapCopyOfStackArray()
27 memcpy(mArrayData.get(), &array[0], N * sizeof(ElemType)); in HeapCopyOfStackArray()
30 ElemType* Data() const { return mArrayData.get(); } in Data()
32 size_t ByteLength() const { return mArrayLength * sizeof(ElemType); } in ByteLength()
39 UniquePtr<ElemType[]> const mArrayData;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/
H A Dstructures.h76 template<typename ElemType>
79 dependent<ElemType>();
81 const ElemType& operator*()const;
84 const ElemType *operator->() const;
88 ElemType& operator*();
90 ElemType *operator->();
99 ElemType & operator[](unsigned);
101 ElemType & at(unsigned);
102 ElemType & at(unsigned, unsigned);
103 const ElemType & at(unsigned) const;
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/
H A Dstructures.h75 template<typename ElemType>
78 dependent<ElemType>();
80 const ElemType& operator*()const;
83 const ElemType *operator->() const;
87 ElemType& operator*();
89 ElemType *operator->();
98 ElemType & operator[](unsigned);
100 ElemType & at(unsigned);
101 ElemType & at(unsigned, unsigned);
102 const ElemType & at(unsigned) const;
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/
H A Dstructures.h76 template<typename ElemType>
79 dependent<ElemType>();
81 const ElemType& operator*()const;
84 const ElemType *operator->() const;
88 ElemType& operator*();
90 ElemType *operator->();
99 ElemType & operator[](unsigned);
101 ElemType & at(unsigned);
102 ElemType & at(unsigned, unsigned);
103 const ElemType & at(unsigned) const;
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/
H A Dstructures.h76 template<typename ElemType>
79 dependent<ElemType>();
81 const ElemType& operator*()const;
84 const ElemType *operator->() const;
88 ElemType& operator*();
90 ElemType *operator->();
99 ElemType & operator[](unsigned);
101 ElemType & at(unsigned);
102 ElemType & at(unsigned, unsigned);
103 const ElemType & at(unsigned) const;
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/
H A Dstructures.h76 template<typename ElemType>
79 dependent<ElemType>();
81 const ElemType& operator*()const;
84 const ElemType *operator->() const;
88 ElemType& operator*();
90 ElemType *operator->();
99 ElemType & operator[](unsigned);
101 ElemType & at(unsigned);
102 ElemType & at(unsigned, unsigned);
103 const ElemType & at(unsigned) const;
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/test/clang-tidy/checkers/Inputs/modernize-loop-convert/
H A Dstructures.h76 template<typename ElemType>
79 dependent<ElemType>();
81 const ElemType& operator*()const;
84 const ElemType *operator->() const;
88 ElemType& operator*();
90 ElemType *operator->();
99 ElemType & operator[](unsigned);
101 ElemType & at(unsigned);
102 ElemType & at(unsigned, unsigned);
103 const ElemType & at(unsigned) const;
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/test/clang-tidy/Inputs/modernize-loop-convert/
H A Dstructures.h75 template<typename ElemType>
78 dependent<ElemType>();
80 const ElemType& operator*()const;
83 const ElemType *operator->() const;
87 ElemType& operator*();
89 ElemType *operator->();
98 ElemType & operator[](unsigned);
100 ElemType & at(unsigned);
101 ElemType & at(unsigned, unsigned);
102 const ElemType & at(unsigned) const;
[all …]

12345678910>>...88