- Sort Score
- Num 10 results
- Language All
Results 701 - 710 of 1,161 for IsEmpty (0.04 seconds)
-
android/guava/src/com/google/common/collect/ConsumingQueueIterator.java
this.queue = checkNotNull(queue); } @Override protected @Nullable T computeNext() { // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker. if (queue.isEmpty()) { return endOfData(); } return queue.remove(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
final Map<String, String[]> fields = parseFieldFilters(request); final String[] extraQueries = parseExtraQueries(request); final ChatResult result; if (fields.isEmpty() && extraQueries.length == 0) { result = ComponentUtil.getChatClient().chat(sessionId, message, userId); } else {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
internal/config/config.go
if !found { // Check for sub-prefix only if the input value is only a // single value, this rejects invalid inputs if any. found = !SubSystems.FuncMatch(strings.HasPrefix, subSystemValue[0]).IsEmpty() && len(subSystemValue) == 1 } if !found { return nil, Errorf("unknown sub-system %s", s) } targets := Targets{} subSysPrefix := subSystemValue[0] if len(subSystemValue) == 2 {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
} checkArgument(!map.isEmpty()); return getDeclaringClassOrObjectForJ2cl(map.keySet().iterator().next()); } private static <V extends Enum<V>> Class<V> inferValueTypeOrObjectUnderJ2cl(Map<?, V> map) { if (map instanceof EnumBiMap) { return ((EnumBiMap<?, V>) map).valueTypeOrObjectUnderJ2cl; } checkArgument(!map.isEmpty());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumBiMap.java
} checkArgument(!map.isEmpty()); return getDeclaringClassOrObjectForJ2cl(map.keySet().iterator().next()); } private static <V extends Enum<V>> Class<V> inferValueTypeOrObjectUnderJ2cl(Map<?, V> map) { if (map instanceof EnumBiMap) { return ((EnumBiMap<?, V>) map).valueTypeOrObjectUnderJ2cl; } checkArgument(!map.isEmpty());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 6.2K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
ongoing.remove(new TransferResourceIdentifier(event.getResource())); put(event, ongoing.isEmpty()); } @Override public void transferFailed(TransferEvent event) { ongoing.remove(new TransferResourceIdentifier(event.getResource())); put(event, ongoing.isEmpty()); } private static class Exchange { private final TransferEvent event;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 8.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java
.map(p -> "- " + p.getKey() + " on line " + kv.getKey() + " of " + path) ) .collect(Collectors.toList()) ); } if (failures.isEmpty() == false) { throw new GradleException("Found invalid patterns:\n" + String.join("\n", failures)); } File outputMarker = getOutputMarker(); outputMarker.getParentFile().mkdirs();
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements); int tooHigh = set.isEmpty() ? 0 : set.last() + 1; set.add(tooHigh); return checkedCreate(set).headSet(tooHigh); } } public static class ContiguousSetTailsetGenerator extends AbstractContiguousSetGenerator {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java
Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.getUserData().get("seenApiChanges"); Set<ApiChange> left = new HashSet<>(acceptedApiChanges); left.removeAll(seenApiChanges); if (!left.isEmpty()) { String formattedLeft = CollectionUtils.join("\n", left); throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft); }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jun 09 08:16:49 GMT 2021 - 1.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
@Throws(InterruptedException::class) fun takeSink(): BufferedSink = requestBodySinks.poll(5, SECONDS) ?: throw AssertionError("no sink to take") fun assertNoMoreSinks() { assertTrue(requestBodySinks.isEmpty()) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0)