- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,482 for Gist (0.01 sec)
-
android/guava-tests/test/com/google/common/collect/SortedListsTest.java
if (list.contains(key)) { assertEquals(list.lastIndexOf(key), answer); return; } break; case ANY_PRESENT: if (list.contains(key)) { assertEquals(key, list.get(answer)); return; } break; case FIRST_AFTER: if (list.contains(key)) { assertEquals(list.lastIndexOf(key) + 1, answer); return; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
final List<PathMapping> pathMappingList = new ArrayList<PathMapping>(); pathMappingHelper.setPathMappingList(null, pathMappingList); assertNull(pathMappingHelper.getPathMappingList("test")); } public void test_setPathMappingList_withNullList() { final String sessionId = "test"; final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 14.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
abstract <E> SortedMultiset<E> subMultiset( SortedMultiset<E> multiset, List<Entry<E>> entries, int targetEntry); } private void testSubMultisetEntrySet(SubMultisetSpec spec) { List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); for (int i = 0; i < entries.size(); i++) { List<Entry<E>> expected = spec.expectedEntries(i, entries);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
return new FluentIterable<T>() { @Override public Iterator<T> iterator() { if (iterable instanceof List) { List<T> list = (List<T>) iterable; int toSkip = Math.min(list.size(), numberToSkip); return list.subList(toSkip, list.size()).iterator(); } Iterator<T> iterator = iterable.iterator(); Iterators.advance(iterator, numberToSkip);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
byte[] array = {(byte) 0, (byte) 1}; List<Byte> list = Bytes.asList(array); list.set(0, (byte) 2); assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1}); array[1] = (byte) 3; assertThat(list).containsExactly((byte) 2, (byte) 3).inOrder(); } public void testAsList_toArray_roundTrip() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> list = Bytes.asList(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
public class ExecutionListTest extends TestCase { private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception { Executor exec = newCachedThreadPool(); CountDownLatch countDownLatch = new CountDownLatch(3); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> list = multimap().get(k0()); multimap().remove(k0(), v0()); assertContentsInOrder(list, v1(), v0()); } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testRemoveAtIndexFromGetPropagates() { List<V> values = asList(v0(), v1(), v0()); for (int i = 0; i < 3; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java
list.add(entity); }); list.setPageSize(size); list.setAllRecordCount((int) searchHits.getTotalHits().value()); list.setCurrentPageNumber(cb.getFetchPageNumber()); list.setTook(response.getTook().getMillis()); list.setTotalShards(response.getTotalShards()); list.setSuccessfulShards(response.getSuccessfulShards());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0)