Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,647 for source (0.2 sec)

  1. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. 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 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/io/SourceSinkFactory.java

    import java.io.File;
    import java.io.IOException;
    
    /**
     * A test factory for byte or char sources or sinks. In addition to creating sources or sinks, the
     * factory specifies what content should be expected to be read from a source or contained in a sink
     * given the content data that was used to create the source or that was written to the sink.
     *
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

        /**
         * Gets the global settings source.
         *
         * @return the global settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getGlobalSettingsSource();
    
        /**
         * Gets the project settings source.
         *
         * @return the project settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getProjectSettingsSource();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  5. maven-core/src/test/projects/project-builder/MNG-6983/parent-pom.xml

                                <id>add-source-config</id>
                                <phase>generate-sources</phase>
                                <goals>
                                    <goal>add-source</goal>
                                </goals>
                                <configuration>
                                    <sources>
                                        <source>.</source>
                                    </sources>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Oct 03 10:51:51 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

        @Nonnull
        Optional<Source> getSource();
    
        boolean isAllowStubModel();
    
        boolean isRecursive();
    
        boolean isProcessPlugins();
    
        @Nonnull
        static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Source source) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .source(nonNull(source, "source cannot be null"))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/FileToRawModelMerger.java

            // don't merge
        }
    
        @Override
        protected void mergeModel_Licenses(
                Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) {
            // don't merge
        }
    
        @Override
        protected void mergeModel_MailingLists(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

        }
    
        @Override
        public void put(Path source, URI relativeTarget) {
            requireNonNull(source, "source is null");
            requireNonNull(relativeTarget, "relativeTarget is null");
            if (Files.isRegularFile(source)) {
                throw new IllegalArgumentException("source file does not exist or is not a file");
            }
            if (relativeTarget.isAbsolute()) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

      @Test
      fun sourceSeesBom() {
        val body = "efbbbf68656c6c6f".decodeHex().toResponseBody()
        val source = body.source()
        assertThat(source.readByte() and 0xff).isEqualTo(0xef)
        assertThat(source.readByte() and 0xff).isEqualTo(0xbb)
        assertThat(source.readByte() and 0xff).isEqualTo(0xbf)
        assertThat(source.readUtf8()).isEqualTo("hello")
      }
    
      @Test
      fun bytesEmpty() {
        val body = body("")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top