- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testBytes (0.04 sec)
-
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
assertEquals(testBytes[i], buffer[i + 2]); } } @Test @DisplayName("Should implement equals correctly") void testEquals() { byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
@GwtIncompatible // java.nio.charset.Charset public void testIsWellFormed_1Byte() { testBytes(1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT); } /** Tests that round tripping of all two byte permutations work. */ @GwtIncompatible // java.nio.charset.Charset public void testIsWellFormed_2Bytes() { testBytes(2, EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
@Test @DisplayName("Should not modify buffer beyond encoded area") void testEncodeDoesNotModifyBeyondArea() { // Given byte testByte = (byte) 0xFF; java.util.Arrays.fill(buffer, testByte); SrvCopychunk chunk = new SrvCopychunk(1024, 2048, 4096); // When chunk.encode(buffer, startIndex); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
} @Test @DisplayName("Should not modify buffer beyond encoded area") void testEncodeDoesNotModifyBeyondArea() { // Given byte testByte = (byte) 0xEE; Arrays.fill(buffer, testByte); SrvCopychunk chunk = new SrvCopychunk(1, 2, 3); SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunk); int expectedSize = HEADER_SIZE + CHUNK_SIZE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0)