Home
last modified time | relevance | path

Searched refs:device2 (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/dports/science/py-chainer/chainer-7.8.0/chainerx_cc/chainerx/
H A Ddevice_test.cc76 Device& device2 = backend2.GetDevice(2); in TEST_F() local
79 SetDefaultDevice(&device2); in TEST_F()
113 Device& device2 = backend2.GetDevice(2); in TEST_F() local
114 DeviceScope scope(device2); in TEST_F()
115 EXPECT_EQ(&device2, &GetDefaultDevice()); in TEST_F()
122 Device& device2 = backend2.GetDevice(2); in TEST_F() local
123 SetDefaultDevice(&device2); in TEST_F()
127 Device& device2 = backend2.GetDevice(2); in TEST_F() local
129 DeviceScope scope(device2); in TEST_F()
132 SetDefaultDevice(&device2); in TEST_F()
[all …]
/dports/devel/sdl2pp/libSDL2pp-0.16.1/tests/
H A Dlive_audiodevice.cc103 AudioDevice device2 = AudioDevice(NullOpt, 0, spec); variable
108 device2.QueueAudio(zeroes.data(), buflen);
112 EXPECT_EQUAL(device2.GetQueuedAudioSize(), buflen);
114 device2.Pause(false);
118 EXPECT_TRUE(device2.GetQueuedAudioSize() < buflen);
120 device2.ClearQueuedAudio();
121 EXPECT_EQUAL(device2.GetQueuedAudioSize(), (Uint32)0);
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/fixtures/
H A Dmulti_root_device_fixture.h24 device2 = deviceFactory->rootDevices[2]; in SetUp()
26 cl_device_id devices[] = {device1, device2}; in SetUp()
37 MockClDevice *device2 = nullptr; variable
46 device2 = deviceFactory->rootDevices[2]; in SetUp()
48 cl_device_id devices[] = {device1, device2, deviceFactory->subDevices[2]}; in SetUp()
58 MockClDevice *device2 = nullptr; variable
/dports/devel/juce/JUCE-f37e9a1/modules/juce_blocks_basics/topology/
H A Djuce_Topology.h32 Block::UID device1, device2; member
79 connectedDeviceUID = connection.device2; in getDirectlyConnectedBlocks()
81 else if (connection.device2 == blockUID) in getDirectlyConnectedBlocks()
98 if ((connection.device1 == uid1 && connection.device2 == uid2) in getConnectionsBetweenBlocks()
99 || (connection.device1 == uid2 && connection.device2 == uid1)) in getConnectionsBetweenBlocks()
113 if (connection.device1 == uid || connection.device2 == uid) in getNumberOfConnectionsToBlock()
H A Djuce_PhysicalTopologySource.cpp191 return (device1 == other.device1 && device2 == other.device2 in operator ==()
194 || (device1 == other.device2 && device2 == other.device1 in operator ==()
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/connections/
H A Ddialqueue_test.go27 {id: device2, lastSeen: now.Add(-50 * time.Hour)}, // 3
31 expected := []protocol.ShortID{device4.Short(), device1.Short(), device3.Short(), device2.Short()}
47 {id: device2, lastSeen: now.Add(-50 * 24 * time.Hour)}, // 2, 3
52 …expected1 := []protocol.ShortID{device4.Short(), device1.Short(), device3.Short(), device2.Short()}
53 …expected2 := []protocol.ShortID{device4.Short(), device1.Short(), device2.Short(), device3.Short()}
83 {id: device2, lastSeen: now.Add(-3 * time.Hour)}, // 0
88 …expected1 := []protocol.ShortID{device2.Short(), device1.Short(), device3.Short(), device4.Short()}
89 …expected2 := []protocol.ShortID{device2.Short(), device1.Short(), device4.Short(), device3.Short()}
H A Dlimiter_test.go23 var device1, device2, device3, device4 protocol.DeviceID var
43 dev2Conf = newDeviceConfiguration(wrapper, device2, "device2")
69 device2: rate.NewLimiter(rate.Limit(device2ReadLimit*1024), limiterBurstSize),
75 device2: rate.NewLimiter(rate.Limit(device2WriteLimit*1024), limiterBurstSize),
111 device2: rate.NewLimiter(rate.Limit(dev2ReadLimit*1024), limiterBurstSize),
116 device2: rate.NewLimiter(rate.Limit(dev2WriteLimit*1024), limiterBurstSize),
135 device2: rate.NewLimiter(rate.Limit(dev2Conf.MaxRecvKbps*1024), limiterBurstSize),
139 device2: rate.NewLimiter(rate.Limit(dev2Conf.MaxSendKbps*1024), limiterBurstSize),
164 device2: rate.NewLimiter(rate.Limit(dev2Conf.MaxRecvKbps*1024), limiterBurstSize),
171 device2: rate.NewLimiter(rate.Limit(dev2Conf.MaxSendKbps*1024), limiterBurstSize),
[all …]
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/model/
H A Dmodel_test.go397 DeviceID: device2,
406 {DeviceID: device2},
415 {DeviceID: device2},
975 m.ClusterConfig(device2, createClusterConfig(device2, id))
996 m.ClusterConfig(device2, createClusterConfig(device2, id))
1380 clusterConfig(device2, createClusterConfig(device2, id))
1422 clusterConfig(device2, createClusterConfig(device2, id))
2184 files.Drop(device2)
2224 {ID: device2},
2236 {ID: device2},
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/device/usb/mojo/
H A Ddevice_manager_impl_unittest.cc112 scoped_refptr<MockUsbDevice> device2 = in TEST_F() local
117 mock_usb_service_->AddDevice(device2); in TEST_F()
132 guids.insert(device2->guid()); in TEST_F()
182 scoped_refptr<MockUsbDevice> device2 = in TEST_F() local
209 mock_usb_service_->AddDevice(device2); in TEST_F()
212 mock_usb_service_->RemoveDevice(device2); in TEST_F()
222 .WillOnce(ExpectGuidAndThen(device2->guid(), barrier)); in TEST_F()
226 .WillOnce(ExpectGuidAndThen(device2->guid(), barrier)); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/device/usb/mojo/
H A Ddevice_manager_impl_unittest.cc111 scoped_refptr<MockUsbDevice> device2 = in TEST_F() local
116 mock_usb_service_->AddDevice(device2); in TEST_F()
131 guids.insert(device2->guid()); in TEST_F()
181 scoped_refptr<MockUsbDevice> device2 = in TEST_F() local
208 mock_usb_service_->AddDevice(device2); in TEST_F()
211 mock_usb_service_->RemoveDevice(device2); in TEST_F()
221 .WillOnce(ExpectGuidAndThen(device2->guid(), barrier)); in TEST_F()
225 .WillOnce(ExpectGuidAndThen(device2->guid(), barrier)); in TEST_F()
/dports/net/mpich/mpich-3.4.3/modules/ucx/src/ucs/sys/
H A Dtopo.c111 ucs_sys_device_t device2, in ucs_topo_get_distance() argument
119 (device2 == UCS_SYS_DEVICE_ID_UNKNOWN) || in ucs_topo_get_distance()
124 if (device1 == device2) { in ucs_topo_get_distance()
130 ucs_assert(device2 < UCS_TOPO_MAX_SYS_DEVICES); in ucs_topo_get_distance()
133 bus2 = ucs_topo_ctx.sys_dev_to_bus_lookup.bus_arr[device2].bus; in ucs_topo_get_distance()
/dports/multimedia/libvdpau-va-gl/libvdpau-va-gl-0.4.2/tests/
H A Dtest-010.c11 VdpDevice device2; variable
24 device2 = create_vdp_device(); in main()
30 ASSERT_OK(vdpDeviceDestroy(device2)); in main()
/dports/net-mgmt/netbox/netbox-3.0.12/netbox/dcim/tests/
H A Dtest_models.py49 device2 = Device.objects.create(
389 device2 = Device(
395 device2.full_clean()
396 device2.save()
410 device2 = Device(
419 device2.full_clean()
424 device2.tenant = tenant
428 device2.full_clean()
430 device2.tenant = None
433 device2.full_clean()
[all …]
/dports/comms/libticables2/libticables2-1.3.5/src/linux/
H A Dlink_tcpc.c94 char * device2 = strdup(device); in tcpc_set_device() local
95 if (device2 != NULL) in tcpc_set_device()
98 h->device = device2; in tcpc_set_device()
H A Dlink_tcps.c94 char * device2 = strdup(device); in tcps_set_device() local
95 if (device2 != NULL) in tcps_set_device()
98 h->device = device2; in tcps_set_device()
/dports/graphics/krita/krita-4.4.8/libs/image/tests/
H A Dkis_async_merger_test.cpp72 KisPaintDeviceSP device2 = new KisPaintDevice(colorSpace); in testMerger() local
74 device2->convertFromQImage(sourceImage2, 0, 0, 0); in testMerger()
82 KisLayerSP paintLayer2 = new KisPaintLayer(image, "paint2", OPACITY_OPAQUE_U8, device2); in testMerger()
270 KisPaintDeviceSP device2 = new KisPaintDevice(colorSpace); in testSubgraphingWithoutUpdatingParent() local
271 device2->fill(image->bounds(), KoColor(Qt::black, colorSpace)); in testSubgraphingWithoutUpdatingParent()
272 KisLayerSP paintLayer2 = new KisPaintLayer(image, "paint2", 128, device2); in testSubgraphingWithoutUpdatingParent()
338 KisPaintDeviceSP device2 = new KisPaintDevice(colorSpace); in testFullRefreshForDependentNodes() local
339 device2->fill(fillRect, KoColor(Qt::white, colorSpace)); in testFullRefreshForDependentNodes()
340 KisLayerSP paintLayer2 = new KisPaintLayer(image, "paint2", OPACITY_OPAQUE_U8, device2); in testFullRefreshForDependentNodes()
342 device2->fill(QRect(63, 0, 1, 64), KoColor(Qt::green, colorSpace)); in testFullRefreshForDependentNodes()
/dports/net-mgmt/netdisco/App-Netdisco-2.047002/share/views/ajax/admintask/
H A Dtopology.tt49 …r-cell"><a class="nd_linkcell" href="[% uri_for('/device') | none %]?q=[% row.device2.ip | uri %]">
50 [% (row.device2.dns || row.device2.name || row.device2.ip) | html_entity %]</a></td>
69 …<li><p class="text-info">[% (row.device2.dns || row.device2.name || row.device2.ip) | html_entity …
/dports/multimedia/phonon-designerplugin/phonon-4.11.1/phonon/
H A Daudiooutput.cpp469 void AudioOutputPrivate::handleAutomaticDeviceChange(const AudioOutputDevice &device2, DeviceChange… in handleAutomaticDeviceChange() argument
473 device = device2; in handleAutomaticDeviceChange()
474 emit q->outputDeviceChanged(device2); in handleAutomaticDeviceChange()
478 if (g_lastFallback.first != device1.index() || g_lastFallback.second != device2.index()) { in handleAutomaticDeviceChange()
482 … "Falling back to <b>%2</b>.</html>").arg(device1.name()).arg(device2.name()) /*: in handleAutomaticDeviceChange()
488 g_lastFallback.second = device2.index(); in handleAutomaticDeviceChange()
495 … "which just became available and has higher preference.</html>").arg(device2.name()); in handleAutomaticDeviceChange()
513 … has higher preference or is specifically configured for this stream.</html>").arg(device2.name()); in handleAutomaticDeviceChange()
520 … "Falling back to <b>%2</b>.</html>").arg(device1.name()).arg(device2.name()); in handleAutomaticDeviceChange()
/dports/multimedia/phonon/phonon-4.11.1/phonon/
H A Daudiooutput.cpp469 void AudioOutputPrivate::handleAutomaticDeviceChange(const AudioOutputDevice &device2, DeviceChange… in handleAutomaticDeviceChange() argument
473 device = device2; in handleAutomaticDeviceChange()
474 emit q->outputDeviceChanged(device2); in handleAutomaticDeviceChange()
478 if (g_lastFallback.first != device1.index() || g_lastFallback.second != device2.index()) { in handleAutomaticDeviceChange()
482 … "Falling back to <b>%2</b>.</html>").arg(device1.name()).arg(device2.name()) /*: in handleAutomaticDeviceChange()
488 g_lastFallback.second = device2.index(); in handleAutomaticDeviceChange()
495 … "which just became available and has higher preference.</html>").arg(device2.name()); in handleAutomaticDeviceChange()
513 … has higher preference or is specifically configured for this stream.</html>").arg(device2.name()); in handleAutomaticDeviceChange()
520 … "Falling back to <b>%2</b>.</html>").arg(device1.name()).arg(device2.name()); in handleAutomaticDeviceChange()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/phonon/phonon/
H A Daudiooutput.cpp429 void AudioOutputPrivate::handleAutomaticDeviceChange(const AudioOutputDevice &device2, DeviceChange… in handleAutomaticDeviceChange() argument
433 device = device2; in handleAutomaticDeviceChange()
434 emit q->outputDeviceChanged(device2); in handleAutomaticDeviceChange()
441 if (g_lastFallback.first != device1.index() || g_lastFallback.second != device2.index()) { in handleAutomaticDeviceChange()
445 … "Falling back to <b>%2</b>.</html>").arg(device1.name()).arg(device2.name()) /*: in handleAutomaticDeviceChange()
451 g_lastFallback.second = device2.index(); in handleAutomaticDeviceChange()
458 … "which just became available and has higher preference.</html>").arg(device2.name()); in handleAutomaticDeviceChange()
472 … has higher preference or is specifically configured for this stream.</html>").arg(device2.name()); in handleAutomaticDeviceChange()
479 … "Falling back to <b>%2</b>.</html>").arg(device1.name()).arg(device2.name()); in handleAutomaticDeviceChange()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/device/bluetooth/
H A Dbluetooth_device_unittest.cc373 device2->GetServiceData());
375 device2->GetServiceDataUUIDs());
391 device2->GetServiceData());
393 device2->GetServiceDataUUIDs());
398 EXPECT_TRUE(device2->GetServiceData().empty());
399 EXPECT_TRUE(device2->GetServiceDataUUIDs().empty());
400 EXPECT_TRUE(device2->GetManufacturerData().empty());
415 device2->GetServiceData());
418 device2->GetServiceDataUUIDs());
438 EXPECT_TRUE(device2->GetServiceData().empty());
[all …]
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/fd-net-device/examples/
H A Ddummy-network.cc61 Ptr<FdNetDevice> device2 = d2->GetObject<FdNetDevice> (); in main() local
62 device2->SetFileDescriptor (sv[1]); in main()
85 device2->Stop (Seconds (5)); in main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/device/bluetooth/
H A Dbluetooth_device_unittest.cc375 device2->GetServiceData());
377 device2->GetServiceDataUUIDs());
393 device2->GetServiceData());
395 device2->GetServiceDataUUIDs());
400 EXPECT_TRUE(device2->GetServiceData().empty());
401 EXPECT_TRUE(device2->GetServiceDataUUIDs().empty());
402 EXPECT_TRUE(device2->GetManufacturerData().empty());
417 device2->GetServiceData());
420 device2->GetServiceDataUUIDs());
440 EXPECT_TRUE(device2->GetServiceData().empty());
[all …]
/dports/graphics/libdrm/libdrm-2.4.110/tests/amdgpu/
H A Dhotunplug_tests.c359 amdgpu_device_handle device2; in amdgpu_hotunplug_with_exported_fence() local
369 r = amdgpu_device_initialize(drm_amdgpu[1], &major2, &minor2, &device2); in amdgpu_hotunplug_with_exported_fence()
413 CU_ASSERT_EQUAL(amdgpu_cs_import_syncobj(device2, shared_fd, &sync_obj_handle2), 0); in amdgpu_hotunplug_with_exported_fence()
425 CU_ASSERT_EQUAL(amdgpu_cs_syncobj_wait(device2, &sync_obj_handle2, 1, 100000000, 0, NULL), 0); in amdgpu_hotunplug_with_exported_fence()
427 CU_ASSERT_EQUAL(amdgpu_cs_destroy_syncobj(device2, sync_obj_handle2), 0); in amdgpu_hotunplug_with_exported_fence()
429 amdgpu_device_deinitialize(device2); in amdgpu_hotunplug_with_exported_fence()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/test/chromedriver/chrome/
H A Ddevice_manager_unittest.cc133 std::unique_ptr<Device> device2; in TEST() local
136 ASSERT_TRUE(device_manager.AcquireDevice(&device2).IsOk()); in TEST()
147 std::unique_ptr<Device> device2; in TEST() local
150 ASSERT_FALSE(device_manager.AcquireSpecificDevice("a", &device2).IsOk()); in TEST()
153 ASSERT_TRUE(device_manager.AcquireSpecificDevice("a", &device2).IsOk()); in TEST()

12345678910>>...12