- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 855 for Element (0.05 seconds)
-
internal/lru/lru.go
// Next and previous pointers in the doubly-linked list of elements. // To simplify the implementation, internally a list l is implemented // as a ring, such that &l.root is both the next element of the last // list element (l.Back()) and the previous element of the first list // element (l.Front()). next, prev *Entry[K, V] // The list to which this element belongs. list *LruList[K, V]
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 12.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
/** * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces; * if some elements are too small, they will be aggregated by smallElementAggregateFunction. * * @param list the list to split, must be ordered by size desc * @param toIntFunction the function used to map the element to its "size"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 5.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java
} } warningsRenderer.renderTo(propertyDoc, "property", section); for (Element element : propertyDoc.getComment()) { section.appendChild(document.importNode(element, true)); } if (!propertyDoc.getAdditionalValues().isEmpty()) { Element segmentedlist = document.createElement("segmentedlist"); section.appendChild(segmentedlist);Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 3.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
import java.util.NoSuchElementException; import org.jspecify.annotations.Nullable; /** * This class provides a skeletal implementation of the {@code Iterator} interface for sequences * whose next element can always be derived from the previous element. Null elements are not * supported, nor is the {@link #remove()} method. * * <p>Example: * * {@snippet : * Iterator<Integer> powersOfTwo = * new AbstractSequentialIterator<Integer>(1) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/SingletonImmutableSet.java
final transient E element; SingletonImmutableSet(E element) { this.element = Preconditions.checkNotNull(element); } @Override public int size() { return 1; } @Override public boolean contains(@Nullable Object target) { return element.equals(target); } @Override public UnmodifiableIterator<E> iterator() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
Map<Object, Object> context = Collections.emptyMap(); for (Plugin element : src) { Object key = getPluginKey(element); managedPlugins.put(key, element); } for (Plugin element : tgt) { Object key = getPluginKey(element); Plugin managedPlugin = managedPlugins.get(key);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.5K bytes - Click Count (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 */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ExtensionBlocksSummaryRenderer.java
} Document document = parent.getOwnerDocument(); Element section = document.createElement("section"); parent.appendChild(section); Element title = document.createElement("title"); section.appendChild(title); title.appendChild(document.createTextNode("Script blocks added by the ")); Element literal = document.createElement("literal"); title.appendChild(literal);Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.6K bytes - Click Count (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));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 7.4K bytes - Click Count (0) -
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()); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0)