- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,320 for asdict (0.05 seconds)
-
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
*/ public List<Long> asList() { /* * Typically we cache this kind of thing, but much repeated use of this view is a performance * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if * they never use this method. */ return new AsList(this); } private static final class AsList extends AbstractList<Long>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
boolean langFirst = "lang".equals(keys[0]); assertTrue("lang should be first or sorted normally", langFirst || Arrays.asList(keys).contains("lang")); assertTrue(Arrays.asList(keys).contains("apple")); assertTrue(Arrays.asList(keys).contains("banana")); assertTrue(Arrays.asList(keys).contains("zebra")); } @Test public void test_entrySet_with_lang_key_ordering() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testConcatUnmodifiable() { new IteratorTester<Integer>( 5, UNMODIFIABLE, asList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<Integer> newTargetIterator() { return Iterators.concat( asList(1).iterator(), Arrays.<Integer>asList().iterator(), asList(2).iterator()); } }.test(); } public void testConcatPartiallyAdvancedSecond() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
public void testReplaceValuesWithNullValue() { List<V> values = asList(v0(), null, v3()); multimap().replaceValues(k0(), values); assertGet(k0(), values); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) public void testReplaceValuesWithNullKey() { List<V> values = asList(v0(), v2(), v3()); multimap().replaceValues(null, values); assertGet(null, values); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java
} @Override protected Collection<Method> suppressForTreeSetNatural() { return asList( getAddNullUnsupportedMethod(), getAddAllNullUnsupportedMethod(), getCreateWithNullUnsupportedMethod()); } @Override protected Collection<Method> suppressForCheckedSet() { return asList(getAddNullSupportedMethod(), getAddSupportedNullPresentMethod()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
for (int i = 0; i < numStripes; i++) { stripes[i] = i; } List<Integer> asList = Ints.asList(stripes); Collections.shuffle(asList, new Random(0xdeadbeef)); // do bulk gets with exactly 10 keys (possibly <10 stripes) (or less if numStripes is smaller) bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10)); } @Footprint Object sizeOfStriped() { return impl.get(numStripes); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java
return new DefaultPhase(name, Collections.emptyList(), asList(link1, link2), asList(phases)); } static Lifecycle.Phase phase( String name, Lifecycle.Link link1, Lifecycle.Link link2, Lifecycle.Link link3, Lifecycle.Phase... phases) { return new DefaultPhase(name, Collections.emptyList(), asList(link1, link2, link3), asList(phases)); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 15:21:19 GMT 2025 - 8.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
ServiceManager manager = new ServiceManager(asList(a, b)); String toString = manager.toString(); assertThat(toString).contains("NoOpService"); assertThat(toString).contains("FailStartService"); } public void testTimeouts() throws Exception { Service a = new NoOpDelayedService(50); ServiceManager manager = new ServiceManager(asList(a)); manager.startAsync();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java
if (name.equals("li")) { unwindTo(Arrays.asList("ul", "ol"), visitor); } else if (name.equals("dt") || name.endsWith("dd")) { unwindTo(Arrays.asList("dl"), visitor); } else if (name.equals("tr")) { unwindTo(Arrays.asList("table", "thead", "tbody"), visitor); } else if (name.equals("th") || name.endsWith("td")) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.8K bytes - Click Count (0)