/dports/misc/vxl/vxl-3.3.2/core/vidl/examples/ |
H A D | vidl_v4l2_live_example.cxx | 51 if (!dev.set_v4l2_format(dev.get_v4l2_format(), nw, nh)) in change_width_height() 58 std::cout << "Using device:" << dev; in change_width_height() 81 std::cout << "Input: " << dev.input(inum).name() << " selected." << std::endl; in configure_input() 82 dev.try_formats(); in configure_input() 92 if (!dev) in configure_input() 94 std::cerr << "Error in device: " << dev.get_error() << std::endl; in configure_input() 124 << " Device frame number: " << dev.sequence() << std::endl; in save_frames() 133 if (!dev) in save_frames() 134 std::cerr << "Error in device: " << dev.get_error() << std::endl; in save_frames() 162 if (dev) in main() [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/qtum/ |
H A D | storageresults.h | 8 using logEntriesSerialize = std::vector<std::pair<dev::Address, std::pair<dev::h256s, dev::bytes>>>; 30 std::vector<dev::h256> blockHashes; 32 std::vector<dev::h256> transactionHashes; 34 std::vector<dev::h160> senders; 35 std::vector<dev::h160> receivers; 36 std::vector<dev::u256> cumulativeGasUsed; 37 std::vector<dev::u256> gasUsed; 38 std::vector<dev::h160> contractAddresses; 43 std::vector<dev::h2048> blooms; 44 std::vector<dev::h256> stateRoots; [all …]
|
H A D | qtumstate.h | 16 using OnOpFunc = std::function<void(uint64_t, uint64_t, dev::eth::Instruction, dev::bigint, dev::bi… 18 using plusAndMinus = std::pair<dev::u256, dev::u256>; 53 …dev::AddressHash commit(std::unordered_map<dev::Address, Vin> const& _cache, dev::eth::SecureTrieD… in commit() 88 std::unordered_map<dev::Address, Vin> vins() const; // temp 131 void deleteAccounts(std::set<dev::Address>& addrs); 145 std::unordered_map<dev::Address, Vin> cacheUTXO; 206 std::map<dev::Address, plusAndMinus> plusMinusInfo; 208 std::map<dev::Address, dev::u256> balances; 210 std::map<dev::Address, uint32_t> nVouts; 212 std::map<dev::Address, Vin> vins; [all …]
|
H A D | qtumDGP.h | 43 …bool initStorages(const dev::Address& addr, unsigned int blockHeight, std::vector<unsigned char> d… 49 void initDataTemplate(const dev::Address& addr, std::vector<unsigned char>& data); 53 …bool checkLimitSchedule(const std::vector<uint32_t>& defaultData, const std::vector<uint32_t>& che… 59 …uint64_t getUint64FromDGP(unsigned int blockHeight, const dev::Address& contract, std::vector<unsi… 61 void parseStorageScheduleContract(std::vector<uint32_t>& uint32Values); 63 void parseDataScheduleContract(std::vector<uint32_t>& uint32Values); 81 std::map<dev::h256, std::pair<dev::u256, dev::u256>> storageDGP; 83 std::map<dev::h256, std::pair<dev::u256, dev::u256>> storageTemplate; 85 std::vector<unsigned char> dataTemplate; 87 std::vector<std::pair<unsigned int, dev::Address>> paramsInstance; [all …]
|
/dports/sysutils/nut-devel/nut-9e6a5ab2/clients/ |
H A D | nutclientmem.cpp | 49 std::set<std::string> MemClientStub::getDeviceVariableNames(const std::string& dev) in getDeviceVariableNames() argument 55 std::set<std::string> MemClientStub::getDeviceRWVariableNames(const std::string& dev) in getDeviceRWVariableNames() argument 61 std::string MemClientStub::getDeviceVariableDescription(const std::string& dev, const std::string& … in getDeviceVariableDescription() argument 68 ListValue MemClientStub::getDeviceVariableValue(const std::string& dev, const std::string& name) in getDeviceVariableValue() argument 100 std::string dev = *itr; in getDevicesVariableValues() local 104 res.insert(std::pair<std::string, ListObject>(dev, it_dev->second)); in getDevicesVariableValues() 110 TrackingID MemClientStub::setDeviceVariable(const std::string& dev, const std::string& name, const … in setDeviceVariable() argument 156 std::set<std::string> MemClientStub::getDeviceCommandNames(const std::string& dev) in getDeviceCommandNames() argument 162 std::string MemClientStub::getDeviceCommandDescription(const std::string& dev, const std::string& n… in getDeviceCommandDescription() argument 177 void MemClientStub::deviceLogin(const std::string& dev) in deviceLogin() argument [all …]
|
H A D | nutclient.h | 201 virtual bool hasDevice(const std::string& dev); 225 virtual std::set<std::string> getDeviceVariableNames(const std::string& dev) = 0; 231 virtual std::set<std::string> getDeviceRWVariableNames(const std::string& dev) = 0; 291 virtual std::set<std::string> getDeviceCommandNames(const std::string& dev) = 0; 426 virtual std::set<std::string> getDeviceVariableNames(const std::string& dev); 427 virtual std::set<std::string> getDeviceRWVariableNames(const std::string& dev); 435 virtual std::set<std::string> getDeviceCommandNames(const std::string& dev); 439 virtual void deviceLogin(const std::string& dev); 443 virtual void deviceMaster(const std::string& dev); 707 Variable(Device* dev, const std::string& name); [all …]
|
H A D | nutclientmem.h | 58 virtual std::set<std::string> getDeviceVariableNames(const std::string& dev); 59 virtual std::set<std::string> getDeviceRWVariableNames(const std::string& dev); 60 virtual std::string getDeviceVariableDescription(const std::string& dev, const std::string& name); 61 virtual ListValue getDeviceVariableValue(const std::string& dev, const std::string& name); 62 virtual ListObject getDeviceVariableValues(const std::string& dev); 67 virtual std::set<std::string> getDeviceCommandNames(const std::string& dev); 68 virtual std::string getDeviceCommandDescription(const std::string& dev, const std::string& name); 71 virtual void deviceLogin(const std::string& dev); 72 virtual void deviceMaster(const std::string& dev); 73 virtual void deviceForcedShutdown(const std::string& dev); [all …]
|
H A D | nutclient.cpp | 469 bool Client::hasDevice(const std::string& dev) in hasDevice() argument 498 std::set<std::string> names = getDeviceVariableNames(dev); in hasDeviceVariable() 506 std::set<std::string> names = getDeviceVariableNames(dev); in getDeviceVariableValues() 530 std::set<std::string> names = getDeviceCommandNames(dev); in hasDeviceCommand() 668 std::set<std::string> TcpClient::getDeviceVariableNames(const std::string& dev) in getDeviceVariableNames() argument 672 std::vector<std::vector<std::string> > res = list("VAR", dev); in getDeviceVariableNames() 685 std::vector<std::vector<std::string> > res = list("RW", dev); in getDeviceRWVariableNames() 709 std::vector<std::vector<std::string> > res = list("VAR", dev); in getDeviceVariableValues() 786 std::set<std::string> TcpClient::getDeviceCommandNames(const std::string& dev) in getDeviceCommandNames() argument 790 std::vector<std::vector<std::string> > res = list("CMD", dev); in getDeviceCommandNames() [all …]
|
/dports/sysutils/nut/nut-2.7.4/clients/ |
H A D | nutclient.h | 165 virtual bool hasDevice(const std::string& dev)throw(NutException); 189 virtual std::set<std::string> getDeviceVariableNames(const std::string& dev)throw(NutException)=0; 195 …virtual std::set<std::string> getDeviceRWVariableNames(const std::string& dev)throw(NutException)=… 222 …virtual std::map<std::string,std::vector<std::string> > getDeviceVariableValues(const std::string&… 249 virtual std::set<std::string> getDeviceCommandNames(const std::string& dev)throw(NutException)=0; 368 virtual std::set<std::string> getDeviceVariableNames(const std::string& dev)throw(NutException); 369 virtual std::set<std::string> getDeviceRWVariableNames(const std::string& dev)throw(NutException); 372 …virtual std::map<std::string,std::vector<std::string> > getDeviceVariableValues(const std::string&… 376 virtual std::set<std::string> getDeviceCommandNames(const std::string& dev)throw(NutException); 625 Variable(Device* dev, const std::string& name); [all …]
|
H A D | nutclient.cpp | 440 std::set<std::string> names = getDeviceVariableNames(dev); in hasDeviceVariable() 448 std::set<std::string> names = getDeviceVariableNames(dev); in getDeviceVariableValues() 460 std::set<std::string> names = getDeviceCommandNames(dev); in hasDeviceCommand() 588 std::vector<std::vector<std::string> > res = list("VAR", dev); in getDeviceVariableNames() 601 std::vector<std::vector<std::string> > res = list("RW", dev); in getDeviceRWVariableNames() 625 std::vector<std::vector<std::string> > res = list("VAR", dev); in getDeviceVariableValues() 645 std::string query = "SET VAR " + dev + " " + name; in setDeviceVariable() 653 std::set<std::string> TcpClient::getDeviceCommandNames(const std::string& dev)throw(NutException) in getDeviceCommandNames() argument 657 std::vector<std::vector<std::string> > res = list("CMD", dev); in getDeviceCommandNames() 693 std::string num = get("NUMLOGINS", dev)[0]; in deviceGetNumLogins() [all …]
|
/dports/graphics/sane-backends/sane-backends-1.0.32/backend/genesys/ |
H A D | low.h | 166 UsbDeviceEntry(std::uint16_t vendor_id, std::uint16_t product_id, std::uint16_t bcd_device, in UsbDeviceEntry() 178 bool matches(std::uint16_t vendor_id, std::uint16_t product_id, std::uint16_t bcd_device) in matches() 221 void scanner_register_rw_clear_bits(Genesys_Device& dev, std::uint16_t address, std::uint8_t mask); 222 void scanner_register_rw_set_bits(Genesys_Device& dev, std::uint16_t address, std::uint8_t mask); 223 void scanner_register_rw_bits(Genesys_Device& dev, std::uint16_t address, 239 std::vector<std::reference_wrapper<const Genesys_Sensor>> 241 std::vector<std::reference_wrapper<Genesys_Sensor>> 291 std::vector<uint16_t> get_gamma_table(Genesys_Device* dev, const Genesys_Sensor& sensor, 351 exposure.red = std::max<std::uint16_t>(1, exposure.red); in sanei_genesys_fixup_exposure() 352 exposure.green = std::max<std::uint16_t>(1, exposure.green); in sanei_genesys_fixup_exposure() [all …]
|
H A D | device.cpp | 53 std::vector<unsigned> ret; in get_resolutions() 54 std::copy(resolutions_x.begin(), resolutions_x.end(), std::back_inserter(ret)); in get_resolutions() 55 std::copy(resolutions_y.begin(), resolutions_y.end(), std::back_inserter(ret)); in get_resolutions() 58 std::sort(ret.begin(), ret.end(), std::greater<unsigned>()); in get_resolutions() 196 void print_scan_position(std::ostream& out, const Genesys_Device& dev, ScanHeadId scan_head) in print_scan_position() argument 205 std::ostream& operator<<(std::ostream& out, const Genesys_Device& dev) in operator <<() argument 210 << std::hex in operator <<() 213 << std::dec in operator <<() 231 << " control[0..6]: " << std::hex in operator <<() 237 << static_cast<unsigned>(dev.control[5]) << '\n' << std::dec in operator <<() [all …]
|
/dports/comms/gr-osmosdr/gr-osmosdr-0.2.3/lib/ |
H A D | device.cc | 145 for (std::string dev : fcd_source_c::get_devices()) in find() local 149 for (std::string dev : rtl_source_c::get_devices()) in find() local 153 for (std::string dev : uhd_source_c::get_devices()) in find() local 157 for (std::string dev : sdrplay_source_c::get_devices()) in find() local 161 for (std::string dev : bladerf_source_c::get_devices()) in find() local 165 for (std::string dev : hackrf_source_c::get_devices()) in find() local 173 for (std::string dev : airspy_source_c::get_devices()) in find() local 177 for (std::string dev : airspyhf_source_c::get_devices()) in find() local 181 for (std::string dev : freesrp_source_c::get_devices()) in find() local 185 for (std::string dev : soapy_source_c::get_devices()) in find() local [all …]
|
H A D | sink_impl.cc | 85 std::vector< std::string > dev_types; in sink_impl() 118 std::cerr << std::endl; in sink_impl() 131 std::vector< std::string > dev_list; in sink_impl() 133 for (std::string dev : uhd_sink_c::get_devices()) in sink_impl() local 137 for (std::string dev : bladerf_sink_c::get_devices()) in sink_impl() local 141 for (std::string dev : hackrf_sink_c::get_devices()) in sink_impl() local 145 for (std::string dev : soapy_sink_c::get_devices()) in sink_impl() local 149 for (std::string dev : redpitaya_sink_c::get_devices()) in sink_impl() local 153 for (std::string dev : freesrp_sink_c::get_devices()) in sink_impl() local 157 BOOST_FOREACH( std::string dev, xtrx_sink_c::get_devices() ) in sink_impl() [all …]
|
H A D | source_impl.cc | 197 for (std::string dev : fcd_source_c::get_devices()) in source_impl() local 201 for (std::string dev : rtl_source_c::get_devices()) in source_impl() local 205 for (std::string dev : uhd_source_c::get_devices()) in source_impl() local 209 for (std::string dev : sdrplay_source_c::get_devices()) in source_impl() local 213 for (std::string dev : bladerf_source_c::get_devices()) in source_impl() local 217 for (std::string dev : rfspace_source_c::get_devices()) in source_impl() local 221 for (std::string dev : hackrf_source_c::get_devices()) in source_impl() local 225 for (std::string dev : airspy_source_c::get_devices()) in source_impl() local 229 for (std::string dev : airspyhf_source_c::get_devices()) in source_impl() local 233 for (std::string dev : soapy_source_c::get_devices()) in source_impl() local [all …]
|
/dports/lang/pocl/pocl-1.8/lib/CL/devices/tce/ttasim/ |
H A D | ttasim.cc | 249 out << "#include <pocl_device.h>" << std::endl << std::endl; in notifyKernelRunCommandSent() 291 out << std::endl << "}; " << std::endl << std::endl; in notifyKernelRunCommandSent() 310 out << std::endl << "}; " << std::endl << std::endl; in notifyKernelRunCommandSent() 332 << std::dec << BSWAP(dev_cmd.num_groups[2]) << "}," << std::endl in notifyKernelRunCommandSent() 339 out << std::endl; in notifyKernelRunCommandSent() 429 std::cerr << "### ctrl-C handler" << std::endl; in execute() 432 std::cerr << "### handler exit" << std::endl; in execute() 502 std::cerr << "### ctrl-C handler" << std::endl; in execute() 505 std::cerr << "### handler exit" << std::endl; in execute() 533 dev->max_work_item_sizes[0] = dev->max_work_item_sizes[1] in pocl_ttasim_init() [all …]
|
/dports/science/py-OpenMC/openmc-0.12.2/tests/regression_tests/mgxs_library_no_nuclides/ |
H A D | results_true.dat | 2 material group in nuclide mean std. dev. 6 material group in nuclide mean std. dev. 10 material group in nuclide mean std. dev. 14 material group in nuclide mean std. dev. 18 material group in nuclide mean std. dev. 22 material group in nuclide mean std. dev. 26 material group in nuclide mean std. dev. 34 material group in nuclide mean std. dev. 38 material group in nuclide mean std. dev. 132 material group out nuclide mean std. dev. [all …]
|
/dports/science/openmc/openmc-0.12.2/tests/regression_tests/mgxs_library_no_nuclides/ |
H A D | results_true.dat | 2 material group in nuclide mean std. dev. 6 material group in nuclide mean std. dev. 10 material group in nuclide mean std. dev. 14 material group in nuclide mean std. dev. 18 material group in nuclide mean std. dev. 22 material group in nuclide mean std. dev. 26 material group in nuclide mean std. dev. 34 material group in nuclide mean std. dev. 38 material group in nuclide mean std. dev. 132 material group out nuclide mean std. dev. [all …]
|
/dports/science/py-OpenMC/openmc-0.12.2/tests/regression_tests/mgxs_library_distribcell/ |
H A D | results_true.dat | 1 … sum(distribcell) group in nuclide mean std. dev. 3 … sum(distribcell) group in nuclide mean std. dev. 5 … sum(distribcell) group in nuclide mean std. dev. 7 … sum(distribcell) group in nuclide mean std. dev. 9 … sum(distribcell) group in nuclide mean std. dev. 11 … sum(distribcell) group in nuclide mean std. dev. 13 … sum(distribcell) group in nuclide mean std. dev. 17 … sum(distribcell) group in nuclide mean std. dev. 19 … sum(distribcell) group in nuclide mean std. dev. 47 … sum(distribcell) group out nuclide mean std. dev. [all …]
|
/dports/science/openmc/openmc-0.12.2/tests/regression_tests/mgxs_library_distribcell/ |
H A D | results_true.dat | 1 … sum(distribcell) group in nuclide mean std. dev. 3 … sum(distribcell) group in nuclide mean std. dev. 5 … sum(distribcell) group in nuclide mean std. dev. 7 … sum(distribcell) group in nuclide mean std. dev. 9 … sum(distribcell) group in nuclide mean std. dev. 11 … sum(distribcell) group in nuclide mean std. dev. 13 … sum(distribcell) group in nuclide mean std. dev. 17 … sum(distribcell) group in nuclide mean std. dev. 19 … sum(distribcell) group in nuclide mean std. dev. 47 … sum(distribcell) group out nuclide mean std. dev. [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/util/ |
H A D | contractabi.cpp | 192 std::vector<std::string> value; in abiOut() 200 …tionABI::abiOut(const std::vector<std::string>& topics, const std::string& data, std::vector<std::… in abiOut() 307 dev::bytes rawRef = dev::eth::ABISerialiser<dev::u256>::serialise(inRef); in processDynamicParams() 308 std::string strRef = dev::toHex(rawRef); in processDynamicParams() 346 dev::u160 inData = dev::fromBigEndian<dev::u160, dev::bytes>(dev::fromHex(value)); in abiInBasic() 365 … std::string outData = dev::toString(dev::eth::ABIDeserialiser<dev::string32>::deserialise(o)); in abiOutBasic() 381 dev::s256 outData = dev::u2s(dev::eth::ABIDeserialiser<dev::u256>::deserialise(o)); in abiOutBasic() 391 dev::toBigEndian<dev::u160, dev::bytes>(outData, rawAddress); in abiOutBasic() 420 bool ParameterABI::abiIn(const std::vector<std::string> &value, std::string &data, std::map<int, st… in abiIn() 435 … std::string paramData = dev::toHex(dev::eth::ABISerialiser<std::string>::serialise(_value)); in abiIn() [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/test/qtumtests/ |
H A D | bytecodeexec_tests.cpp | 144 std::vector<dev::Address> addrs = {dev::Address()}; in BOOST_AUTO_TEST_CASE() 155 std::vector<dev::Address> addrs = {dev::Address()}; in BOOST_AUTO_TEST_CASE() 162 std::vector<dev::Address> newAddressGen; in BOOST_AUTO_TEST_CASE() 181 std::vector<dev::Address> newAddressGen; in BOOST_AUTO_TEST_CASE() 200 std::vector<dev::Address> newAddressGen; in BOOST_AUTO_TEST_CASE() 262 std::vector<dev::Address> newAddressGen; in BOOST_AUTO_TEST_CASE() 273 std::vector<dev::Address> addrs; in BOOST_AUTO_TEST_CASE() 301 std::vector<dev::Address> addrs; in BOOST_AUTO_TEST_CASE() 319 std::vector<dev::Address> newAddresses; in BOOST_AUTO_TEST_CASE() 340 std::vector<dev::Address> addrs; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/io/src/depth_sense/ |
H A D | depth_sense_device_manager.cpp | 71 std::string 74 std::lock_guard<std::mutex> lock (mutex_); in captureDevice() 85 std::string 88 std::lock_guard<std::mutex> lock (mutex_); in captureDevice() 96 std::string 99 std::lock_guard<std::mutex> lock (mutex_); in captureDevice() 117 std::lock_guard<std::mutex> lock (mutex_); in reconfigureDevice() 120 dev.grabber->configureDepthNode (dev.depth_node); in reconfigureDevice() 123 dev.grabber->configureColorNode (dev.color_node); in reconfigureDevice() 163 std::lock_guard<std::mutex> lock (mutex_); in releaseDevice() [all …]
|
/dports/cad/sumo/sumo-1.2.0/src/utils/vehicle/ |
H A D | SUMOVehicleParameter.cpp | 62 SUMOVehicleParameter::write(OutputDevice& dev, const OptionsCont& oc, const SumoXMLTag tag, const s… in write() argument 195 dev.closeTag(); in write() 455 std::string 467 std::string 497 std::string 527 std::string 560 std::string 581 std::string 599 std::string 623 std::string [all …]
|
/dports/cad/sumo/sumo-1.2.0/src/netimport/ |
H A D | NIImporter_RobocupRescue.cpp | 62 std::vector<std::string> files = oc.getStringVector("robocup-dir"); in loadNetwork() 107 dev >> noNodes; in loadNodes() 114 dev >> id; in loadNodes() 115 dev >> posX; in loadNodes() 119 std::vector<int> edges; in loadNodes() 129 std::vector<int> turns; in loadNodes() 136 std::vector<std::pair<int, int> > conns; in loadNodes() 144 std::vector<std::vector<int> > times; in loadNodes() 175 dev >> noEdges; in loadEdges() 176 std::cout << "Expected edge number: " << noEdges << std::endl; in loadEdges() [all …]
|