Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 457 for source_ (0.08 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

    /**
     * Factory methods for creating different types of sources.
     * <p>
     * This class provides specialized source implementations for different use cases:
     * <ul>
     *   <li>Path sources - simple access to file content</li>
     *   <li>Build sources - POM files being actively built by Maven</li>
     *   <li>Resolved sources - POMs resolved from repositories</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

     * @see org.apache.maven.api.services.ProjectBuilder#build(Session, Source)
     */
    @Experimental
    public interface Source {
        /**
         * Provides access to the file backing this source, if available.
         * Not all sources are backed by files - for example, in-memory sources
         * or database-backed sources will return null.
         *
         * @return the underlying {@code Path} if this source is file-backed,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

    import java.io.InputStream;
    
    /**
     * Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory).
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
     */
    @Deprecated(since = "4.0.0")
    public interface Source {
    
        /**
         * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt

        val source2 = relay.newSource()!!.buffer()
        assertThat(source1.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.exhausted()).isTrue()
        assertThat(source2.exhausted()).isTrue()
        source1.close()
        source2.close()
        assertThat(relay.isClosed).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/resources/source.txt

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12 bytes
    - Viewed (0)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

        }
    
        @Test
        void testPathSourceFunctionality() {
            // Test basic source functionality
            Path path = Paths.get("/tmp");
            Sources.PathSource source = (Sources.PathSource) Sources.fromPath(path);
    
            assertEquals(path.normalize(), source.getPath());
            assertEquals(path.toString(), source.getLocation());
    
            Source resolved = source.resolve("subdir");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

        /**
         * Gets the installation settings source.
         *
         * @return the installation settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationSettingsSource();
    
        /**
         * Gets the project settings source.
         *
         * @return the project settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getProjectSettingsSource();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        List<ByteSource> sources = new ArrayList<>();
        int start = 0;
        for (Integer span : spans) {
          sources.add(newByteSource(start, span));
          start += span;
        }
        ByteSource joined = ByteSource.concat(sources);
        assertTrue(newByteSource(0, start).contentEquals(joined));
      }
    
      public void testReadSingleByte() throws Exception {
        ByteSource source = newByteSource(0, 10);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

        /**
         * Gets the installation Toolchains source.
         *
         * @return the installation Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationToolchainsSource();
    
        /**
         * Gets the user Toolchains source.
         *
         * @return the user Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getUserToolchainsSource();
    
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. 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 {
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top