Home
last modified time | relevance | path

Searched refs:ds1 (Results 201 – 225 of 2356) sorted by relevance

12345678910>>...95

/dports/security/py-stix2/cti-python-stix2-2.1.0/stix2/test/v20/
H A Dtest_datastore_composite.py12 ds1 = MemorySource()
17 cds.add_data_sources([ds1, ds2, ds1, ds3])
23 cds.add_data_sources([ds1, ds2, ds1])
27 cds.remove_data_sources([ds1.id, ds2.id])
/dports/science/siconos/siconos-4.4.0/kernel/src/modelingTools/test/
H A DFirstOrderLinearDSTest.cpp135 SP::FirstOrderLinearDS ds1(new FirstOrderLinearDS(x0)); in testSetAPtr() local
136 ds1->setAPtr(A0); in testSetAPtr()
137 CPPUNIT_ASSERT_EQUAL_MESSAGE("testSetAPtr : ", ds1->A() == A0, true); in testSetAPtr()
145 SP::FirstOrderLinearDS ds1(new FirstOrderLinearDS(x0)); in testSetBPtr() local
146 ds1->setbPtr(b0); in testSetBPtr()
147 CPPUNIT_ASSERT_EQUAL_MESSAGE("testSetBPtr : ", ds1->b() == b0, true); in testSetBPtr()
/dports/devel/spark/spark-2.1.1/sql/core/src/test/scala/org/apache/spark/sql/
H A DDatasetSuite.scala275 val ds1 = Seq(1, 2, 3).toDS().as("a") constant
279 ds1.joinWith(ds2, $"a.value" === $"b.value", "inner"),
284 val ds1 = Seq(1, 1, 2).toDS() constant
288 ds1.joinWith(ds2, $"value" === $"_2"),
293 val ds1 = Seq(1, 1, 2).toDS() constant
302 val ds1 = Seq(("a", 1), ("b", 2)).toDS().as("a") constant
474 val ds1 = Seq("1", "2").toDS().as("a") constant
477 val joined = ds1.joinWith(ds2, $"a.value" === $"b.value")
549 ds1.joinWith(ds2, lit(true), "cross"),
603 checkDataset(ds1, DeepNestedStruct(NestedStruct(null)))
[all …]
/dports/math/py-yt/yt-4.0.1/yt/units/tests/
H A Dtest_magnetic_code_units.py13 ds1 = load_uniform_grid(
17 assert_allclose(ds1.magnetic_unit.value, sqrt4pi)
18 assert str(ds1.magnetic_unit.units) == "G"
20 mucu = ds1.magnetic_unit.to("code_magnetic")
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/net/DatagramSocket/
H A DReuseAddressTest.java242 DatagramSocket ds1 = null; in DatagramSocket0032() local
256 ds1 = new DatagramSocket(null); in DatagramSocket0032()
257 ds1.setReuseAddress(true); // method under test in DatagramSocket0032()
258 if (!ds1.getReuseAddress()) { in DatagramSocket0032()
262 ds1.bind(isa1); in DatagramSocket0032()
278 if (ds1.getLocalPort() != isa.getPort() || !ds1.isBound() in DatagramSocket0032()
281 System.out.println(" ds1 [" + getInfo(ds1) + "]"); in DatagramSocket0032()
293 if (ds1 != null) { in DatagramSocket0032()
294 ds1.close(); in DatagramSocket0032()
/dports/science/axom/axom-0.6.1/src/axom/sidre/tests/spio/
H A DF_spio_basicWriteRead.F21 type(SidreDataStore) ds1, ds2 variable
40 ds1 = SidreDataStore()
41 root1 = ds1%get_root()
87 call ds1%delete()
H A DF_spio_externalWriteRead.F26 type(SidreDataStore) ds1, ds2 variable
56 ds1 = SidreDataStore()
57 root1 = ds1%get_root()
109 call ds1%delete()
/dports/devel/gdcm/gdcm-3.0.10/Examples/Cxx/
H A DExtracting_All_Resolution.cxx266 gdcm::DataSet &ds1 = file1.GetDataSet(); in Write_Resolution() local
274 ds1.Insert( dea ); in Write_Resolution()
280 ds1.Insert( deb ); in Write_Resolution()
287 ds1.Insert( dec ); in Write_Resolution()
291 ds1.Insert( row1.GetAsDataElement() ); in Write_Resolution()
294 ds1.Insert( col1.GetAsDataElement() ); in Write_Resolution()
299 ds1.Insert( ata.GetAsDataElement() ); in Write_Resolution()
302 ds1.Insert( atb.GetAsDataElement() ); in Write_Resolution()
305 ds1.Insert( atc.GetAsDataElement() ); in Write_Resolution()
308 ds1.Insert( atd.GetAsDataElement() ); in Write_Resolution()
[all …]
H A DDumpVisusChange.cxx39 gdcm::DataSet &ds1 = file.GetDataSet(); in process() local
42 if( !ds1.FindDataElement( tseq1 ) ) return true; in process()
43 const gdcm::DataElement& seq1 = ds1.GetDataElement( tseq1 ); in process()
113 gdcm::DataSet &ds1 = file.GetDataSet(); in main() local
116 if( !ds1.FindDataElement( tseq1 ) ){ in main()
/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dthd_mismatch.c12 int THD_dataset_mismatch( THD_3dim_dataset *ds1 , THD_3dim_dataset *ds2 ) in THD_dataset_mismatch() argument
22 if( !ISVALID_DSET(ds1) || !ISVALID_DSET(ds2) ) RETURN(-1) ; in THD_dataset_mismatch()
24 dax1 = ds1->daxes ; in THD_dataset_mismatch()
48 fv1 = THD_dataset_center( ds1 ) ; in THD_dataset_mismatch()
61 angle = dset_obliquity_angle_diff(ds1, ds2, OBLIQ_ANGLE_THRESH); in THD_dataset_mismatch()
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/vmware_datastore_info/tasks/
H A Dmain.yml79 name: "{{ ds1 }}"
87 - "datastore_info_0003['datastores'][0]['name'] == ds1"
97 name: "{{ ds1 | basename }}"
107 - "datastore_info_0004['datastores'][0]['name'] == ds1"
117 name: "{{ ds1 | basename }}"
125 - "datastore_info_0005['datastores'][0]['name'] == ds1"
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/vmware_datastore_facts/tasks/
H A Dmain.yml79 name: "{{ ds1 }}"
87 - "datastore_facts_0003['datastores'][0]['name'] == ds1"
97 name: "{{ ds1 | basename }}"
107 - "datastore_facts_0004['datastores'][0]['name'] == ds1"
117 name: "{{ ds1 | basename }}"
125 - "datastore_facts_0005['datastores'][0]['name'] == ds1"
/dports/security/py-stix2/cti-python-stix2-2.1.0/stix2/test/v21/
H A Dtest_datastore_composite.py12 ds1 = MemorySource()
17 cds.add_data_sources([ds1, ds2, ds1, ds3])
23 cds.add_data_sources([ds1, ds2, ds1])
27 cds.remove_data_sources([ds1.id, ds2.id])
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/auxiliary/
H A Draster_creation.py144 ds1 = open_ds(filename_i)
146 ds1 = open_ds(ds_with_ovrs, ovr_idx=ovr_idx, ovr_only=True)
148 driver.CreateCopy(filename_i, ds1)
150 …assert ds1.RasterXSize == int(size[0]/f) and ds1.RasterYSize == int(size[1]/f) and ds1.RasterCount…
/dports/graphics/gdal/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/auxiliary/
H A Draster_creation.py144 ds1 = open_ds(filename_i)
146 ds1 = open_ds(ds_with_ovrs, ovr_idx=ovr_idx, ovr_only=True)
148 driver.CreateCopy(filename_i, ds1)
150 …assert ds1.RasterXSize == int(size[0]/f) and ds1.RasterYSize == int(size[1]/f) and ds1.RasterCount…
/dports/graphics/py-gdal/gdal-3.3.3/swig/python/gdal-utils/osgeo_utils/auxiliary/
H A Draster_creation.py144 ds1 = open_ds(filename_i)
146 ds1 = open_ds(ds_with_ovrs, ovr_idx=ovr_idx, ovr_only=True)
148 driver.CreateCopy(filename_i, ds1)
150 …assert ds1.RasterXSize == int(size[0]/f) and ds1.RasterYSize == int(size[1]/f) and ds1.RasterCount…
/dports/security/py-stix2/cti-python-stix2-2.1.0/stix2/equivalence/graph/
H A D__init__.py12 def graphically_equivalent(ds1, ds2, prop_scores={}, **weight_dict): argument
55 graph1 = ds1.query([])
62 weights["_internal"]["ds1"] = ds1
68 weights["_internal"]["ds2"] = ds1
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/cont/testing/
H A DTesting.h375 inline VTKM_CONT TestEqualResult test_equal_DataSets(const vtkm::cont::DataSet& ds1,
382 if (ds1.GetNumberOfCoordinateSystems() != ds2.GetNumberOfCoordinateSystems())
387 for (vtkm::IdComponent i = 0; i < ds1.GetNumberOfCoordinateSystems(); ++i)
389 result = test_equal_ArrayHandles(ds1.GetCoordinateSystem(i).GetData(),
399 if (ds1.GetNumberOfCellSets() != ds2.GetNumberOfCellSets())
404 for (vtkm::IdComponent i = 0; i < ds1.GetNumberOfCellSets(); ++i)
406 result = test_equal_CellSets(ds1.GetCellSet(i).ResetCellSetList(ctypes),
416 if (ds1.GetNumberOfFields() != ds2.GetNumberOfFields())
421 for (vtkm::IdComponent i = 0; i < ds1.GetNumberOfFields(); ++i)
423 result = test_equal_Fields(ds1.GetField(i), ds2.GetField(i), fTtypes, fStypes);
/dports/math/piranha/piranha-0.11/tests/
H A Dsmall_vector_01.cpp110 d1 ds1; in operator ()() local
111 BOOST_CHECK(ds1.begin() == ds1.end()); in operator ()()
112 BOOST_CHECK(static_cast<const d1 &>(ds1).begin() == static_cast<const d1 &>(ds1).end()); in operator ()()
113 BOOST_CHECK(static_cast<const d1 &>(ds1).begin() == ds1.end()); in operator ()()
114 BOOST_CHECK(ds1.begin() == static_cast<const d1 &>(ds1).end()); in operator ()()
118 d1 ds2(ds1); in operator ()()
121 ds1.push_back(T(0)); in operator ()()
126 d1 ds3(ds1); in operator ()()
140 ds1.push_back(tmp); in operator ()()
144 ds1.reserve(1u); in operator ()()
[all …]
/dports/math/py-piranha/piranha-0.11/tests/
H A Dsmall_vector_01.cpp110 d1 ds1; in operator ()() local
111 BOOST_CHECK(ds1.begin() == ds1.end()); in operator ()()
112 BOOST_CHECK(static_cast<const d1 &>(ds1).begin() == static_cast<const d1 &>(ds1).end()); in operator ()()
113 BOOST_CHECK(static_cast<const d1 &>(ds1).begin() == ds1.end()); in operator ()()
114 BOOST_CHECK(ds1.begin() == static_cast<const d1 &>(ds1).end()); in operator ()()
118 d1 ds2(ds1); in operator ()()
121 ds1.push_back(T(0)); in operator ()()
126 d1 ds3(ds1); in operator ()()
140 ds1.push_back(tmp); in operator ()()
144 ds1.reserve(1u); in operator ()()
[all …]
/dports/cad/opencascade/opencascade-7.6.0/src/DDF/
H A DDDF_DataCommands.cxx291 Handle(TDF_DataSet) ds1 = new TDF_DataSet(); in DDF_CheckAttrs()
295 itr.Value()->References(ds1); in DDF_CheckAttrs()
297 const TDF_AttributeMap& attMap = ds1->Attributes(); //attMap in DDF_CheckAttrs()
327 ds1->Clear(); in DDF_CheckAttrs()
351 Handle(TDF_DataSet) ds1 = new TDF_DataSet(); in DDF_CheckLabel()
353 itr.Value()->References(ds1); in DDF_CheckLabel()
356 const TDF_AttributeMap& attMap = ds1->Attributes(); //attMap in DDF_CheckLabel()
365 ds1->Clear(); in DDF_CheckLabel()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Linq/
H A DDataShape.cs92 internal static bool ShapesAreEquivalent(DataLoadOptions ds1, DataLoadOptions ds2) { in ShapesAreEquivalent() argument
93 …bool shapesAreSameOrEmpty = (ds1 == ds2) || ((ds1 == null || ds1.IsEmpty) && (ds2 == null || ds2.I… in ShapesAreEquivalent()
95 if (ds1 == null || ds2 == null || ds1.includes.Count != ds2.includes.Count) { in ShapesAreEquivalent()
100 if (!ds1.includes.ContainsKey(metaPosition)) { in ShapesAreEquivalent()
/dports/science/siconos/siconos-4.4.0/mechanics/src/collision/bullet/
H A DSiconosBulletCollisionManager.hpp114 virtual SP::BulletR makeBulletR(SP::RigidBodyDS ds1, SP::SiconosShape shape1,
120 virtual SP::Bullet5DR makeBullet5DR(SP::RigidBodyDS ds1, SP::SiconosShape shape1,
126 virtual SP::Bullet2dR makeBullet2dR(SP::RigidBody2dDS ds1, SP::SiconosShape shape1,
132 virtual SP::Bullet2d3DR makeBullet2d3DR(SP::RigidBody2dDS ds1, SP::SiconosShape shape1,
/dports/science/py-pydicom/pydicom-2.2.2/pydicom/tests/
H A Dtest_json.py163 ds1 = dcmread(get_testdata_file("CT_small.dcm"))
164 ds_json = ds1.to_json()
166 assert ds1 == ds2
168 ds_json = ds1.to_json_dict()
170 assert ds1 == ds2
308 ds1 = Dataset.from_json(ds_json)
309 assert ds == ds1
312 ds1 = Dataset.from_json(ds_json)
313 assert ds == ds1
/dports/math/py-yt/yt-4.0.1/yt/frontends/athena/tests/
H A Dtest_outputs.py98 ds1 = load(sloshing, units_override=uo_sloshing)
99 sp1 = ds1.sphere("c", (100.0, "kpc"))
100 prj1 = ds1.proj(("gas", "density"), 0)
103 prj2 = ds1.proj(("gas", "density"), 0)

12345678910>>...95