Home
last modified time | relevance | path

Searched full:threshold (Results 1 – 25 of 3064) sorted by relevance

12345678910>>...123

/external/ImageMagick/www/source/
Dthresholds.xml3 <!ELEMENT thresholds (threshold)+>
5 <!ELEMENT threshold (description,levels)>
6 <!ATTLIST threshold xmlns CDATA #FIXED '' alias NMTOKEN #IMPLIED
15 Threshold Maps for Ordered Posterized Dither
17 Each "<threshold>" element defines the map name, description, and an array
18 of "levels" used to provide the threshold map for ordered dithering and
21 The "alias" attribute provides a backward compatible name for this threshold
24 The description is a english description of what the threshold map achieves
27 The map itself is a rectangular array of integers or threshold "levels"
32 Each of the "levels" integer values (each value representing the threshold
[all …]
/external/ImageMagick/config/
Dthresholds.xml3 <!ELEMENT thresholds (threshold)+>
5 <!ELEMENT threshold (description,levels)>
6 <!ATTLIST threshold xmlns CDATA #FIXED '' alias NMTOKEN #IMPLIED
15 Threshold Maps for Ordered Posterized Dither
17 Each "<threshold>" element defines the map name, description, and an array
18 of "levels" used to provide the threshold map for ordered dithering and
21 The "alias" attribute provides a backward compatible name for this threshold
24 The description is a english description of what the threshold map achieves
27 The map itself is a rectangular array of integers or threshold "levels"
32 Each of the "levels" integer values (each value representing the threshold
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInlineCost.h59 /// Objects of this type also provide the adjusted threshold for inlining
62 /// threshold for this cost metric.
72 /// The adjusted threshold against which this cost was computed.
73 int Threshold; variable
79 InlineCost(int Cost, int Threshold, const char *Reason = nullptr)
80 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost()
86 static InlineCost get(int Cost, int Threshold) { in get() argument
89 return InlineCost(Cost, Threshold); in get()
100 return Cost < Threshold;
114 /// Get the threshold against which the cost was computed
[all …]
/external/grpc-grpc/test/core/client_channel/
Dretry_throttle_test.cc30 // Max token count is 4, so threshold for retrying is 2. in TEST()
35 // Failure: token_count=3. Above threshold. in TEST()
39 // Failure: token_count=3. Above threshold. in TEST()
41 // Failure: token_count=2. At threshold, so no retries. in TEST()
43 // Failure: token_count=1. Below threshold, so no retries. in TEST()
45 // Failure: token_count=0. Below threshold, so no retries. in TEST()
47 // Failure: token_count=0. Below threshold, so no retries. Not in TEST()
54 // Failure: token_count=2.2. Above threshold. in TEST()
56 // Failure: token_count=1.2. Below threshold, so no retries. in TEST()
60 // Failure: token_count=1.8. Below threshold, so no retries. in TEST()
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/
DDeferredFileOutputStream.java31 …* An output stream which will retain data in memory until a specified threshold is reached, and on…
32 …* disk. If the stream is closed before the threshold is reached, the data will not be written to d…
42 * The output stream to which data will be written prior to the threshold being reached.
53 * The file to which output will be directed if the threshold is exceeded.
78 …* Constructs an instance of this class which will trigger an event at the specified threshold, and…
82 * @param threshold The number of bytes at which to trigger an event.
83 * @param outputFile The file to which data is saved beyond the threshold.
85 public DeferredFileOutputStream(final int threshold, final File outputFile) { in DeferredFileOutputStream() argument
86 this(threshold, outputFile, null, null, null, AbstractByteArrayOutputStream.DEFAULT_SIZE); in DeferredFileOutputStream()
90 …* Constructs an instance of this class which will trigger an event at the specified threshold, and…
[all …]
DThresholdingOutputStream.java28 * type when the threshold is exceeded.
34 …* NOTE: This implementation may trigger the event <em>before</em> the threshold is actually reache…
35 * when a pending write operation would cause the threshold to be exceeded.
46 * The threshold at which the event will be triggered.
48 private final int threshold; field in ThresholdingOutputStream
51 * Accepts reaching the threshold.
66 * Whether or not the configured threshold has been exceeded.
71 * Constructs an instance of this class which will trigger an event at the specified threshold.
73 * @param threshold The number of bytes at which to trigger an event.
75 public ThresholdingOutputStream(final int threshold) { in ThresholdingOutputStream() argument
[all …]
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/concurrent/
DThresholdCircuitBreaker.java24 * that opens if the requested increment amount is greater than a given threshold.
28 * If the threshold is zero, the circuit breaker will be in a permanent <em>open</em> state.
36 * long threshold = 10L;
59 * The threshold.
61 private final long threshold; field in ThresholdCircuitBreaker
69 * Creates a new instance of {@link ThresholdCircuitBreaker} and initializes the threshold.
71 * @param threshold the threshold.
73 public ThresholdCircuitBreaker(final long threshold) { in ThresholdCircuitBreaker() argument
75 this.threshold = threshold; in ThresholdCircuitBreaker()
79 * Gets the threshold.
[all …]
/external/ImageMagick/MagickCore/
Dthreshold.c13 % MagickCore Image Threshold Methods %
88 #include "MagickCore/threshold.h"
121 #include "MagickCore/threshold-map.h"
127 " <threshold map=\"threshold\" alias=\"1x1\">"
128 " <description>Threshold 1x1 (non-dither)</description>"
132 " </threshold>"
133 " <threshold map=\"checks\" alias=\"2x1\">"
139 " </threshold>"
160 % AdaptiveThresholdImage() selects an individual threshold for each pixel
209 Initialize threshold image attributes. in AdaptiveThresholdImage()
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/
DThresholdCircuitBreakerTest.java32 * Threshold used in tests.
34 private static final long threshold = 10L; field in ThresholdCircuitBreakerTest
39 * Tests that the threshold is working as expected when incremented and no exception is thrown.
43 final ThresholdCircuitBreaker circuit = new ThresholdCircuitBreaker(threshold); in testThreshold()
45 … assertFalse(circuit.incrementAndCheckState(1L), "Circuit opened before reaching the threshold"); in testThreshold()
49 * Tests that exceeding the threshold raises an exception.
53 final ThresholdCircuitBreaker circuit = new ThresholdCircuitBreaker(threshold); in testThresholdCircuitBreakingException()
55 …ementAndCheckState(2L), "The circuit was supposed to be open after increment above the threshold"); in testThresholdCircuitBreakingException()
59 * Test that when threshold is zero, the circuit breaker is always open.
64 …assertTrue(circuit.incrementAndCheckState(0L), "When the threshold is zero, the circuit is suppose… in testThresholdEqualsZero()
[all …]
/external/llvm/include/llvm/Analysis/
DInlineCost.h48 /// Objects of this type also provide the adjusted threshold for inlining
51 /// threshold for this cost metric.
61 /// \brief The adjusted threshold against which this cost was computed.
62 const int Threshold; variable
65 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
68 static InlineCost get(int Cost, int Threshold) { in get() argument
71 return InlineCost(Cost, Threshold); in get()
82 return Cost < Threshold;
96 /// \brief Get the cost delta from the threshold for inlining.
99 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
[all …]
/external/iproute2/man/man8/
Ddevlink-sb.863 .BI th " THRESHOLD "
87 .BI th " THRESHOLD "
143 pool threshold type.
146 - Threshold values for the pool will be passed in Bytes.
149 - Threshold values ("to_alpha") for the pool will be used to compute alpha parameter according to f…
163 .SS devlink sb port pool show - display port-pool combinations and threshold for each
171 .SS devlink sb port pool set - set port-pool threshold
180 .BI th " THRESHOLD"
181 threshold value. Type of the value is either Bytes or "to_alpha", depends on
185 .SS devlink sb tc bind show - display port-TC to pool bindings and threshold for each
[all …]
/external/bazel-skylib/lib/
Dversions.bzl57 def _is_at_most(threshold, version):
58 """Check that a version is lower or equals to a threshold.
61 threshold: the maximum version string
62 version: the version string to be compared to the threshold
65 True if version <= threshold.
67 return _parse_bazel_version(version) <= _parse_bazel_version(threshold)
69 def _is_at_least(threshold, version):
70 """Check that a version is higher or equals to a threshold.
73 threshold: the minimum version string
74 version: the version string to be compared to the threshold
[all …]
/external/tensorflow/tensorflow/core/kernels/
Droll_op.cc82 // threshold[i] is the index that the roll starts to wrap back to the front in Compute()
83 gtl::InlinedVector<int32, 4> threshold(num_dims); in Compute() local
86 // to the other. Used to make the shifts wrap around after a threshold. in Compute()
95 threshold[i] = (ds - shift_mod_sum[i]) % ds; in Compute()
107 input_flat, output_flat, threshold, dim_range, in Compute()
117 // to the other. Used to make the shifts wrap around after a threshold.
118 // threshold - the index for each dimension that the roll starts to wrap
123 const T* input, T* output, const gtl::ArraySlice<int32> threshold, in DoRoll() argument
125 auto work = [input, output, num_dims, &dim_size, &threshold, &dim_range]( in DoRoll()
136 const int shift = dim_size[i] - threshold[i]; in DoRoll()
[all …]
/external/bazel-skylib/docs/
Dversions_doc.md67 versions.is_at_most(<a href="#versions.is_at_most-threshold">threshold</a>, <a href="#versions.is_a…
70 Check that a version is lower or equals to a threshold.
77 | <a id="versions.is_at_most-threshold"></a>threshold | the maximum version string | none |
78 …s.is_at_most-version"></a>version | the version string to be compared to the threshold | none |
82 True if version <= threshold.
90 versions.is_at_least(<a href="#versions.is_at_least-threshold">threshold</a>, <a href="#versions.is…
93 Check that a version is higher or equals to a threshold.
100 | <a id="versions.is_at_least-threshold"></a>threshold | the minimum version string | none |
101 ….is_at_least-version"></a>version | the version string to be compared to the threshold | none |
105 True if version >= threshold.
/external/ethtool/
Dsff-common.c260 PRINT_BIAS("Laser bias current high alarm threshold", in sff_show_thresholds()
262 PRINT_BIAS("Laser bias current low alarm threshold", in sff_show_thresholds()
264 PRINT_BIAS("Laser bias current high warning threshold", in sff_show_thresholds()
266 PRINT_BIAS("Laser bias current low warning threshold", in sff_show_thresholds()
269 PRINT_xX_PWR("Laser output power high alarm threshold", in sff_show_thresholds()
271 PRINT_xX_PWR("Laser output power low alarm threshold", in sff_show_thresholds()
273 PRINT_xX_PWR("Laser output power high warning threshold", in sff_show_thresholds()
275 PRINT_xX_PWR("Laser output power low warning threshold", in sff_show_thresholds()
278 PRINT_TEMP("Module temperature high alarm threshold", in sff_show_thresholds()
280 PRINT_TEMP("Module temperature low alarm threshold", in sff_show_thresholds()
[all …]
/external/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 1) -unroll-threshold
4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and
8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll
10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll
20 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
21 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
22 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
23 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=100 -unroll-percent-dynamic-cost-saved-th…
25 ; If the absolute threshold is too low, or if we can't optimize away requested
33 ; Also, we should unroll if the 'unroll-threshold' is big enough:
/external/deqp/framework/common/
DtcuImageCompare.cpp91 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in findNumPositionDeviationFailingPixels() argument
125 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
144 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
167 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
201 * metric is usually <0.01. Thus good threshold values are in range 0.02 to
213 * \param threshold Error metric threshold (good values are 0.02-0.05)
217 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … in fuzzyCompare() argument
222 bool isOk = difference <= threshold; in fuzzyCompare()
236 …< "Image comparison failed: difference = " << difference << ", threshold = " << threshold << TestL… in fuzzyCompare()
270 * metric is usually <0.01. Thus good threshold values are in range 0.02 to
[all …]
DtcuImageCompare.hpp47 …geSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode …
48 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode …
51 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode …
52 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode …
53 …ferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode …
54 …onst ConstPixelBufferAccess& result, const Vec4& ignorekey, const Vec4& threshold, CompareLogMode …
55 …onst Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode …
56 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode …
57 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec…
58 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec…
[all …]
/external/llvm/tools/llvm-cov/
DCoverageFilters.h54 /// \brief Matches numbers that pass a certain threshold.
61 T Threshold; variable
63 StatisticThresholdFilter(Operation Op, T Threshold) in StatisticThresholdFilter() argument
64 : Op(Op), Threshold(Threshold) {} in StatisticThresholdFilter()
67 /// or greater than the certain threshold.
71 return Value < Threshold; in PassesThreshold()
73 return Value > Threshold; in PassesThreshold()
84 RegionCoverageFilter(Operation Op, double Threshold) in RegionCoverageFilter() argument
85 : StatisticThresholdFilter(Op, Threshold) {} in RegionCoverageFilter()
95 LineCoverageFilter(Operation Op, double Threshold) in LineCoverageFilter() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
DSimpleRealPointChecker.java28 * difference between each point coordinate are smaller than a threshold
30 * smaller than another threshold.
37 /** Default relative threshold. */
40 /** Default absolute threshold. */
43 /** Relative tolerance threshold. */
46 /** Absolute tolerance threshold. */
49 /** Build an instance with default threshold.
56 /** Build an instance with a specified threshold.
62 * @param relativeThreshold relative tolerance threshold
63 * @param absoluteThreshold absolute tolerance threshold
DSimpleVectorialPointChecker.java28 * difference between each point coordinate are smaller than a threshold
30 * smaller than another threshold.
37 /** Default relative threshold. */
40 /** Default absolute threshold. */
43 /** Relative tolerance threshold. */
46 /** Absolute tolerance threshold. */
49 /** Build an instance with default threshold.
56 /** Build an instance with a specified threshold.
62 * @param relativeThreshold relative tolerance threshold
63 * @param absoluteThreshold absolute tolerance threshold
DSimpleScalarValueChecker.java29 * threshold or if either the absolute difference between the objective
30 * function values is smaller than another threshold.
37 /** Default relative threshold. */
40 /** Default absolute threshold. */
43 /** Relative tolerance threshold. */
46 /** Absolute tolerance threshold. */
49 /** Build an instance with default threshold.
56 /** Build an instance with a specified threshold.
62 * @param relativeThreshold relative tolerance threshold
63 * @param absoluteThreshold absolute tolerance threshold
DSimpleVectorialValueChecker.java29 * threshold or if either the absolute difference between the objective
30 * function values is smaller than another threshold for all vectors elements.
37 /** Default relative threshold. */
40 /** Default absolute threshold. */
43 /** Relative tolerance threshold. */
46 /** Absolute tolerance threshold. */
49 /** Build an instance with default threshold.
56 /** Build an instance with a specified threshold.
62 * @param relativeThreshold relative tolerance threshold
63 * @param absoluteThreshold absolute tolerance threshold
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_flow_controller_test.cc218 QuicByteCount threshold = in TEST_F() local
221 QuicStreamOffset receive_offset = threshold + 1; in TEST_F()
233 flow_controller_->AddBytesConsumed(threshold + 1); in TEST_F()
240 receive_offset += threshold + 1; in TEST_F()
242 flow_controller_->AddBytesConsumed(threshold + 1); in TEST_F()
246 EXPECT_GT(new_threshold, threshold); in TEST_F()
272 QuicByteCount threshold = in TEST_F() local
275 QuicStreamOffset receive_offset = threshold + 1; in TEST_F()
284 flow_controller_->AddBytesConsumed(threshold + 1); in TEST_F()
294 receive_offset += threshold + 1; in TEST_F()
[all …]
/external/bcc/tools/
Ddbslower.py3 # dbslower Trace MySQL and PostgreSQL queries slower than a threshold.
5 # USAGE: dbslower [-v] [-p PID [PID ...]] [-b PATH_TO_BINARY] [-m THRESHOLD]
8 # By default, a threshold of 1ms is used. Set the threshold to 0 to trace all
51 parser.add_argument("-m", "--threshold", type=int, default=1,
52 help="trace queries slower than this threshold (ms)")
57 threshold_ns = args.threshold * 1000000
153 #ifdef THRESHOLD
154 if (delta >= THRESHOLD) {
155 #endif //THRESHOLD
168 #ifdef THRESHOLD
[all …]

12345678910>>...123