- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,274 for arrayOf (0.05 sec)
-
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
@Test @DisplayName("Should handle maximum size arrays") void testMaximumSizeArrays() throws SMBProtocolDecodingException { // Arrange int[] largeHashAlgos = new int[100]; Arrays.fill(largeHashAlgos, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512); byte[] largeSalt = new byte[1024]; Arrays.fill(largeSalt, (byte) 0xAB);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
private InetAddresses() {} /** * Returns an {@link Inet4Address}, given a byte array representation of the IPv4 address. * * @param bytes byte array representing an IPv4 address (should be of length 4) * @return {@link Inet4Address} corresponding to the supplied byte array * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
} /** * @return an array of the proper size with {@code null} as the key of the middle element. */ protected Entry<K, V>[] createArrayWithNullKey() { Entry<K, V>[] array = createSamplesArray(); int nullKeyLocation = getNullLocation(); Entry<K, V> oldEntry = array[nullKeyLocation]; array[nullKeyLocation] = mapEntry(null, oldEntry.getValue()); return array; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.1K 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) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; List<String[]> list = ImmutableList.<String[]>of(array); assertEquals(singletonList(array), list); } public void testCopyOf_emptyArray() { String[] array = new String[0]; List<String> list = ImmutableList.copyOf(array); assertEquals(emptyList(), list); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertArrayEquals(new byte[] { 0x05, 0x06, 0x07, 0x08 }, responseBuffer); } @Test @DisplayName("Test with empty buffers") void testWithEmptyBuffers() { // Test with empty byte arrays byte[] emptyRequestBuffer = new byte[0]; byte[] emptyResponseBuffer = new byte[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
+ ", userBoost=" + userBoost + ", readings=" + Arrays.toString(readings) + ", fields=" + Arrays.toString(fields) + ", tags=" + Arrays.toString(tags) + ", roles=" + Arrays.toString(roles) + ", languages=" + Arrays.toString(languages) + ", kinds=" + Arrays.toString(kinds) + ", emptySource=" + emptySource + ", id=" + id + "]"; }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
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 correspond
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
byte[] buffer2 = new byte[28]; Arrays.fill(buffer2, 0, 24, (byte) 0x22); int bytesConsumed2 = response.decode(buffer2, 0, 28); assertEquals(28, bytesConsumed2); byte[] resumeKey2 = response.getResumeKey(); assertNotNull(resumeKey2); assertEquals((byte) 0x22, resumeKey2[0]); // Verify it's a different array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)