- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 256 for _source (0.12 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
public final class Sources { private Sources() {} /** * Creates a new source for the specified path. * * @param path the path to the file * @return a new Source instance * @throws NullPointerException if path is null */ @Nonnull public static Source fromPath(@Nonnull Path path) { return new PathSource(requireNonNull(path, "path")); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
cmd/metrics-resource.go
lastDriveStatsRefresh time.Time ) // PeerResourceMetrics represents the resource metrics // retrieved from a peer, along with errors if any type PeerResourceMetrics struct { Metrics map[MetricSubsystem]ResourceMetrics Errors []string } // ResourceMetrics is a map of unique key identifying // a resource metric (e.g. reads_per_sec_{node}_{drive}) // to its data type ResourceMetrics map[string]ResourceMetricCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 17.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
} for (Resource resource : project.getBuild().getDelegate().getResources()) { project.addSourceRoot(new DefaultSourceRoot(baseDir, ProjectScope.MAIN, resource)); } for (Resource resource : project.getBuild().getDelegate().getTestResources()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 4.5K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Path path = Paths.get("/tmp"); Source source = Sources.fromPath(path); assertNotNull(source); assertInstanceOf(Sources.PathSource.class, source); assertEquals(path.normalize(), source.getPath()); } @Test void testBuildSource() { Path path = Paths.get("/tmp"); ModelSource source = Sources.buildSource(path); assertNotNull(source);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
// We don't want this to be parseable...it's sort of 'hidden' // default source for this profile is in the pom itself. private String source = SOURCE_POM; public void setSource(String source) { this.source = source; } public String getSource() { return source; } /** * @see java.lang.Object#toString() */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 26 03:07:35 GMT 2025 - 133.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
import java.util.Optional; import org.apache.maven.api.annotations.Nonnull; /** * A root directory of source files. * The sources may be Java main classes, test classes, resources or anything else identified by the scope. * * <h2>Default values</h2> * The properties in this interface are defined in the {@code <Source>} element of the * {@linkplain org.apache.maven.api.model.Model Maven project descriptor}.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 14.2K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java
ModelSource source = Sources.resolvedSource(path, modelId); assertNotNull(source); assertEquals(modelId, source.getModelId(), "Resolved source should return the provided modelId"); assertNull(source.getPath(), "Resolved sources should return null for getPath()"); assertEquals(path.toString(), source.getLocation()); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
* <li>Resolved sources: Used for artifacts that have been resolved by Maven from repositories * (using groupId:artifactId:version coordinates) and downloaded to the local repository. * These sources do not support resolving other sources.</li> * </ul> * * @since 4.0.0 * @see Source */ public interface ModelSource extends Source { /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.4K bytes - Click Count (0) -
internal/dsync/drwmutex_test.go
resource := "test" runtime.GOMAXPROCS(gomaxprocs) // Number of active readers + 10000 * number of active writers. var activity int32 cdone := make(chan bool) go writer(resource, numIterations, &activity, cdone) var i int for i = 0; i < numReaders/2; i++ { go reader(resource, numIterations, &activity, cdone) } go writer(resource, numIterations, &activity, cdone)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (0)