- Sort Score
- Num 10 results
- Language All
Results 1071 - 1080 of 1,391 for treating (0.32 seconds)
-
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
import com.google.common.base.Ascii; import com.google.common.base.Strings; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * {@link TestCase} for {@link InternetDomainName}. * * @author Craig Berry */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Lists; import com.google.common.testing.ArbitraryInstances; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.List;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 19.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
import org.junit.Before; import org.junit.Test; /** * Abstract base class for testing implementations of {@link Graph} interface. Graph instances * created for testing should have Integer node and String edge objects. * * <p>Test cases that should be handled similarly in any graph implementation are included in this * class. For example, testing that {@code nodes()} method returns the set of the nodes in theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 17.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* priority. If you need to enforce an ordering, you can define custom classes or comparators that * use a secondary key to break ties in primary priority values. For example, here is a class that * applies first-in-first-out tie-breaking to comparable elements. To use it, you would insert a * {@code new FIFOEntry(anEntry)} instead of a plain entry object. * * <pre>{@code * class FIFOEntry<E extends Comparable<? super E>> implements Comparable<FIFOEntry<E>> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 19K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to * add overloads that accept start and end indexes. * <li>Can be streamed without "breaking the chain": {@code foo.getBarLongs().stream()...}. * <li>Access to all collection-based utilities via {@link #asList} (though at the cost of * allocating garbage). * </ul> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
cmd/metacache-stream.go
// This ensures integrity and reduces the size typically by at least 50%. // // All stream elements are msgpack encoded. // // 1 Integer, metacacheStreamVersion of the writer. // This can be used for managing breaking changes. // // For each element: // 1. Bool. If false at end of stream. // 2. String. Name of object. Directories contains a trailing slash. // 3. Binary. Blob of metadata. Length 0 on directories. // ... Next element.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 07 15:37:12 GMT 2025 - 19.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* future's result type {@code C}, see {@link DeferredCloser#eventuallyClose(Object, * Executor)}. * @param closingExecutor the future's result will be closed on this executor * @deprecated Creating {@link Future}s of closeable types is dangerous in general because the * underlying value may never be closed if the {@link Future} is canceled after its operation
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 03 21:52:39 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
* limitations under the License. */ package com.google.common.collect; import static java.util.Collections.singleton; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.MapInterfaceTest; import java.util.Collection; import java.util.Map; import org.jspecify.annotations.NullMarked; /** * Test {@code TreeMultimap.asMap().subMap()} with {@link MapInterfaceTest}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 3.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
/** * A {@link Future} implementation which always throws directly from calls to {@code get()} (i.e. * not wrapped in {@code ExecutionException}. For just a normal failure, use {@link * SettableFuture}). * * <p>Useful for testing the behavior of Future utilities against odd futures. * * @author Anthony Zana */ @GwtCompatible @NullUnmarked final class UncheckedThrowingFuture<V> extends AbstractFuture<V> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.3K bytes - Click Count (0)