- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 125 for Copyto (0.17 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java
resources.findResource("permissions.tar").copyTo(archiveFile); final Map<String, Integer> expected = new HashMap<>(); expected.put("file", 0644); expected.put("folder", 0755); assertVisitsPermissions(tree, expected); } @Test public void readsTarFileWithNullPermissions() { resources.findResource("nullpermissions.tar").copyTo(archiveFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 5.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/DefaultJavaExecSpec.java
this.fileCollectionFactory = fileCollectionFactory; this.classpath = fileCollectionFactory.configurableFiles("classpath"); } public void copyTo(JavaExecSpec targetSpec) { // JavaExecSpec targetSpec.setArgs(getArgs()); targetSpec.getArgumentProviders().addAll(getArgumentProviders()); targetSpec.getMainClass().set(getMainClass());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 27 09:47:37 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/DelegatingJavaExecSpec.java
} @Override default ListProperty<String> getJvmArguments() { return getDelegate().getJvmArguments(); } @Override default JavaForkOptions copyTo(JavaForkOptions options) { getDelegate().copyTo(options); return this; } @Override JavaExecSpec getDelegate();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/StoreTarget.java
public void writeTo(OutputStream output) throws IOException { Closer closer = Closer.create(); closer.register(output); try { stored = true; Files.asByteSource(file).copyTo(output); } catch (Exception e) { throw closer.rethrow(e); } finally { closer.close(); } } public boolean isStored() { return stored; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 1.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dependencies/AbstractDependency.java
@SuppressWarnings("deprecation") public abstract class AbstractDependency implements org.gradle.api.internal.artifacts.ResolvableDependency, Dependency { private String reason; protected void copyTo(AbstractDependency target) { target.reason = reason; } @Override @Deprecated public void resolve(org.gradle.api.internal.artifacts.CachingDependencyResolveContext context) { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:16:36 UTC 2024 - 1.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt
} internal class BufferMockResponseBody( val buffer: Buffer, ) : MockResponseBody { override val contentLength = buffer.size override fun writeTo(sink: BufferedSink) { buffer.copyTo(sink.buffer) sink.emitCompleteSegments() }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipCopyActionTest.groovy
mock.getRelativePath() >> RelativePath.parse(false, path) mock.getLastModified() >> 1000L mock.isDirectory() >> false mock.getPermissions() >> new DefaultFilePermissions(1) mock.copyTo(_ as OutputStream) >> { OutputStream out -> out << "contents of $path" } mock } private FileCopyDetailsInternal dir(final String path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 14:26:33 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/MinimalExternalModuleDependencyInternal.java
import org.gradle.api.model.ObjectFactory; import org.gradle.internal.typeconversion.NotationParser; public interface MinimalExternalModuleDependencyInternal extends MinimalExternalModuleDependency { void copyTo(AbstractExternalModuleDependency target); ImmutableAttributesFactory getAttributesFactory(); NotationParser<Object, Capability> getCapabilityNotationParser(); ObjectFactory getObjectFactory();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 16:36:23 UTC 2023 - 1.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
* signatures. */ fun Buffer.isProbablyUtf8(): Boolean { try { val prefix = Buffer() val byteCount = size.coerceAtMost(64) copyTo(prefix, 0, byteCount) for (i in 0 until 16) { if (prefix.exhausted()) { break } val codePoint = prefix.readUtf8CodePoint()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (2) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarCopyActionSpec.groovy
details.getLastModified() >> 1000L details.getSize() >> content.getBytes().length details.isDirectory() >> false details.getPermissions() >> new DefaultFilePermissions(1) details.copyTo(_ as OutputStream) >> {OutputStream out -> IOUtils.write(content, out)} return details } private FileCopyDetailsInternal dir(final String path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 14:26:33 UTC 2023 - 6.4K bytes - Viewed (0)