Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for percentNum (0.22 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

        protected static long getLimitDocNum(final long total, final long limitPercentage, final long limitNumber) {
            final long percentNum = (long) (total * (limitPercentage / 100f));
            if (limitNumber < 0) {
                return percentNum;
            }
            return percentNum < limitNumber ? percentNum : limitNumber;
        }
    
        protected long getTotal() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top