Home
last modified time | relevance | path

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

12345678910>>...123

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-function-size.cpp18 // CHECK-MESSAGES: :[[@LINE-2]]:6: note: 1 statements (threshold 0)
25 // CHECK-MESSAGES: :[[@LINE-5]]:6: note: 3 lines including whitespace and comments (threshold 0)
26 // CHECK-MESSAGES: :[[@LINE-6]]:6: note: 1 statements (threshold 0)
31 // CHECK-MESSAGES: :[[@LINE-3]]:6: note: 1 lines including whitespace and comments (threshold 0)
32 // CHECK-MESSAGES: :[[@LINE-4]]:6: note: 3 statements (threshold 0)
33 // CHECK-MESSAGES: :[[@LINE-5]]:6: note: 1 branches (threshold 0)
39 // CHECK-MESSAGES: :[[@LINE-4]]:6: note: 2 lines including whitespace and comments (threshold 0)
40 // CHECK-MESSAGES: :[[@LINE-5]]:6: note: 7 statements (threshold 0)
41 // CHECK-MESSAGES: :[[@LINE-6]]:6: note: 3 branches (threshold 0)
47 // CHECK-MESSAGES: :[[@LINE-4]]:25: note: 1 lines including whitespace and comments (threshold 0)
[all …]
/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/llvm-project/llvm/test/Transforms/SLPVectorizer/X86/
Dhorizontal-list.ll3 …triple=x86_64-unknown-linux-gnu -mcpu=bdver2 -slp-threshold=-10 | FileCheck %s --check-prefix=THRE…
38 ; THRESHOLD-LABEL: @baz(
39 ; THRESHOLD-NEXT: entry:
40 ; THRESHOLD-NEXT: [[TMP0:%.*]] = load i32, i32* @n, align 4
41 ; THRESHOLD-NEXT: [[MUL:%.*]] = mul nsw i32 [[TMP0]], 3
42 ; THRESHOLD-NEXT: [[CONV:%.*]] = sitofp i32 [[MUL]] to float
43 ; THRESHOLD-NEXT: [[TMP1:%.*]] = load <2 x float>, <2 x float>* bitcast ([20 x float]* @arr to <…
44 ; THRESHOLD-NEXT: [[TMP2:%.*]] = load <2 x float>, <2 x float>* bitcast ([20 x float]* @arr1 to …
45 ; THRESHOLD-NEXT: [[TMP3:%.*]] = fmul fast <2 x float> [[TMP2]], [[TMP1]]
46 ; THRESHOLD-NEXT: [[TMP4:%.*]] = extractelement <2 x float> [[TMP3]], i32 0
[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/llvm-project/llvm/test/Transforms/Inline/ARM/
Dinline-fp.ll7 ; NOFP-DAG: single not inlined into test_single because too costly to inline (cost=125, threshold=7…
8 ; NOFP-DAG: single not inlined into test_single because too costly to inline (cost=125, threshold=7…
9 ; NOFP-DAG: single_cheap inlined into test_single_cheap with (cost=-15, threshold=75)
10 ; NOFP-DAG: single_cheap inlined into test_single_cheap with (cost=-15015, threshold=75)
11 ; NOFP-DAG: double not inlined into test_double because too costly to inline (cost=125, threshold=7…
12 ; NOFP-DAG: double not inlined into test_double because too costly to inline (cost=125, threshold=7…
13 …_soft not inlined into test_single_force_soft because too costly to inline (cost=125, threshold=75)
14 …_soft not inlined into test_single_force_soft because too costly to inline (cost=125, threshold=75)
15 … not inlined into test_single_force_soft_fneg because too costly to inline (cost=100, threshold=75)
16 … not inlined into test_single_force_soft_fneg because too costly to inline (cost=100, threshold=75)
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DInlineCost.h63 /// Objects of this type also provide the adjusted threshold for inlining
66 /// threshold for this cost metric.
73 /// The adjusted threshold against which this cost was computed.
74 int Threshold = 0; variable
80 InlineCost(int Cost, int Threshold, const char *Reason = nullptr)
81 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost()
87 static InlineCost get(int Cost, int Threshold) { in get() argument
90 return InlineCost(Cost, Threshold); in get()
100 explicit operator bool() const { return Cost < Threshold; }
113 /// Get the threshold against which the cost was computed
[all …]
/external/llvm-project/llvm/test/Transforms/Inline/
Doptimization-remarks-yaml.ll2 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \
8 ; Verify that remarks that don't meet the hotness threshold are not output.
10 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \
11 ; RUN: -pass-remarks-output=%t.threshold 2>&1 | \
12 ; RUN: FileCheck -check-prefix=THRESHOLD %s
13 ; RUN: test ! -s %t.threshold
15 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \
16 ; RUN: -pass-remarks-output=%t.threshold
18 ; RUN: test ! -s %t.threshold
22 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \
[all …]
/external/llvm-project/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 -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-…
21 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
22 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
24 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-…
25 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
26 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
[all …]
Dpartial-unroll-const-bounds.ll1 …artial-threshold=20 -unroll-threshold=20 -loop-unroll -unroll-allow-partial -unroll-runtime -unrol…
2 …nroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unroll-runtime -unroll-allo…
5 …nroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unroll-runtime -unroll-allo…
7 ; The Loop TripCount is 9. However unroll factors 3 or 9 exceed given threshold.
/external/llvm-project/llvm/test/Transforms/LoopUnroll/AMDGPU/
Dunroll-threshold.ll3 ; Check the handling of amdgpu.loop.unroll.threshold metadata which can be used to
4 ; set the default threshold for a loop. This metadata overrides both the AMDGPU
5 ; default, and any value specified by the amdgpu-unroll-threshold function attribute
6 ; (which sets a threshold for all loops in the function).
9 ; unroll threshold
35 ; unroll threshold is increased by use of the amdgpu.loop.unroll.threshold metadata
58 ; unroll threshold specified using the amdgpu-unroll-threshold function attribute
59 ; is overridden by a low threshold using the amdgpu.loop.unroll.threshold metadata
83 ; unroll threshold specified using the amdgpu-unroll-threshold function attribute
84 ; is overridden by a high threshold using the amdgpu.loop.unroll.threshold metadata
[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/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/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/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/skqp/src/gpu/gradients/
DGrDualIntervalGradientColorizer.fp8 // Models two intervals (so 4 colors), that are connected at a specific threshold point.
10 // Bias and scale for 0 to threshold
14 // Bias and scale for threshold to 1
18 layout(tracked) in uniform half threshold;
24 if (t < threshold) {
40 float threshold);
45 …olor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) {
46 // Derive scale and biases from the 4 colors and threshold
49 auto scale01 = (vc1 - vc0) / threshold;
54 auto scale23 = (vc3 - vc2) / (1 - threshold);
[all …]
/external/skia/src/gpu/gradients/
DGrDualIntervalGradientColorizer.fp8 // Models two intervals (so 4 colors), that are connected at a specific threshold point.
10 // Bias and scale for 0 to threshold
14 // Bias and scale for threshold to 1
18 layout(tracked) in uniform half threshold;
24 if (t < threshold) {
40 float threshold);
45 …olor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) {
46 // Derive scale and biases from the 4 colors and threshold
49 auto scale01 = (vc1 - vc0) / threshold;
54 auto scale23 = (vc3 - vc2) / (1 - threshold);
[all …]
/external/llvm-project/compiler-rt/test/tsan/
Ddeflake.bash4 # %deflake $THRESHOLD mybinary
6 # $(dirname %s)/deflake.bash $THRESHOLD mybinary
8 # THRESHOLD will be the defined value.
9 # - When TSAN_TEST_DEFLAKE_THRESHOLD is not defined, THRESHOLD will be 10.
10 # The script runs the target program up to $THRESHOLD times,
13 THRESHOLD="${1}"
16 # Early exit if $THRESHOLD is not a non-negative integer
17 [[ "${THRESHOLD}" =~ ^[0-9]+$ ]] || exit 1
19 while (( THRESHOLD-- )); do
/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/llvm-project/llvm/test/tools/llvm-profdata/
Dsuppl-instr-with-sample.test6 RUN: -suppl-min-size-threshold=0 %p/Inputs/mix_instr.proftext -o %t
22 Test when the zero counter ratio of foo is higher than zero-counter-threshold.
25 RUN: -suppl-min-size-threshold=0 -zero-counter-threshold=0.5 \
26 RUN: -instr-prof-cold-threshold=30 %p/Inputs/mix_instr.proftext -o %t
42 Test when the zero counter ratio of foo is lower than zero-counter-threshold.
45 RUN: -suppl-min-size-threshold=0 -zero-counter-threshold=0.7 \
46 RUN: -instr-prof-cold-threshold=30 %p/Inputs/mix_instr.proftext -o %t
63 than suppl-min-size-threshold.
66 RUN: -suppl-min-size-threshold=2 -zero-counter-threshold=0.7 \
67 RUN: -instr-prof-cold-threshold=30 %p/Inputs/mix_instr.proftext -o %t
[all …]
/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 …]
/external/skia/src/gpu/gradients/generated/
DGrDualIntervalGradientColorizer.cpp36 auto threshold = _outer.threshold; in emitCode() local
37 (void)threshold; in emitCode()
47 &_outer, kFragment_GrShaderFlag, kHalf_GrSLType, "threshold"); in emitCode()
96 float thresholdValue = _outer.threshold; in onSetData()
127 if (threshold != that.threshold) return false; in onIsEqual()
137 , threshold(src.threshold) { in GrDualIntervalGradientColorizer()
148 "%f, %f, %f), bias23=float4(%f, %f, %f, %f), threshold=%f)", in onDumpInfo()
165 threshold); in onDumpInfo()
173 float threshold) { in Make() argument
174 // Derive scale and biases from the 4 colors and threshold in Make()
[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 …]

12345678910>>...123