- Sort Score
- Num 10 results
- Language All
Results 1471 - 1480 of 2,110 for _extends (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@link SerializableTester}. * * @author Nick Kralevich */ @NullUnmarked public class SerializableTesterTest extends TestCase { public void testStringAssertions() { String original = "hello world"; String copy = SerializableTester.reserializeAndAssert(original); assertThat(copy).isNotSameInstanceAs(original); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link HashingOutputStream}. * * @author Zoe Piepmeier */ @NullUnmarked public class HashingOutputStreamTest extends TestCase { private Hasher hasher; private HashFunction hashFunction; private final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); @SuppressWarnings("DoNotMock") @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
import java.io.OutputStream; /** * An {@link OutputStream} that maintains a hash of the data written to it. * * @author Zoe Piepmeier * @since 16.0 */ @Beta public final class HashingOutputStream extends FilterOutputStream { private final Hasher hasher; /** * Creates an output stream that hashes using the given {@link HashFunction}, and forwards all * data written to it to the underlying {@link OutputStream}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SneakyThrows.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; /** Static utility method for unchecked throwing of any {@link Throwable}. */ @GwtCompatible final class SneakyThrows<T extends Throwable> { /** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
* of the supertype's contract, which specifies a checked exception. * * @author Kevin Bourrillion * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public interface ByteArrayDataInput extends DataInput { @Override void readFully(byte[] b); @Override void readFully(byte[] b, int off, int len); // not guaranteed to skip n bytes so result should NOT be ignored
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 20:25:25 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.TimeUnit; /** See newDirectExecutorService javadoc for behavioral notes. */ @GwtIncompatible final class DirectExecutorService extends AbstractListeningExecutorService { /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */ private final Object lock = new Object(); /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 14:23:59 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@link SerializableTester}. * * @author Nick Kralevich */ @NullUnmarked public class SerializableTesterTest extends TestCase { public void testStringAssertions() { String original = "hello world"; String copy = SerializableTester.reserializeAndAssert(original); assertThat(copy).isNotSameInstanceAs(original); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Multimaps} filtering methods. * * @author Jared Levy */ @GwtIncompatible // nottested @NullUnmarked public class FilteredMultimapTest extends TestCase { private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE = entry -> !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 3.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
@Override public SampleElements<String> sampleValues() { return new SampleElements<>("January", "February", "March", "April", "May"); } @Override public Collection<String> createCollection(Iterable<? extends String> values) { return copyToSet(values); } @Override public final SetMultimap<String, String> create(Object... entries) { @SuppressWarnings("unchecked")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public abstract class AbstractListIndexOfTester<E> extends AbstractListTester<E> { /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */ protected abstract int find(@Nullable Object o);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0)