- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 144 for arrayOf (0.05 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
// Type inference is doomed here: int.class is the same as Integer.class, so this is comparing // TypeToken<int[]> and TypeToken<Integer[]>. assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class)); assertEquals(int[].class, arrayOf(int.class).getRawType()); } @Keep private static class Holder<T> { List<T>[] matrix; void setList(List<T> list) {} }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
// Type inference is doomed here: int.class is the same as Integer.class, so this is comparing // TypeToken<int[]> and TypeToken<Integer[]>. assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class)); assertEquals(int[].class, arrayOf(int.class).getRawType()); } @Keep private static class Holder<T> { List<T>[] matrix; void setList(List<T> list) {} }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (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()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
bytes[byteIndex++] = (byte) (0x80 | (c & 0x3F)); } } return Arrays.copyOf(bytes, byteIndex); } /** * Convert byte array to char array (UTF-8) */ private char[] bytesToChars(byte[] bytes) { if (bytes == null) { return null; } // Decode UTF-8
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
} } /** Returns the {@code Class} object of arrays with {@code componentType}. */ static Class<?> getArrayClass(Class<?> componentType) { // TODO(user): This is not the most efficient way to handle generic // arrays, but is there another way to extract the array class in a // non-hacky way (i.e. using String value class names- "[L...")? return Array.newInstance(componentType, 0).getClass(); } /*Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length); } this.key = Arrays.copyOf(key, LEASE_KEY_SIZE); } /** * Get the lease key bytes * * @return copy of the 16-byte lease key */ public byte[] getKey() { return Arrays.copyOf(key, LEASE_KEY_SIZE); } /** * Write the lease key to a buffer *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Arrays; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Smb2LeaseKey Tests") class Smb2LeaseKeyTest { @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Initially not deleted assertFalse(item.isDeleted()); // Set newInputs to empty array and newOutput item.setNewInputs(new String[] {}); item.setNewOutput("output"); assertTrue(item.isDeleted()); // Set newInputs to non-empty array - not deleted item.setNewInputs(new String[] { "something" }); assertFalse(item.isDeleted()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0)