- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 427 for dst2 (0.01 sec)
-
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
@Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(25, dst, dstIndex); dst[dstIndex + 2] = (byte) (this.sessionBinding ? 0x1 : 0); dst[dstIndex + 3] = (byte) this.securityMode; dstIndex += 4; SMBUtil.writeInt4(this.capabilities, dst, dstIndex); dstIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
byte[] dst = new byte[10]; // writeSetupWireFormat writes 4 bytes: // - subCommand byte // - 3 zero bytes (padding and no FID) int written = pipe.writeSetupWireFormat(dst, 0); assertEquals(4, written, "Setup should write 4 bytes"); assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java
int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(informationLevel, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
byte[] dst = new byte[100]; int result = response.writeSetupWireFormat(dst, 10); assertEquals(0, result); } @Test void testWriteParametersWireFormat() { // Test that writeParametersWireFormat returns 0 byte[] dst = new byte[100]; int result = response.writeParametersWireFormat(dst, 20); assertEquals(0, result); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
@Override int writeSetupWireFormat(byte[] dst, int dstIndex) { return 0; } @Override int writeParametersWireFormat(byte[] dst, int dstIndex) { return 0; } @Override int writeDataWireFormat(byte[] dst, int dstIndex) { return 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(fid, dst, dstIndex); dstIndex += 2; writeInt4(offset, dst, dstIndex); dstIndex += 4; writeInt2(maxCount, dst, dstIndex); dstIndex += 2; writeInt2(minCount, dst, dstIndex); dstIndex += 2; writeInt4(openTimeout, dst, dstIndex); dstIndex += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(33, dst, dstIndex); dst[dstIndex + 2] = this.fileInformationClass; dst[dstIndex + 3] = this.queryFlags; dstIndex += 4; SMBUtil.writeInt4(this.fileIndex, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
System.arraycopy(this.password, 0, dst, dstIndex, this.passwordLength); dstIndex += this.passwordLength; } } else { // no password in tree connect dst[dstIndex++] = (byte) 0x00; } dstIndex += writeString(this.path, dst, dstIndex); try { System.arraycopy(this.service.getBytes("ASCII"), 0, dst, dstIndex, this.service.length());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
dstIndex += 4; writeInt8(allocationSize, dst, dstIndex); dstIndex += 8; writeInt4(extFileAttributes, dst, dstIndex); dstIndex += 4; writeInt4(shareAccess, dst, dstIndex); dstIndex += 4; writeInt4(createDisposition, dst, dstIndex); dstIndex += 4; writeInt4(createOptions, dst, dstIndex); dstIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
internal/ioutil/append-file_nix.go
package ioutil import ( "io" "os" ) // AppendFile - appends the file "src" to the file "dst" func AppendFile(dst string, src string, osync bool) error { flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE if osync { flags |= os.O_SYNC } appendFile, err := os.OpenFile(dst, flags, 0o666) if err != nil { return err } defer appendFile.Close() srcFile, err := os.Open(src)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.3K bytes - Viewed (0)