Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for roundUp (1.26 sec)

  1. android/guava/src/com/google/common/hash/BloomFilter.java

       */
      @VisibleForTesting
      static int optimalNumOfHashFunctions(double p) {
        // -log(p) / log(2), ensuring the result is rounded to avoid truncation.
        return max(1, (int) Math.round(-Math.log(p) / LOG_TWO));
      }
    
      /**
       * Computes m (total bits of Bloom filter) which is expected to achieve, for the specified
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            }
    
            return len;
        }
    
        /**
         * Rounds up the size to 8-byte alignment.
         *
         * @param size the size to align
         * @return the aligned size
         */
        protected static final int size8(final int size) {
            return size8(size, 0);
        }
    
        /**
         * Rounds up the size to the specified alignment.
         *
         * @param size the size to align
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/MultiChannelManager.java

        private final AtomicLong totalChannelsCreated = new AtomicLong(0);
    
        /**
         * Load balancing strategies for distributing operations across channels.
         */
        public enum LoadBalancingStrategy {
            /** Round-robin distribution */
            ROUND_ROBIN,
            /** Least connections */
            LEAST_CONNECTIONS,
            /** Random selection */
            RANDOM,
            /** Failover only (use primary until failure) */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top