Home
last modified time | relevance | path

Searched refs:PowerOfTwo (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/dports/www/firefox-esr/firefox-91.8.0/mozglue/baseprofiler/public/
H A DPowerOfTwo.h90 class PowerOfTwo; variable
93 constexpr PowerOfTwo<T> MakePowerOfTwo();
126 const PowerOfTwo<U>& aP2) { in MaskForPowerOfTwo()
172 friend class PowerOfTwo<T>;
203 class PowerOfTwo {
217 explicit PowerOfTwo(U aInput) in PowerOfTwo() function
269 friend constexpr PowerOfTwo<U> MakePowerOfTwo();
286 constexpr PowerOfTwo<T> MakePowerOfTwo() { in MakePowerOfTwo()
290 return PowerOfTwo<T>(Trusted{Value}); in MakePowerOfTwo()
296 using PowerOfTwo32 = PowerOfTwo<uint32_t>;
[all …]
H A DBlocksRingBuffer.h83 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
90 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
97 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
114 void Set(PowerOfTwo<Length> aLength) { in Set()
122 PowerOfTwo<Length> aLength) { in Set()
129 void Set(Buffer::Byte* aExternalBuffer, PowerOfTwo<Length> aLength) { in Set()
154 Maybe<PowerOfTwo<Length>> BufferLength() const { in BufferLength()
773 explicit UnderlyingBuffer(PowerOfTwo<Length> aLength) : mBuffer(aLength) { in UnderlyingBuffer()
780 PowerOfTwo<Length> aLength) in UnderlyingBuffer()
787 UnderlyingBuffer(Buffer::Byte* aExternalBuffer, PowerOfTwo<Length> aLength) in UnderlyingBuffer()
[all …]
H A DModuloBuffer.h59 explicit ModuloBuffer(PowerOfTwo<Length> aLength) in ModuloBuffer()
67 ModuloBuffer(UniquePtr<Byte[]> aExistingBuffer, PowerOfTwo<Length> aLength) in ModuloBuffer()
73 ModuloBuffer(Byte* aExternalBuffer, PowerOfTwo<Length> aLength) in ModuloBuffer()
110 PowerOfTwo<Length> BufferLength() const { in BufferLength()
111 return PowerOfTwo<Length>(mMask.MaskValue() + 1); in BufferLength()
/dports/www/firefox/firefox-99.0/mozglue/baseprofiler/public/
H A DPowerOfTwo.h90 class PowerOfTwo; variable
93 constexpr PowerOfTwo<T> MakePowerOfTwo();
126 const PowerOfTwo<U>& aP2) { in MaskForPowerOfTwo()
172 friend class PowerOfTwo<T>;
203 class PowerOfTwo {
217 explicit PowerOfTwo(U aInput) in PowerOfTwo() function
269 friend constexpr PowerOfTwo<U> MakePowerOfTwo();
286 constexpr PowerOfTwo<T> MakePowerOfTwo() { in MakePowerOfTwo()
290 return PowerOfTwo<T>(Trusted{Value}); in MakePowerOfTwo()
296 using PowerOfTwo32 = PowerOfTwo<uint32_t>;
[all …]
H A DBlocksRingBuffer.h83 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
90 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
97 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
114 void Set(PowerOfTwo<Length> aLength) { in Set()
122 PowerOfTwo<Length> aLength) { in Set()
129 void Set(Buffer::Byte* aExternalBuffer, PowerOfTwo<Length> aLength) { in Set()
154 Maybe<PowerOfTwo<Length>> BufferLength() const { in BufferLength()
773 explicit UnderlyingBuffer(PowerOfTwo<Length> aLength) : mBuffer(aLength) { in UnderlyingBuffer()
780 PowerOfTwo<Length> aLength) in UnderlyingBuffer()
787 UnderlyingBuffer(Buffer::Byte* aExternalBuffer, PowerOfTwo<Length> aLength) in UnderlyingBuffer()
[all …]
H A DModuloBuffer.h59 explicit ModuloBuffer(PowerOfTwo<Length> aLength) in ModuloBuffer()
67 ModuloBuffer(UniquePtr<Byte[]> aExistingBuffer, PowerOfTwo<Length> aLength) in ModuloBuffer()
73 ModuloBuffer(Byte* aExternalBuffer, PowerOfTwo<Length> aLength) in ModuloBuffer()
110 PowerOfTwo<Length> BufferLength() const { in BufferLength()
111 return PowerOfTwo<Length>(mMask.MaskValue() + 1); in BufferLength()
/dports/mail/thunderbird/thunderbird-91.8.0/mozglue/baseprofiler/public/
H A DPowerOfTwo.h90 class PowerOfTwo; variable
93 constexpr PowerOfTwo<T> MakePowerOfTwo();
126 const PowerOfTwo<U>& aP2) { in MaskForPowerOfTwo()
172 friend class PowerOfTwo<T>;
203 class PowerOfTwo {
217 explicit PowerOfTwo(U aInput) in PowerOfTwo() function
269 friend constexpr PowerOfTwo<U> MakePowerOfTwo();
286 constexpr PowerOfTwo<T> MakePowerOfTwo() { in MakePowerOfTwo()
290 return PowerOfTwo<T>(Trusted{Value}); in MakePowerOfTwo()
296 using PowerOfTwo32 = PowerOfTwo<uint32_t>;
[all …]
H A DBlocksRingBuffer.h83 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
90 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
97 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
114 void Set(PowerOfTwo<Length> aLength) { in Set()
122 PowerOfTwo<Length> aLength) { in Set()
129 void Set(Buffer::Byte* aExternalBuffer, PowerOfTwo<Length> aLength) { in Set()
154 Maybe<PowerOfTwo<Length>> BufferLength() const { in BufferLength()
773 explicit UnderlyingBuffer(PowerOfTwo<Length> aLength) : mBuffer(aLength) { in UnderlyingBuffer()
780 PowerOfTwo<Length> aLength) in UnderlyingBuffer()
787 UnderlyingBuffer(Buffer::Byte* aExternalBuffer, PowerOfTwo<Length> aLength) in UnderlyingBuffer()
[all …]
H A DModuloBuffer.h59 explicit ModuloBuffer(PowerOfTwo<Length> aLength) in ModuloBuffer()
67 ModuloBuffer(UniquePtr<Byte[]> aExistingBuffer, PowerOfTwo<Length> aLength) in ModuloBuffer()
73 ModuloBuffer(Byte* aExternalBuffer, PowerOfTwo<Length> aLength) in ModuloBuffer()
110 PowerOfTwo<Length> BufferLength() const { in BufferLength()
111 return PowerOfTwo<Length>(mMask.MaskValue() + 1); in BufferLength()
/dports/lang/spidermonkey78/firefox-78.9.0/mozglue/baseprofiler/public/
H A DPowerOfTwo.h90 class PowerOfTwo; variable
93 constexpr PowerOfTwo<T> MakePowerOfTwo();
126 const PowerOfTwo<U>& aP2) { in MaskForPowerOfTwo()
172 friend class PowerOfTwo<T>;
203 class PowerOfTwo {
217 explicit PowerOfTwo(U aInput) in PowerOfTwo() function
269 friend constexpr PowerOfTwo<U> MakePowerOfTwo();
286 constexpr PowerOfTwo<T> MakePowerOfTwo() { in MakePowerOfTwo()
290 return PowerOfTwo<T>(Trusted{Value}); in MakePowerOfTwo()
296 using PowerOfTwo32 = PowerOfTwo<uint32_t>;
[all …]
H A DBlocksRingBuffer.h83 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
90 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
97 PowerOfTwo<Length> aLength) in BlocksRingBuffer()
114 void Set(PowerOfTwo<Length> aLength) { in Set()
122 PowerOfTwo<Length> aLength) { in Set()
129 void Set(Buffer::Byte* aExternalBuffer, PowerOfTwo<Length> aLength) { in Set()
154 Maybe<PowerOfTwo<Length>> BufferLength() const { in BufferLength()
773 explicit UnderlyingBuffer(PowerOfTwo<Length> aLength) : mBuffer(aLength) { in UnderlyingBuffer()
780 PowerOfTwo<Length> aLength) in UnderlyingBuffer()
787 UnderlyingBuffer(Buffer::Byte* aExternalBuffer, PowerOfTwo<Length> aLength) in UnderlyingBuffer()
[all …]
H A DModuloBuffer.h59 explicit ModuloBuffer(PowerOfTwo<Length> aLength) in ModuloBuffer()
67 ModuloBuffer(UniquePtr<Byte[]> aExistingBuffer, PowerOfTwo<Length> aLength) in ModuloBuffer()
73 ModuloBuffer(Byte* aExternalBuffer, PowerOfTwo<Length> aLength) in ModuloBuffer()
110 PowerOfTwo<Length> BufferLength() const { in BufferLength()
111 return PowerOfTwo<Length>(mMask.MaskValue() + 1); in BufferLength()
/dports/converters/wkhtmltopdf/qt-5db36ec/demos/spectrum/app/
H A Dutils.h74 template<int N> class PowerOfTwo
75 { public: static const int Result = PowerOfTwo<N-1>::Result * 2; };
77 template<> class PowerOfTwo<0>
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtmultimedia/examples/multimedia/spectrum/app/
H A Dutils.h84 template<int N> class PowerOfTwo
85 { public: static const int Result = PowerOfTwo<N-1>::Result * 2; };
87 template<> class PowerOfTwo<0>
/dports/math/vtk8/VTK-8.2.0/Geovis/Core/
H A DvtkGeoImageNode.cxx134 dims[0] = this->PowerOfTwo(ext[1]-ext[0]+1); in CropImageForTile()
135 dims[1] = this->PowerOfTwo(ext[3]-ext[2]+1); in CropImageForTile()
206 int vtkGeoImageNode::PowerOfTwo(int val) in PowerOfTwo() function in vtkGeoImageNode
/dports/math/vtk6/VTK-6.2.0/Geovis/Core/
H A DvtkGeoImageNode.cxx135 dims[0] = this->PowerOfTwo(ext[1]-ext[0]+1); in CropImageForTile()
136 dims[1] = this->PowerOfTwo(ext[3]-ext[2]+1); in CropImageForTile()
207 int vtkGeoImageNode::PowerOfTwo(int val) in PowerOfTwo() function in vtkGeoImageNode
/dports/math/vtk6/VTK-6.2.0/Filters/Core/Testing/Tcl/
H A DclipArt.tcl25 proc PowerOfTwo {amt} { procedure
37 set padX [PowerOfTwo $orgX]
38 set padY [PowerOfTwo $orgY]
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/
H A DMontgomery.php18 use phpseclib3\Math\BigInteger\Engines\PHP\Reductions\PowerOfTwo; alias
77 $part2 = PowerOfTwo::slidingWindow($x, $e, $mod2, $class);
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/
H A DMontgomery.php18 use phpseclib3\Math\BigInteger\Engines\PHP\Reductions\PowerOfTwo; alias
77 $part2 = PowerOfTwo::slidingWindow($x, $e, $mod2, $class);
/dports/www/owncloud/owncloud/lib/composer/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/
H A DMontgomery.php18 use phpseclib3\Math\BigInteger\Engines\PHP\Reductions\PowerOfTwo; alias
77 $part2 = PowerOfTwo::slidingWindow($x, $e, $mod2, $class);
/dports/audio/audacity/audacity-Audacity-3.1.3/lib-src/libscorealign/fft3/
H A DFFT3.cpp51 int NumberOfBitsNeeded(int PowerOfTwo) in NumberOfBitsNeeded() argument
55 if (PowerOfTwo < 2) { in NumberOfBitsNeeded()
56 fprintf(stderr, "Error: FFT called with size %d\n", PowerOfTwo); in NumberOfBitsNeeded()
61 if (PowerOfTwo & (1 << i)) in NumberOfBitsNeeded()
/dports/math/vtk8/VTK-8.2.0/Filters/Core/Testing/Python/
H A DclipArt.py26 def PowerOfTwo (amt): function
44 padX = PowerOfTwo(orgX)
45 padY = PowerOfTwo(orgY)
/dports/math/vtk9/VTK-9.1.0/Filters/Core/Testing/Python/
H A DclipArt.py26 def PowerOfTwo (amt): function
44 padX = PowerOfTwo(orgX)
45 padY = PowerOfTwo(orgY)
/dports/math/vtk6/VTK-6.2.0/Filters/Core/Testing/Python/
H A DclipArt.py27 def PowerOfTwo (amt): function
45 padX = PowerOfTwo(orgX)
46 padY = PowerOfTwo(orgY)
/dports/audio/audacity/audacity-Audacity-3.1.3/libraries/lib-math/
H A DFFT.cpp73 static size_t NumberOfBitsNeeded(size_t PowerOfTwo) in NumberOfBitsNeeded() argument
75 if (PowerOfTwo < 2) { in NumberOfBitsNeeded()
76 wxFprintf(stderr, "Error: FFT called with size %ld\n", PowerOfTwo); in NumberOfBitsNeeded()
81 while (PowerOfTwo > 1) in NumberOfBitsNeeded()
82 PowerOfTwo >>= 1, ++i; in NumberOfBitsNeeded()

12345678910>>...20