- Sort Score
- Num 10 results
- Language All
Results 1141 - 1150 of 1,161 for IsEmpty (0.14 seconds)
-
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
* @param history the conversation history */ protected void addIntentHistory(final LlmChatRequest request, final List<LlmMessage> history) { if (history == null || history.isEmpty()) { return; } final int maxMessages = getIntentHistoryMaxMessages(); final int maxChars = getIntentHistoryMaxChars(); int remaining = maxChars;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return pickInstance(Arrays.asList(instances), defaultValue); } private <T> T pickInstance(Collection<T> instances, T defaultValue) { if (instances.isEmpty()) { return defaultValue; } // generateInt() is 1-based. return Iterables.get(instances, (generateInt() - 1) % instances.size()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteStreams.java
} else { throw new OutOfMemoryError("input is too large to fit in a byte array"); } } private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) { if (bufs.isEmpty()) { return new byte[0]; } byte[] result = bufs.remove(); if (result.length == totalLen) { return result; } int remaining = totalLen - result.length;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
} // settings userDefinedLocalRepo = context.effectiveSettings.getLocalRepository(); if (userDefinedLocalRepo != null && !userDefinedLocalRepo.isEmpty()) { return context.userDirectory.resolve(userDefinedLocalRepo).normalize(); } // defaults return context.userDirectoryCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
*/ @SuppressWarnings("unchecked") ImmutableSet<E> result = (ImmutableSet<E>) untypedResult; return result; } if (elements.isEmpty()) { // We avoid allocating anything. return of(); } // Collection<E>.toArray() is required to contain only E instances, and all we do is read them.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
public String getManagementKey() { if (managementKey == null) { managementKey = (getGroupId() + ":" + getArtifactId() + ":" + getType() + (getClassifier() != null && !getClassifier().isEmpty() ? ":" + getClassifier() : "")).intern(); } return managementKey; } ]]> </code> </codeSegment> <codeSegment>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 17 09:48:21 GMT 2026 - 133.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
Comparator<? super E> comparator = SortedIterables.comparator(sortedSet); ImmutableList<E> list = ImmutableList.copyOf(sortedSet); if (list.isEmpty()) { return emptySet(comparator); } else { return new RegularImmutableSortedSet<>(list, comparator); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
.isTrue(); assertWithMessage("closingExecutor was shut down") .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS)) .isTrue(); if (!failures.isEmpty()) { StringWriter message = new StringWriter(); PrintWriter writer = new PrintWriter(message); writer.println("Expected no failures, but found:"); for (AssertionError failure : failures) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
} } OptionalState state = new OptionalState(); Deque<Spliterator<T>> splits = new ArrayDeque<>(); splits.addLast(stream.spliterator()); while (!splits.isEmpty()) { Spliterator<T> spliterator = splits.removeLast(); if (spliterator.getExactSizeIfKnown() == 0) { continue; // drop this split }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0)