- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 457 for Jake (0.33 sec)
-
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again assertFalse(iter.hasNext()); try { iter.next(); fail("no exception thrown"); } catch (NoSuchElementException expected) { } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again assertFalse(iter.hasNext()); try { iter.next(); fail("no exception thrown"); } catch (NoSuchElementException expected) { } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
assertThat(Comparators.max(1, 2, reverse)).isEqualTo(1); assertThat(Comparators.max(2, 1, reverse)).isEqualTo(1); } /** * Fails compilation if the signature of min and max is changed to take {@code Comparator<T>} * instead of {@code Comparator<? super T>}. */ public void testMinMaxWithSupertypeComparator() { Comparator<Number> numberComparator =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 5.6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 7.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
* * @return A map of lifecycles, indexed on id */ public Map<String, Lifecycle> getPhaseToLifecycleMap() { // If people are going to make their own lifecycles then we need to tell people how to namespace them correctly // so that they don't interfere with internally defined lifecycles. Map<String, Lifecycle> phaseToLifecycleMap = new HashMap<>();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
@Override public int hashCode() { return Objects.hashCode(map, defaultValue); } @Override public String toString() { // TODO(cpovirk): maybe remove "defaultValue=" to make this look like the method call does return "Functions.forMap(" + map + ", defaultValue=" + defaultValue + ")"; } private static final long serialVersionUID = 0; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparatorsTest.java
assertThat(Comparators.max(1, 2, reverse)).isEqualTo(1); assertThat(Comparators.max(2, 1, reverse)).isEqualTo(1); } /** * Fails compilation if the signature of min and max is changed to take {@code Comparator<T>} * instead of {@code Comparator<? super T>}. */ public void testMinMaxWithSupertypeComparator() { Comparator<Number> numberComparator =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
initCollectionWithNullElement(); assertTrue( "removeAll(containsNull) should return true", collection.removeAll(Collections.singleton(null))); // TODO: make this work with MinimalCollection } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveAll_containsWrongType() { try { assertFalse(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
// Looks like the failure case also is just reflecting back the signature we sent // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response) // make sure that validation is performed in any case Smb2SigningDigest dgst = getDigest(); if ( dgst != null && !isAsync() && ( getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_OK ) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} /** * Each instance of MinMaxPriorityQueue encapsulates two instances of Heap: a min-heap and a * max-heap. Conceptually, these might each have their own array for storage, but for efficiency's * sake they are stored interleaved on alternate heap levels in the same array (MMPQ.queue). */ @WeakOuter class Heap { final Ordering<E> ordering;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0)