- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 896 for Array (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
} public void testCreation_emptyArray() { String[] array = new String[0]; Multiset<String> multiset = ImmutableMultiset.copyOf(array); assertTrue(multiset.isEmpty()); } public void testCreation_arrayOfOneElement() { String[] array = new String[] {"a"}; Multiset<String> multiset = ImmutableMultiset.copyOf(array); assertEquals(HashMultiset.create(asList("a")), multiset); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java
int n; @BeforeExperiment void setUp() throws Exception { Random rng = new Random(); for (int i = 0; i < 0x100; i++) { Integer[] array = new Integer[n]; for (int j = 0; j < n; j++) { array[j] = rng.nextInt(); } inputArrays[i] = array; } } @Benchmark int arraysSortNoComparator(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java
@CollectionSize.Require(absent = ZERO) public void testAdd_supportedNullPresent() { E[] array = createArrayWithNullElement(); collection = getSubjectGenerator().create(array); assertFalse("add(nullPresent) should return false", getSet().add(null)); expectContents(array); } /** * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java
* the query term is converted to lowercase for case-insensitive matching. * * @param query the search term to find related queries for * @return an array of related query strings, or empty array if none found */ public String[] getRelatedQueries(final String query) { final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java
return new SampleDoubles(); } @Override public List<Double> create(Object... elements) { Double[] array = new Double[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (Double) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
return new RegularImmutableAsList<E>(this, toArray()); } } /** If this collection is backed by an array of its elements in insertion order, returns it. */ Object @Nullable [] internalArray() { return null; } /** * If this collection is backed by an array of its elements in insertion order, returns the offset * where this collection's elements start. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 5.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
*/ boolean get(@Nonnull URI relativeSource, @Nonnull Path target); /** * GETs the source URI content as byte array. The source MUST BE relative from the {@link RemoteRepository#getUrl()} * root. * * @return the byte array if operation succeeded, {@code null} if source does not exist. * @throws RuntimeException If failed (and not due source not exists). */ @NonnullRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 4.4K bytes - Viewed (0) -
src/main/config/es/fess_config_data_config.json
}, "settings" : { "index" : { "dbflute" : { "data_config" : { "properties" : { "permissions" : { "array" : "true" }, "virtualHosts" : { "array" : "true" } } } }, "creation_date" : "1509021051038", "number_of_shards" : "5",Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
// TODO parallel? final SuggestItem[] array = Stream.of(items).filter(item -> !item.isBadWord(badWords)).toArray(n -> new SuggestItem[n]); try { final long start = System.currentTimeMillis(); final SuggestWriterResult result = suggestWriter.write(client, settings, index, array, true);Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0)