Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 117 for 0xffffffff (0.05 seconds)

  1. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. 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 commands
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. 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 request
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  6. 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);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. 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();
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            dst[dstIndex + 2] = (byte) (val >> 16);
            dst[dstIndex + 3] = (byte) (val >> 24);
        }
    
        private void writeInt8(long val, byte[] dst, int dstIndex) {
            writeInt4((int) (val & 0xFFFFFFFFL), dst, dstIndex);
            writeInt4((int) (val >> 32), dst, dstIndex + 4);
        }
    
        private void writeTime(long t, byte[] dst, int dstIndex) {
            writeInt8(t, dst, dstIndex);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            this.call = (pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_CALL) == SmbPipeResource.PIPE_TYPE_CALL;
            this.openFlags = pipe.getPipeType() & 0xFFFF00FF | SmbConstants.O_EXCL;
            this.access = pipe.getPipeType() & 7 | 0x20000;
            this.uncPath = this.pipe.getUncPath();
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top