- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 164 for forEach (0.11 sec)
-
AdminLogAction.java
gFilePath)) { L92: final Path logDirPath = Paths.get(logFilePath); L93: try (Stream<Path> stream = Files.list(logDirPath)) { L94: stream.filter(entry -> isLogFilename(entry.getFileName().toString())).sorted().forEach(filePath -> { L95: final Map<String, Object> map = new HashMap<>(); L96: final String name = filePath.getFileName().toString(); L97: map.put("id", Base64.getUrlEncoder().encodeToString(name...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.7K bytes -
AzureAdAuthenticator.java
roleList, final String id) { L452: final Pair<String[], String[]> groupsAndRoles = getParentGroup(user, id); L453: StreamUtil.stream(groupsAndRoles.getFirst()).of(stream -> stream.forEach(groupList::add)); L454: StreamUtil.stream(groupsAndRoles.getSecond()).of(stream -> stream.forEach(roleList::add)); L455: } L456: L457: protected Pair<String[], String[]> getParentGroup(final AzureAdUser user, final String id) { L458: try { L459: return groupCache.get(id,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 28.2K bytes -
Crawler.java
(logger.isDebugEnabled()) { L203: try { L204: ManagementFactory.getRuntimeMXBean().getInputArguments().stream().forEach(s -> logger.debug("Parameter: {}", s)); L205: System.getProperties().entrySet().stream().forEach(e -> logger.debug("Property: {}={}", e.getKey(), e.getValue())); L206: System.getenv().entrySet().forEach(e -> logger.debug("Env: {}={}", e.getKey(), e.getValue())); L207: logger.debug("Option: {}", options); L208: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 24K bytes -
CrawlerStatsHelper.java
}); L67: } L68: L69: @PreDestroy L70: public void destroy() { L71: if (logger.isDebugEnabled()) { L72: logger.debug("cache stats: {}", statsCache.stats()); L73: } L74: statsCache.asMap().entrySet().stream().forEach(e -> { L75: final StatsObject data = e.getValue(); L76: final Long begin = data.remove(BEGIN_KEY); L77: if (begin != null) { L78: printStats(e.getKey(), data, begin, false); L79: } L80: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 9.9K bytes -
GenerateThumbnailJob.java
L178: if (logLevel != null) { L179: cmdList.add("-Dfess.log.level=" + logLevel); L180: } L181: stream(fessConfig.getJvmThumbnailOptionsAsArray()) L182: .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(value -> cmdList.add(value))); L183: L184: File ownTmpDir = null; L185: final String tmpDir = System.getProperty("java.io.tmpdir"); L186: if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) { L187: ownTmpDir...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 10.6K bytes -
SuggestJob.java
null, null); L165: } else { L166: cmdList.add("-Dfess.log.level=" + logLevel); L167: } L168: stream(fessConfig.getJvmSuggestOptionsAsArray()) L169: .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(value -> cmdList.add(value))); L170: L171: File ownTmpDir = null; L172: final String tmpDir = System.getProperty("java.io.tmpdir"); L173: if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) { L174: ownTmpDir...github.com/codelibs/fess/src/main/java/org/code...Sun Jun 23 04:13:47 UTC 2024 10K bytes -
popper.min.js.map
Here we convert the string values into number values (in px)\n .map(str => toValue(str, measurement, popperOffsets, referenceOffsets))\n );\n });\n\n // Loop trough the offsets arrays and execute the operations\n ops.forEach((op, index) => {\n op.forEach((frag, index2) => {\n if (isNumeric(frag)) {\n offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n }\n });\n });\n return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object}...github.com/codelibs/fess/src/main/webapp/js/adm...Sat Oct 26 01:49:09 UTC 2024 120.9K bytes -
SearchEngineClient.java
queryFieldConfig, final FessConfig fessConfig) { L1478: queryContext.sortBuilders().forEach(sortBuilder -> searchRequestBuilder.addSort(sortBuilder)); L1479: } L1480: L1481: protected void buildRescorer(final QueryHelper queryHelper, final QueryFieldConfig queryFieldConfig, final FessConfig fessConfig) { L1482: stream(queryHelper.getRescorers(condition())).of(stream -> stream.forEach(searchRequestBuilder::addRescorer)); L1483: } L1484: L1485: protected QueryContext...github.com/codelibs/fess/src/main/java/org/code...Sun Oct 20 02:08:03 UTC 2024 86.1K bytes -
FessXpathTransformer.java
re)) { L269: return; L270: } L271: L272: // X-Robots-Tag L273: responseData.getMetaDataMap().entrySet().stream().filter(e -> X_ROBOTS_TAG.equalsIgnoreCase(e.getKey()) && e.getValue() != null) L274: .forEach(e -> { L275: boolean noindex = false; L276: boolean nofollow = false; L277: final String value = e.getValue().toString().toLowerCase(Locale.ROOT); L278: if (value.contains(ROBOTS_TAG_NONE))...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes -
PathMappingHelper.java
cb.query().setProcessType_InScope(ptList); L68: cb.fetchFirst(ComponentUtil.getFessConfig().getPagePathMappingMaxFetchSizeAsInteger()); L69: }); L70: if (logger.isDebugEnabled()) { L71: cachedPathMappingList.forEach(e -> { L72: logger.debug("path mapping: {}: {} -> {}", e.getId(), e.getRegex(), e.getReplacement()); L73: }); L74: } L75: return cachedPathMappingList.size(); L76: } catch (final Comp...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.6K bytes