- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,568 for varray2 (0.1 seconds)
-
src/test/java/jcifs/util/HexdumpTest.java
assertEquals("00FF7F80", result); } @Test @DisplayName("Should handle large byte arrays efficiently") void testLargeByteArray() { // Create a larger test array byte[] data = createTestData(1024); // Test full array conversion String result = Hexdump.toHexString(data); assertEquals(2048, result.length()); // 1024 bytes * 2 chars
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
String word = "test word"; float boost = 2.5f; List<String> readings = Arrays.asList("reading1", "reading2"); List<String> fields = Arrays.asList("field1", "field2"); List<String> tags = Arrays.asList("tag1", "tag2"); List<String> roles = Arrays.asList("role1", "role2"); elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return new LinkedHashSet<>(); } static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0); return Arrays.copyOf(empty, length); } /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */ static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jun 10 15:17:16 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
} /** Convenience method to compute a fingerprint on a full bytes array. */ private static long fingerprint(byte[] bytes) { return fingerprint(bytes, bytes.length); } /** Convenience method to compute a fingerprint on a subset of a byte array. */ private static long fingerprint(byte[] bytes, int length) { return HASH_FN.hashBytes(bytes, 0, length).asLong(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
// In GWT array access never throws IndexOutOfBoundsException. checkElementIndex(rowIndex, rowList.size()); checkElementIndex(columnIndex, columnList.size()); V oldValue = array[rowIndex][columnIndex]; array[rowIndex][columnIndex] = value; return oldValue; } /** * Returns a two-dimensional array with the table contents. The row and column indices correspondCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
* lies outside the stated safe range. Subclasses should override this method to provide * generalized escaping for characters. * * <p>Note that arrays returned by this method must not be modified once they have been returned. * However it is acceptable to return the same array multiple times (even for different input * characters). *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an * array with a nullable element type. But probably they usually want an array with a non-nullable * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
return standardRetainAll(collection); } @Override public Object[] toArray() { return standardToArray(); } @Override public <T> T[] toArray(T[] array) { return standardToArray(array); } @Override public String toString() { return standardToString(); } } @AndroidIncompatible // test-suite builders public static Test suite() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.8K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java
return standardRetainAll(collection); } @Override public Object[] toArray() { return standardToArray(); } @Override public <T> T[] toArray(T[] array) { return standardToArray(array); } @Override public String toString() { return standardToString(); } @Override public boolean offer(T o) { return standardOffer(o);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
assertArrayEquals(plaintext, decrypted1); assertArrayEquals(plaintext, decrypted2); // Clean up Arrays.fill(plaintext, '\0'); Arrays.fill(decrypted1, '\0'); Arrays.fill(decrypted2, '\0'); } @Test public void testBase64StringOperations() throws Exception { char[] plaintext = "TestPassword456".toCharArray();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0)