/external/opencv3/modules/flann/include/opencv2/flann/ |
all_indices.h | 49 template<typename KDTreeCapability, typename VectorSpace, typename Distance> 52 static NNIndex<Distance>* create(const Matrix<typename Distance::ElementType>& dataset, const IndexParams& params, const Distance& distance) 56 NNIndex<Distance>* nnIndex; 59 nnIndex = new LinearIndex<Distance>(dataset, params, distance); 62 nnIndex = new KDTreeSingleIndex<Distance>(dataset, params, distance); [all...] |
index_testing.h | 63 template <typename Distance> 64 typename Distance::ResultType computeDistanceRaport(const Matrix<typename Distance::ElementType>& inputData, typename Distance::ElementType* target, 65 int* neighbors, int* groundTruth, int veclen, int n, const Distance& distance) 67 typedef typename Distance::ResultType DistanceType; 71 DistanceType den = distance(inputData[groundTruth[i]], target, veclen); 72 DistanceType num = distance(inputData[neighbors[i]], target, veclen); 85 template <typename Distance> [all...] |
ground_truth.h | 41 template <typename Distance> 42 void find_nearest(const Matrix<typename Distance::ElementType>& dataset, typename Distance::ElementType* query, int* matches, int nn, 43 int skip = 0, Distance distance = Distance()) 45 typedef typename Distance::ResultType DistanceType; 51 dists[0] = distance(dataset[0], query, dataset.cols); 56 DistanceType tmp = distance(dataset[i], query, dataset.cols); 82 template <typename Distance> [all...] |
flann_base.hpp | 72 template<typename Distance> 73 NNIndex<Distance>* load_saved_index(const Matrix<typename Distance::ElementType>& dataset, const cv::String& filename, Distance distance) 75 typedef typename Distance::ElementType ElementType; 91 NNIndex<Distance>* nnIndex = create_index_by_type<Distance>(dataset, params, distance); 99 template<typename Distance> [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Integers.java | 8 public static int rotateLeft(int i, int distance) 10 return Integer.rotateLeft(i, distance); 13 public static int rotateRight(int i, int distance) 15 return Integer.rotateRight(i, distance);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/delta/ |
DeltaCoder.java | 17 final int distance; field in class:DeltaCoder 21 DeltaCoder(int distance) { 22 if (distance < DISTANCE_MIN || distance > DISTANCE_MAX) 25 this.distance = distance;
|
DeltaDecoder.java | 13 public DeltaDecoder(int distance) { 14 super(distance); 20 buf[i] += history[(distance + pos) & DISTANCE_MASK];
|
DeltaEncoder.java | 13 public DeltaEncoder(int distance) { 14 super(distance); 19 byte tmp = history[(distance + pos) & DISTANCE_MASK];
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
DeltaOptions.java | 19 * is the delta distance, which you should set to match your data. 22 * For example, with distance = 2 and eight-byte input 31 * Smallest supported delta calculation distance. 36 * Largest supported delta calculation distance. 40 private int distance = DISTANCE_MIN; field in class:DeltaOptions 43 * Creates new Delta options and sets the delta distance to 1 byte. 48 * Creates new Delta options and sets the distance to the given value. 50 public DeltaOptions(int distance) throws UnsupportedOptionsException { 51 setDistance(distance); 55 * Sets the delta distance in bytes. The new distance must be i [all...] |
DeltaDecoder.java | 15 private final int distance; field in class:DeltaDecoder 22 distance = (props[0] & 0xFF) + 1; 30 return new DeltaInputStream(in, distance);
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
closest_point.inl | 23 T LineLength = distance(a, b); 27 // Project Vector to LineDirection to get the distance of point from a 28 T Distance = dot(Vector, LineDirection); 30 if(Distance <= T(0)) return a; 31 if(Distance >= LineLength) return b; 32 return a + LineDirection * Distance;
|
extend.inl | 17 genType const & Distance 20 return Origin + (Source - Origin) * Distance; 28 T const & Distance 31 return Origin + (Source - Origin) * Distance; 39 T const & Distance 42 return Origin + (Source - Origin) * Distance; 50 T const & Distance 53 return Origin + (Source - Origin) * Distance;
|
/external/opencv3/modules/core/misc/java/src/java/ |
core+DMatch.java | 7 * image index and distance between descriptors. 24 // javadoc: DMatch::distance 25 public float distance; field in class:DMatch 37 distance = _distance; 45 distance = _distance; 52 return distance < it.distance; 58 + ", imgIdx=" + imgIdx + ", distance=" + distance + "]";
|
/hardware/bsp/intel/peripheral/libupm/src/gp2y0a/ |
CMakeLists.txt | 2 set (libdescription "upm gp2y0a family of IR distance detectors")
|
/hardware/bsp/intel/peripheral/libupm/src/rfr359f/ |
CMakeLists.txt | 2 set (libdescription "upm rfr359f grove distance interrupter")
|
/external/libgdx/tests/gdx-tests-android/assets/data/shaders/ |
distancefield.frag | 16 float distance = texture2D(u_texture, v_texCoord).a; 17 float alpha = smoothstep(u_lower, u_upper, distance);
|
/external/skia/src/core/ |
SkDistanceFieldGen.h | 12 // the max magnitude for the distance field 13 // distance values are limited to the range (-SK_DistanceFieldMagnitude, SK_DistanceFieldMagnitude] 15 // we need to pad around the original glyph to allow our maximum distance of 18 // the rect we render with is inset from the distance field glyph size to allow for bilerp 22 // The distance field is constructed as unsigned char values, 28 /** Given 8-bit mask data, generate the associated distance field 30 * @param distanceField The distance field to be generated. Should already be allocated 32 * @param image 8-bit mask we're using to generate the distance field. 41 /** Given 1-bit mask data, generate the associated distance field 43 * @param distanceField The distance field to be generated. Should already be allocate [all...] |
SkPathMeasure.cpp | 147 SkScalar distance, int mint, int maxt, int ptIndex) { 153 distance = this->compute_quad_segs(tmp, distance, mint, halft, ptIndex); 154 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); 156 SkScalar d = SkPoint::Distance(pts[0], pts[2]); 157 SkScalar prevD = distance; 158 distance += d; 159 if (distance > prevD) { 161 seg->fDistance = distance; 220 SkScalar distance = 0; local [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAbsListView.java | 25 public void smoothScrollBy(int distance, int duration) { 26 this.lastSmoothScrollByDistance = distance; 49 * Robolectric accessor for the last smoothScrollBy distance 51 * @return int distance
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestDistance.rs | 26 return distance(inLeftVector, inRightVector); 31 return distance(inLeftVector, inRightVector); 36 return distance(inLeftVector, inRightVector); 41 return distance(inLeftVector, inRightVector); 46 return distance(inLeftVector, inRightVector); 51 return distance(inLeftVector, inRightVector); 56 return distance(inLeftVector, inRightVector); 61 return distance(inLeftVector, inRightVector);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
iterator.hpp | 25 class Distance = std::ptrdiff_t, 30 typedef Distance difference_type; 40 template <class Category, class T, class Distance, class Pointer, class Reference> 42 struct iterator_base : std::iterator<Category, T, Distance, Pointer, Reference> {}; 44 struct iterator_base : std::iterator<Category, T, Distance> 48 typedef Distance difference_type; 53 template <class Category, class T, class Distance = std::ptrdiff_t, 55 struct iterator : boost::detail::iterator_base<Category, T, Distance, Pointer, Reference> {};
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
local_iterators.pass.cpp | 48 assert(std::distance(i, j) == 0); 53 assert(std::distance(i, j) == 2); 61 assert(std::distance(i, j) == 2); 69 assert(std::distance(i, j) == 1); 75 assert(std::distance(i, j) == 1); 81 assert(std::distance(i, j) == 0); 86 assert(std::distance(i, j) == 0); 106 assert(std::distance(i, j) == 0); 111 assert(std::distance(i, j) == 2); 119 assert(std::distance(i, j) == 2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
local_iterators.pass.cpp | 48 assert(std::distance(i, j) == 0); 53 assert(std::distance(i, j) == 2); 61 assert(std::distance(i, j) == 2); 69 assert(std::distance(i, j) == 1); 75 assert(std::distance(i, j) == 1); 81 assert(std::distance(i, j) == 0); 86 assert(std::distance(i, j) == 0); 106 assert(std::distance(i, j) == 0); 111 assert(std::distance(i, j) == 2); 119 assert(std::distance(i, j) == 2) [all...] |
/external/libcxx/test/std/containers/sequences/list/list.ops/ |
splice_pos_list.pass.cpp | 32 assert(distance(l1.begin(), l1.end()) == 0); 34 assert(distance(l2.begin(), l2.end()) == 0); 41 assert(distance(l1.begin(), l1.end()) == 1); 43 assert(distance(l2.begin(), l2.end()) == 0); 52 assert(distance(l1.begin(), l1.end()) == 2); 54 assert(distance(l2.begin(), l2.end()) == 0); 65 assert(distance(l1.begin(), l1.end()) == 3); 67 assert(distance(l2.begin(), l2.end()) == 0); 80 assert(distance(l1.begin(), l1.end()) == 1); 82 assert(distance(l2.begin(), l2.end()) == 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/ |
splice_pos_list.pass.cpp | 32 assert(distance(l1.begin(), l1.end()) == 0); 34 assert(distance(l2.begin(), l2.end()) == 0); 41 assert(distance(l1.begin(), l1.end()) == 1); 43 assert(distance(l2.begin(), l2.end()) == 0); 52 assert(distance(l1.begin(), l1.end()) == 2); 54 assert(distance(l2.begin(), l2.end()) == 0); 65 assert(distance(l1.begin(), l1.end()) == 3); 67 assert(distance(l2.begin(), l2.end()) == 0); 80 assert(distance(l1.begin(), l1.end()) == 1); 82 assert(distance(l2.begin(), l2.end()) == 0) [all...] |