- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 5,459 for New (0.59 sec)
-
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* * {@snippet : * final WeakHashMap<Object, Object> map = new WeakHashMap<>(); * map.put(new Object(), Boolean.TRUE); * GcFinalization.awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return map.isEmpty(); * } * }); * } * * <p>Even if your non-test code does not use finalization, you can use this class to test forRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
/** * Tests the append method of the DfsReferral class. * It verifies that a new DfsReferral object can be successfully appended to an existing one, * forming a linked list structure. */ @Test void testAppend() { // Given DfsReferral initialReferral = new DfsReferral(); DfsReferral appendedReferral = new DfsReferral(); // When initialReferral.append(appendedReferral);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java
model = new MavenStaxReader().read(is); } } @Test void testV4Model() { assertEquals("4.0.0", new MavenModelVersion().getModelVersion(model)); } @Test void testV4ModelVersion() { Model m = model.withModelVersion("4.1.0"); assertEquals("4.0.0", new MavenModelVersion().getModelVersion(m)); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100))); assertEquals(new BigDecimal("1000"), BigDecimalConversionUtil.toBigDecimal(Long.valueOf(1000L))); assertEquals(0, new BigDecimal("0.1").compareTo(BigDecimalConversionUtil.toBigDecimal(Float.valueOf(0.1F))));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java
processPlugins = true; profiles = new ArrayList<>(); activeProfileIds = new ArrayList<>(); inactiveProfileIds = new ArrayList<>(); systemProperties = new Properties(); userProperties = new Properties(); remoteRepositories = new ArrayList<>(); pluginArtifactRepositories = new ArrayList<>(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 10:13:56 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
this.scenario = scenario; this.timeout = timeout; this.expectedOutcome = expectedOutcome; this.monitor = new Monitor(fair); this.guard = new FlagGuard(monitor); this.tearDownLatch = new CountDownLatch(1); this.doingCallLatch = new CountDownLatch(1); this.callCompletedLatch = new CountDownLatch(1); } private static String nameFor(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 27.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
Build build = new Build(); build.setDirectory(expected.substring(0, expected.length() - "/classes".length())); Model model = new Model(); model.setBuild(build); MavenProject project = new MavenProject(model); project.setFile(new File("pom.xml").getCanonicalFile());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* {@code * // In-memory caching * byte[] data = "example data".getBytes(); * try (ContentCache cache = new ContentCache(data)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStream * } * * // File-based caching * File file = new File("example.txt"); * try (ContentCache cache = new ContentCache(file)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStreamRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
@DisplayName("Test different implementations can have different behaviors") void testDifferentImplementations() { // Given SmbNegotiationRequest enforcedRequest = new TestSmbNegotiationRequest(true); SmbNegotiationRequest notEnforcedRequest = new TestSmbNegotiationRequest(false); // When & Then assertTrue(enforcedRequest.isSigningEnforced(), "Enforced request should return true");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java
ElevateWord elevateWord1 = new ElevateWord("a", 1.0f, Collections.singletonList("a"), Collections.singletonList("content"), null, null); ElevateWord elevateWord2 = new ElevateWord("b", 0.0f, Collections.singletonList("b"), Collections.singletonList("content"), null, null);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 13:04:17 UTC 2025 - 5.4K bytes - Viewed (0)