- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 860 for setMap (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
.addTrustedCertificate(heldCertificate.certificate) .build() } private var acceptedHostName: String? = null @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { // Test designed for Conscrypt and JSSE platform.assumeNotBouncyCastle() } @Test fun testHttp(socketMode: SocketMode = burstValues(Channel, Standard)) { testConnection(socketMode) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
// No-op } }; private ThreadFactoryBuilder builder; private volatile boolean completed = false; @Override public void setUp() { builder = new ThreadFactoryBuilder(); } public void testThreadFactoryBuilder_defaults() throws InterruptedException { ThreadFactory threadFactory = builder.build();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
*/ @GwtIncompatible public abstract class AbstractListenableFutureTest extends TestCase { protected CountDownLatch latch; protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
int size; @Param({"2", "20"}) int nonAlphaRatio; // one non-alpha char per this many chars @Param boolean noWorkToDo; Random random; String testString; @BeforeExperiment void setUp() { random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs int nonAlpha = size / nonAlphaRatio; int alpha = size - nonAlpha;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
this.throwOnEncode = throwOnEncode; } public void setThrowOnDecode(boolean throwOnDecode) { this.throwOnDecode = throwOnDecode; } } @BeforeEach void setUp() { ndrObject = new ConcreteNdrObject(); } /** * Test case for the encode method. * Verifies that the encode method of a concrete implementation is calledRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
LinkedHashMultiset<Object> linkedHashMultiset; HashMultiset<Object> hashMultiset; // TreeMultiset requires a Comparable element. TreeMultiset<Integer> treeMultiset; @BeforeExperiment void setUp() { hashMultiset = HashMultiset.create(size); linkedHashMultiset = LinkedHashMultiset.create(size); treeMultiset = TreeMultiset.create(); Random random = new Random(); int sizeRemaining = size;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
private static final double[] positiveDoubles = new double[ARRAY_SIZE]; @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"}) RoundingMode mode; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { doubleInIntRange[i] = randomDouble(Integer.SIZE - 2); doubleInLongRange[i] = randomDouble(Long.SIZE - 2); positiveDoubles[i] = randomPositiveDouble(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
@Param({"0", "1", "5", "10"}) int numListeners; @Param({"0", "1", "5", "10"}) int numThreads; private final Set<Thread> blockedThreads = new HashSet<>(); @BeforeExperiment void setUp() throws Exception { if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) { throw new SkipThisScenarioException(); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
private static final byte[] TEST_DATA = "testdata".getBytes(); private static final byte[] EMPTY_DATA = new byte[0]; @Mock private MessageDigest mockMd5; @BeforeEach void setUp() throws NoSuchAlgorithmException { // Mock Crypto.getMD5() to return our mockMd5 instance // This requires Mockito 3.4.0+ for MockedStatic // For simplicity, we'll assume Crypto.getMD5() is static and mock it.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
class Trans2QueryFSInformationResponseTest { private Trans2QueryFSInformationResponse response; private Configuration config; @Mock private Configuration mockConfig; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); Properties props = new Properties(); config = new PropertyConfiguration(props); } @Test void testConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0)