Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 177 for ByteArrayInputStream (0.24 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientFactory.java

    import org.gradle.internal.service.scopes.ServiceScope;
    import org.gradle.launcher.daemon.configuration.DaemonParameters;
    import org.gradle.launcher.daemon.context.DaemonRequestContext;
    
    import java.io.ByteArrayInputStream;
    import java.io.InputStream;
    import java.util.Collections;
    
    @ServiceScope(Scope.Global.class)
    public class DaemonClientFactory {
        private final ServiceRegistry sharedServices;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.transformer.impl;
    
    import java.io.BufferedInputStream;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    
    import org.apache.commons.io.IOUtils;
    import org.codelibs.fess.crawler.entity.AccessResultData;
    import org.codelibs.fess.crawler.entity.ResponseData;
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/ConsumingStandardInputCrossVersionSpec.groovy

    """
            when:
            GradleProject model = (GradleProject) withConnection { ProjectConnection connection ->
                def model = connection.model(GradleProject.class)
                model.standardInput = new ByteArrayInputStream("Cool project".bytes)
                model.get()
            }
    
            then:
            model.description == 'Cool project'
        }
    
        @Timeout(90)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.building;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Wraps an ordinary {@link CharSequence} as a source.
     *
     */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/FilterChainTest.java

    import org.apache.commons.io.IOUtils;
    import org.gradle.api.provider.Property;
    import org.gradle.util.TestUtil;
    import org.gradle.util.internal.WrapUtil;
    import org.junit.Test;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.nio.charset.Charset;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1).contentType("application/octet-stream").build());
            minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("dir1/file2.txt")
                    .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1).contentType("application/octet-stream").build());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.ByteArrayInputStream;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    import java.util.Arrays;
    
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

    import org.gradle.internal.snapshot.ValueSnapshot;
    import org.gradle.internal.snapshot.ValueSnapshotter;
    import org.gradle.internal.snapshot.ValueSnapshottingException;
    
    import javax.annotation.Nullable;
    import java.io.ByteArrayInputStream;
    import java.util.Arrays;
    
    /**
     * An immutable snapshot of the state of some value.
     */
    public class JavaSerializedValueSnapshot implements ValueSnapshot {
        private final HashCode implementationHash;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:37:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/credentials-handling/pass-credentials-to-external-tool-via-stdin/kotlin/build.gradle.kts

        inputs.property("credentials", loginProvider)
    
        commandLine = listOf("sh", "login.sh")
        doFirst {
            val loginCredentials = loginProvider.get()
            standardInput = java.io.ByteArrayInputStream("${loginCredentials.username}\n${loginCredentials.password}".toByteArray())
        }
    }
    
    tasks.register("doAuthenticated") {
        dependsOn(login)
        doLast {
            println("Doing authenticated task")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 551 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessorTest.groovy

                ExternalResourceReadResult.of(1, t.transform(new ByteArrayInputStream("proc".bytes)))
            }
            1 * repository.withProgressLogging() >> progressLoggingRepo
            1 * progressLoggingRepo.resource(location, true) >> remoteResource
            1 * remoteResource.withContentIfPresent(_) >> { ExternalResource.ContentAndMetadataAction a ->
                a.execute(new ByteArrayInputStream(), remoteMetaData)
            }
            0 * _._
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 17:19:47 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top