- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,568 for varray2 (0.05 seconds)
-
guava/src/com/google/common/collect/Platform.java
return CompactHashSet.create(); } /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
} final Ingester[] newIngesters = Arrays.copyOf(ingesters, ingesters.length + 1); newIngesters[ingesters.length] = ingester; Arrays.sort(newIngesters, (o1, o2) -> o1.priority - o2.priority); ingesters = newIngesters; } /** * Returns the array of registered ingesters sorted by priority. * The returned array contains all ingesters in priority orderCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
assertSame( "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array)); expectArrayContentsInOrder(getOrderedElements(), array); } public void testToArray_rightSizedArrayOfObject() { Object[] array = new Object[getNumElements()]; assertSame( "toArray(sameSizeObject[]) should return the given array", array,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 8.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
System.arraycopy(values.array, values.start, array, count, values.length()); count += values.length(); return this; } private void ensureRoomFor(int numberToAdd) { int newCount = count + numberToAdd; // TODO(kevinb): check overflow now? if (newCount > array.length) { array = Arrays.copyOf(array, expandedCapacity(array.length, newCount)); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
System.arraycopy(values.array, values.start, array, count, values.length()); count += values.length(); return this; } private void ensureRoomFor(int numberToAdd) { int newCount = count + numberToAdd; // TODO(kevinb): check overflow now? if (newCount > array.length) { array = Arrays.copyOf(array, expandedCapacity(array.length, newCount)); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.5K 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: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertEquals(testPassword, auth.getPassword()); // Check that char array method works char[] passwordArray = auth.getPasswordAsCharArray(); assertNotNull(passwordArray); assertArrayEquals(testPassword.toCharArray(), passwordArray); // Verify that returned array is a copy Arrays.fill(passwordArray, 'X'); assertEquals(testPassword, auth.getPassword()); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureKeyManager.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 21.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ObjectArrays.java
T[] result = newArray(array, array.length + 1); result[0] = element; arraycopy(array, 0, result, 1, array.length); return result; } /** * Returns a new array that appends {@code element} to {@code array}. * * @param array the array of elements to prepend * @param element the element to append to the end
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:48:28 GMT 2025 - 8.9K bytes - Click Count (0)