- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 460 for shastring (0.06 seconds)
-
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
assertThat(graphString).contains("allowsSelfLoops: " + graph.allowsSelfLoops()); int nodeStart = graphString.indexOf("nodes:"); int edgeStart = graphString.indexOf("edges:"); String nodeString = graphString.substring(nodeStart, edgeStart); Network<N, EndpointPair<N>> asNetwork = graph.asNetwork(); // Don't call AbstractNetworkTest.validateNetwork(asNetwork). Mutual recursion.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 17.3K bytes - Click Count (0) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
if (path == null || !path.startsWith("/")) { val encodedPath = url.encodedPath val lastSlash = encodedPath.lastIndexOf('/') path = if (lastSlash != 0) encodedPath.substring(0, lastSlash) else "/" } return Cookie( cookieName, cookieValue, expiresAt, domain, path, secureOnly, httpOnly,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
public void testFlatteningToImmutableSetMultimap() { Collector<String, ?, ImmutableSetMultimap<Character, Character>> collector = flatteningToImmutableSetMultimap( str -> str.charAt(0), str -> asList(str.substring(1).toCharArray()).stream()); BiPredicate<Multimap<?, ?>, Multimap<?, ?>> equivalence = Equivalence.equals() .onResultOf((Multimap<?, ?> mm) -> ImmutableList.copyOf(mm.asMap().entrySet()))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 28.9K bytes - Click Count (0) -
android/guava/src/com/google/common/net/MediaType.java
checkState(hasMore()); int startPosition = position; position = matcher.negate().indexIn(input, startPosition); return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition); } String consumeToken(CharMatcher matcher) { int startPosition = position; String token = consumeTokenIfPresent(matcher);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java
SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY); String[] badWords = { "test" }; assertTrue("Should match substring", item.isBadWord(badWords)); } @Test public void test_isBadWord_noMatch() { String[] text = { "hello" }; String[][] readings = { { "hello" } };
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Jan 17 05:10:37 GMT 2026 - 22.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
public static String createSuggestTextId(final String text) { final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8)); if (id.length() > ID_MAX_LENGTH) { return id.substring(0, ID_MAX_LENGTH); } return id; } /** * Parses the given query string and returns an array of keywords. * * @param q the query string to be parsed
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 11:21:40 GMT 2025 - 17.5K bytes - Click Count (1) -
android/guava/src/com/google/common/io/MoreFiles.java
if (name == null) { return ""; } String fileName = name.toString(); int dotIndex = fileName.lastIndexOf('.'); return dotIndex == -1 ? "" : fileName.substring(dotIndex + 1); } /** * Returns the file name without its <a * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
if (path == null) { return tempDir.getAbsolutePath(); } // Remove leading slash if present if (path.startsWith("/")) { path = path.substring(1); } return new File(tempDir, path.replace("/", File.separator)).getAbsolutePath(); } @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 31.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
if (username == null) { value = StringUtil.EMPTY; } else if (maxLength >= 0 && username.length() > maxLength) { value = LdapUtil.escapeValue(username.substring(0, maxLength)); } else { value = LdapUtil.escapeValue(username); } return String.format(getSystemProperty(Constants.LDAP_SECURITY_PRINCIPAL, StringUtil.EMPTY), value); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (0)