- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 104 for 0xffffffff (0.03 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
command = SMB_COM_WRITE; } void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) { this.fid = fid; this.offset = (int) (offset & 0xFFFFFFFFL); this.remaining = remaining; this.b = b; this.off = off; count = len; digest = null; /* otherwise recycled commands * like writeandx will choke if sessionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
SMBUtil.writeInt2(48, dst, dstIndex); SMBUtil.writeInt2(this.locks.length, dst, dstIndex + 2); dstIndex += 4; SMBUtil.writeInt4((this.lockSequenceNumber & 0xF) << 28 | this.lockSequenceIndex & 0x0FFFFFFF, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; for (final Smb2Lock l : this.locks) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java
private final byte[] tmp = new byte[1]; private final boolean dcePipe; TransactNamedPipeOutputStream(final SmbNamedPipe pipe) throws IOException { super(pipe, false, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL); this.pipe = pipe; this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) == SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT; path = pipe.unc; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
file.open(openFlags, 0, SmbFile.ATTR_NORMAL, options); } final SmbComWriteResponse rsp = new SmbComWriteResponse(); file.send(new SmbComWrite(file.fid, (int) (newLength & 0xFFFFFFFFL), 0, tmp, 0, 0), rsp); } /** * Closes the file and releases any system resources associated with it. * * @throws SmbException if an I/O error occurs */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
// 1 ms = 10,000 * 100ns intervals long intervals = timeoutMs * 10000L; // MS-SMB2 timeout field is 4 bytes (uint32), so clamp to max value return Math.min(intervals, 0xFFFFFFFFL); } /** * Get the flags * @return the flags */ public int getFlags() { return flags; } /** * Check if this is a persistent handle requestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
private final boolean dcePipe; Object lock; TransactNamedPipeInputStream(final SmbNamedPipe pipe) throws SmbException, MalformedURLException, UnknownHostException { super(pipe, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL); this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT; lock = new Object(); } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// We can't verify the exact bytes without a real implementation of writeUTime, // but we can check that it's not zero. long writtenTime = SMBUtil.readInt4(dst, 2) & 0xFFFFFFFFL; // This is a weak check, but better than nothing. // A more robust test would require a real SMB1SigningDigest. assertTrue(writtenTime != 0 || lastWriteTime == 0); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertEquals("00000000", Hexdump.toHexString(0, 8)); assertEquals("000000FF", Hexdump.toHexString(255, 8)); assertEquals("00001000", Hexdump.toHexString(4096, 8)); assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8)); // Test different sizes assertEquals("00", Hexdump.toHexString(0, 2)); assertEquals("FF", Hexdump.toHexString(255, 2));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
*/ public final void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) { this.fid = fid; this.offset = (int) (offset & 0xFFFFFFFFL); this.remaining = remaining; this.b = b; this.off = off; this.count = len; this.digest = null; /* * otherwise recycled commandsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
this.sub_authority = new int[this.sub_authority_count]; for (int i = 0; i < this.sub_authority_count; i++) { this.sub_authority[i] = (int) (Long.parseLong(st.nextToken()) & 0xFFFFFFFFL); } } } /** * Construct a SID from a domain SID and an RID * (relative identifier). For example, a domain SID
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0)