- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 738 for isEmpty (0.09 seconds)
-
cmd/generic-handlers.go
} else { writeErrorResponse(r.Context(), w, toAPIError(r.Context(), err), r.URL) } return } if globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(sr)...)).IsEmpty() { r.URL.Scheme = "http" if globalIsTLS { r.URL.Scheme = "https" } r.URL.Host = getHostFromSrv(sr) // Make sure we remove any existing headers beforeCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.7K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(throwable).isInstanceOf(clazz); if (params.length == 1) { assertThat(throwable).hasMessageThat().isNull(); } else if (params.length == 2) { assertThat(throwable).hasMessageThat().isEmpty(); } else { assertThat(throwable) .hasMessageThat() .isEqualTo(Strings.lenientFormat("", Arrays.copyOfRange(params, 2, params.length))); } } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
} private static Method getMostSpecific(List<Method> methods, Class<?>... classes) throws AmbiguousException { LinkedList<Method> applicables = getApplicables(methods, classes); if (applicables.isEmpty()) { return null; } if (applicables.size() == 1) { return applicables.getFirst(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 14.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Table.java
*/ @Nullable V get( @CompatibleWith("R") @Nullable Object rowKey, @CompatibleWith("C") @Nullable Object columnKey); /** Returns {@code true} if the table contains no mappings. */ boolean isEmpty(); /** Returns the number of row key / column key / value mappings in the table. */ int size(); /** * Compares the specified object with this table for equality. Two tables are equal when their
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testToArrayEmpty() { Iterator<String> iterator = Collections.<String>emptyList().iterator(); String[] array = Iterators.toArray(iterator, String.class); assertThat(array).isEmpty(); } @GwtIncompatible // Iterators.toArray(Iterator, Class) public void testToArraySingleton() { Iterator<String> iterator = singletonList("a").iterator();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 56.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
val calls = connection.calls val index = calls.indexOfFirst { it.get() == this@RealCall } check(index != -1) calls.removeAt(index) this.connection = null if (calls.isEmpty()) { connection.idleAtNs = System.nanoTime() if (connectionPool.connectionBecameIdle(connection)) { return connection.socket() } } return null }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 19.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
} @Test public void edgeValue_directed_backwards() { graph = ValueGraphBuilder.directed().build(); graph.putEdgeValue(1, 2, "A"); assertThat(graph.edgeValue(EndpointPair.ordered(2, 1))).isEmpty(); } @Test public void edgeValue_directed_mismatch() { graph = ValueGraphBuilder.directed().build(); graph.putEdgeValue(1, 2, "A"); IllegalArgumentException e = assertThrows(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 20.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
} @Override public Collection<V2> get(@ParametricNullness K key) { return transform(key, fromMultimap.get(key)); } @Override public boolean isEmpty() { return fromMultimap.isEmpty(); } @Override Set<K> createKeySet() { return fromMultimap.keySet(); } @Override Multiset<K> createKeys() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 86.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
final Monitor monitor = new Monitor(true); private final Monitor.Guard notEmpty = new Monitor.Guard(monitor) { @Override public boolean isSatisfied() { return !q.isEmpty(); } }; /** * Creates a {@code MonitorBasedPriorityBlockingQueue} with the default initial capacity (11) that * orders its elements according to their {@linkplain Comparable natural ordering}.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 18.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
} private static <E> ImmutableSortedMultiset<E> copyOfSortedEntries( Comparator<? super E> comparator, Collection<Entry<E>> entries) { if (entries.isEmpty()) { return emptyMultiset(comparator); } ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<>(entries.size()); long[] cumulativeCounts = new long[entries.size() + 1]; int i = 0;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0)