Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 149 of 149 for currentTimeMillis (1.03 sec)

  1. src/main/java/jcifs/audit/SecurityAuditLogger.java

                log.error("Failed to log audit event", e);
            }
        }
    
        private boolean checkRateLimit(EventType type) {
            String key = type.name();
            long currentWindow = System.currentTimeMillis() / rateLimitWindow;
            String windowKey = key + "_" + currentWindow;
    
            AtomicLong counter = rateLimitCounters.computeIfAbsent(windowKey, k -> new AtomicLong(0));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

                }
    
                try {
                    if (params.contains(RequestParam.NO_TIMEOUT)) {
                        this.expiration = -1;
                    } else {
                        this.expiration = System.currentTimeMillis() + this.transportContext.getConfig().getSoTimeout();
                    }
    
                    T chainedResponse;
                    try {
                        chainedResponse = sessionSetup(request, response);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       * dependent on the hash codes they produce will fail sooner.
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      static final int GOOD_FAST_HASH_SEED = (int) System.currentTimeMillis();
    
      /**
       * Returns a hash function implementing the <a
       * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">32-bit murmur3
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(2, response2.getNum());
    
            // Sleep only until next second to ensure unique index name (typically <100ms)
            long currentMillis = System.currentTimeMillis();
            long millisUntilNextSecond = 1000 - (currentMillis % 1000);
            Thread.sleep(millisUntilNextSecond + 10); // +10ms buffer
            suggester.createNextIndex();
            SuggestItem[] items2 = getItemSet2();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

                final byte[] ntlmClientChallenge = new byte[8];
                tc.getConfig().getRandom().nextBytes(ntlmClientChallenge);
    
                long ts = (System.currentTimeMillis() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000;
                if (haveTimestamp) {
                    ts = ((AvTimestamp) AvPairs.get(avPairs, AvPair.MsvAvTimestamp)).getTimestamp();
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        return SHORT_DELAY_MS / 4;
      }
    
      /** Returns a new Date instance representing a time delayMillis milliseconds in the future. */
      Date delayedDate(long delayMillis) {
        return new Date(System.currentTimeMillis() + delayMillis);
      }
    
      /** The first exception encountered if any threadAssertXXX method fails. */
      private final AtomicReference<Throwable> threadFailure = new AtomicReference<>(null);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Gets the current time in milliseconds.
         *
         * @return The current time in milliseconds.
         */
        public long getCurrentTimeAsLong() {
            return System.currentTimeMillis();
        }
    
        /**
         * Gets the current time as a LocalDateTime object.
         *
         * @return The current time.
         */
        public LocalDateTime getCurrentTimeAsLocalDateTime() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Files.java

      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      public static void touch(File file) throws IOException {
        checkNotNull(file);
        if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) {
          throw new IOException("Unable to update modification time of " + file);
        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified file. Note that if
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      public static void touch(File file) throws IOException {
        checkNotNull(file);
        if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) {
          throw new IOException("Unable to update modification time of " + file);
        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified file. Note that if
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
Back to top