- Sort Score
- Result 10 results
- Languages All
Results 3161 - 3170 of 3,588 for finally (0.33 sec)
- 
				
				src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.javatrans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); final int THREAD_COUNT = 10; Thread[] threads = new Thread[THREAD_COUNT]; final boolean[] success = new boolean[THREAD_COUNT]; for (int i = 0; i < THREAD_COUNT; i++) { final int index = i; threads[i] = new Thread(() -> { try { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/util/StringsTest.java* Tests all string encoding/decoding operations and utility methods. */ @DisplayName("Strings Utility Tests") class StringsTest { private static final String TEST_STRING = "Hello World"; private static final String UNICODE_STRING = "Hello δΈη π"; private static final String ASCII_STRING = "ASCII Test"; @Nested @DisplayName("Basic Encoding Methods") class BasicEncodingTests { @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)
- 
				
				okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.javaimport org.junit.jupiter.api.Test; import java.util.concurrent.CompletableFuture; import static org.junit.jupiter.api.Assertions.assertEquals; public class EventSourceFactoryTest { @StartStop private final MockWebServer server = new MockWebServer(); @Test public void testEventSourceFactory() throws Exception { OkHttpClient client = new OkHttpClient(); EventSource.Factory factory = EventSource.Factory.create(client);Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 2.8K bytes - Viewed (0)
- 
				
				android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java* </ul> * * @author Kurt Alfred Kluever */ @NullUnmarked public class HashFunctionBenchmark { // Use a statically configured random instance for all of the benchmarks private static final Random random = new Random(42); @Param({"10", "1000", "100000", "1000000"}) private int size; @Param HashFunctionEnum hashFunctionEnum; private byte[] testBytes; @BeforeExperimentRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.4K bytes - Viewed (0)
- 
				
				android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.javaimport java.net.URL; import java.net.URLClassLoader; import org.jspecify.annotations.NullUnmarked; // TODO(b/65488446): Make this a public API. /** Utility method to parse the system class path. */ @NullUnmarked final class ClassPathUtil { private ClassPathUtil() {} /** * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain * System#getProperty system property}. */ Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0)
- 
				
				guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.javaIterable<E> expectedElements, int startIndex) { super(steps, elementsToInsert, features, expectedElements, KnownOrder.KNOWN_ORDER, startIndex); } @Override protected final Iterable<? extends Stimulus<E, ? super ListIterator<E>>> getStimulusValues() { List<Stimulus<E, ? super ListIterator<E>>> list = new ArrayList<>(); Helpers.addAll(list, iteratorStimuli()); Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0)
- 
				
				guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.javaimport java.util.List; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue * implementation. * * @author Jared Levy */ @GwtIncompatible public final class QueueTestSuiteBuilder<E> extends AbstractCollectionTestSuiteBuilder<QueueTestSuiteBuilder<E>, E> { public static <E> QueueTestSuiteBuilder<E> using(TestQueueGenerator<E> generator) { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 2.5K bytes - Viewed (0)
- 
				
				guava/src/com/google/common/util/concurrent/SettableFuture.java* AbstractFuture}, which offers an extensible version of the API. * * @author Sven Mawson * @since 9.0 (in 1.0 as {@code ValueFuture}) */ @GwtCompatible public final class SettableFuture<V extends @Nullable Object> extends AbstractFuture.TrustedFuture<V> { /** * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.javaimport static org.junit.jupiter.api.Assertions.assertEquals; /** * Test the artifact resolution exception message * */ class ArtifactResolutionExceptionTest { private static final String LS = System.lineSeparator(); @Test void testMissingArtifactMessageFormat() { String message = "Missing artifact"; String indentation = " "; String groupId = "aGroupId";Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbFileIntegrationTest.javaclass SmbFileIntegrationTest { private static final Logger log = LoggerFactory.getLogger(SmbFileIntegrationTest.class); private static final String IMAGE_NAME = "dperson/samba:latest"; private static final int SMB_PORT = 445; private static final int NETBIOS_PORT = 139; private static final String WORKGROUP = "WORKGROUP"; private static final String USERNAME = "smbuser";Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0)