Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,953 for source (0.2 sec)

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

     * @see org.apache.maven.api.services.ProjectBuilder#build(Session, Source)
     * @see org.apache.maven.api.services.SettingsBuilder#build(Session, Source, Source, Source)
     * @see org.apache.maven.api.services.ToolchainsBuilder#build(Session, Source, Source)
     */
    @Experimental
    public interface Source {
    
        /**
         * Provides access the file to be parsed, if this source is backed by a file.
         *
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. 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).
     *
     */
    public interface Source {
    
        /**
         * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller.
         *
         * @return A byte stream to the source contents, never {@code null}.
         * @throws IOException in case of IO issue
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/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()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(STRING.length(), source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertEquals(STRING, sink.getString());
      }
    
      public void testRead_toString() throws IOException {
        assertEquals(STRING, source.read());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.Source
    import okio.Timeout
    
    /**
     * Replicates a single upstream source into multiple downstream sources. Each downstream source
     * returns the same bytes as the upstream source. Downstream sources may read data either as it
     * is returned by upstream, or after the upstream source has been exhausted.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

        public Model merge(Model target, Model source, boolean sourceDominant, Map<?, ?> hints) {
            return super.merge(target, source, sourceDominant, hints);
        }
    
        @Override
        protected Model mergeModel(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) {
            context.put(ARTIFACT_ID, target.getArtifactId());
    
            return super.mergeModel(target, source, sourceDominant, context);
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. api/maven-api-settings/src/main/java/org/apache/maven/api/settings/InputLocation.java

         * @param source the source location
         * @param sourceDominant the boolean indicating of {@code source} is dominant compared to {@code target}
         * @return the merged location
         */
        public static InputLocation merge(InputLocation target, InputLocation source, boolean sourceDominant) {
            if (source == null) {
                return target;
            } else if (target == null) {
                return source;
            }
    
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 10:39:14 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. ci/official/utilities/setup.sh

      echo 'already sourced a TFCI env file with "set -a; source <path>; set +a".'
      echo 'If you have not, you will see a lot of undefined variable errors.'
    else
      FROM_ENV=$(mktemp)
      # "export -p" prints a list of environment values in a safe-to-source format,
      # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash.
      export -p | grep TFCI > "$FROM_ENV"
    
      # Source the default ci values
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        ByteSource equalSource = new TestByteSource(bytes);
        assertTrue(source.contentEquals(equalSource));
        assertTrue(new TestByteSource(bytes).contentEquals(source));
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(STRING.length(), source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertEquals(STRING, sink.getString());
      }
    
      public void testRead_toString() throws IOException {
        assertEquals(STRING, source.read());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
Back to top