- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for removeMap (0.07 sec)
-
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* visit elements during a traversal once and only once. */ @VisibleForTesting @CanIgnoreReturnValue @CheckForNull MoveDesc<E> removeAt(int index) { checkPositionIndex(index, size); modCount++; size--; if (size == index) { queue[size] = null; return null; } E actualLastElement = elementData(size);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* visit elements during a traversal once and only once. */ @VisibleForTesting @CanIgnoreReturnValue @CheckForNull MoveDesc<E> removeAt(int index) { checkPositionIndex(index, size); modCount++; size--; if (size == index) { queue[size] = null; return null; } E actualLastElement = elementData(size);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
if (value == 8) { iter.remove(); } } assertIntact(q); assertThat(result).containsExactly(1, 15, 13, 8, 14); } /** * This tests a special case of the removeAt() call. Moving an element sideways on the heap could * break the invariants. Sometimes we need to bubble an element up instead of trickling down. See * implementation. */ public void testInvalidatingRemove() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
if (value == 8) { iter.remove(); } } assertIntact(q); assertThat(result).containsExactly(1, 15, 13, 8, 14); } /** * This tests a special case of the removeAt() call. Moving an element sideways on the heap could * break the invariants. Sometimes we need to bubble an element up instead of trickling down. See * implementation. */ public void testInvalidatingRemove() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
}, } for _, tc := range tcs { t.Run(tc.name, func(t *testing.T) { var out bytes.Buffer client := fake.NewClientset(tc.webhooksBefore.DeepCopyObject(), tc.namespaces.DeepCopyObject()) err := removeTag(context.Background(), client, tc.tag, tc.skipConfirmation, &out) if tc.error == "" && err != nil { t.Fatalf("expected no error, got %v", err) } if tc.error != "" { if err == nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
fatalf("cannot load DWARF output from %s: %v", gccTmp(), err) } bo := f.ByteOrder symtab, err := f.Symbols() if err == nil { // Check for use of -fsanitize=hwaddress (issue 53285). removeTag := func(v uint64) uint64 { return v } if goarch == "arm64" { for i := range symtab { if symtab[i].Name == "__hwasan_init" { // -fsanitize=hwaddress on ARM // uses the upper byte of a
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0)