- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 46 for dstIndex (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeAndXWireFormat(dst, dstIndex); this.length = dstIndex - start; if (this.digest != null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
} @Override public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); this.byteCount = writeBytesWireFormat(dst, dstIndex); dstIndex += this.byteCount; dstIndex += pad8(dstIndex); this.length = dstIndex - start; int len = this.length;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
smbComRename = new SmbComRename(config, oldFileName, newFileName); int dstIndex = 50; // Start at offset 50 // When int result = smbComRename.writeBytesWireFormat(dst, dstIndex); // Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[dstIndex]); // First buffer format byte at offset } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Assert assertEquals(0, result); } @Test @DisplayName("writeDataWireFormat should return 0") void testWriteDataWireFormat() { // Arrange byte[] dst = new byte[100]; int dstIndex = 0; // Act int result = response.writeDataWireFormat(dst, dstIndex); // Assert assertEquals(0, result); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
@Override public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); this.wordCount = writeParameterWordsWireFormat(dst, dstIndex + 1); dst[dstIndex] = (byte) (this.wordCount / 2 & 0xFF); dstIndex++; dstIndex += this.wordCount; this.wordCount /= 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
byte[] dst = new byte[256]; int dstIndex = 0; // When int bytesWritten = trans2GetDfsReferral.writeParametersWireFormat(dst, dstIndex); // Then assertEquals(10, bytesWritten); verify(mockRequest, times(1)).encode(dst, dstIndex); } @Test @DisplayName("writeDataWireFormat should always return 0")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
} /** * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position. */ void moveLastEntry(int dstIndex) { int srcIndex = size() - 1; if (dstIndex < srcIndex) { // move last entry to deleted spot keys[dstIndex] = keys[srcIndex]; values[dstIndex] = values[srcIndex]; keys[srcIndex] = null; values[srcIndex] = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
* @param dst destination buffer * @param dstIndex starting index in destination buffer * @return number of bytes written */ protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex); /** * Writes parameters in wire format * @param dst destination buffer * @param dstIndex starting index in destination buffer * @return number of bytes writtenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
protected int writeSetupWireFormat(byte[] dst, int dstIndex) { if (setupBuffer != null && setupBuffer.length > 0) { System.arraycopy(setupBuffer, 0, dst, dstIndex, setupBuffer.length); } return setupWireFormatReturn; } @Override protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0)