Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for parse_log (0.1 sec)

  1. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
            assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue());
            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
            assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            final Object obj = get(key);
    
            final long value;
            if (obj == null) {
                value = defaultValue;
            } else {
                value = Long.parseLong(obj.toString());
            }
    
            return value;
        }
    
        public float getAsFloat(final String key, final float defaultValue) {
            final Object obj = get(key);
    
            final float value;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            // for performance, check digits instead of relying later on catching NumberFormatException
            if (!isDigits(s)) {
                return null;
            }
    
            try {
                long longValue = Long.parseLong(s);
                if (longValue > Integer.MAX_VALUE) {
                    return null;
                }
                return (int) longValue;
            } catch (NumberFormatException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/FacetInfo.java

                size = fessConfig.getQueryFacetFieldsSizeAsInteger();
            }
            if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsMinDocCount())) {
                minDocCount = Long.parseLong(fessConfig.getQueryFacetFieldsMinDocCount());
            }
            if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsSort())) {
                sort = fessConfig.getQueryFacetFieldsSort();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            long readInterval = 0;
            final String value = paramMap.getAsString("readInterval");
            if (StringUtil.isNotBlank(value)) {
                try {
                    readInterval = Long.parseLong(value);
                } catch (final NumberFormatException e) {
                    logger.warn("Invalid read interval: {}", value);
                }
            }
            return readInterval;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                msg += " (";
                msg += (rev != null ? rev : "");
                if (timestamp != null && !timestamp.isEmpty()) {
                    String ts = formatTimestamp(Long.parseLong(timestamp));
                    msg += (rev != null ? "; " : "") + ts;
                }
                msg += ")";
            }
            return msg;
        }
    
        private static String reduce(String s) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            maxDocumentRequestSize = Long.parseLong(ComponentUtil.getFessConfig().getIndexerDataMaxDocumentRequestSize());
            maxDocumentCacheSize = ComponentUtil.getFessConfig().getIndexerDataMaxDocumentCacheSizeAsInteger();
            if (ComponentUtil.hasIngestFactory()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

            }
            final String minDocCountStr = request.getParameter("facet.minDocCount");
            if (StringUtil.isNotBlank(minDocCountStr)) {
                facetInfo.minDocCount = Long.parseLong(minDocCountStr);
            }
            final String sort = request.getParameter("facet.sort");
            if (StringUtil.isNotBlank(sort)) {
                facetInfo.sort = sort;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
            long id = 0;
            if (tmp.startsWith("0x"))
                id = Long.parseLong(tmp.substring(2), 16);
            else
                id = Long.parseLong(tmp);
    
            this.identifier_authority = new byte[6];
            for (int i = 5; id > 0;  i--) {
                this.identifier_authority[i] = (byte) (id % 256);
                id >>= 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                final String[] values = rolesStr.split(valueSeparator);
                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("role info is expired: {} > {}", time, maxAge);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top