- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 3,238 for _new (0.02 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
this.delegate = new ArtifactDescriptorReaderDelegate(); } @Override public ArtifactDescriptorResult readArtifactDescriptor( RepositorySystemSession session, ArtifactDescriptorRequest request) throws ArtifactDescriptorException { ArtifactDescriptorResult result = new ArtifactDescriptorResult(request);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 17.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind int len = string.length(); int size = len * count; char[] array = new char[size]; for (int i = 0; i < size; i += len) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
public void run() throws Exception { File socketFile = new File("/tmp/ClientAndServer.sock"); socketFile.delete(); // Clean up from previous runs. MockWebServer server = new MockWebServer(); server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile)); server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)); server.enqueue(new MockResponse().setBody("hello")); server.start();
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Dec 24 03:46:30 GMT 2018 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
StringBuilder builder = new StringBuilder(); Writer writer = new AppendableWriter(builder); writer.append("Hello,"); writer.append(' '); writer.append("The World Wide Web", 4, 9); writer.append("!"); assertEquals("Hello, World!", builder.toString()); } public void testCloseFlush() throws IOException { SpyAppendable spy = new SpyAppendable();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java
MojoExecutionScope scope = new MojoExecutionScope(); scope.enter(); final AtomicInteger beforeExecution = new AtomicInteger(); final AtomicInteger afterExecutionSuccess = new AtomicInteger(); final AtomicInteger afterExecutionFailure = new AtomicInteger(); final WeakMojoExecutionListener instance = new WeakMojoExecutionListener() { @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
throw new IOException("Unable to prompt", e); } } @Override public String readPassword() throws IOException { try { return prompter.promptForPassword(null); } catch (org.apache.maven.api.services.PrompterException e) { throw new IOException("Unable to prompt", e); } } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:48:41 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
// This test demonstrates the difference between the old broken behavior and the new fixed behavior Model model = new Model(); model.setGroupId("test.group"); model.setArtifactId("test-artifact"); model.setVersion("1.0.0"); Build build = new Build(); model.setBuild(build); Plugin originalPlugin = new Plugin(); originalPlugin.setGroupId("org.apache.maven.plugins");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 04 12:50:13 GMT 2025 - 5K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
@Test void testHashCodeNullSafe() { new DependencyManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DependencyManagement().equals(null)); new DependencyManagement().equals(new DependencyManagement()); } @Test void testEqualsIdentity() { DependencyManagement thing = new DependencyManagement();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
if (args.length < 3 || args.length > 4) { throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]"); } File stylesheet = new File(args[0]); File source = new File(args[1]); File dest = new File(args[2]); String destDir = ""; if (args.length > 3) { destDir = args[3]; }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 2.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
// TODO Hack to make the cycle detection the same for the new graph builder if (e.getCause() instanceof ProjectCycleException) { result = addExceptionToResult(new DefaultMavenExecutionResult(), e.getCause()); } else { result = addExceptionToResult( new DefaultMavenExecutionResult(), new InternalErrorException("Internal error: " + e, e)); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon May 05 16:58:52 GMT 2025 - 28.7K bytes - Click Count (1)