Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,014 for jstream (0.13 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

     */
    package org.apache.maven.model.building;
    
    import java.lang.reflect.Method;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.util.List;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.model.v4.MavenMerger;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @Deprecated
    class FileToRawModelMergerTest {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.util.stream.Stream;
    
    import org.apache.maven.artifact.handler.ArtifactHandlerMock;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

        /**
         * Parses a robots.txt file from the given input stream using UTF-8 encoding.
         * @param stream the input stream to parse
         * @return the parsed RobotsTxt object, or null if disabled
         */
        public RobotsTxt parse(final InputStream stream) {
            return parse(stream, Constants.UTF_8);
        }
    
        /**
         * Parses a robots.txt file from the given input stream using the specified character encoding.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. tests/test_datastructures.py

        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    async def test_upload_file():
        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
        assert file.size == 4
        await file.write(b" and more data!")
        assert await file.read() == b""
        assert file.size == 19
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                protoSession.getUserProperties().entrySet().stream()
                        .filter(k -> !sys.contains(k.getKey()))
                        .peek(k -> context.pushedUserProperties.add(k.getKey()))
                        .forEach(k -> System.setProperty(k.getKey(), k.getValue()));
            } else {
                protoSession.getUserProperties().entrySet().stream()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. 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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. 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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 09:37:42 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            return Stream.iterate(this.project, Objects::nonNull, MavenProject::getParent)
                    .flatMap(project -> project.getModel().getDelegate().getProfiles().stream())
                    .toList();
        }
    
        @Override
        @Nonnull
        public List<Profile> getDeclaredActiveProfiles() {
            return project.getActiveProfiles().stream()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 22:23:23 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/MimeMapTest.java

            void testUnknownExtension() throws IOException {
                assertEquals("application/octet-stream", mimeMap.getMimeType("unknownext"));
                assertEquals("application/octet-stream", mimeMap.getMimeType("notfound"));
                assertEquals("application/octet-stream", mimeMap.getMimeType("doesnotexist"));
            }
    
            @Test
            @DisplayName("Should handle case insensitive extensions")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top