- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 925 for asArray (1.43 sec)
-
android/guava/src/com/google/common/primitives/UnsignedInts.java
* in the array according to {@link #compare} * @throws IllegalArgumentException if {@code array} is empty */ public static int max(int... array) { checkArgument(array.length > 0); int max = flip(array[0]); for (int i = 1; i < array.length; i++) { int next = flip(array[i]); if (next > max) { max = next; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
String value3 = "c"; settings.array().add(key, value1); settings.array().add(key, value2); settings.array().add(key, value3); assertEquals(3, settings.array().get(key).length); assertEquals(value1, settings.array().get(key)[0]); assertEquals(value2, settings.array().get(key)[1]); assertEquals(value3, settings.array().get(key)[2]); } @Test
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 3.7K 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/core/collection/ArrayIterator.java
/** * Adaptor that makes an array into an {@link Iterator}. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.collection.ArrayIterator.*; * * String[] array = ...; * for (String element : iterable(array)) { * ... * } * </pre> * * @author shot * @param <T> the type of array elements */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
} } return di - start; } /** * Decodes a UTF-8 encoded string from a byte array. * * @param src the source byte array * @param si the starting index in the source array * @param slim the limit index in the source array * @return the decoded String * @throws IOException if a decoding error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
// Verify num_sids assertEquals(0, lsarSidArrayX.num_sids, "num_sids should be 0 for an empty array"); // Verify sids array assertNotNull(lsarSidArrayX.sids, "sids array should not be null for an empty array"); assertEquals(0, lsarSidArrayX.sids.length, "sids array length should be 0 for an empty array"); } @Test void testConstructorWithNullSIDArray() { jcifs.SID[] sids = null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
*/ private SMBUtil() { } /** * Writes a 16-bit integer value to a byte array in little-endian format * @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */ public static void writeInt2(final long val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
samr.SamrSamArray array = new samr.SamrSamArray(); array.count = 0; array.entries = null; // When: Encoding array array.encode(mockNdrBuffer); // Then: Should encode null referent verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).enc_ndr_long(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
ctr1.array[0].remark = "Remark1"; ctr1.array[1] = new srvsvc.ShareInfo1(); ctr1.array[1].netname = "Share2"; ctr1.array[1].type = 1; ctr1.array[1].remark = "Remark2"; // Set up mocks mockDeferredBuffer.index = 0; // Set field directly mockDeferredBuffer.deferred = mockDeferredBuffer; ctr1.encode(mockNdrBuffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java
@CollectionSize.Require(absent = {ZERO, ONE}) public void testCreateWithDuplicates_nullDuplicatesNotRejected() { E[] array = createArrayWithNullElement(); array[0] = null; collection = getSubjectGenerator().create(array); List<E> expectedWithDuplicateRemoved = asList(array).subList(1, getNumElements()); expectContents(expectedWithDuplicateRemoved); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.5K bytes - Viewed (0)