Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for milliseconds (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
            buffer[1] = 0x00;
            // Last Write Time (UTime): A sample timestamp in milliseconds
            long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
            ServerMessageBlock.writeUTime(sampleTimeMillis, buffer, 2);
            // File Size: 1024 bytes
            ServerMessageBlock.writeInt4(1024, buffer, 6);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

            this.responseSequenceNumber = responseSequenceNumber;
        }
    
        /**
         * Gets the heartbeat interval recommended by the server (in milliseconds).
         * The client can use this to adjust the heartbeat frequency.
         *
         * @return the heartbeat interval in milliseconds
         */
        public long getHeartbeatInterval() {
            return heartbeatInterval;
        }
    
        /**
         * Sets the heartbeat interval.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/FileEntry.java

         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
        /**
         * Gets the last modified time.
         *
         * @return the last modified time in milliseconds since epoch
         */
        long lastModified();
    
        /**
         * Gets the last access time.
         *
         * @return the last access time in milliseconds since epoch
         */
        long lastAccess();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean smbTcpNoDelay = false;
        /** Response timeout in milliseconds for SMB operations */
        protected int smbResponseTimeout = SmbConstants.DEFAULT_RESPONSE_TIMEOUT;
        /** Socket timeout in milliseconds for SMB connections */
        protected int smbSocketTimeout = SmbConstants.DEFAULT_SO_TIMEOUT;
        /** Connection timeout in milliseconds for establishing SMB connections */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/util/SMBUtil.java

            dst[++dstIndex] = (byte) (val >> 8);
        }
    
        /**
         * Reads a Windows FILETIME value and converts it to Java time in milliseconds
         * @param src the source byte array
         * @param srcIndex the starting index in the source array
         * @return the time value in milliseconds since January 1, 1970 UTC
         */
        public static long readTime(final byte[] src, final int srcIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int DEFAULT_PORT = 445;
    
        /** Default maximum multiplex count */
        int DEFAULT_MAX_MPX_COUNT = 10;
        /** Default response timeout in milliseconds */
        int DEFAULT_RESPONSE_TIMEOUT = 30000;
        /** Default socket timeout in milliseconds */
        int DEFAULT_SO_TIMEOUT = 35000;
        /** Default receive buffer size in bytes */
        int DEFAULT_RCV_BUF_SIZE = 60416;
        /** Default send buffer size in bytes */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

        // MS-SMB2: Timeout is specified in 100-nanosecond intervals, but we store in milliseconds
        private long timeoutMs; // timeout in milliseconds (for application use)
        private int flags;
        private HandleGuid createGuid;
    
        /**
         * Create a new durable handle V2 request
         * @param timeoutMs the timeout in milliseconds (0 for persistent handles)
         * @param persistent true if this should be a persistent handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/FileEntry.java

         */
        int getAttributes();
    
        /**
         * Gets the creation time.
         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
        /**
         * Gets the last modified time.
         *
         * @return the last modified time in milliseconds since epoch
         */
        long lastModified();
    
        /**
         * Gets the file size.
         *
         * @return the file size in bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 881 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        assertTrue(limiter.tryAcquire(0, SECONDS));
        assertTrue(limiter.tryAcquire(200, MILLISECONDS));
        assertFalse(limiter.tryAcquire(100, MILLISECONDS));
        stopwatch.sleepMillis(100);
        assertTrue(limiter.tryAcquire(100, MILLISECONDS));
      }
    
      public void testTryAcquire_overflow() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        assertTrue(limiter.tryAcquire(0, SECONDS));
        assertTrue(limiter.tryAcquire(200, MILLISECONDS));
        assertFalse(limiter.tryAcquire(100, MILLISECONDS));
        stopwatch.sleepMillis(100);
        assertTrue(limiter.tryAcquire(100, MILLISECONDS));
      }
    
      public void testTryAcquire_overflow() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top