/dports/www/grafana8/grafana-8.3.6/packages/grafana-data/src/field/ |
H A D | thresholds.test.ts | 8 const thresholds: ThresholdsConfig = { constant 26 const thresholds: ThresholdsConfig = { constant 61 expect(getThreshold(49, thresholds, ThresholdsMode.Absolute)).toEqual(thresholds[0]); 65 const thresholds = [ constant 70 expect(getThreshold(50, thresholds, ThresholdsMode.Absolute)).toEqual(thresholds[1]); 74 const thresholds = [ constant 79 expect(getThreshold(55, thresholds, ThresholdsMode.Absolute)).toEqual(thresholds[1]); 83 const thresholds = [ constant 88 expect(getThreshold(55, thresholds, ThresholdsMode.Percentage, 0.9)).toEqual(thresholds[2]); 89 expect(getThreshold(55, thresholds, ThresholdsMode.Percentage, 0.5)).toEqual(thresholds[1]); [all …]
|
H A D | thresholds.ts | 5 export function getActiveThreshold(value: number, thresholds: Threshold[] | undefined): Threshold { 6 if (!thresholds || thresholds.length === 0) { 10 let active = thresholds[0]; 12 for (const threshold of thresholds) { 24 const { thresholds } = field.config; constant 26 if (thresholds?.mode === ThresholdsMode.Percentage) { 27 return getActiveThreshold(percent * 100, thresholds?.steps); 30 return getActiveThreshold(value, thresholds?.steps); 36 export function sortThresholds(thresholds: Threshold[]) { 37 return thresholds.sort((t1, t2) => t1.value - t2.value);
|
/dports/security/swatchdog/swatchdog-3.2.4/lib/Swatchdog/ |
H A D | Threshold.pm | 35 my $thresholds = {}; 56 if (exists($thresholds->{$opts{SWID}}) 57 and exists($thresholds->{$opts{SWID}}{$opts{TRACK_BY}})) { 69 if (exists($thresholds->{$opts{SWID}}{$opts{TRACK_BY}})) { 71 $thresholds->{$opts{SWID}}{$opts{TRACK_BY}}{EVENTS}++; 91 if (exists($thresholds->{$opts{SWID}}{$opts{TRACK_BY}})) { 92 $thresholds->{$opts{SWID}}{$opts{TRACK_BY}}{EVENTS}++; 101 $thresholds->{$opts{SWID}}{$opts{TRACK_BY}}{FIRST} = $time; 109 $thresholds->{$opts{SWID}}{$opts{TRACK_BY}}{EVENTS} = 0; 123 $thresholds->{$opts{SWID}}{$opts{TRACK_BY}}{EVENTS}++; [all …]
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Filtering/MathematicalMorphology/test/ |
H A D | itkDoubleThresholdImageFilterTest.cxx | 93 int thresholds[4]; in itkDoubleThresholdImageFilterTest() local 96 thresholds[i] = std::stoi(argv[i+3]); in itkDoubleThresholdImageFilterTest() 98 threshold->SetThreshold1( thresholds[0] ); in itkDoubleThresholdImageFilterTest() 99 threshold->SetThreshold2( thresholds[1] ); in itkDoubleThresholdImageFilterTest() 100 threshold->SetThreshold3( thresholds[2] ); in itkDoubleThresholdImageFilterTest() 101 threshold->SetThreshold4( thresholds[3] ); in itkDoubleThresholdImageFilterTest() 104 if(threshold->GetThreshold1() != thresholds[0]) in itkDoubleThresholdImageFilterTest() 110 if(threshold->GetThreshold2() != thresholds[1]) in itkDoubleThresholdImageFilterTest() 128 if (thresholds[0] <= thresholds[1] && in itkDoubleThresholdImageFilterTest() 129 thresholds[1] <= thresholds[2] && in itkDoubleThresholdImageFilterTest() [all …]
|
/dports/www/grafana8/grafana-8.3.6/packages/grafana-ui/src/components/SingleStatShared/ |
H A D | SingleStatBaseOptions.ts | 103 defaults.thresholds = { 105 steps: thresholds, 158 let thresholds = fieldOptions?.defaults?.thresholds; variable 159 if (thresholds) { 162 thresholds = fieldOptions?.thresholds; 166 if (thresholds) { 252 if (old.thresholds) { 253 thresholds = { 266 thresholds, 286 fieldOptions.thresholds = old.thresholds; [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/rtc_base/experiments/ |
H A D | quality_scaling_experiment_unittest.cc | 101 const auto thresholds = in TEST() local 103 EXPECT_TRUE(thresholds); in TEST() 111 const auto thresholds = in TEST() local 119 const auto thresholds = in TEST() local 121 EXPECT_TRUE(thresholds); in TEST() 129 const auto thresholds = in TEST() local 137 const auto thresholds = in TEST() local 139 EXPECT_TRUE(thresholds); in TEST() 147 const auto thresholds = in TEST() local 155 const auto thresholds = in TEST() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/rtc_base/experiments/ |
H A D | quality_scaling_experiment_unittest.cc | 101 const auto thresholds = in TEST() local 103 EXPECT_TRUE(thresholds); in TEST() 111 const auto thresholds = in TEST() local 119 const auto thresholds = in TEST() local 121 EXPECT_TRUE(thresholds); in TEST() 129 const auto thresholds = in TEST() local 137 const auto thresholds = in TEST() local 139 EXPECT_TRUE(thresholds); in TEST() 147 const auto thresholds = in TEST() local 155 const auto thresholds = in TEST() local [all …]
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/rtc_base/experiments/ |
H A D | quality_scaling_experiment_unittest.cc | 101 const auto thresholds = in TEST() local 103 EXPECT_TRUE(thresholds); in TEST() 111 const auto thresholds = in TEST() local 119 const auto thresholds = in TEST() local 121 EXPECT_TRUE(thresholds); in TEST() 129 const auto thresholds = in TEST() local 137 const auto thresholds = in TEST() local 139 EXPECT_TRUE(thresholds); in TEST() 147 const auto thresholds = in TEST() local 155 const auto thresholds = in TEST() local [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/rtc_base/experiments/ |
H A D | quality_scaling_experiment_unittest.cc | 118 const auto thresholds = in TEST() local 120 EXPECT_TRUE(thresholds); in TEST() 128 const auto thresholds = in TEST() local 136 const auto thresholds = in TEST() local 138 EXPECT_TRUE(thresholds); in TEST() 146 const auto thresholds = in TEST() local 154 const auto thresholds = in TEST() local 156 EXPECT_TRUE(thresholds); in TEST() 164 const auto thresholds = in TEST() local 172 const auto thresholds = in TEST() local [all …]
|
/dports/graphics/R-cran-pROC/pROC/man/ |
H A D | ci.thresholds.Rd | 2 \name{ci.thresholds} 3 \alias{ci.thresholds} 4 \alias{ci.thresholds.default} 5 \alias{ci.thresholds.formula} 6 \alias{ci.thresholds.roc} 20 # ci.thresholds(...) 47 \item{thresholds}{on which thresholds to evaluate the CI. Either the 113 \item{thresholds}{the thresholds, as given in argument.} 154 ci.thresholds(roc1)}\dontshow{ci.thresholds(roc1, boot.n = 10)} 160 ci.thresholds(roc1, [all …]
|
/dports/www/grafana8/grafana-8.3.6/public/app/features/alerting/state/ |
H A D | ThresholdMapper.ts | 18 const thresholds: any[] = (panel.thresholds = []); constant 24 thresholds.push({ value: value, op: 'gt', visible }); 29 thresholds.push({ value: value, op: 'lt', visible }); 37 thresholds.push({ value: value1, op: 'gt', visible }); 38 thresholds.push({ value: value2, op: 'lt', visible }); 40 thresholds.push({ value: value1, op: 'lt', visible }); 41 thresholds.push({ value: value2, op: 'gt', visible }); 51 thresholds.push({ value: value1, op: 'lt', visible }); 52 thresholds.push({ value: value2, op: 'gt', visible }); 54 thresholds.push({ value: value1, op: 'gt', visible }); [all …]
|
H A D | ThresholdMapper.test.ts | 26 expect(panel.thresholds[0].op).toBe('gt'); 27 expect(panel.thresholds[0].value).toBe(100); 48 expect(panel.thresholds[0].op).toBe('lt'); 49 expect(panel.thresholds[0].value).toBe(100); 51 expect(panel.thresholds[1].op).toBe('gt'); 52 expect(panel.thresholds[1].value).toBe(200); 73 expect(panel.thresholds[0].op).toBe('gt'); 74 expect(panel.thresholds[0].value).toBe(100); 76 expect(panel.thresholds[1].op).toBe('lt'); 89 expect(panel.thresholds[0]).toEqual({ [all …]
|
/dports/graphics/R-cran-pROC/pROC/R/ |
H A D | ci.thresholds.R | 51 thresholds = "local maximas", 64 if (is.character(thresholds)) { 65 if (length(thresholds) != 1) 67 thresholds <- match.arg(thresholds, c("all", "best", "local maximas")) 68 …thresholds.num <- coords(roc, x=thresholds, input="threshold", ret="threshold", as.matrix = TRUE, … 69 attr(thresholds.num, "coords") <- thresholds 71 else if (is.logical(thresholds)) { 72 thresholds.num <- roc$thresholds[thresholds] 73 attr(thresholds.num, "logical") <- thresholds 75 else if (! is.numeric(thresholds)) { [all …]
|
H A D | bootstrap.R | 345 roc$thresholds <- thresholds 375 roc$thresholds <- thresholds 450 roc$thresholds <- thresholds 467 roc$thresholds <- thresholds 488 roc$thresholds <- thresholds 516 roc$thresholds <- thresholds 536 roc$thresholds <- thresholds 553 roc$thresholds <- thresholds 574 roc$thresholds <- thresholds 602 roc$thresholds <- thresholds [all …]
|
H A D | roc.utils.R | 31 …perfs.safe <- roc.utils.perfs.all.safe(thresholds=thresholds, controls=controls, cases=cases, dire… 32 …perfs.fast <- roc.utils.perfs.all.fast(thresholds=thresholds, controls=controls, cases=cases, dire… 33 …perfs.C <- rocUtilsPerfsAllC(thresholds=thresholds, controls=controls, cases=cases, direction=dire… 171 return(thresholds) 179 thresholds <- rev(thresholds) 189 thresholds <- thresholds[!dup] 193 if (length(thresholds) == 1) { 196 else if (length(thresholds) == 2) { 201 for (i in 2:(length(thresholds)-1)) { 211 local.maximas <- c(local.maximas, sp[length(thresholds)] > sp[length(thresholds)-1]) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/dashboard/dashboard/pinpoint/models/compare/ |
H A D | thresholds_test.py | 11 from dashboard.pinpoint.models.compare import thresholds 18 thresholds.HighThreshold('unknown mode', 1, 20) 21 threshold = thresholds.HighThreshold('functional', 0.5, 20) 25 threshold = thresholds.HighThreshold('performance', 1.5, 20) 26 self.assertLessEqual(threshold, thresholds.LowThreshold()) 29 threshold = thresholds.HighThreshold('performance', 0.1, 20) 33 threshold = thresholds.HighThreshold('performance', 10, 5) 37 threshold = thresholds.HighThreshold('performance', 1.5, 50) 38 self.assertLessEqual(threshold, thresholds.LowThreshold()) 41 self.assertEqual(thresholds.LowThreshold(), 0.01)
|
/dports/net-mgmt/check_ups_health/check_ups_health-3.0.1.2/GLPlugin/lib/Monitoring/GLPlugin/ |
H A D | Commandline.pm | 132 if (exists $self->{thresholds}->{$oldlabel}) { 133 %{$self->{thresholds}->{$label}} = %{$self->{thresholds}->{$oldlabel}}; 153 $warn = $self->{thresholds}->{$label}->{warning}; 155 $warn = $self->{thresholds}->{default}->{warning}; 158 $crit = $self->{thresholds}->{$label}->{critical}; 491 $self->{thresholds}->{default}->{warning} = 493 $self->{thresholds}->{default}->{critical} = 515 return ($self->{thresholds}->{$metric}->{warning}, 516 $self->{thresholds}->{$metric}->{critical}); 518 return ($self->{thresholds}->{default}->{warning}, [all …]
|
/dports/net-mgmt/check_nwc_health/check_nwc_health-10.0.0.1/GLPlugin/lib/Monitoring/GLPlugin/ |
H A D | Commandline.pm | 132 if (exists $self->{thresholds}->{$oldlabel}) { 133 %{$self->{thresholds}->{$label}} = %{$self->{thresholds}->{$oldlabel}}; 153 $warn = $self->{thresholds}->{$label}->{warning}; 155 $warn = $self->{thresholds}->{default}->{warning}; 158 $crit = $self->{thresholds}->{$label}->{critical}; 491 $self->{thresholds}->{default}->{warning} = 493 $self->{thresholds}->{default}->{critical} = 515 return ($self->{thresholds}->{$metric}->{warning}, 516 $self->{thresholds}->{$metric}->{critical}); 518 return ($self->{thresholds}->{default}->{warning}, [all …]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/unit_tests/engine/ |
H A D | tidy.cpp | 24 tidy::Thresholds thresholds; in BOOST_AUTO_TEST_CASE() local 25 thresholds.distance_in_meters = 15.; in BOOST_AUTO_TEST_CASE() 26 thresholds.duration_in_seconds = 5; in BOOST_AUTO_TEST_CASE() 48 tidy::Thresholds thresholds; in BOOST_AUTO_TEST_CASE() local 49 thresholds.distance_in_meters = 5000; in BOOST_AUTO_TEST_CASE() 82 tidy::Thresholds thresholds; in BOOST_AUTO_TEST_CASE() local 83 thresholds.distance_in_meters = 15; in BOOST_AUTO_TEST_CASE() 84 thresholds.duration_in_seconds = 5; in BOOST_AUTO_TEST_CASE() 115 tidy::Thresholds thresholds; in BOOST_AUTO_TEST_CASE() local 116 thresholds.distance_in_meters = 15; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/misc/orange3/orange3-3.29.1/Orange/preprocess/tests/ |
H A D | test_discretize.py | 42 return [(bin.width_label, tr(bin.short_labels), bin.thresholds) 715 np.testing.assert_equal(bins[0].thresholds, [42, 43]) 721 np.testing.assert_equal(bins[0].thresholds, [42, 43]) 739 thresholds = np.array([1, 2, 3.14]) 740 self.assertEqual(BinDefinition(thresholds).labels, 742 self.assertEqual(BinDefinition(thresholds, "%.3f").labels, 750 thresholds = np.array([1, 2, 3.14]) 751 self.assertEqual(BinDefinition(thresholds).width_label, "") 756 thresholds = np.array([1, 2, 3.14]) 757 bindef = BinDefinition(thresholds) [all …]
|
/dports/www/grafana8/grafana-8.3.6/public/app/plugins/panel/graph/ |
H A D | threshold_manager.ts | 13 thresholds: any; property in ThresholdManager 44 const model = this.thresholds[handleIndex]; 89 const model = this.thresholds[handleIndex]; 138 this.thresholds = this.panelCtrl.panel.thresholds; 152 if (this.thresholds.length > 0) { 155 if (this.thresholds.length > 1) { 165 if (!panel.thresholds || panel.thresholds.length === 0) { 174 threshold = panel.thresholds[i]; 184 if (panel.thresholds.length > i + 1) { 185 other = panel.thresholds[i + 1]; [all …]
|
/dports/multimedia/aom/aom-3.2.0/av1/encoder/ |
H A D | var_based_part.c | 408 thresholds[3] = thresholds[3] << 1; in set_vbp_thresholds() 456 thresholds[i] <<= 1; in set_vbp_thresholds() 460 thresholds[1] <<= 2; in set_vbp_thresholds() 461 thresholds[2] <<= 5; in set_vbp_thresholds() 470 thresholds[0] = (3 * thresholds[0]) >> 1; in set_vbp_thresholds() 473 thresholds[1] = (int)((1 - weight) * (thresholds[1] << 1) + in set_vbp_thresholds() 475 thresholds[2] = (int)((1 - weight) * (thresholds[2] << 1) + in set_vbp_thresholds() 480 thresholds[1] = in set_vbp_thresholds() 481 (int)((1 - weight) * (thresholds[1] << 2) + weight * thresholds[1]); in set_vbp_thresholds() 482 thresholds[2] = in set_vbp_thresholds() [all …]
|
/dports/net-mgmt/librenms/librenms-21.5.1/tests/snmpsim/ |
H A D | arista_eos_vrf.snmprec | 4743 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006007|4|No thresholds are defined 4744 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006008|4|No thresholds are defined 4745 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006009|4|No thresholds are defined 4746 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006010|4|No thresholds are defined 4747 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006011|4|No thresholds are defined 4748 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006012|4|No thresholds are defined 4749 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006013|4|No thresholds are defined 4750 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006014|4|No thresholds are defined 4751 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006015|4|No thresholds are defined 4752 1.3.6.1.4.1.30065.3.12.1.1.1.5.100006016|4|No thresholds are defined [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ |
H A D | ParserFilter.java | 35 private final Map<String, Long> thresholds; field in ParserFilter 42 private ParserFilter(boolean acceptAll, Map<String, Long> thresholds) { in ParserFilter() argument 44 this.thresholds = thresholds; in ParserFilter() 48 Long l = thresholds.get(eventName); in setThreshold() 54 thresholds.put(eventName, l); in setThreshold() 61 Long l = thresholds.get(eventName); in getThreshold() 74 for (String key : thresholds.keySet().toArray(new String[0])) { in toString() 75 Long value = thresholds.get(key); in toString()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ |
H A D | ParserFilter.java | 35 private final Map<String, Long> thresholds; field in ParserFilter 42 private ParserFilter(boolean acceptAll, Map<String, Long> thresholds) { in ParserFilter() argument 44 this.thresholds = thresholds; in ParserFilter() 48 Long l = thresholds.get(eventName); in setThreshold() 54 thresholds.put(eventName, l); in setThreshold() 61 Long l = thresholds.get(eventName); in getThreshold() 75 for (String key : thresholds.keySet().toArray(new String[0])) { in toString() 76 Long value = thresholds.get(key); in toString()
|