Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,758 for ulong (0.04 sec)

  1. src/main/java/jcifs/config/PropertyConfiguration.java

                    this.witnessHeartbeatTimeout = Long.parseLong(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.smb.client.witnessRegistrationTimeout");
            if (value != null) {
                try {
                    this.witnessRegistrationTimeout = Long.parseLong(value);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/InputValidator.java

         * @param operation the operation name
         * @throws ArithmeticException if operation would overflow
         */
        public static void validateIntegerAddition(int a, int b, String operation) {
            long result = (long) a + (long) b;
            if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) {
                throw new ArithmeticException(operation + " would cause integer overflow: " + a + " + " + b);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip(final long n) throws IOException {
            if (n > 0) {
                this.fp += n;
                return n;
            }
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        private byte oplockLevel;
        private byte openFlags;
        private int createAction;
        private long creationTime;
        private long lastAccessTime;
        private long lastWriteTime;
        private long changeTime;
        private long allocationSize;
        private long endOfFile;
        private int fileAttributes;
        private final byte[] fileId = new byte[16];
        private CreateContextResponse[] createContexts;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.com;
    
    import jcifs.Configuration;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessClient.java

        // Polling and backoff constants (in ms)
        private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds
        private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds
        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long BASE_ERROR_DELAY = 1000;
        private static final int MAX_FAILURE_LIMIT = 5; // Limit failures for backoff calculation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileHandleImpl.java

         * {@inheritDoc}
         *
         * @see jcifs.SmbFileHandle#close(long)
         */
        @Override
        public synchronized void close(final long lastWriteTime) throws CIFSException {
            closeInternal(lastWriteTime, true);
        }
    
        /**
         * @param lastWriteTime
         * @throws SmbException
         */
        void closeInternal(final long lastWriteTime, final boolean explicit) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  8. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testFileOperationOverflow() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateFileOperation(Long.MAX_VALUE - 100, 200, Long.MAX_VALUE);
            });
        }
    
        @Test
        public void testValidSmbHeader() throws Exception {
            // SMB1 header
            validator.validateSmbHeader(0x424D53FF, 32, 0x72);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

        }
    
        /**
         * State tracking for channel failover
         */
        public static class FailoverState {
    
            private final String channelId;
            private final long failureTime;
            private int retryCount;
            private long nextRetryTime;
    
            /**
             * Create failover state
             *
             * @param channelId channel identifier
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/MockWitnessService.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.witness;
    
    import java.io.IOException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top