- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,610 for _arrays (0.81 seconds)
-
guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java
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++) { Integer[] copy = inputArrays[i & 0xFF].clone();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/FacetInfo.java
/** * Adds a query facet to the existing query array. * If no queries exist, creates a new array with the provided query. * * @param s the query string to add as a facet */ public void addQuery(final String s) { if (query == null) { query = new String[] { s }; } else { final String[] newQuery = Arrays.copyOf(query, query.length + 1);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/RequestParameter.java
} /** * Returns the array of values associated with this request parameter. * * @return the parameter values array, may be null or empty */ public String[] getValues() { return values; } /** * Returns a string representation of this RequestParameter. * The format includes the parameter name and its values in array format. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} /** * Sets the array of web protocols to recognize for URL classification. * * @param webProtocols array of protocol prefixes (e.g., "http:", "https:") */ public void setWebProtocols(final String[] webProtocols) { this.webProtocols = webProtocols; } /** * Sets the array of file protocols to recognize for URL classification. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
private static final Iterable<Integer> iterable = Arrays.<Integer>asList(); private static final Iterable<Integer> iterable1 = Arrays.asList(1); private static final Iterable<Integer> iterable12 = Arrays.asList(1, 2); private static final Iterable<Integer> iterable123 = Arrays.asList(1, 2, 3); private static final Iterable<@Nullable Integer> iterableNull = Arrays.asList((Integer) null);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureKeyManager.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 21.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
import java.security.MessageDigest; import java.util.Arrays; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for comparing the various {@link HashCode#equals} methods. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: the length of the byte array to hash * <li>whereToDiffer: where in the array the bytes should differCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
/* * These arrays are set up to test that the comparator compares bytes within a word in the * correct order—in order words, that it doesn't mix up big-endian and little-endian. The first * array has a smaller element at one index, and then the second array has a smaller element at * the next. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
String[] array = { "a", "b", "c" }; doc.put("key", array); List<String> result = DocumentUtil.getValue(doc, "key", List.class); assertEquals(Arrays.asList("a", "b", "c"), result); } @Test public void test_first_element_from_list() { Map<String, Object> doc = new HashMap<>(); List<String> list = Arrays.asList("first", "second", "third");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
array[i] = counter.getAndIncrement(); } builder.addAll(ImmutableIntArray.copyOf(array)); } }, ADD_LARGER_ARRAY { @Override void doIt(ImmutableIntArray.Builder builder, AtomicInteger counter) { int[] array = new int[random.nextInt(200) + 200]; for (int i = 0; i < array.length; i++) { array[i] = counter.getAndIncrement(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.2K bytes - Click Count (0)