- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 128 for trim (0.18 sec)
-
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} public static String formatDuration(final long durationMillis) { return DurationFormatUtils.formatDuration(durationMillis, "d 'days' HH:mm:ss.SSS").replace("0 days", StringUtil.EMPTY).trim(); } public static String formatNumber(final long value, final String pattern) { final DecimalFormat df = (DecimalFormat) NumberFormat.getNumberInstance(getUserLocale());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
} catch (final Exception e) { logger.warn("Could not parse a value of {}", xpath); } if (buf == null) { return null; } return buf.toString().trim(); } protected void parseTextContent(final Node node, final StringBuilder buf) { if (node.hasChildNodes()) { final NodeList nodeList = node.getChildNodes();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 41.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
*/ private static String protocol(final String url) { final int pos = url.indexOf(':'); if (pos == -1) { return ""; } return url.substring(0, pos).trim(); } /** * Derive the path portion of the given URL. * * @param url the repository URL * @return the basedir of the repository * TODO need to URL decode for spaces?
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 11K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
def propertyDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Property details' } } def propertiesTable = withCategories { propertiesSection ? propertiesSection.table[0] : parse('<table/>')} def methodsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Methods' } }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 40.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
new_entry->timestamp = timer_seconds_(); block_map_.emplace(std::make_pair(key, new_entry)); return new_entry; } // Remove blocks from the cache until we do not exceed our maximum size. void RamFileBlockCache::Trim() { while (!lru_list_.empty() && cache_size_ > max_bytes_) { RemoveBlock(block_map_.find(lru_list_.back())); } } /// Move the block to the front of the LRU list if it isn't already there.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} } public String normalizeConfigPath(final String path) { if (StringUtil.isBlank(path)) { return StringUtils.EMPTY; } final String p = path.trim(); if (p.startsWith("#")) { return StringUtils.EMPTY; } if (p.startsWith(GsaConfigParser.CONTAINS)) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Sat Apr 13 11:43:03 GMT 2024 - 26.5K bytes - Viewed (2) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java
infos.put(dstKey, srcInfo); } } private String getKey(String classifier, String extension) { return (classifier == null ? "" : classifier.trim()) + ':' + (extension == null ? "" : extension.trim()); } private ArtifactRepository getRepository( RepositorySystemSession session, List<RemoteRepository> repositories, Class<?> repoClass, String repoId) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} catch (final Throwable t) { logger.warn("Failed to set SessionTrackingMode.", t); } split(fessConfig.getQueryFacetQueries(), "\n").of(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(s -> { final String[] values = StringUtils.split(s, ":", 2); if (values.length != 2) { return; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/query/QueryFieldConfig.java
fessConfig.getIndexFieldVersion())); } split(fessConfig.getQueryAdditionalAnalyzedFields(), ",") .of(stream -> stream.map(String::trim).filter(StringUtil::isNotBlank).forEach(s -> notAnalyzedFieldSet.remove(s))); split(fessConfig.getQueryAdditionalDefaultFields(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).map(s -> {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
buffer[bufferSize++] = elem; if (bufferSize == 2 * k) { trim(); } } } /** * Quickselects the top k elements from the 2k elements in the buffer. O(k) expected time, O(k log * k) worst case. */ @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix. private void trim() { int left = 0; int right = 2 * k - 1;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 11.2K bytes - Viewed (0)