- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,188 for _arrays (0.04 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
// Should only copy first 16 bytes assertArrayEquals(Arrays.copyOfRange(longFileId, 0, 16), Arrays.copyOfRange(buffer, 16, 32)); } @Test @DisplayName("Should handle file ID shorter than 16 bytes") void testShortFileId() { byte[] shortFileId = new byte[8]; Arrays.fill(shortFileId, (byte) 0xAB); request.setFileId(shortFileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
List<Boolean> none = Arrays.<Boolean>asList(); assertThat(Booleans.toArray(none)).isEqualTo(EMPTY); List<Boolean> one = Arrays.asList(false); assertThat(Booleans.toArray(one)).isEqualTo(ARRAY_FALSE); boolean[] array = {false, false, true}; List<Boolean> three = Arrays.asList(false, false, true); assertThat(Booleans.toArray(three)).isEqualTo(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
} @Nested @DisplayName("Edge Cases and Error Conditions") class EdgeCasesTests { @Test @DisplayName("Should handle maximum size arrays") void testMaximumSizeArrays() { // Test with reasonably large arrays int[] largeCiphers = new int[100]; for (int i = 0; i < 100; i++) { largeCiphers[i] = i; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
@Test void testGetLocalGroupsMap_Success() throws CIFSException { Map<SID, List<SID>> expectedMap = new HashMap<>(); List<SID> group1Members = Arrays.asList(mockSid1, mockSid2); List<SID> group2Members = Arrays.asList(mockSid3); expectedMap.put(mockDomainSid, group1Members); expectedMap.put(mockSid1, group2Members);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
android/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.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.dfs; import java.util.Arrays; import jcifs.Decodable; import jcifs.internal.util.SMBUtil; /** * DFS (Distributed File System) referral response buffer parser. * Decodes server responses to DFS referral requests, extracting information about
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// Then assertEquals(dataLength, bytesWritten); byte[] expectedData = Arrays.copyOfRange(TEST_DATA, dataOffset, dataOffset + dataLength); byte[] writtenData = Arrays.copyOfRange(dst, dstIndex, dstIndex + dataLength); assertArrayEquals(expectedData, writtenData); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java
/** * Utility class for conversions related to byte arrays. * * @author higa */ public abstract class BinaryConversionUtil { /** * Do not instantiate. */ protected BinaryConversionUtil() { } /** * Converts to a {@literal byte} array. * * @param o * The object to convert * @return The {@literal byte} array */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.4K 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/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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)