Searched refs:distance (Results 1 - 25 of 211) sorted by relevance

123456789

/macosx-10.9.5/tcl-102/tcl_ext/tklib/tklib/modules/diagrams/include/
H A Dpointarith.inc9 [call [cmd by] [arg distance] [arg direction]]
13 This command takes a [arg distance] and [arg direction] (angle in
57 [call [arg point] [cmd by] [arg distance] [arg direction]]
62 [$point + [by $distance $direction]]
/macosx-10.9.5/CPANInternal-140/Text-LevenshteinXS/
H A Dtest.pl4 use Text::LevenshteinXS qw(distance);
7 if (distance("foo","four") == 2) {ok(1)} else {ok(0)}
8 if (distance("foo","foo") == 0) {ok(1)} else {ok(0)}
9 if (distance("foo","") == 3) {ok(1)} else {ok(0)}
10 if (distance("four","foo") == 2) {ok(1)} else {ok(0)}
11 if (distance("foo","bar") == 3) {ok(1)} else {ok(0)}
H A DLevenshteinXS.pm20 distance
31 Text::LevenshteinXS - An XS implementation of the Levenshtein edit distance
35 use Text::LevenshteinXS qw(distance);
37 print distance("foo","four");
40 print distance("foo","bar");
46 This module implements the Levenshtein edit distance in a XS way.
48 The Levenshtein edit distance is a measure of the degree of proximity between two strings.
49 This distance is the number of substitutions, deletions or insertions ("edits")
51 When two strings have distance 0, they are the same.
H A DLevenshteinXS.xs20 /*Compute levenshtein distance between s and t*/
23 int k,i,j,n,m,cost,*d,distance;
50 distance=d[n*m-1];
52 return distance;
69 distance(s,t)
/macosx-10.9.5/CPANInternal-140/Text-LevenshteinXS-0.03/
H A Dtest.pl4 use Text::LevenshteinXS qw(distance);
7 if (distance("foo","four") == 2) {ok(1)} else {ok(0)}
8 if (distance("foo","foo") == 0) {ok(1)} else {ok(0)}
9 if (distance("foo","") == 3) {ok(1)} else {ok(0)}
10 if (distance("four","foo") == 2) {ok(1)} else {ok(0)}
11 if (distance("foo","bar") == 3) {ok(1)} else {ok(0)}
H A DLevenshteinXS.pm20 distance
31 Text::LevenshteinXS - An XS implementation of the Levenshtein edit distance
35 use Text::LevenshteinXS qw(distance);
37 print distance("foo","four");
40 print distance("foo","bar");
46 This module implements the Levenshtein edit distance in a XS way.
48 The Levenshtein edit distance is a measure of the degree of proximity between two strings.
49 This distance is the number of substitutions, deletions or insertions ("edits")
51 When two strings have distance 0, they are the same.
H A DLevenshteinXS.xs20 /*Compute levenshtein distance between s and t*/
23 int k,i,j,n,m,cost,*d,distance;
50 distance=d[n*m-1];
52 return distance;
69 distance(s,t)
/macosx-10.9.5/WebCore-7537.78.1/platform/audio/
H A DDistance.cpp51 double DistanceEffect::gain(double distance) argument
53 // don't go beyond maximum distance
54 distance = min(distance, m_maxDistance);
56 // if clamped, don't get closer than reference distance
58 distance = max(distance, m_refDistance);
62 return linearGain(distance);
64 return inverseGain(distance);
66 return exponentialGain(distance);
72 linearGain(double distance) argument
79 inverseGain(double distance) argument
84 exponentialGain(double distance) argument
[all...]
H A DDistance.h47 // Returns scalar gain for the given distance the current distance model is used
48 double gain(double distance);
68 double linearGain(double distance);
69 double inverseGain(double distance);
70 double exponentialGain(double distance);
/macosx-10.9.5/groff-38/groff/src/preproc/pic/
H A Dcommon.h38 const position &, const distance &,
42 void dashed_ellipse(const position &, const distance &, const line_type &);
43 void dotted_ellipse(const position &, const distance &, const line_type &);
50 void dashed_rounded_box(const position &, const distance &, double,
52 void dotted_rounded_box(const position &, const distance &, double,
54 void solid_rounded_box(const position &, const distance &, double,
56 void filled_rounded_box(const position &, const distance &, double, double);
68 void ellipse(const position &, const distance &,
70 void rounded_box(const position &, const distance &, double,
H A Dposition.h46 typedef position distance; typedef
/macosx-10.9.5/WebCore-7537.78.1/history/
H A DBackForwardController.cpp52 bool BackForwardController::canGoBackOrForward(int distance) const
54 return m_page->canGoBackOrForward(distance);
57 void BackForwardController::goBackOrForward(int distance) argument
59 m_page->goBackOrForward(distance);
H A DBackForwardController.h48 bool canGoBackOrForward(int distance) const;
49 void goBackOrForward(int distance);
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/ext/pb_ds/detail/list_update_map_/
H A Dinfo_fn_imps.hpp51 { return std::distance(begin(), end()); }
/macosx-10.9.5/WebCore-7537.78.1/bindings/scripts/
H A DHasher.pm32 my ($value, $distance) = @_;
33 return (($value << $distance) & 0xFFFFFFFF);
/macosx-10.9.5/WebCore-7537.78.1/page/
H A DHistory.h51 void go(int distance);
55 void go(ScriptExecutionContext*, int distance);
H A DHistory.cpp106 void History::go(int distance) argument
111 m_frame->navigationScheduler()->scheduleHistoryNavigation(distance);
114 void History::go(ScriptExecutionContext* context, int distance) argument
127 m_frame->navigationScheduler()->scheduleHistoryNavigation(distance);
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Core Image/CIHazeFilterSample/
H A DHazeFilterView.py10 distance = objc.ivar(type=objc._C_FLT) variable in class:HazeFilterView
14 self.distance = sender.floatValue()
43 self.filter.setValue_forKey_(self.distance, "inputDistance")
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/Core Image/CIHazeFilterSample/
H A DHazeFilterView.py10 distance = objc.ivar(type=objc._C_FLT) variable in class:HazeFilterView
14 self.distance = sender.floatValue()
43 self.filter.setValue_forKey_(self.distance, "inputDistance")
/macosx-10.9.5/CPANInternal-140/Graph/lib/Graph/
H A DAdjacencyMatrix.pm102 sub distance { subroutine
127 $am->distance($u, $v)
130 $am->distance($u, $v)
138 and optionally also the distance matrix of a graph, and after that
140 method, or query the distance between vertices by using the
141 C<distance()> method.
143 By default the edge attribute used for distance is C<w>, but you
147 the adjacency matrix and the distance matrix may become invalid.
169 distance matrix, use the attribute C<distance_matrix> with a true value
174 By default the edge attribute used for distance i
[all...]
/macosx-10.9.5/CPANInternal-140/Graph-0.94/lib/Graph/
H A DAdjacencyMatrix.pm102 sub distance { subroutine
127 $am->distance($u, $v)
130 $am->distance($u, $v)
138 and optionally also the distance matrix of a graph, and after that
140 method, or query the distance between vertices by using the
141 C<distance()> method.
143 By default the edge attribute used for distance is C<w>, but you
147 the adjacency matrix and the distance matrix may become invalid.
169 distance matrix, use the attribute C<distance_matrix> with a true value
174 By default the edge attribute used for distance i
[all...]
/macosx-10.9.5/ruby-104/ruby/benchmark/
H A Dbm_so_nbody.rb30 distance = Math.sqrt(dx * dx + dy * dy + dz * dz)
31 mag = dt / (distance * distance * distance)
61 distance = Math.sqrt(dx * dx + dy * dy + dz * dz)
62 e -= (b.mass * b2.mass) / distance
/macosx-10.9.5/WebCore-7537.78.1/svg/
H A DColorDistance.h42 float distance() const;
H A DSVGTransformDistance.h42 float distance() const;
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/qt/
H A DQtTapGestureRecognizer.h53 bool withinDistance(const QTouchEvent::TouchPoint&, int distance);

Completed in 224 milliseconds

123456789