- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,574 for removeAt (0.4 seconds)
-
guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
runConcurrentlyMutatedTest(elements(1), ops(remove(), add(2)), wrap); runConcurrentlyMutatedTest(elements(1, 2), ops(remove(), remove()), wrap); runConcurrentlyMutatedTest(elements(1, 2), ops(remove(), nop()), wrap); runConcurrentlyMutatedTest(elements(1, 2), ops(remove(), add(3)), wrap); runConcurrentlyMutatedTest(elements(1, 2), ops(nop(), remove()), wrap);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
/* Should complain on attempt to remove() after peek(). */ assertThrows(IllegalStateException.class, () -> peekingIterator.remove()); assertEquals( "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek()); /* Should recover to be able to remove() after next(). */ assertEquals("B", peekingIterator.next()); peekingIterator.remove();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
cmd/object-api-deleteobject_test.go
pathToDelete string objectsAfterDelete []string }{ // Test 1: removes an object and checks it is the only object // that has been deleted. { "bucket1", []objectUpload{{"object0", "content"}, {"object1", "content"}}, "object0", []string{"object1"}, }, // Test 2: remove an object inside a directory and checks it is deleted // with its parent since this former becomes empty {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 29 01:40:52 GMT 2024 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multisets.java
} @Override public void remove() { checkRemove(canRemove); if (totalCount == 1) { entryIterator.remove(); } else { /* * requireNonNull is safe because canRemove is set to true only after we initialize * currentEntry (which we never subsequently clear). */ multiset.remove(requireNonNull(currentEntry).getElement()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
} /** * Removes the mapping for a key from this map if it is present. * * @param key the key whose mapping is to be removed from the map * @return the previous value associated with key, or null if no mapping existed */ @Override public Object remove(final Object key) { return parent.remove(key); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
EventListenerAdapter() .apply { listeners += ::logEvent } val eventListener: EventListener get() = eventListenerAdapter /** Events that haven't yet been removed. */ val eventSequence: Deque<CallEvent> = ConcurrentLinkedDeque() /** The full set of events, used to match starts with ends. */ private val eventsForMatching = ConcurrentLinkedDeque<CallEvent>()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
K key = keys[entry]; removeEntryValueHashKnown(entry, valueHash); return key; } } /** Removes the entry at the specified index with no additional data. */ private void removeEntry(int entry) { removeEntryKeyHashKnown(entry, smearedHash(keys[entry])); } /** Removes the entry at the specified index, given the hash of its key and value. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
src/main/java/jcifs/SmbTransportPool.java
boolean exclusive, boolean forceSigning); /** * Removes a transport from the pool. * * @param trans the transport to remove */ void removeTransport(SmbTransport trans); /** * Closes the pool and all connections in it *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
recurse(level + 1); } } } private void compareResultsForThisListOfStimuli() { int removes = frequency(asList(stimuli), remove); if ((!features.contains(IteratorFeature.SUPPORTS_REMOVE) && removes > 1) || (stimuli.length >= 5 && removes > 2)) { // removes are the most expensive thing to test, since they often throw exceptions with stack // traces, so we test them a bit less aggressively
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 20.8K bytes - Click Count (0)