Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,233 for jstream (0.05 seconds)

  1. tests/test_request_params/test_file/test_optional.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [
                        {"type": "string", "contentMediaType": "application/octet-stream"},
                        {"type": "null"},
                    ],
                    "title": "P",
                }
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/curl/CurlResponseTest.java

            ContentCache cache = new ContentCache(data);
            response.setContentCache(cache);
    
            try (InputStream stream = response.getContentAsStream()) {
                assertNotNull(stream);
                byte[] buffer = new byte[1024];
                int bytesRead = stream.read(buffer);
                assertEquals(data.length, bytesRead);
                assertArrayEquals(data, Arrays.copyOf(buffer, bytesRead));
            }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java

    import org.gradle.api.plugins.ExtraPropertiesExtension;
    import org.gradle.api.tasks.Copy;
    import org.gradle.api.tasks.SourceSetContainer;
    
    import java.io.File;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import static java.util.Arrays.stream;
    
    /**
     * A plugin to run tests that depend on other plugins or modules.
     * <p>
     * This plugin will add the plugin-metadata and properties files for each
     * dependency to the test source set.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.2K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java

         */
        Settings read(Reader input, Map<String, ?> options) throws IOException, SettingsParseException;
    
        /**
         * Reads the settings from the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
         * @param input The stream to deserialize the settings from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java

        /**
         * Reads the toolchains from the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
         * @param input The stream to deserialize the toolchains from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         */
        Metadata read(Reader input, Map<String, ?> options) throws IOException, MetadataParseException;
    
        /**
         * Reads the metadata from the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
         * @param input The stream to deserialize the metadata from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersPrecommitPlugin.java

    import org.gradle.api.provider.ProviderFactory;
    import org.gradle.api.tasks.SourceSetContainer;
    import org.gradle.api.tasks.TaskProvider;
    
    import javax.inject.Inject;
    import java.util.stream.Collectors;
    
    public class LicenseHeadersPrecommitPlugin extends PrecommitPlugin {
        @Inject
        public LicenseHeadersPrecommitPlugin(ProviderFactory providerFactory) {
            this.providerFactory = providerFactory;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.deployer.ArtifactDeploymentException;
    import org.apache.maven.artifact.installer.ArtifactInstallationException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

            }).collect(Collectors.toList());
        }
    
        private Stream<InstallationLocation> getAvailableJavaInstallationLocationSteam() {
            return Stream.concat(
                javaInstallationRegistry.listInstallations().stream(),
                Stream.of(new InstallationLocation(Jvm.current().getJavaHome(), "Current JVM"))
            );
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            activeProfileId.addAll(request.getProfileActivation().getOptionalActiveProfileIds());
    
            return request.getProfiles().stream()
                    .filter(profile -> activeProfileId.contains(profile.getId()))
                    .map(ModelBase::getProperties)
                    .flatMap(properties -> properties.entrySet().stream())
                    .filter(e -> e.getValue() != null)
                    .collect(Collectors.toMap(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
Back to Top