- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 339 for SUBSTRING (0.1 seconds)
-
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
String urlString = finalizerUrl.toString(); if (!urlString.endsWith(finalizerPath)) { throw new IOException("Unsupported path style: " + urlString); } urlString = urlString.substring(0, urlString.length() - finalizerPath.length()); return new URL(finalizerUrl, urlString); } /** Creates a class loader with the given base URL as its classpath. */ URLClassLoader newLoader(URL base) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
default: throw new IllegalArgumentException( format("key %s invalid unit: was %s, must end with one of [dhms]", key, value)); } long duration = Long.parseLong(value.substring(0, value.length() - 1)); parseDuration(spec, duration, timeUnit); } catch (NumberFormatException e) { throw new IllegalArgumentException(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InternetDomainNameTest.java
String expectedName = Ascii.toLowerCase(inputName); expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", "."); if (expectedName.endsWith(".")) { expectedName = expectedName.substring(0, expectedName.length() - 1); } assertThat(domain.toString()).isEqualTo(expectedName); } } public void testPublicSuffixExclusion() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
* @return The result after trimming */ protected String trimPrefix(final String propertyName) { if (prefix == null) { return propertyName; } return propertyName.substring(prefix.length()); } /** * Converts a value. * * @param value * The value * @param destPropertyName * The destination property nameCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 17.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* static final Multimap<Character, String> FIRST_LETTER_MULTIMAP = * Stream.of("banana", "apple", "carrot", "asparagus", "cherry") * .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1))); * * // is equivalent to * * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP = * new ImmutableSetMultimap.Builder<Character, String>() * .put('b', "anana")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 18.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
final int maxLength = ComponentUtil.getFessConfig().getScriptAuditLogMaxLengthAsInteger(); String normalized = script; if (normalized.length() > maxLength) { normalized = normalized.substring(0, maxLength - 3) + "..."; } return normalized.replace('\n', ' ').replace('\r', ' ').replace('\t', '_'); } /** * Log the access denied activity. * @param user The user.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 13.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
String server = authorityServerName; final int dot = server.indexOf('.'); if (dot > 0 && !Character.isDigit(server.charAt(0))) { server = server.substring(0, dot); } try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800)) { resolveSids(handle, policyHandle, sids); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
int idx = fieldName.lastIndexOf('.'); if (idx >= 0) { fieldName = fieldName.substring(idx + 1); key = fieldName; } if (fieldName.endsWith("]")) { key = fieldName.substring(fieldName.lastIndexOf('[') + 1, fieldName.length() - 1); try {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
list.add((element == null) ? null : "q" + element); } return Collections2.transform( list, from -> isNullOrEmpty(from) ? null : from.substring(1)); } }) .named("Collections2.transform") .withFeatures( CollectionFeature.REMOVE_OPERATIONS, CollectionFeature.ALLOWS_NULL_VALUES,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0)