Home
last modified time | relevance | path

Searched refs:ds1 (Results 1 – 25 of 2356) sorted by relevance

12345678910>>...95

/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/
H A Dtest_datastore.cpp22 Botan::Data_Store ds1; in run() local
25 result.confirm("equality", ds1 == ds2); in run()
27 result.test_eq("has_value", ds1.has_value("key"), false); in run()
31 [&ds1]() { ds1.get1("missing_key"); }); in run()
35 ds1.add("key", "value"); in run()
39 result.test_eq("equality", ds1 == ds2, false); in run()
41 result.test_eq("has_value", ds1.has_value("key"), true); in run()
43 result.test_eq("get1", ds1.get1("key"), "value"); in run()
48 ds1.add("memvec", memvec); in run()
56 ds1.add("key", "value2"); in run()
[all …]
/dports/security/botan2/Botan-2.18.2/src/tests/
H A Dtest_datastore.cpp22 Botan::Data_Store ds1; in run() local
25 result.confirm("equality", ds1 == ds2); in run()
27 result.test_eq("has_value", ds1.has_value("key"), false); in run()
31 [&ds1]() { ds1.get1("missing_key"); }); in run()
35 ds1.add("key", "value"); in run()
39 result.test_eq("equality", ds1 == ds2, false); in run()
41 result.test_eq("has_value", ds1.has_value("key"), true); in run()
43 result.test_eq("get1", ds1.get1("key"), "value"); in run()
48 ds1.add("memvec", memvec); in run()
56 ds1.add("key", "value2"); in run()
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/vmware_host_datastore/tasks/
H A Dmain.yml8 - name: Mount NFS (ds1) datastores without esxi_hostname
13 datastore_name: '{{ ds1 }}'
15 nfs_server: '{{ infra.datastores[ds1].server }}'
16 nfs_path: '{{ infra.datastores[ds1].path }}'
17 nfs_ro: '{{ infra.datastores[ds1].ro }}'
34 datastore_name: '{{ ds1 }}'
37 nfs_path: '{{ infra.datastores[ds1].path }}'
38 nfs_ro: '{{ infra.datastores[ds1].ro }}'
55 datastore_name: '{{ ds1 }}'
59 nfs_ro: '{{ infra.datastores[ds1].ro }}'
[all …]
/dports/devel/py-xarray/xarray-0.20.1/xarray/tests/
H A Dtest_merge.py208 assert ds1.x == 0
263 assert ds1.identical(xr.merge([ds1, ds2], compat="no_conflicts", join="left"))
315 ds1 = data[["var1"]]
318 actual = ds1.merge(ds2)
321 actual = ds2.merge(ds1)
341 actual = ds1.merge(ds2)
344 actual = ds2.merge(ds1)
347 actual = ds1.copy()
353 actual = ds1.merge(ds2)
375 assert ds1.identical(ds1.merge(ds2, compat="override"))
[all …]
/dports/science/siconos/siconos-4.4.0/kernel/src/modelingTools/test/
H A DFirstOrderNonLinearDSTest.cpp165 ds1->setX0(*x0); in testSetX0()
175 ds1->setX0Ptr(x0); in testSetX0Ptr()
185 ds1->setX(*x0); in testSetx()
195 ds1->setXPtr(x0); in testSetxPtr()
205 ds1->setR(*x0); in testSetR()
215 ds1->setRPtr(x0); in testSetRPtr()
235 ds1->initMemory(2); in testInitMemory()
250 ds1->setX(*x0); in testSwap()
251 ds1->setR(*x0); in testSwap()
252 ds1->initMemory(1); in testSwap()
[all …]
/dports/biology/iolib/io_lib-io_lib-1-14-10/io_lib/
H A Ddstring.c797 dstring_t *ds1 = dstring_create("foo"); in main() local
801 printf("ds1='%s'\n", dstring_str(ds1)); in main()
807 printf("ds1='%s'\n", dstring_str(ds1)); in main()
810 printf("ds1='%s'\n", dstring_str(ds1)); in main()
813 printf("ds1='%s'\n", dstring_str(ds1)); in main()
816 printf("ds1='%s'\n", dstring_str(ds1)); in main()
819 printf("ds1='%s'\n", dstring_str(ds1)); in main()
838 (long)dstring_length(ds1), in main()
839 (long)strlen(dstring_str(ds1))); in main()
869 dstring_destroy(ds1); in main()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/core/
H A Dtestqgsgdalutils.cpp102 QVERIFY( ds1 ); in testCreateSingleBandMemoryDataset()
104 QCOMPARE( GDALGetRasterCount( ds1.get() ), 1 ); in testCreateSingleBandMemoryDataset()
105 QCOMPARE( GDALGetRasterXSize( ds1.get() ), 40 ); in testCreateSingleBandMemoryDataset()
106 QCOMPARE( GDALGetRasterYSize( ds1.get() ), 20 ); in testCreateSingleBandMemoryDataset()
124 QVERIFY( ds1 ); in testCreateMultiBandMemoryDataset()
126 QCOMPARE( GDALGetRasterCount( ds1.get() ), 4 ); in testCreateMultiBandMemoryDataset()
127 QCOMPARE( GDALGetRasterXSize( ds1.get() ), 40 ); in testCreateMultiBandMemoryDataset()
128 QCOMPARE( GDALGetRasterYSize( ds1.get() ), 20 ); in testCreateMultiBandMemoryDataset()
153 QVERIFY( ds1 ); in testCreateSingleBandTiffDataset()
155 QCOMPARE( GDALGetRasterCount( ds1.get() ), 1 ); in testCreateSingleBandTiffDataset()
[all …]
/dports/devel/pear-HTML_QuickForm2/HTML_QuickForm2-2.2.2/tests/QuickForm2/DataSource/
H A DSuperGlobalTest.php92 $ds1 = new HTML_QuickForm2_DataSource_SuperGlobal('GET', false);
93 $this->assertEquals('some value', $ds1->getValue('foo'));
94 $this->assertEquals('o\\\'really', $ds1->getValue('bar'));
100 $ds1 = new HTML_QuickForm2_DataSource_SuperGlobal('POST', false);
101 $this->assertEquals('post value', $ds1->getValue('foo'));
102 $this->assertEquals('yes\\\'really', $ds1->getValue('bar'));
103 $this->assertEquals('or\\\\else', $ds1->getValue('baz[unescape]'));
116 $ds1 = new HTML_QuickForm2_DataSource_SuperGlobal('POST', false);
123 ], $ds1->getUpload('foo'));
130 ], $ds1->getUpload('bar[key]'));
[all …]
/dports/devel/spark/spark-2.1.1/sql/core/src/test/scala/org/apache/spark/sql/
H A DDatasetCacheSuite.scala29 val ds1 = Seq("1", "2").toDS().as("a") constant
33 ds1.persist()
35 assert(ds1.storageLevel == StorageLevel.MEMORY_AND_DISK)
38 ds1.unpersist()
39 assert(ds1.storageLevel == StorageLevel.NONE)
41 ds1.persist(StorageLevel.MEMORY_ONLY_2)
42 assert(ds1.storageLevel == StorageLevel.MEMORY_ONLY_2)
65 val ds1 = Seq("1", "2").toDS().as("a") constant
68 ds1.persist()
69 assertCached(ds1)
[all …]
/dports/devel/gdcm/gdcm-3.0.10/Examples/Cxx/
H A DDeriveSeries.cxx39 gdcm::DataSet & ds1 = r1.GetFile().GetDataSet(); in main() local
43 ds2.Replace( ds1.GetDataElement( gdcm::Tag(0x0008,0x0008) )); in main()
44 ds2.Replace( ds1.GetDataElement( gdcm::Tag(0x0020,0x0032) )); in main()
45 ds2.Replace( ds1.GetDataElement( gdcm::Tag(0x0020,0x0037) )); in main()
47 ds2.Replace( ds1.GetDataElement( gdcm::Tag(0x0020,0x0013) )); // Instance Number in main()
49 ds2.Replace( ds1.GetDataElement( gdcm::Tag(0x0018,0x0050) )); // Slice Thickness in main()
50 ds2.Replace( ds1.GetDataElement( gdcm::Tag(0x0008,0x0070) )); // Manufacturer in main()
51 ds2.Replace( ds1.GetDataElement( gdcm::Tag(0x0018,0x0081) )); // Echo Time in main()
52 ds2.Replace( ds1.GetDataElement( gdcm::Tag(0x0020,0x1041) )); // Slice Location in main()
55 sopclassuid.SetFromDataSet( ds1 ); in main()
[all …]
/dports/math/R-cran-survey/survey/tests/
H A Dlonely.psu.R52 ds1<-ds[-31,] globalVar
53 summary(ds1)
56 svymean(~api00,ds1)
58 svymean(~api00,ds1)
60 svymean(~api00,ds1)
62 svymean(~api00,ds1)
64 svymean(~api00,ds1)
69 ds1<-ds[-31,] globalVar
70 summary(ds1)
75 svymean(~api00,ds1)
[all …]
/dports/devel/p5-Algorithm-SVM/Algorithm-SVM-0.13/
H A Dtest.pl29 ok(ref($ds1) ne "", 1);
64 ok($svm->predict($ds1) == 10,1);
82 if ($ds1->attribute($i) == $d1[$i-1]) {
89 my @tset=($ds1,$ds2,$ds3);
94 if ($ds1->attribute($i) == $d1[$i-1]) {
103 my $p1 = $svm->predict($ds1);
109 ok($svm->predict($ds1),$p1);
116 $ds1->attribute(2,$ds1->attribute(2));
122 ok($svm->predict($ds1),$p1);
132 $ds1->attribute($_, 1) for(1..scalar(@d1));
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gocloud.dev/docstore/
H A Ddocstore_test.go59 ds1 := &Book{Title: "The Master and Margarita"}
66 {c.Actions().Get(d1).Get(d2).Get(ds1).Get(ds2), nil},
67 {c.Actions().Get(d1).Put(d1).Put(ds1).Get(ds1), nil},
69 {c.Actions().Get(ds2).Replace(ds1).Put(ds2).Get(ds1), nil},
77 {c.Actions().Get(d1).Get(ds1).Get(d1).Get(ds1), []int{2, 3}},
78 {c.Actions().Put(d1).Put(ds1).Get(d1).Get(ds1).Get(d1).Get(ds1), []int{4, 5}},
79 …{c.Actions().Get(d1).Get(ds1).Put(d1).Put(d2).Put(ds1).Put(ds2).Put(d1).Replace(ds1), []int{6, 7}},
80 {c.Actions().Create(dn).Create(d1).Create(dsn).Create(ds1).Get(d1).Get(ds1), nil},
83 {c.Actions().Get(ds1, "name.Last", "pub_years"), nil},
84 {c.Actions().Get(d1, ".c").Get(ds1, "").Get(ds2, "\xa0\xa1"), []int{0, 1, 2}}, // bad field path
[all …]
/dports/www/gohugo/hugo-0.91.2/vendor/gocloud.dev/docstore/
H A Ddocstore_test.go59 ds1 := &Book{Title: "The Master and Margarita"}
66 {c.Actions().Get(d1).Get(d2).Get(ds1).Get(ds2), nil},
67 {c.Actions().Get(d1).Put(d1).Put(ds1).Get(ds1), nil},
69 {c.Actions().Get(ds2).Replace(ds1).Put(ds2).Get(ds1), nil},
77 {c.Actions().Get(d1).Get(ds1).Get(d1).Get(ds1), []int{2, 3}},
78 {c.Actions().Put(d1).Put(ds1).Get(d1).Get(ds1).Get(d1).Get(ds1), []int{4, 5}},
79 …{c.Actions().Get(d1).Get(ds1).Put(d1).Put(d2).Put(ds1).Put(ds2).Put(d1).Replace(ds1), []int{6, 7}},
80 {c.Actions().Create(dn).Create(d1).Create(dsn).Create(ds1).Get(d1).Get(ds1), nil},
83 {c.Actions().Get(ds1, "name.Last", "pub_years"), nil},
84 {c.Actions().Get(d1, ".c").Get(ds1, "").Get(ds2, "\xa0\xa1"), []int{0, 1, 2}}, // bad field path
[all …]
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/gocloud.dev/docstore/
H A Ddocstore_test.go59 ds1 := &Book{Title: "The Master and Margarita"}
66 {c.Actions().Get(d1).Get(d2).Get(ds1).Get(ds2), nil},
67 {c.Actions().Get(d1).Put(d1).Put(ds1).Get(ds1), nil},
69 {c.Actions().Get(ds2).Replace(ds1).Put(ds2).Get(ds1), nil},
77 {c.Actions().Get(d1).Get(ds1).Get(d1).Get(ds1), []int{2, 3}},
78 {c.Actions().Put(d1).Put(ds1).Get(d1).Get(ds1).Get(d1).Get(ds1), []int{4, 5}},
79 …{c.Actions().Get(d1).Get(ds1).Put(d1).Put(d2).Put(ds1).Put(ds2).Put(d1).Replace(ds1), []int{6, 7}},
80 {c.Actions().Create(dn).Create(d1).Create(dsn).Create(ds1).Get(d1).Get(ds1), nil},
83 {c.Actions().Get(ds1, "name.Last", "pub_years"), nil},
84 {c.Actions().Get(d1, ".c").Get(ds1, "").Get(ds2, "\xa0\xa1"), []int{0, 1, 2}}, // bad field path
[all …]
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/gocloud.dev/go-cloud-5094f54ed8bb/docstore/
H A Ddocstore_test.go59 ds1 := &Book{Title: "The Master and Margarita"}
66 {c.Actions().Get(d1).Get(d2).Get(ds1).Get(ds2), nil},
67 {c.Actions().Get(d1).Put(d1).Put(ds1).Get(ds1), nil},
69 {c.Actions().Get(ds2).Replace(ds1).Put(ds2).Get(ds1), nil},
77 {c.Actions().Get(d1).Get(ds1).Get(d1).Get(ds1), []int{2, 3}},
78 {c.Actions().Put(d1).Put(ds1).Get(d1).Get(ds1).Get(d1).Get(ds1), []int{4, 5}},
79 …{c.Actions().Get(d1).Get(ds1).Put(d1).Put(d2).Put(ds1).Put(ds2).Put(d1).Replace(ds1), []int{6, 7}},
80 {c.Actions().Create(dn).Create(d1).Create(dsn).Create(ds1).Get(d1).Get(ds1), nil},
83 {c.Actions().Get(ds1, "name.Last", "pub_years"), nil},
84 {c.Actions().Get(d1, ".c").Get(ds1, "").Get(ds2, "\xa0\xa1"), []int{0, 1, 2}}, // bad field path
[all …]
/dports/graphics/qgis/qgis-3.22.3/tests/src/core/
H A Dtestqgsgdalutils.cpp98 QVERIFY( ds1 ); in testCreateSingleBandMemoryDataset()
100 QCOMPARE( GDALGetRasterCount( ds1.get() ), 1 ); in testCreateSingleBandMemoryDataset()
101 QCOMPARE( GDALGetRasterXSize( ds1.get() ), 40 ); in testCreateSingleBandMemoryDataset()
102 QCOMPARE( GDALGetRasterYSize( ds1.get() ), 20 ); in testCreateSingleBandMemoryDataset()
116 QVERIFY( ds1 ); in testCreateMultiBandMemoryDataset()
118 QCOMPARE( GDALGetRasterCount( ds1.get() ), 4 ); in testCreateMultiBandMemoryDataset()
119 QCOMPARE( GDALGetRasterXSize( ds1.get() ), 40 ); in testCreateMultiBandMemoryDataset()
120 QCOMPARE( GDALGetRasterYSize( ds1.get() ), 20 ); in testCreateMultiBandMemoryDataset()
141 QVERIFY( ds1 ); in testCreateSingleBandTiffDataset()
143 QCOMPARE( GDALGetRasterCount( ds1.get() ), 1 ); in testCreateSingleBandTiffDataset()
[all …]
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/boost/test/data/monomorphic/
H A Djoin.hpp71 join( DS1&& ds1, DS2&& ds2 ) in join() argument
72 : m_ds1( std::forward<DS1>( ds1 ) ) in join()
83 join( DS1 const& ds1, DS2 const& ds2 ) in join() argument
84 : m_ds1( ds1 ) in join()
126 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
131 operator+( DS1 const& ds1, DS2 const& ds2 )
133 return join<DS1,DS2>( ds1, ds2 );
145 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
156 return ds1 + data::make(ds2); in operator +()
168 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
[all …]
/dports/databases/xtrabackup/boost_1_59_0/boost/test/data/monomorphic/
H A Djoin.hpp71 join( DS1&& ds1, DS2&& ds2 ) in join() argument
72 : m_ds1( std::forward<DS1>( ds1 ) ) in join()
83 join( DS1 const& ds1, DS2 const& ds2 ) in join() argument
84 : m_ds1( ds1 ) in join()
126 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
131 operator+( DS1 const& ds1, DS2 const& ds2 )
133 return join<DS1,DS2>( ds1, ds2 );
145 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
156 return ds1 + data::make(ds2); in operator +()
168 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
[all …]
/dports/databases/percona57-server/boost_1_59_0/boost/test/data/monomorphic/
H A Djoin.hpp71 join( DS1&& ds1, DS2&& ds2 ) in join() argument
72 : m_ds1( std::forward<DS1>( ds1 ) ) in join()
83 join( DS1 const& ds1, DS2 const& ds2 ) in join() argument
84 : m_ds1( ds1 ) in join()
126 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
131 operator+( DS1 const& ds1, DS2 const& ds2 )
133 return join<DS1,DS2>( ds1, ds2 );
145 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
156 return ds1 + data::make(ds2); in operator +()
168 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
[all …]
/dports/databases/percona57-client/boost_1_59_0/boost/test/data/monomorphic/
H A Djoin.hpp71 join( DS1&& ds1, DS2&& ds2 ) in join() argument
72 : m_ds1( std::forward<DS1>( ds1 ) ) in join()
83 join( DS1 const& ds1, DS2 const& ds2 ) in join() argument
84 : m_ds1( ds1 ) in join()
126 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
131 operator+( DS1 const& ds1, DS2 const& ds2 )
133 return join<DS1,DS2>( ds1, ds2 );
145 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
156 return ds1 + data::make(ds2); in operator +()
168 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/boost/boost_1_59_0/boost/test/data/monomorphic/
H A Djoin.hpp71 join( DS1&& ds1, DS2&& ds2 ) in join() argument
72 : m_ds1( std::forward<DS1>( ds1 ) ) in join()
83 join( DS1 const& ds1, DS2 const& ds2 ) in join() argument
84 : m_ds1( ds1 ) in join()
126 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
131 operator+( DS1 const& ds1, DS2 const& ds2 )
133 return join<DS1,DS2>( ds1, ds2 );
145 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
156 return ds1 + data::make(ds2); in operator +()
168 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
[all …]
/dports/databases/mysqlwsrep57-server/boost_1_59_0/boost/test/data/monomorphic/
H A Djoin.hpp71 join( DS1&& ds1, DS2&& ds2 ) in join() argument
72 : m_ds1( std::forward<DS1>( ds1 ) ) in join()
83 join( DS1 const& ds1, DS2 const& ds2 ) in join() argument
84 : m_ds1( ds1 ) in join()
126 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
131 operator+( DS1 const& ds1, DS2 const& ds2 )
133 return join<DS1,DS2>( ds1, ds2 );
145 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
156 return ds1 + data::make(ds2); in operator +()
168 operator+( DS1&& ds1, DS2&& ds2 ) in operator +() argument
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Data.Common/tests/System/Data/
H A DForeignKeyConstraintTest2.cs157 DataSet ds1 = new DataSet(); in getNewDataSet()
161 ds1.Tables[0].PrimaryKey = new DataColumn[] { ds1.Tables[0].Columns[0] }; in getNewDataSet()
163 return ds1; in getNewDataSet()
360 DataSet ds1 = new DataSet(); in deleteRule()
370 ds1.Tables[0].PrimaryKey = new DataColumn[] { ds1.Tables[0].Columns[0] }; in deleteRule()
387 ds1 = new DataSet(); in deleteRule()
391 fc1 = new ForeignKeyConstraint(ds1.Tables[0].Columns[0], ds1.Tables[1].Columns[1]); in deleteRule()
399 ds1.Tables[0].Rows.Add(dr2); in deleteRule()
401 ds1.Tables[0].PrimaryKey = new DataColumn[] { ds1.Tables[0].Columns[0] }; in deleteRule()
602 ds1.Tables[0].PrimaryKey = new DataColumn[] { ds1.Tables[0].Columns[0] }; in GetNewDataSet()
[all …]
/dports/math/vtk6/VTK-6.2.0/Examples/Infovis/Python/
H A Daggregate.py20 ds1 = vtkDescriptiveStatistics() variable
21 ds1.AddInputConnection( databaseToTable.GetOutputPort() )
22 ds1.AddColumn("Temp1")
23 ds1.AddColumn("Temp2")
24 ds1.SetLearnOption( 1 )
25 ds1.SetDeriveOption( 0 )
26 ds1.SetAssessOption( 0 )
27 ds1.SetTestOption( 0 )
28 ds1.Update()
31 dStats1 = ds1.GetOutputDataObject( 1 )

12345678910>>...95