- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for valuePointer (0.2 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSource.java
final List<Element<T>> backingList; final Spec<ValuePointer<?>> acceptanceSpec; int nextIndex = -1; int nextSubIndex = -1; int previousIndex = -1; int previousSubIndex = -1; T next; int expectedModCount = modCount; RealizedElementCollectionIterator(List<Element<T>> backingList, Spec<ValuePointer<?>> acceptanceSpec) { this.backingList = backingList;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 20:04:06 UTC 2024 - 13.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/ListElementSource.java
import java.util.ListIterator; import java.util.NoSuchElementException; public class ListElementSource<T> extends AbstractIterationOrderRetainingElementSource<T> implements IndexedElementSource<T> { private static final Spec<ValuePointer<?>> ALWAYS_ACCEPT = pointer -> true; @Override public Iterator<T> iterator() { realizePending(); return listIterator(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 15:12:15 UTC 2023 - 7K bytes - Viewed (0) -
test/escape_unsafe.go
} // (5) Conversion of the result of reflect.Value.Pointer or // reflect.Value.UnsafeAddr from uintptr to Pointer. // BAD: should be "leaking param: p to result ~r0 level=0$" func valuePointer(p *int) unsafe.Pointer { // ERROR "leaking param: p$" return unsafe.Pointer(reflect.ValueOf(p).Pointer()) } // BAD: should be "leaking param: p to result ~r0 level=0$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 17:25:59 UTC 2022 - 2.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/IterationOrderRetainingSetElementSource.java
import java.util.Iterator; import java.util.List; import java.util.Set; public class IterationOrderRetainingSetElementSource<T> extends AbstractIterationOrderRetainingElementSource<T> { private static final Spec<ValuePointer<?>> NO_DUPLICATES = pointer -> !pointer.getElement().isDuplicate(pointer.getIndex()); /** * Tracks the subset of values added with add() (without a Provider), allowing us to filter out duplicates
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 15:12:15 UTC 2023 - 3.9K bytes - Viewed (0)