- Sort Score
- Result 10 results
- Languages All
Results 2831 - 2840 of 3,588 for finally (0.06 sec)
-
android/guava-tests/test/com/google/common/primitives/BytesTest.java
* * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class BytesTest extends TestCase { private static final byte[] EMPTY = {}; private static final byte[] ARRAY1 = {(byte) 1}; private static final byte[] ARRAY234 = {(byte) 2, (byte) 3, (byte) 4}; private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE}; // We need to test that our method behaves like the JDK method.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
TestSetGenerator<K> keySetGenerator) { return NavigableSetTestSuiteBuilder.using((TestSortedSetGenerator<K>) keySetGenerator); } public static final class NavigableMapSubmapTestMapGenerator<K, V> extends SortedMapSubmapTestMapGenerator<K, V> { public NavigableMapSubmapTestMapGenerator( TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractTable.java
return new CellSet(); } abstract Iterator<Table.Cell<R, C, V>> cellIterator(); abstract Spliterator<Table.Cell<R, C, V>> cellSpliterator(); @WeakOuter private final class CellSet extends AbstractSet<Cell<R, C, V>> { @Override public boolean contains(@Nullable Object o) { if (o instanceof Cell) { Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
* @author Martin Buchholz */ @NullUnmarked public class ThreadFactoryBuilderTest extends TestCase { private final Runnable monitoredRunnable = new Runnable() { @Override public void run() { completed = true; } }; private static final UncaughtExceptionHandler UNCAUGHT_EXCEPTION_HANDLER = new UncaughtExceptionHandler() { @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
* * MS-SMB2 2.2.13.2.10 */ public class LeaseV2CreateContextRequest implements CreateContextRequest { /** * Context name for lease V2 request */ public static final String CONTEXT_NAME = "RqL2"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private Smb2LeaseKey leaseKey; private int leaseState; private int leaseFlags; private Smb2LeaseKey parentLeaseKey;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
import org.junit.jupiter.api.Test; /** * Unit tests for the NetServerEnum2 class. */ class NetServerEnum2Test { private NetServerEnum2 netServerEnum2; private final String testDomain = "TEST_DOMAIN"; private final int testServerTypes = NetServerEnum2.SV_TYPE_ALL; @BeforeEach void setUp() { netServerEnum2 = new NetServerEnum2(testDomain, testServerTypes); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0)