- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 395 for dst (0.01 sec)
-
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
} /** * Writes setup data in wire format * @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 bufferRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xFFFF, 0xFFFFFFFF); byte[] dst = new byte[8]; int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, 0); assertEquals(8, bytesWritten); assertEquals(0xFFFF, SMBUtil.readInt2(dst, 0)); assertEquals(0xFFFFFFFF, SMBUtil.readInt4(dst, 4)); } @Test @DisplayName("Test writeDataWireFormat returns zero")
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/main/java/jcifs/internal/fscc/FileRenameInformation2.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) (this.replaceIfExists ? 1 : 0); dstIndex += 8; // 7 Reserved dstIndex += 8; // RootDirectory = 0 final byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt4(nameBytes.length, dst, dstIndex); dstIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
return resp; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; if (this.digest != null) { SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex); } else { log.trace("SmbComClose without a digest"); } return 6;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java
public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.maxReferralLevel, dst, dstIndex); dstIndex += 2; final byte[] pathBytes = this.path.getBytes(StandardCharsets.UTF_16LE); System.arraycopy(pathBytes, 0, dst, dstIndex, pathBytes.length); dstIndex += pathBytes.length; SMBUtil.writeInt2(0, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
Encodable enc = new ByteEncodable(src, 5, 0); // zero length byte[] dst = new byte[8]; Arrays.fill(dst, (byte) 0x7A); int written = enc.encode(dst, 3); assertEquals(0, enc.size(), "size() must be zero"); assertEquals(0, written, "encode() must return zero for zero length"); for (byte b : dst) { assertEquals((byte) 0x7A, b, "Destination should remain unchanged"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java
protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) { dst[dstIndex++] = this.maxSetupCount; } else { dst[dstIndex++] = (byte) 0x00; // Reserved } dst[dstIndex] = (byte) 0x00; // Reserved dstIndex++; dst[dstIndex++] = (byte) 0x00; // Reserved
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
cmd/metacache-entries.go
func (m *metaCacheEntriesSorted) filterObjectsOnly() { dst := m.o[:0] for _, o := range m.o { if !o.isDir() { dst = append(dst, o) } } m.o = dst } // filterPrefixesOnly will remove objects. // Order is preserved, but the underlying slice is modified. func (m *metaCacheEntriesSorted) filterPrefixesOnly() { dst := m.o[:0] for _, o := range m.o { if o.isDir() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java
this.sid = sid; command = SMB_COM_FIND_CLOSE2; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(sid, dst, dstIndex); return 2; } @Override int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
byte[] dst = new byte[10]; int dstIndex = 0; // Act int bytesWritten = transWaitNamedPipe.writeSetupWireFormat(dst, dstIndex); // Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0]); assertEquals((byte) 0x00, dst[1]); assertEquals((byte) 0x00, dst[2]); // no FID
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)