/dports/graphics/openfx-misc/openfx-misc-3ab0531/SupportExt/ |
H A D | ofxsMaskMix.h | 172 template <typename PIX, int maxValue> 179 if (maxValue == 1) { in ofxsClampIfInt() 343 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(tmpPix[c], 0, maxValue); in ofxsPix() 380 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(srcPix[c], 0, maxValue); in ofxsMixPix() 389 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(tmpPix[c], 0, maxValue); in ofxsMixPix() 395 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(v, 0, maxValue); in ofxsMixPix() 400 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(v, 0, maxValue); in ofxsMixPix() 446 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(srcPix[c], 0, maxValue); in ofxsMaskMixPix() 455 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(tmpPix[c], 0, maxValue); in ofxsMaskMixPix() 461 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(v, 0, maxValue); in ofxsMaskMixPix() [all …]
|
H A D | ofxsMerging.h | 754 if ( (A <= maxValue) || (B <= maxValue) ) { in screenFunctor() 769 … return PIX( maxValue * ( 1. - 2 * (1. - A / (double)maxValue) * (1. - B / (double)maxValue) ) ); in hardLightFunctor() 844 if (A >= maxValue) { in colorDodgeFunctor() 847 return PIX( maxValue * (std::min)( 1., B / (maxValue - (double)A) ) ); in colorDodgeFunctor() 859 return PIX( maxValue * ( 1. - (std::min)(1., (maxValue - B) / (double)A) ) ); in colorBurnFunctor() 878 if (B >= maxValue) { in reflectFunctor() 879 return maxValue; in reflectFunctor() 881 return PIX( (std::min)( (double)maxValue, A * A / (double)(maxValue - B) ) ); in reflectFunctor() 920 return PIX( A * alphaB / (double)maxValue + B * (1. - alphaA / (double)maxValue) ); in atopFunctor() 946 if (alphaA >= maxValue) { in disjointOverFunctor() [all …]
|
/dports/graphics/openfx-arena/openfx-arena-Natron-2.3.14/SupportExt/ |
H A D | ofxsMaskMix.h | 172 template <typename PIX, int maxValue> 179 if (maxValue == 1) { in ofxsClampIfInt() 343 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(tmpPix[c], 0, maxValue); in ofxsPix() 380 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(srcPix[c], 0, maxValue); in ofxsMixPix() 389 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(tmpPix[c], 0, maxValue); in ofxsMixPix() 395 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(v, 0, maxValue); in ofxsMixPix() 400 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(v, 0, maxValue); in ofxsMixPix() 446 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(srcPix[c], 0, maxValue); in ofxsMaskMixPix() 455 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(tmpPix[c], 0, maxValue); in ofxsMaskMixPix() 461 dstPix[c] = ofxsClampIfInt<PIX, maxValue>(v, 0, maxValue); in ofxsMaskMixPix() [all …]
|
H A D | ofxsMerging.h | 754 if ( (A <= maxValue) || (B <= maxValue) ) { in screenFunctor() 769 … return PIX( maxValue * ( 1. - 2 * (1. - A / (double)maxValue) * (1. - B / (double)maxValue) ) ); in hardLightFunctor() 844 if (A >= maxValue) { in colorDodgeFunctor() 847 return PIX( maxValue * (std::min)( 1., B / (maxValue - (double)A) ) ); in colorDodgeFunctor() 859 return PIX( maxValue * ( 1. - (std::min)(1., (maxValue - B) / (double)A) ) ); in colorBurnFunctor() 878 if (B >= maxValue) { in reflectFunctor() 879 return maxValue; in reflectFunctor() 881 return PIX( (std::min)( (double)maxValue, A * A / (double)(maxValue - B) ) ); in reflectFunctor() 920 return PIX( A * alphaB / (double)maxValue + B * (1. - alphaA / (double)maxValue) ); in atopFunctor() 946 if (alphaA >= maxValue) { in disjointOverFunctor() [all …]
|
/dports/lang/seed7/seed7/lib/comp/ |
H A D | intrange.s7i | 81 valueRange.maxValue := summand1Range.maxValue + summand2Range.maxValue; 84 valueRange.maxValue := summand1Range.maxValue + summand2Range.maxValue; 89 valueRange.maxValue := summand1Range.maxValue + summand2Range.maxValue; 95 valueRange.maxValue := summand1Range.maxValue + summand2Range.maxValue; 149 valueRange.maxValue := numberRange.maxValue; 154 valueRange.maxValue := numberRange.maxValue << lshiftRange.maxValue; 185 valueRange.maxValue := pred(divisorRange.maxValue); 217 valueRange.maxValue := min(valueRange.maxValue, valueRange2.maxValue); 318 valueRange.maxValue := abs(argument1Range.maxValue); 452 valueRange.maxValue := pred(argument1Range.maxValue); [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/mediax/jai/util/ |
H A D | Range.java | 105 if (maxValue != null && maxValue.getClass() != this.elementClass) { in Range() 109 this.maxValue = maxValue; in Range() 146 Comparable maxValue, in Range() argument 171 if (this.maxValue == null) in isMaxIncluded() 197 return maxValue; in getMaxValue() 233 if (this.maxValue == null) in isUnderUpperBound() 295 max.equals(maxValue)); in contains() 362 Comparable maxValue = containMax ? range.getMaxValue() : this.maxValue; in union() local 416 Comparable maxValue = containMax ? this.maxValue : range.getMaxValue(); in intersect() local 548 if (this.maxValue != null) { in hashCode() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/java/algorithm/src/test/java/org/apache/arrow/algorithm/search/ |
H A D | TestVectorRangeSearcher.java | 62 final int maxValue = 100; in testGetLowerBounds() local 70 for (int i = 0; i < maxValue; i++) { in testGetLowerBounds() 91 final int maxValue = 100; in testGetLowerBoundsNegative() local 98 negVector.allocateNew(maxValue); in testGetLowerBoundsNegative() 99 negVector.setValueCount(maxValue); in testGetLowerBoundsNegative() 111 negVector.set(i, maxValue + i); in testGetLowerBoundsNegative() 125 final int maxValue = 100; in testGetUpperBounds() local 154 final int maxValue = 100; in testGetUpperBoundsNegative() local 161 negVector.allocateNew(maxValue); in testGetUpperBoundsNegative() 162 negVector.setValueCount(maxValue); in testGetUpperBoundsNegative() [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/java/algorithm/src/test/java/org/apache/arrow/algorithm/search/ |
H A D | TestVectorRangeSearcher.java | 62 final int maxValue = 100; in testGetLowerBounds() local 70 for (int i = 0; i < maxValue; i++) { in testGetLowerBounds() 91 final int maxValue = 100; in testGetLowerBoundsNegative() local 98 negVector.allocateNew(maxValue); in testGetLowerBoundsNegative() 99 negVector.setValueCount(maxValue); in testGetLowerBoundsNegative() 111 negVector.set(i, maxValue + i); in testGetLowerBoundsNegative() 125 final int maxValue = 100; in testGetUpperBounds() local 154 final int maxValue = 100; in testGetUpperBoundsNegative() local 161 negVector.allocateNew(maxValue); in testGetUpperBoundsNegative() 162 negVector.setValueCount(maxValue); in testGetUpperBoundsNegative() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/java/algorithm/src/test/java/org/apache/arrow/algorithm/search/ |
H A D | TestVectorRangeSearcher.java | 62 final int maxValue = 100; in testGetLowerBounds() local 70 for (int i = 0; i < maxValue; i++) { in testGetLowerBounds() 91 final int maxValue = 100; in testGetLowerBoundsNegative() local 98 negVector.allocateNew(maxValue); in testGetLowerBoundsNegative() 99 negVector.setValueCount(maxValue); in testGetLowerBoundsNegative() 111 negVector.set(i, maxValue + i); in testGetLowerBoundsNegative() 125 final int maxValue = 100; in testGetUpperBounds() local 154 final int maxValue = 100; in testGetUpperBoundsNegative() local 161 negVector.allocateNew(maxValue); in testGetUpperBoundsNegative() 162 negVector.setValueCount(maxValue); in testGetUpperBoundsNegative() [all …]
|
/dports/sysutils/plasma5-powerdevil/powerdevil-5.23.5/daemon/ |
H A D | powerdevilscreenbrightnesslogic.cpp | 33 int ScreenBrightnessLogic::calculateSteps(int maxValue) const in calculateSteps() 37 if (maxValue <= 20) { in calculateSteps() 40 return maxValue; in calculateSteps() 43 if (maxValue >= 100 || maxValue % 20 == 0 || (maxValue >= 80 && maxValue % 4 == 0)) { in calculateSteps() 50 if (maxValue >= 34 || maxValue == 32 || maxValue == 28) { in calculateSteps() 58 if (maxValue % 5 == 0) { in calculateSteps() 67 if (maxValue % steps == 0) { in calculateSteps()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Configuration/System.Configuration/ |
H A D | IntegerValidator.cs | 38 int maxValue = int.MaxValue; field in System.Configuration.IntegerValidator 41 public IntegerValidator (int minValue, int maxValue, bool rangeIsExclusive, int resolution) in IntegerValidator() argument 45 if (maxValue != default (int)) in IntegerValidator() 46 this.maxValue = maxValue; in IntegerValidator() 51 public IntegerValidator (int minValue, int maxValue, bool rangeIsExclusive) in IntegerValidator() argument 52 : this (minValue, maxValue, rangeIsExclusive, 0) in IntegerValidator() 56 public IntegerValidator (int minValue, int maxValue) in IntegerValidator() argument 57 : this (minValue, maxValue, false, 0) in IntegerValidator() 71 if (l < minValue || l > maxValue) in Validate() 72 throw new ArgumentException ("The value must be in the range " + minValue + " - " + maxValue); in Validate() [all …]
|
H A D | LongValidator.cs | 37 long maxValue; field in System.Configuration.LongValidator 40 public LongValidator (long minValue, long maxValue, bool rangeIsExclusive, long resolution) in LongValidator() argument 43 this.maxValue = maxValue; in LongValidator() 48 public LongValidator (long minValue, long maxValue, bool rangeIsExclusive) in LongValidator() argument 49 : this (minValue, maxValue, rangeIsExclusive, 0) in LongValidator() 53 public LongValidator (long minValue, long maxValue) in LongValidator() argument 54 : this (minValue, maxValue, false, 0) in LongValidator() 68 if (l < minValue || l > maxValue) in Validate() 69 throw new ArgumentException ("The value must be in the range " + minValue + " - " + maxValue); in Validate() 71 if (l >= minValue && l <= maxValue) in Validate() [all …]
|
H A D | TimeSpanValidator.cs | 37 TimeSpan maxValue; field in System.Configuration.TimeSpanValidator 40 …public TimeSpanValidator (TimeSpan minValue, TimeSpan maxValue): this (minValue, maxValue, false, … in TimeSpanValidator() argument 44 …TimeSpanValidator (TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive): this (minValue, m… in TimeSpanValidator() argument 48 …public TimeSpanValidator (TimeSpan minValue, TimeSpan maxValue, bool rangeIsExclusive, long resolu… in TimeSpanValidator() argument 51 this.maxValue = maxValue; in TimeSpanValidator() 65 if (s < minValue || s > maxValue) in Validate() 66 throw new ArgumentException ("The value must be in the range " + minValue + " - " + maxValue); in Validate() 68 if (s >= minValue && s <= maxValue) in Validate() 69 … throw new ArgumentException ("The value must not be in the range " + minValue + " - " + maxValue); in Validate()
|
/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/ |
H A D | vtkFixedPointVolumeRayCastMIPHelper.cxx | 73 maxValue = *dptr; in vtkFixedPointMIPHelperGenerateImageOneNN() 106 maxValue = (*dptr < maxValue) ? (*dptr) : (maxValue); in vtkFixedPointMIPHelperGenerateImageOneNN() 110 maxValue = (*dptr > maxValue) ? (*dptr) : (maxValue); in vtkFixedPointMIPHelperGenerateImageOneNN() 156 maxValue[c] = *(dptr + c); in vtkFixedPointMIPHelperGenerateImageDependentNN() 228 maxValue[c] = *(dptr + c); in vtkFixedPointMIPHelperGenerateImageIndependentNN() 241 maxValue[c] = *(dptr + c); in vtkFixedPointMIPHelperGenerateImageIndependentNN() 330 maxValue = val; in vtkFixedPointMIPHelperGenerateImageOneSimpleTrilin() 396 maxValue = val; in vtkFixedPointMIPHelperGenerateImageOneTrilin() 484 maxValue[c] = val[c]; in vtkFixedPointMIPHelperGenerateImageDependentTrilin() 554 maxValue[c] = val[c]; in vtkFixedPointMIPHelperGenerateImageIndependentTrilin() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/ |
H A D | vtkFixedPointVolumeRayCastMIPHelper.cxx | 75 maxValue = *dptr; in vtkFixedPointMIPHelperGenerateImageOneNN() 109 maxValue = ( *dptr < maxValue )?(*dptr):(maxValue); in vtkFixedPointMIPHelperGenerateImageOneNN() 113 maxValue = ( *dptr > maxValue )?(*dptr):(maxValue); in vtkFixedPointMIPHelperGenerateImageOneNN() 165 maxValue[c] = *(dptr+c); in vtkFixedPointMIPHelperGenerateImageDependentNN() 246 maxValue[c] = *(dptr+c); in vtkFixedPointMIPHelperGenerateImageIndependentNN() 260 maxValue[c] = *(dptr+c); in vtkFixedPointMIPHelperGenerateImageIndependentNN() 360 maxValue = val; in vtkFixedPointMIPHelperGenerateImageOneSimpleTrilin() 435 maxValue = val; in vtkFixedPointMIPHelperGenerateImageOneTrilin() 533 maxValue[c] = val[c]; in vtkFixedPointMIPHelperGenerateImageDependentTrilin() 611 maxValue[c] = val[c]; in vtkFixedPointMIPHelperGenerateImageIndependentTrilin() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/ |
H A D | vtkFixedPointVolumeRayCastMIPHelper.cxx | 79 maxValue = *dptr; in vtkFixedPointMIPHelperGenerateImageOneNN() 113 maxValue = ( *dptr < maxValue )?(*dptr):(maxValue); in vtkFixedPointMIPHelperGenerateImageOneNN() 117 maxValue = ( *dptr > maxValue )?(*dptr):(maxValue); in vtkFixedPointMIPHelperGenerateImageOneNN() 169 maxValue[c] = *(dptr+c); in vtkFixedPointMIPHelperGenerateImageDependentNN() 250 maxValue[c] = *(dptr+c); in vtkFixedPointMIPHelperGenerateImageIndependentNN() 264 maxValue[c] = *(dptr+c); in vtkFixedPointMIPHelperGenerateImageIndependentNN() 364 maxValue = val; in vtkFixedPointMIPHelperGenerateImageOneSimpleTrilin() 439 maxValue = val; in vtkFixedPointMIPHelperGenerateImageOneTrilin() 537 maxValue[c] = val[c]; in vtkFixedPointMIPHelperGenerateImageDependentTrilin() 615 maxValue[c] = val[c]; in vtkFixedPointMIPHelperGenerateImageIndependentTrilin() [all …]
|
/dports/net/scapy/scapy-2.4.5/scapy/contrib/ |
H A D | sdnv.py | 36 def __init__(self, maxValue): argument 37 self.maxValue = maxValue 41 def __init__(self, maxValue=2**32 - 1): argument 42 self.maxValue = maxValue 45 def setMax(self, maxValue): argument 46 self.maxValue = maxValue 49 return self.maxValue 52 if number > self.maxValue: 53 raise SDNVValueError(self.maxValue) 77 if (number > self.maxValue): [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/model/ |
H A D | SliderConfig.java | 30 private double maxValue; field in SliderConfig 47 public SliderConfig(double minValue, double maxValue) { in SliderConfig() argument 50 maxValue, in SliderConfig() 51 (minValue + maxValue) / 2., in SliderConfig() 52 getDefaultIncrement(minValue, maxValue) in SliderConfig() 61 double maxValue, in SliderConfig() argument 72 double maxValue, in SliderConfig() argument 79 valid &= minValue < maxValue; in SliderConfig() 81 valid &= defaultValue <= maxValue; in SliderConfig() 89 this.maxValue = maxValue; in SliderConfig() [all …]
|
/dports/biology/seqan/seqan-library-2.4.0/include/seqan/align/ |
H A D | align_config.h | 169 TValue1& maxValue, in _lastRow() argument 174 if (val > maxValue[0]) { in _lastRow() 175 maxValue[0] = val; in _lastRow() 225 return maxValue[1]; in _maxOfAlignment() 239 return maxValue[1]; in _maxOfAlignment() 253 return maxValue[0]; in _maxOfAlignment() 267 if (maxValue[1] > maxValue[0]) maxIndex[0] = len1; in _maxOfAlignment() 269 return (maxValue[0] > maxValue[1]) ? maxValue[0] : maxValue[1]; in _maxOfAlignment() 297 if (val > maxValue[1]) {maxValue[1] = val; maxIndex[2] = row; maxIndex[3] = col; } in _lastColumn() 305 TValue1& maxValue, in _lastRow() argument [all …]
|
/dports/biology/seqan-apps/seqan-seqan-v2.4.0/include/seqan/align/ |
H A D | align_config.h | 169 TValue1& maxValue, in _lastRow() argument 174 if (val > maxValue[0]) { in _lastRow() 175 maxValue[0] = val; in _lastRow() 225 return maxValue[1]; in _maxOfAlignment() 239 return maxValue[1]; in _maxOfAlignment() 253 return maxValue[0]; in _maxOfAlignment() 267 if (maxValue[1] > maxValue[0]) maxIndex[0] = len1; in _maxOfAlignment() 269 return (maxValue[0] > maxValue[1]) ? maxValue[0] : maxValue[1]; in _maxOfAlignment() 297 if (val > maxValue[1]) {maxValue[1] = val; maxIndex[2] = row; maxIndex[3] = col; } in _lastColumn() 305 TValue1& maxValue, in _lastRow() argument [all …]
|
/dports/biology/pbseqan/seqan-21d95d737d8decb5cc3693b9065d81e831e7f57d/include/seqan/align/ |
H A D | align_config.h | 174 TValue1& maxValue, in _lastRow() argument 180 if (val > maxValue[0]) { in _lastRow() 181 maxValue[0] = val; in _lastRow() 234 return maxValue[1]; in _maxOfAlignment() 249 return maxValue[1]; in _maxOfAlignment() 264 return maxValue[0]; in _maxOfAlignment() 279 if (maxValue[1] > maxValue[0]) maxIndex[0] = len1; in _maxOfAlignment() 281 return (maxValue[0] > maxValue[1]) ? maxValue[0] : maxValue[1]; in _maxOfAlignment() 311 if (val > maxValue[1]) {maxValue[1] = val; maxIndex[2] = row; maxIndex[3] = col; } in _lastColumn() 319 TValue1& maxValue, in _lastRow() argument [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/include/osg/ |
H A D | BoundsChecking | 41 if (value>maxValue) 44 value = maxValue; 52 * clampLEQUAL( value, maxValue, valueName ); */ 62 if (value>maxValue) 65 value = maxValue; 89 if (value[i]>maxValue) 92 value = maxValue; 110 if (value[i]>maxValue) 113 value[i] = maxValue; 175 * clampArray3LEQUAL( value, maxValue, valueName); */ [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/include/osg/ |
H A D | BoundsChecking | 41 if (value>maxValue) 44 value = maxValue; 52 * clampLEQUAL( value, maxValue, valueName ); */ 62 if (value>maxValue) 65 value = maxValue; 89 if (value[i]>maxValue) 92 value = maxValue; 110 if (value[i]>maxValue) 113 value[i] = maxValue; 175 * clampArray3LEQUAL( value, maxValue, valueName); */ [all …]
|
/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_gdi/ |
H A D | sgdi_controls.cpp | 70 Set_Range(minValue, maxValue); in CSGDI_Slider() 109 bool CSGDI_Slider::Set_Range(double minValue, double maxValue) in Set_Range() argument 111 if( maxValue == minValue ) in Set_Range() 114 maxValue = 1.; in Set_Range() 118 m_Max = maxValue; in Set_Range() 132 …D, wxEmptyString, Point, Size, Style, bPercent ? 0 : (int)minValue, bPercent ? 100 : (int)maxValue) in CSGDI_SpinCtrl() 136 Set_Range(minValue, maxValue); in CSGDI_SpinCtrl() 196 bool CSGDI_SpinCtrl::Set_Range(double minValue, double maxValue) in Set_Range() argument 198 if( maxValue == minValue ) in Set_Range() 201 maxValue = 1.; in Set_Range() [all …]
|
/dports/math/qtiplot-doc/qtiplot-0.9.8.9/3rdparty/qwt/src/ |
H A D | qwt_double_interval.cpp | 120 if ( d_maxValue > other.maxValue() ) in xt_event_prepare() 125 else if ( other.maxValue() > d_maxValue ) in xt_event_prepare() 127 united.setMaxValue(other.maxValue()); in xt_event_prepare() 163 if ( i1.maxValue() < i2.minValue() ) 168 if ( i1.maxValue() == i2.minValue() ) 183 if ( i1.maxValue() < i2.maxValue() ) 185 intersected.setMaxValue(i1.maxValue()); 188 else if ( i2.maxValue() < i1.maxValue() ) 243 if ( i1.maxValue() > i2.minValue() ) 247 if ( i1.maxValue() == i2.minValue() ) in gtk_xtbin_new() [all …]
|