- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 925 for asArray (0.1 sec)
-
android/guava/src/com/google/common/primitives/Ints.java
public static int min(int... array) { checkArgument(array.length > 0); int min = array[0]; for (int i = 1; i < array.length; i++) { if (array[i] < min) { min = array[i]; } } return min; } /** * Returns the greatest value present in {@code array}. * * @param array a <i>nonempty</i> array of {@code int} values
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
assertEquals(0, encodedLen, "Encoded length should be zero for empty source array"); assertArrayEquals(new byte[] { 0x00 }, dest, "Destination array should remain unchanged for empty source array"); } @Test void testEncodeSourceOffsetBeyondLength() { // Test with source offset + length exceeding source array bounds byte[] data = { 0x01, 0x02 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (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,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
private final int end; // exclusive private ImmutableLongArray(long[] array) { this(array, 0, array.length); } private ImmutableLongArray(long[] array, int start, int end) { this.array = array; this.start = start; this.end = end; } /** Returns the number of values in this array. */ public int length() { return end - start; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
private final int end; // exclusive private ImmutableIntArray(int[] array) { this(array, 0, array.length); } private ImmutableIntArray(int[] array, int start, int end) { this.array = array; this.start = start; this.end = end; } /** Returns the number of values in this array. */ public int length() { return end - start; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
} /** * The number of shares in the array. */ /** * The number of shares in the array. */ public int count; /** * Array of ShareInfo0 structures containing share information. */ public ShareInfo0[] array; @Override public void encode(NdrBuffer _dst) throws NdrException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 27K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* @since 23.1 */ public static void sort(long[] array, int fromIndex, int toIndex) { checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); for (int i = fromIndex; i < toIndex; i++) { array[i] = flip(array[i]); } Arrays.sort(array, fromIndex, toIndex); for (int i = fromIndex; i < toIndex; i++) { array[i] = flip(array[i]); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
* <ul> * <li>{@link #get(String)}: Retrieves an array of values associated with the specified key.</li> * <li>{@link #add(String, Object)}: Adds a key-value pair to the settings array.</li> * <li>{@link #delete(String)}: Deletes all entries associated with the specified key.</li> * <li>{@link #delete(String, String)}: Deletes a specific key-value pair from the settings array.</li> * </ul> * * <p>Protected Methods: * <ul>
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
/** * Tests the constructor with a valid byte array. */ @Test void testConstructorWithValidData() { // A byte array with a length less than 32 should be considered valid. byte[] validData = new byte[31]; assertDoesNotThrow(() -> new PacCredentialType(validData)); } /** * Tests the constructor with a null byte array, which should throw an exception. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0)