Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 625 for streams (0.04 seconds)

  1. internal/config/crypto_test.go

    		if err != nil {
    			t.Fatalf("Test %d: failed to encrypt stream: %v", i, err)
    		}
    		data, err := io.ReadAll(ciphertext)
    		if err != nil {
    			t.Fatalf("Test %d: failed to encrypt stream: %v", i, err)
    		}
    
    		plaintext, err := Decrypt(KMS, bytes.NewReader(data), test.Context)
    		if err != nil {
    			t.Fatalf("Test %d: failed to decrypt stream: %v", i, err)
    		}
    		data, err = io.ReadAll(plaintext)
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringWriter;
    import java.io.Writer;
    import java.util.ArrayList;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.stream.Stream;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                        ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
                        : Map.of();
            } catch (LookupException e) {
                throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e);
            }
        }
    
        public String getLifecyclePhaseList() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Set;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import eu.maveniverse.domtrip.Document;
    import eu.maveniverse.domtrip.Element;
    import eu.maveniverse.domtrip.maven.Coordinates;
    import eu.maveniverse.domtrip.maven.MavenPomElements;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/CountingOutputStream.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CountingOutputStream extends FilterOutputStream {
    
      private long count;
    
      /**
       * Wraps another output stream, counting the number of bytes written.
       *
       * @param out the output stream to be wrapped
       */
      public CountingOutputStream(OutputStream out) {
        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

                throws IOException;
    
        /**
         * Calculates checksums for specified stream. Upon this method returns, the stream will be depleted (fully read)
         * but not closed.
         *
         * @param stream      The stream for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

    package org.apache.maven.execution;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.function.Predicate;
    import java.util.stream.Stream;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Container for storing the request from the user to activate or deactivate certain projects and optionally fail the
     * build if those projects do not exist.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

            );
    
        private void gatherBadSnippetsInFile(File file, Map<File, List<Error>> errors) {
            List<String> lines = new ArrayList<>();
            try (java.util.stream.Stream<String> stream = Files.lines(file.toPath())) {
                stream.forEach(lines::add);
            } catch (IOException ex) {
                // If a file can't be read, add an error
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageAssert.java

            assertNotNull(actual);
    
            boolean hasMessage =
                    actual.getProblems().stream().anyMatch(p -> p.getMessage().contains(problemMessage));
    
            if (!hasMessage) {
                String actualMessages = actual.getProblems().stream()
                        .map(ModelProblem::getMessage)
                        .map(m -> "\"" + m + "\"")
                        .collect(joining(", "));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

        @Nullable
        Path userHome();
    
        /**
         * Returns the input stream to be used for the Maven execution.
         * If not set, {@link System#in} will be used by default.
         *
         * @return the input stream, or null if not set
         */
        @Nullable
        InputStream stdIn();
    
        /**
         * Returns the output stream to be used for the Maven execution.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top