- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for enumerable (0.1 sec)
-
guava-tests/test/com/google/common/collect/IteratorsTest.java
Enumeration<Integer> enumer = enumerate(); Iterator<Integer> iter = Iterators.forEnumeration(enumer); assertFalse(iter.hasNext()); assertThrows(NoSuchElementException.class, () -> iter.next()); } @SuppressWarnings("DoNotCall") public void testForEnumerationSingleton() { Enumeration<Integer> enumer = enumerate(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
try ( SmbFile smbFile = new SmbFile("smb://" + getRequiredProperty(TestProperties.TEST_DOMAIN_SHORT), ctx) ) { // if domain is resolved through DNS this will be treated as a server and will enumerate shares instead Assume.assumeTrue("Not workgroup", SmbConstants.TYPE_WORKGROUP == smbFile.getType()); try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Enumeration<Integer> enumer = enumerate(); Iterator<Integer> iter = Iterators.forEnumeration(enumer); assertFalse(iter.hasNext()); assertThrows(NoSuchElementException.class, () -> iter.next()); } @SuppressWarnings("DoNotCall") public void testForEnumerationSingleton() { Enumeration<Integer> enumer = enumerate(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
val route = selection.next() assertRoute(route, address, proxyA, dns.lookup(PROXY_A_HOST, 0), PROXY_A_PORT) routeDatabase.failed(route) routeSelector = newRouteSelector(address) // Confirm we enumerate both proxies, giving preference to the route from ProxyB. val selection2 = routeSelector.next() dns.assertRequests(PROXY_A_HOST, PROXY_B_HOST)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
searchAttributes = dff.attributes; } SmbResourceLocator locator = parent.getLocator(); if ( locator.getURL().getHost().isEmpty() ) { // smb:// -> enumerate servers through browsing Address addr; try { addr = locator.getAddress(); } catch ( CIFSException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
) factory.newConnection(pool, routeA1) assertThat(realTaskRunner.activeQueues()).isNotEmpty() Thread.sleep(100) val threads = arrayOfNulls<Thread>(Thread.activeCount() * 2) Thread.enumerate(threads) for (t in threads) { if (t != null && t.name == "OkHttp TaskRunner") { t.interrupt() } } Thread.sleep(100) assertThat(realTaskRunner.activeQueues()).isEmpty()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jun 22 16:06:35 UTC 2024 - 12.8K bytes - Viewed (0) -
RELEASE.md
`tf.data.Dataset.interleave` to the number of schedulable CPU cores. * Promoting `tf.data.experimental.enumerate_dataset` to core as `tf.data.Dataset.enumerate`. * Promoting `tf.data.experimental.unbatch` to core as `tf.data.Dataset.unbatch`. * Adds option for introducing slack in the pipeline to reduce CPU
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Oct 22 14:33:53 UTC 2024 - 735.3K bytes - Viewed (0)