Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 158 for IsStream (0.12 sec)

  1. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Combiners.java

    import java.util.function.BinaryOperator;
    
    /**
     * Utility class to help with using {@link java.util.stream.Stream#reduce(Object, BiFunction, BinaryOperator)}.
     * Promote to a more shared subproject if useful.
     */
    public abstract class Combiners {
    
        /**
         * We know the stream we are processing is handled sequentially, and hence there is no need for a combiner.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:06 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogFile.groovy

    package org.gradle.integtests.fixtures.daemon
    
    
    import org.gradle.util.GradleVersion
    
    import java.nio.charset.Charset
    import java.nio.charset.StandardCharsets
    import java.nio.file.Files
    import java.util.stream.Stream
    
    /**
     * A wrapper class to read the daemon log file.
     */
    class DaemonLogFile {
        private final File logFile
        private final Charset charset
    
        private DaemonLogFile(File logFile, Charset charset) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractDecoder.java

    import java.io.IOException;
    import java.io.InputStream;
    
    public abstract class AbstractDecoder implements Decoder {
        private DecoderStream stream;
    
        @Override
        public InputStream getInputStream() {
            if (stream == null) {
                stream = new DecoderStream();
            }
            return stream;
        }
    
        @Override
        public void readBytes(byte[] buffer) throws IOException {
            readBytes(buffer, 0, buffer.length);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/types/InstrumentedTypesResourceGenerator.java

    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.UncheckedIOException;
    import java.io.Writer;
    import java.nio.charset.StandardCharsets;
    import java.util.Collection;
    import java.util.stream.Collectors;
    
    /**
     * Writes all instrumented types with inherited method interception to a resources
     */
    public class InstrumentedTypesResourceGenerator implements InstrumentationResourceGenerator {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                        ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(lf)))
                        : Map.of();
            } catch (LookupException e) {
                throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e);
            }
        }
    
        public String getLifecyclePhaseList() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Message.java

            }
        }
    
        /**
         * Read back an object from the provided stream that has been serialized by a call to {@link #send(Object, java.io.OutputStream)}. Any {@link Throwable} that cannot be de-serialized (for whatever
         * reason) will be replaced by a {@link PlaceholderException}.
         *
         * @param inputSteam stream to read the object from
         * @param classLoader loader used to load exception classes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsResourceGenerator.java

    import java.io.UncheckedIOException;
    import java.io.Writer;
    import java.nio.charset.StandardCharsets;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import static org.gradle.internal.instrumentation.processor.codegen.groovy.InterceptGroovyCallsGenerator.FILTERABLE_CALL_INTERCEPTOR;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/initialization/buildsrc/BuildSrcDetector.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.stream.Stream;
    
    import static org.gradle.internal.scripts.ScriptFileUtil.getValidBuildFileNames;
    import static org.gradle.internal.scripts.ScriptFileUtil.getValidSettingsFileNames;
    
    public class BuildSrcDetector {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsResourceGenerator.java

    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.UncheckedIOException;
    import java.io.Writer;
    import java.nio.charset.StandardCharsets;
    import java.util.Collection;
    import java.util.stream.Collectors;
    
    /**
     * Generates META-INF/services resource with all factory classes for generated JvmBytecodeCallInterceptors so we can load them at runtime
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top