- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 282 for indexFor (0.07 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
// Split by line, then ensure each line can fit into Log's maximum length. var i = 0 val length = logMessage.length while (i < length) { var newline = logMessage.indexOf('\n', i) newline = if (newline != -1) newline else length do { val end = minOf(newline, i + MAX_LOG_LENGTH) Log.println(logLevel, tag, logMessage.substring(i, end)) i = end
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
@Override @CheckForNull public Entry<E> lastEntry() { return isEmpty() ? null : getEntry(length - 1); } @Override public int count(@CheckForNull Object element) { int index = elementSet.indexOf(element); return (index >= 0) ? getCount(index) : 0; } @Override public int size() { long size = cumulativeCounts[offset + length] - cumulativeCounts[offset]; return Ints.saturatedCast(size);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
/** The key of the configuration. e.g. 5000 */ String INDEXER_WEBFS_COMMIT_MARGIN_TIME = "indexer.webfs.commit.margin.time"; /** The key of the configuration. e.g. 3600 */ String INDEXER_WEBFS_MAX_EMPTY_LIST_COUNT = "indexer.webfs.max.empty.list.count"; /** The key of the configuration. e.g. 10000 */
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 468.5K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
String q = query; for (final String s : ComponentUtil.getFessConfig().getCrawlerDocumentSpaces()) { q = q.replace(s, SPACE); } final boolean exists = q.indexOf(OR) != -1 || q.indexOf(OR_ALT) != -1; queryBuf.append(' '); if (exists) { queryBuf.append('('); } queryBuf.append(query); if (exists) { queryBuf.append(')');
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
*/ public static Locale getLocale(final String localeStr) { // TODO replace with Fess Locale locale = LocaleUtil.getDefault(); if (localeStr != null) { final int index = localeStr.indexOf('_'); if (index < 0) { locale = new Locale(localeStr); } else { final String language = localeStr.substring(0, index);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java
.filter(m -> m.getName().startsWith("merge")) .filter(m -> { String baseName = m.getName().substring(5 /* merge */); String entity = baseName.substring(baseName.indexOf('_') + 1); try { Type returnType = m.getParameterTypes()[0] .getMethod("get" + entity) .getGenericReturnType();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(0, actual.indexOf(list(1, 3))); assertEquals(1, actual.indexOf(list(1, 4))); assertEquals(2, actual.indexOf(list(2, 3))); assertEquals(3, actual.indexOf(list(2, 4))); assertEquals(-1, actual.indexOf(list(3, 1))); assertEquals(-1, actual.indexOf(list(1))); assertEquals(-1, actual.indexOf(list(1, 1, 1))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(0, actual.indexOf(list(1, 3))); assertEquals(1, actual.indexOf(list(1, 4))); assertEquals(2, actual.indexOf(list(2, 3))); assertEquals(3, actual.indexOf(list(2, 4))); assertEquals(-1, actual.indexOf(list(3, 1))); assertEquals(-1, actual.indexOf(list(1))); assertEquals(-1, actual.indexOf(list(1, 1, 1))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
} @Override public int indexOf(@CheckForNull Object object) { return (object == null) ? -1 : Lists.indexOfImpl(this, object); } @Override public int lastIndexOf(@CheckForNull Object object) { return (object == null) ? -1 : Lists.lastIndexOfImpl(this, object); } @Override public boolean contains(@CheckForNull Object object) { return indexOf(object) >= 0; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0)