Home
last modified time | relevance | path

Searched refs:fillValue (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/dports/science/InsightToolkit/ITK-5.0.1/Modules/Filtering/ImageStatistics/test/
H A DitkStatisticsImageFilterTest.cxx57 float fillValue = -100.0; in itkStatisticsImageFilterTest() local
60 image->FillBuffer( static_cast< FloatImage::PixelType >( fillValue ) ); in itkStatisticsImageFilterTest()
62 float sum = fillValue * static_cast<float>( region.GetNumberOfPixels() ); in itkStatisticsImageFilterTest()
63 float sumOfSquares = std::pow(fillValue, 2.0) * static_cast<float>( region.GetNumberOfPixels() ); in itkStatisticsImageFilterTest()
75 if ( itk::Math::NotAlmostEquals( filter->GetMinimum(), fillValue) ) in itkStatisticsImageFilterTest()
77 …std::cerr << "GetMinimum failed! Got " << filter->GetMinimum() << " but expected " << fillValue <<… in itkStatisticsImageFilterTest()
80 if ( itk::Math::NotAlmostEquals( filter->GetMaximum(), fillValue) ) in itkStatisticsImageFilterTest()
82 …std::cerr << "GetMaximum failed! Got " << filter->GetMaximum() << " but expected " << fillValue <<… in itkStatisticsImageFilterTest()
96 if ( itk::Math::NotAlmostEquals( filter->GetMean(), fillValue) ) in itkStatisticsImageFilterTest()
98 …std::cerr << "GetMean failed! Got " << filter->GetMean() << " but expected " << fillValue << std::… in itkStatisticsImageFilterTest()
/dports/www/ilias/ILIAS-5.4.25/libs/composer/vendor/markbaker/matrix/classes/src/
H A DBuilder.php24 * @param mixed $fillValue
30 public static function createFilledMatrix($fillValue, $rows, $columns = null) argument
46 $fillValue
60 public static function createIdentityMatrix($dimensions, $fillValue = null) argument
62 $grid = static::createFilledMatrix($fillValue, $dimensions)->toArray();
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/java/vector/src/test/java/org/apache/arrow/vector/
H A DDirtyRootAllocator.java30 private final byte fillValue; field in DirtyRootAllocator
32 public DirtyRootAllocator(final long limit, final byte fillValue) { in DirtyRootAllocator() argument
34 this.fillValue = fillValue; in DirtyRootAllocator()
47 buffer.setByte(i, fillValue); in buffer()
/dports/databases/arrow/apache-arrow-6.0.1/java/vector/src/test/java/org/apache/arrow/vector/
H A DDirtyRootAllocator.java30 private final byte fillValue; field in DirtyRootAllocator
32 public DirtyRootAllocator(final long limit, final byte fillValue) { in DirtyRootAllocator() argument
34 this.fillValue = fillValue; in DirtyRootAllocator()
47 buffer.setByte(i, fillValue); in buffer()
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/java/vector/src/test/java/org/apache/arrow/vector/
H A DDirtyRootAllocator.java30 private final byte fillValue; field in DirtyRootAllocator
32 public DirtyRootAllocator(final long limit, final byte fillValue) { in DirtyRootAllocator() argument
34 this.fillValue = fillValue; in DirtyRootAllocator()
47 buffer.setByte(i, fillValue); in buffer()
/dports/misc/openvdb/openvdb-9.0.0/openvdb/openvdb/unittest/
H A DTestQuadraticInterp.cc107 fillValue = constValue(256); in test() local
109 GridPtr grid(new GridType(fillValue)); in test()
173 fillValue = constValue(256); in testConstantValues() local
175 GridPtr grid(new GridType(fillValue)); in testConstantValues()
234 GridPtr grid(new GridType(fillValue)); in testFillValues()
237 { 10.5f, 10.5f, 10.5f, fillValue }, in testFillValues()
238 { 10.0f, 10.0f, 10.0f, fillValue }, in testFillValues()
239 { 10.1f, 10.0f, 10.0f, fillValue }, in testFillValues()
244 { 10.5f, 10.8f, 10.1f, fillValue } in testFillValues()
264 fillValue = constValue(256); in testNegativeIndices() local
[all …]
H A DTestLinearInterp.cc40 float fillValue = 256.0f; in test() local
42 GridType grid(fillValue); in test()
181 Vec3SGrid grid(fillValue); in TEST_F()
264 float fillValue = 256.0f; in testTree() local
266 TreeType tree(fillValue); in testTree()
352 Vec3STree tree(fillValue); in TEST_F()
434 float fillValue = 256.0f; in testAccessor() local
436 GridType grid(fillValue); in testAccessor()
608 float fillValue = 256.0f; in testConstantValues() local
610 GridType grid(fillValue); in testConstantValues()
[all …]
/dports/science/cdo/cdo-2.0.0/src/
H A Dfield_memory.cc15 …om_vlist_kernel(const int vlistID, FieldVector2D &field2D, int ptype, bool lfill, double fillValue) in fields_from_vlist_kernel() argument
56 field.resizef(size, (float) fillValue); in fields_from_vlist_kernel()
63 field.resize(size, fillValue); in fields_from_vlist_kernel()
85 fields_from_vlist(const int vlistID, FieldVector2D &field2D, int ptype, double fillValue) in fields_from_vlist() argument
87 fields_from_vlist_kernel(vlistID, field2D, ptype, true, fillValue); in fields_from_vlist()
/dports/graphics/openfx-arena/openfx-arena-Natron-2.3.14/OpenFX/HostSupport/examples/
H A DhostDemoClipInstance.cpp154 int fillValue = (int)(floor(255.0 * (time/OFXHOSTDEMOCLIPLENGTH))) & 0xff; in MyImage() local
157 color.r = view == 0 ? fillValue : 0; in MyImage()
158 color.g = view == 1 ? fillValue : 0; in MyImage()
159 color.b = view == 1 ? fillValue : 0; in MyImage()
161 color.r = color.g = color.b = fillValue; in MyImage()
170 color.r = view == 0 ? 255-fillValue : 0; in MyImage()
171 color.g = view == 1 ? 255-fillValue : 0; in MyImage()
172 color.b = view == 1 ? 255-fillValue : 0; in MyImage()
174 color.r = color.g = color.b = 255-fillValue; in MyImage()
/dports/graphics/openfx-misc/openfx-misc-3ab0531/openfx/HostSupport/examples/
H A DhostDemoClipInstance.cpp154 int fillValue = (int)(floor(255.0 * (time/OFXHOSTDEMOCLIPLENGTH))) & 0xff; in MyImage() local
157 color.r = view == 0 ? fillValue : 0; in MyImage()
158 color.g = view == 1 ? fillValue : 0; in MyImage()
159 color.b = view == 1 ? fillValue : 0; in MyImage()
161 color.r = color.g = color.b = fillValue; in MyImage()
170 color.r = view == 0 ? 255-fillValue : 0; in MyImage()
171 color.g = view == 1 ? 255-fillValue : 0; in MyImage()
172 color.b = view == 1 ? 255-fillValue : 0; in MyImage()
174 color.r = color.g = color.b = 255-fillValue; in MyImage()
/dports/java/jgraphx/jgraphx-4.2.2/src/com/mxgraph/layout/
H A DmxStackLayout.java190 double fillValue = 0; in execute() local
194 fillValue = (horizontal) ? pgeo.getHeight() : pgeo.getWidth(); in execute()
197 fillValue -= 2 * spacing + 2 * border; in execute()
201 fillValue -= (horizontal) ? size.getHeight() : size.getWidth(); in execute()
286 if (fill && fillValue > 0) in execute()
290 geo.setHeight(fillValue); in execute()
294 geo.setWidth(fillValue); in execute()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemFillUpdateCopyBufferTests.cpp79 const deUint32 fillValue,
99 deUint32 fillValue, in FillUpdateCopyBufferTestCase() argument
105 , m_fillValue (fillValue) in FillUpdateCopyBufferTestCase()
134 const deUint32 fillValue, in FillUpdateCopyBufferTestInstance() argument
139 , m_fillValue (fillValue) in FillUpdateCopyBufferTestInstance()
309 } fillValue; in createFillUpdateCopyBufferFloatTests() member
377 const tcu::Vec4 refValue (fillValue.flt); in createFillUpdateCopyBufferFloatTests()
420 } fillValue; in createFillUpdateCopyBufferIntegerTests() member
528 deUint32 fillValue; in createFillUpdateCopyBufferUnsignedTests() member
591 const deUint32 fillValue = rnd.getUint32(); in createFillUpdateCopyBufferUnsignedTests() local
[all …]
H A DvktProtectedMemCopyBufferToImageTests.cpp61 const deUint32 fillValue,
80 deUint32 fillValue, in CopyBufferToImageTestCase() argument
84 , m_fillValue (fillValue) in CopyBufferToImageTestCase()
112 const deUint32 fillValue, in CopyBufferToImageTestInstance() argument
118 , m_fillValue (fillValue) in CopyBufferToImageTestInstance()
320 } fillValue; in createCopyBufferToImageTests() member
378 …hild(new CopyBufferToImageTestCase(testCtx, name.c_str(), testData[ndx].fillValue.uint, testData[n… in createCopyBufferToImageTests()
392 } fillValue = { rnd.getFloat(0.0, 1.0f) }; in createCopyBufferToImageTests() local
394 const tcu::Vec4 refValue (fillValue.flt); in createCopyBufferToImageTests()
405 …copyRandomTests->addChild(new CopyBufferToImageTestCase(testCtx, name.c_str(), fillValue.uint, dat… in createCopyBufferToImageTests()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/armips/Commands/
H A DCDirectiveArea.cpp11 this->fillValue = 0; in CDirectiveArea()
43 if (fillExpression.evaluateInteger(fillValue) == false) in Validate()
78 memset(buffer,fillValue,64); in Encode()
98 std::wstring fillString = formatString(L".fill 0x%08X,0x%02X",areaSize-contentSize,fillValue); in writeTempData()
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/armips/Commands/
H A DCDirectiveArea.cpp11 this->fillValue = 0; in CDirectiveArea()
43 if (fillExpression.evaluateInteger(fillValue) == false) in Validate()
78 memset(buffer,fillValue,64); in Encode()
98 std::wstring fillString = formatString(L".fill 0x%08X,0x%02X",areaSize-contentSize,fillValue); in writeTempData()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/armips/Commands/
H A DCDirectiveArea.cpp11 this->fillValue = 0; in CDirectiveArea()
43 if (fillExpression.evaluateInteger(fillValue) == false) in Validate()
78 memset(buffer,fillValue,64); in Encode()
98 std::wstring fillString = formatString(L".fill 0x%08X,0x%02X",areaSize-contentSize,fillValue); in writeTempData()
/dports/games/brogue/BrogueCE-1.10.1/src/brogue/
H A DGrid.c55 void fillGrid(short **grid, short fillValue) { in fillGrid() argument
60 grid[i][j] = fillValue; in fillGrid()
102 void findReplaceGrid(short **grid, short findValueMin, short findValueMax, short fillValue) { in findReplaceGrid() argument
108 grid[i][j] = fillValue; in findReplaceGrid()
116 …(short **grid, short x, short y, short eligibleValueMin, short eligibleValueMax, short fillValue) { in floodFillGrid() argument
120 brogueAssert(fillValue < eligibleValueMin || fillValue > eligibleValueMax); in floodFillGrid()
122 grid[x][y] = fillValue; in floodFillGrid()
129 … fillCount += floodFillGrid(grid, newX, newY, eligibleValueMin, eligibleValueMax, fillValue); in floodFillGrid()
430 short fillContiguousRegion(short **grid, short x, short y, short fillValue) { in fillContiguousRegion() argument
434 grid[x][y] = fillValue; in fillContiguousRegion()
[all …]
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/thoas/go-funk/
H A Dfill.go10 func Fill(in interface{}, fillValue interface{}) (interface{}, error) {
18 value := reflect.ValueOf(fillValue)
26 newSlice := reflect.SliceOf(reflect.TypeOf(fillValue))
/dports/devel/bit/bit-1.1.2/vendor/github.com/thoas/go-funk/
H A Dfill.go10 func Fill(in interface{}, fillValue interface{}) (interface{}, error) {
18 value := reflect.ValueOf(fillValue)
26 newSlice := reflect.SliceOf(reflect.TypeOf(fillValue))
/dports/graphics/openexr/openexr-3.1.4/src/lib/OpenEXR/
H A DImfFrameBuffer.cpp40 fillValue (fv), in Slice()
58 double fillValue, in Make() argument
95 fillValue, in Make()
109 double fillValue, in Make() argument
125 fillValue, in Make()
/dports/games/tads/tads-3.0.8/tads3/test/data/
H A Dvector2.t14 x = new Vector(7, 7).fillValue('A');
75 y.fillValue('x');
76 "fillValue 'x':\n"; showVector(y);
80 y.fillValue(123, 3);
81 "fillValue 123, 3:\n"; showVector(y);
85 y.fillValue('abc', 3, 4);
86 "fillValue 'abc', 3, 4:\n"; showVector(y);
H A Darray.t17 x = new Array(7).fillValue('A');
94 y.fillValue('x');
95 "fillValue 'x':\n"; showArray(y);
99 y.fillValue(123, 3);
100 "fillValue 123, 3:\n"; showArray(y);
104 y.fillValue('abc', 3, 4);
105 "fillValue 'abc', 3, 4:\n"; showArray(y);
/dports/www/firefox-legacy/firefox-52.8.0esr/mfbt/tests/
H A DTestEndian.cpp113 const uint8_t fillValue = 0xa5; in TestBulkSwapToSub() local
118 memset(checkBuffer, fillValue, bufferSize); in TestBulkSwapToSub()
122 memset(buffer, fillValue, bufferSize); in TestBulkSwapToSub()
152 const uint8_t fillValue = 0xa5; in TestBulkSwapFromSub() local
155 memset(checkBuffer, fillValue, bufferSize); in TestBulkSwapFromSub()
159 memset(buffer, fillValue, bufferSize); in TestBulkSwapFromSub()
190 const T fillValue = 0xa5; in TestBulkInPlaceSub() local
195 memset(checkBuffer, fillValue, bufferSize); in TestBulkInPlaceSub()
199 memset(buffer, fillValue, bufferSize); in TestBulkInPlaceSub()
/dports/math/vtk9/VTK-9.1.0/IO/ADIOS2/VTX/common/
H A DVTXDataArray.cxx64 const double fillValue = (fillValues.size() == 1) ? fillValues.front() : 0.; in ConvertTo3DVTK() local
83 this->Data->SetComponent(tVTK, 1, fillValue); in ConvertTo3DVTK()
86 this->Data->SetComponent(tVTK, 2, fillValue); in ConvertTo3DVTK()
/dports/net-im/convey/convey-src-0.3/src/org/convey/
H A DShapeGraphicPropertyPanel.java197 boolean fillValue = true; in setRightTypeSelected()
203 fillValue = false; in setRightTypeSelected()
205 fillValue = false; in setRightTypeSelected()
207 fillValue = false; in setRightTypeSelected()
217 if(fillValue) in setRightTypeSelected()

12345678910>>...12