- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,745 for sublist (0.13 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java
while (prefixLen < maxDepth && basePath.get(prefixLen).equals(targetPath.get(prefixLen))) { prefixLen++; } basePath = basePath.subList(prefixLen, basePath.size()); targetPath = targetPath.subList(prefixLen, targetPath.size()); for (int i = 0; i < basePath.size(); i++) { targetPath.add(0, ".."); } if (targetPath.isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 13.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
char[] array = {(char) 0, (char) 1, (char) 2, (char) 3}; List<Character> list = Chars.asList(array); assertThat(Chars.toArray(list.subList(1, 3))).isEqualTo(new char[] {(char) 1, (char) 2}); assertThat(Chars.toArray(list.subList(2, 2))).isEqualTo(new char[] {}); } public void testAsListEmpty() { assertThat(Chars.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 24.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
// checkNotNull for GWT (do not optimize) array[start + index] = checkNotNull(element); return oldValue; } @Override public List<Boolean> subList(int fromIndex, int toIndex) { int size = size(); checkPositionIndexes(fromIndex, toIndex, size); if (fromIndex == toIndex) { return Collections.emptyList(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 19.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
// checkNotNull for GWT (do not optimize) array[start + index] = checkNotNull(element); return oldValue; } @Override public List<Boolean> subList(int fromIndex, int toIndex) { int size = size(); checkPositionIndexes(fromIndex, toIndex, size); if (fromIndex == toIndex) { return Collections.emptyList(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 19.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/PropertiesUtils.java
} // The last comment line is the timestamp List<String> nonCommentLines; if (lastCommentLine != -1) { lines.remove(lastCommentLine); nonCommentLines = lines.subList(lastCommentLine, lines.size()); } else { nonCommentLines = lines; } Collections.sort(nonCommentLines); StringBuilder builder = new StringBuilder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 14:17:21 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/TaskDefinitionScriptTransformer.java
// Matches: task <identifier>(<options-map>) <closure> mapArg = nestedArgs.getExpression(0); extraArgs = nestedArgs.getExpressions().subList(1, nestedArgs.getExpressions().size()); } else if (nestedArgs.getExpressions().size() == 1 && nestedArgs.getExpression(0) instanceof ClosureExpression) { // Matches: task <identifier> <closure>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 19 22:17:48 UTC 2019 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
return entries; } private void expectFirstRemoved(Entry<K, V>[] entries) { resetMap(entries); List<Entry<K, V>> expectedWithDuplicateRemoved = Arrays.asList(entries).subList(1, getNumElements()); expectContents(expectedWithDuplicateRemoved); } /** * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
connection.set(chain!!.connection()) chain.proceed(chain.request()) }, ) .build() dns["san.com"] = Dns.SYSTEM.lookup(server.hostName).subList(0, 1) assert200Http2Response(execute(url), server.hostName) // Simulate a stale connection in the pool. connection.get()!!.socket().close() val sanUrl = url.newBuilder().host("san.com").build()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 18.7K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt
} } } private fun writeInnerParts(innerTypesAsList: List<PossiblyInnerType>, sw: JvmSignatureWriter, mode: TypeMappingMode, index: Int) { for (innerPart in innerTypesAsList.subList(index, innerTypesAsList.size)) { sw.writeInnerClass(getJvmShortName(innerPart.classDescriptor)) writeGenericArguments(sw, innerPart, mode) } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 8.3K bytes - Viewed (0)