- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 860 for setMap (0.07 sec)
-
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
protected void assertSize(int expectedSize) { assertEquals(expectedSize, table.size()); } @Override public void setUp() throws Exception { super.setUp(); table = create(); } public void testContains() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertTrue(table.contains("foo", 1));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
} public void testMap() throws IOException { // Test data int size = 1024; byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test MappedByteBuffer actual = Files.map(file); // Verify ByteBuffer expected = ByteBuffer.wrap(bytes);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
package org.codelibs.core.timer; import junit.framework.TestCase; /** * @author higa * */ public class TimeoutManagerTest extends TestCase { private int expiredCount; protected void setUp() throws Exception { expiredCount = 0; TimeoutManager.getInstance().clear(); } protected void tearDown() throws Exception { TimeoutManager.getInstance().clear(); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; class MsrpcLsarOpenPolicy2Test { @Mock private LsaPolicyHandle mockPolicyHandle; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void constructor_shouldInitializeFieldsCorrectly() { // Given String server = "testServer";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
import jcifs.smb.SmbException; class SamrAliasHandleTest { @Mock private DcerpcHandle mockDcerpcHandle; @Mock private SamrDomainHandle mockSamrDomainHandle; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void constructor_shouldOpenAliasSuccessfully() throws IOException { // Arrange int access = 1; int rid = 100;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
* Tests HTTPS URL stream handler functionality with NTLM authentication support. */ @DisplayName("HTTPS Handler Tests") class HandlerTest { private Handler handler; @BeforeEach void setUp() { handler = new Handler(null); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create handler with null context")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
import org.junit.Test; /** * @author taedium */ public class ResourceTraversalTest { private static int count = 0; /** * @throws Exception */ @Before public void setUp() throws Exception { count = 0; } /** * @throws Exception */ @Test public void testForEachFile() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RelatedContentService.java
cb.query().setContent_Wildcard(wrapQuery(relatedContentPager.content)); } // TODO Long, Integer, String supported only. // setup condition cb.query().addOrderBy_Term_Asc(); cb.query().addOrderBy_CreatedTime_Asc(); // search } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
int[] xInts; int[] yInts; long[] xLongs; long[] yLongs; int[] constant; private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL; @BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
private static final String[] hexStrings = new String[ARRAY_SIZE]; private static final String[] prefixedHexStrings = new String[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { longs[i] = random(); divisors[i] = randomDivisor(longs[i]); decimalStrings[i] = UnsignedLongs.toString(longs[i]);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.4K bytes - Viewed (0)