- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 517 for elemLen (0.04 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
</project> """; Document document = new Parser().parse(pomXml); ModelVersionUtils.updateModelVersion(document, targetVersion); Element root = document.root(); Element modelVersionElement = root.child("modelVersion").orElse(null); assertEquals(targetVersion, modelVersionElement.textContentTrimmed()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 19.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
} @Override public @Nullable E peek() { assertTrue(Thread.holdsLock(mutex)); return delegate.peek(); } @Override public E element() { assertTrue(Thread.holdsLock(mutex)); return delegate.element(); } @Override public Iterator<E> iterator() { // We explicitly don't lock for iterator() assertFalse(Thread.holdsLock(mutex));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingQueue.java
} } /** * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link * #element}, you may wish to override {@link #peek} to forward to this implementation. * * @since 7.0 */ protected @Nullable E standardPeek() { try { return element(); } catch (NoSuchElementException caught) { return null; } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
private static final @Nullable String NE = null; private static <E extends @Nullable Object> Entry<E> entry(E element, int count) { return Multisets.immutableEntry(element, count); } private static <E extends @Nullable Object> Entry<E> control(E element, int count) { return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next(); } public void testToString() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
} @Override public @Nullable E peek() { assertTrue(Thread.holdsLock(mutex)); return delegate.peek(); } @Override public E element() { assertTrue(Thread.holdsLock(mutex)); return delegate.element(); } @Override public Iterator<E> iterator() { // We explicitly don't lock for iterator() assertFalse(Thread.holdsLock(mutex));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingQueue.java
} } /** * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link * #element}, you may wish to override {@link #peek} to forward to this implementation. * * @since 7.0 */ protected @Nullable E standardPeek() { try { return element(); } catch (NoSuchElementException caught) { return null; } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
assertTrue(itr.hasNext(), "Should have first element ready"); SmbResource r1 = itr.next(); assertNotNull(r1, "First adapted resource must not be null"); // For workgroup/server entries, names end with '/' assertTrue(r1.getName().endsWith("/"), "Name should end with '/'"); assertTrue(itr.hasNext(), "Should have second element ready"); SmbResource r2 = itr.next();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
List<Object> list = new ArrayList<>(equalityGroup.length); for (int i = 0; i < equalityGroup.length; i++) { Object element = equalityGroup[i]; if (element == null) { throw new NullPointerException("at index " + i); } list.add(element); } equalityGroups.add(list); return this; } /** Run tests on equals method, throwing a failure on an invalid test */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TestUtil.java
/** Utility methods used in various common.graph tests. */ @NullUnmarked final class TestUtil { static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph"; static final String ERROR_NODE_NOT_IN_GRAPH = "Should not be allowed to pass a node that is not an element of the graph."; static final String ERROR_ELEMENT_REMOVED = "used to generate this set"; private static final String NODE_STRING = "Node";Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
return@binarySearch target.compareTo(b0b1) } return when { offset >= 0 -> offset * 4 // This section was found by binary search. else -> (-offset - 2) * 4 // Not found? Use the preceding element. } } /** * Binary search [ranges] for [codePoint], looking at its bottom 7 bits. * * This binary searches over 4-byte entries, and so it needs to adjust binary search indices
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0)