Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 3,507 for int (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            this.length = SMBUtil.readInt4(buffer, bufferIndex);
            return 4;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        public static final int SMB2_DIALECT_0202 = 0x0202;
    
        /**
         * SMB 2.1 dialect (Windows 7/Server 2008R2)
         */
        public static final int SMB2_DIALECT_0210 = 0x0210;
    
        /**
         * SMB 3.0 dialect (Windows 8/Server 2012)
         */
        public static final int SMB2_DIALECT_0300 = 0x0300;
    
        /**
         * SMB 3.0.2 dialect (Windows 8.1/Server 2012R2)
         */
        public static final int SMB2_DIALECT_0302 = 0x0302;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

        // see https://msdn.microsoft.com/en-us/library/dd414577.aspx
    
        private int namedPipeState;
        private int readDataAvailable;
        private int numberOfMessages;
        private int messageLength;
        private byte[] data;
    
        /**
         * Gets the current state of the named pipe
         * @return the namedPipeState
         */
        public int getNamedPipeState() {
            return this.namedPipeState;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

            return 4;
        }
    
        @Override
        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            if (dst.length - dstIndex < this.pipeDataLen) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtException.java

        /** Implementation error in the name service */
        public static final int IMP_ERR = 0x4;
        /** Refused error in the name service */
        public static final int RFS_ERR = 0x5;
        /** Active error in the name service */
        public static final int ACT_ERR = 0x6;
        /** Name in conflict error */
        public static final int CFT_ERR = 0x7;
    
        // session service error codes
        /** Connection refused by the remote host */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            for (int i = 0; i < this.unlocks.length; i++) {
                this.unlocks[i] = createLockRange();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            void testEncodeWithOffset() {
                String path = "\\\\test";
                int maxReferralLevel = 5;
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
                int offset = 10;
                byte[] dst = new byte[offset + buffer.size()];
                int bytesEncoded = buffer.encode(dst, offset);
    
                assertEquals(buffer.size(), bytesEncoded);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

        static byte[] readSecurityBuffer(final byte[] src, final int index) {
            final int length = readUShort(src, index);
            final int offset = readULong(src, index + 4);
            final byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
        static void writeULong(final byte[] dest, final int offset, final int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EnumMultiset.java

      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public int add(E element, int occurrences) {
        checkIsE(element);
        checkNonnegative(occurrences, "occurrences");
        if (occurrences == 0) {
          return count(element);
        }
        int index = element.ordinal();
        int oldCount = counts[index];
        long newCount = (long) oldCount + occurrences;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            byte[] buffer = new byte[30]; // Extra space to test offset
            int bufferIndex = 5; // Start at offset 5
            long expectedAllocationSize = 2048L;
            long expectedEndOfFile = 1536L;
            int expectedNumberOfLinks = 5;
            boolean expectedDeletePending = true;
            boolean expectedDirectory = true;
    
            // Encode test data at offset
            int offset = bufferIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top