- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for i2 (0.25 sec)
-
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
private final IntegerSubscriber i2 = new IntegerSubscriber("i2"); private final IntegerSubscriber i3 = new IntegerSubscriber("i3"); private final ImmutableList<Subscriber> integerSubscribers = ImmutableList.of( subscriber(bus, i1, "handleInteger", Integer.class), subscriber(bus, i2, "handleInteger", Integer.class),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 27 15:41:25 GMT 2022 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java
private final IntegerSubscriber i2 = new IntegerSubscriber("i2"); private final IntegerSubscriber i3 = new IntegerSubscriber("i3"); private final ImmutableList<Subscriber> integerSubscribers = ImmutableList.of( subscriber(bus, i1, "handleInteger", Integer.class), subscriber(bus, i2, "handleInteger", Integer.class),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 27 15:41:25 GMT 2022 - 5.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
List<Restriction> restrictions = new ArrayList<>(r1.size() + r2.size()); Iterator<Restriction> i1 = r1.iterator(); Iterator<Restriction> i2 = r2.iterator(); Restriction res1 = i1.next(); Restriction res2 = i2.next(); boolean done = false; while (!done) { if (res1.getLowerBound() == null || res2.getUpperBound() == null
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 18.9K bytes - Viewed (0) -
tests/test_infer_param_optionality.py
@item_router.get("/") def get_items(user_id: Optional[str] = None): if user_id is None: return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}] else: return [{"item_id": "i2", "user_id": user_id}] @item_router.get("/{item_id}") def get_item(item_id: str, user_id: Optional[str] = None): if user_id is None: return {"item_id": item_id} else:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
// Test & Verify Iterator<String> i1 = Iterables.consumingIterable(list).iterator(); Iterator<String> i2 = Iterables.consumingIterable(list).iterator(); i1.next(); try { i2.next(); fail("Concurrent modification should throw an exception."); } catch (ConcurrentModificationException cme) { // Pass } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
// Test & Verify Iterator<String> i1 = Iterables.consumingIterable(list).iterator(); Iterator<String> i2 = Iterables.consumingIterable(list).iterator(); i1.next(); try { i2.next(); fail("Concurrent modification should throw an exception."); } catch (ConcurrentModificationException cme) { // Pass } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
List<String> list = Lists.newArrayList("a", "b"); // Test & Verify Iterator<String> i1 = Iterators.consumingIterator(list.iterator()); Iterator<String> i2 = Iterators.consumingIterator(list.iterator()); i1.next(); try { i2.next(); fail("Concurrent modification should throw an exception."); } catch (ConcurrentModificationException cme) { // Pass } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
List<String> list = Lists.newArrayList("a", "b"); // Test & Verify Iterator<String> i1 = Iterators.consumingIterator(list.iterator()); Iterator<String> i2 = Iterators.consumingIterator(list.iterator()); i1.next(); try { i2.next(); fail("Concurrent modification should throw an exception."); } catch (ConcurrentModificationException cme) { // Pass } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
doc/go1.17_spec.html
a select with only <code>nil</code> channels and no default case blocks forever. </p> <pre> var a []int var c, c1, c2, c3, c4 chan int var i1, i2 int select { case i1 = <-c1: print("received ", i1, " from c1\n") case c2 <- i2: print("sent ", i2, " to c2\n") case i3, ok := (<-c3): // same as: i3, ok := <-c3 if ok { print("received ", i3, " from c3\n") } else {
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0)