- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for startIndex (0.07 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
// When int bytesWritten = chunk.encode(buffer, startIndex); // Then assertEquals(EXPECTED_SIZE, bytesWritten); assertEquals(0L, SMBUtil.readInt8(buffer, startIndex)); assertEquals(0L, SMBUtil.readInt8(buffer, startIndex + 8)); assertEquals(0, SMBUtil.readInt4(buffer, startIndex + 16)); } @Test
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/fscc/FileRenameInformation2Test.java
byte[] buffer = new byte[100]; int startIndex = 10; buffer[startIndex] = 1; // replaceIfExists = true SMBUtil.writeInt4(nameBytes.length, buffer, startIndex + 16); System.arraycopy(nameBytes, 0, buffer, startIndex + 20, nameBytes.length); FileRenameInformation2 info = new FileRenameInformation2(); int bytesRead = info.decode(buffer, startIndex, buffer.length - startIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// When int bytesWritten = copy.encode(buffer, startIndex); // Then assertEquals(HEADER_SIZE + (3 * CHUNK_SIZE), bytesWritten); // Verify chunk count assertEquals(3, SMBUtil.readInt4(buffer, startIndex + SOURCE_KEY_SIZE)); // Verify first chunk int chunkStart = startIndex + HEADER_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) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
byte[] buffer = new byte[100]; int startIndex = 5; original.encode(buffer, startIndex); // Now decode into a new instance int bytesRead = fileBasicInfo.decode(buffer, startIndex, 36); // Verify bytes read assertEquals(36, bytesRead); // Verify decoded values match original
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
for (int i = 0; i < dst.length; i++) { dst[i] = (byte) (i & 0xFF); } int startIndex = 5; int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, startIndex); // Check that bytes before startIndex are unchanged for (int i = 0; i < startIndex; i++) { assertEquals((byte) (i & 0xFF), dst[i]); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
for (int i = 0; i < dst.length; i++) { dst[i] = (byte) (i & 0xFF); } int startIndex = 5; int bytesWritten = notifyChange.writeSetupWireFormat(dst, startIndex); // Check that bytes before startIndex are unchanged for (int i = 0; i < startIndex; i++) { assertEquals((byte) (i & 0xFF), dst[i]); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
byte[] buffer = new byte[100]; int startIndex = 10; int bytesWritten = echoRequest.writeBytesWireFormat(buffer, startIndex); // Should write 4 bytes assertEquals(4, bytesWritten); // Should write structure size of 4 assertEquals(4, SMBUtil.readInt2(buffer, startIndex)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
int startIndex = 10; // Prepare buffer with offset byte[] fullBuffer = new byte[buffer.length + startIndex]; System.arraycopy(buffer, 0, fullBuffer, startIndex, buffer.length); setErrorCode(response, 0); int bytesRead = response.readDataWireFormat(fullBuffer, startIndex, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
: Lists.reverse(distinctCandidatesByAscendingSize)); for (int startIndex = 0; startIndex < distinctCandidatesByAscendingSize.size(); startIndex++) { Iterable<ImmutableSet<String>> infiniteSetsFromStartIndex = Iterables.skip(infiniteSets, startIndex); for (boolean inputIsSet : new boolean[] {true, false}) { Collection<String> input =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0)