- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 3,238 for _new (0.01 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java
@Test void testNonTransitiveFiltering() throws DuplicateProjectException, CycleDetectedException { ProjectDependencyGraph graph = new FilteredProjectDependencyGraph( new DefaultProjectDependencyGraph(Arrays.asList(aProject, bProject, cProject)), Arrays.asList(aProject, cProject)); final List<MavenProject> sortedProjects = graph.getSortedProjects();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 10.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
public CacheResponse(File cacheDirectory) throws Exception { int cacheSize = 10 * 1024 * 1024; // 10 MiB Cache cache = new Cache(cacheDirectory, cacheSize); client = new OkHttpClient.Builder() .cache(cache) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); String response1Body;
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 2.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
} } } }; RequestBody requestBody = RequestBody.create( new File("docs/images/logo-square.png"), MEDIA_TYPE_PNG); Request request = new Request.Builder() .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID) .url("https://api.imgur.com/3/image") .post(new ProgressRequestBody(requestBody, progressListener)) .build();Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 4.2K bytes - Click Count (1) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
// This should NOT call setRootLoggerLevel, allowing configuration file to take effect MockInvokerRequest invokerRequest = new MockInvokerRequest(false); // not verbose MockOptions options = new MockOptions(false); // not quiet MockSlf4jConfiguration slf4jConfiguration = new MockSlf4jConfiguration(); // Simulate the fixed logic from LookupInvoker.prepareLogging() Slf4jConfiguration.Level loggerLevel;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
if (javaImpl.compare(ba3, ba4) == 0) { throw new Error(); // deoptimization } } } @Benchmark void diffLastUnsafe(int reps) { for (int i = 0; i < reps; ++i) { if (unsafeImpl.compare(ba3, ba4) == 0) { throw new Error(); // deoptimization } } } /* try { UnsignedBytesBenchmark bench = new UnsignedBytesBenchmark(); bench.length = 1024;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.8K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java
@Test void testHashCodeNullSafe() { new Prerequisites().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Prerequisites().equals(null)); new Prerequisites().equals(new Prerequisites()); } @Test void testEqualsIdentity() { Prerequisites thing = new Prerequisites();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
* */ class SiteTest { @Test void testHashCodeNullSafe() { new Site().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Site().equals(null)); new Site().equals(new Site()); } @Test void testEqualsIdentity() { Site thing = new Site(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
@Test void testHashCodeNullSafe() { new ActivationProperty().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationProperty().equals(null)); new ActivationProperty().equals(new ActivationProperty()); } @Test void testEqualsIdentity() { ActivationProperty thing = new ActivationProperty();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
class DeveloperTest { @Test void testHashCodeNullSafe() { new Developer().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Developer().equals(null)); new Developer().equals(new Developer()); } @Test void testEqualsIdentity() { Developer thing = new Developer();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
* */ class ParentTest { @Test void testHashCodeNullSafe() { new Parent().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Parent().equals(null)); new Parent().equals(new Parent()); } @Test void testEqualsIdentity() { Parent thing = new Parent(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0)