Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 125 for Copyto (0.13 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/JavaDebugOptionsInternal.java

            this.suspend = suspend;
        }
    
        public String getAddress(){
            String port = Integer.toString(this.port);
            return isNullOrEmpty(host) ? port : host + ":" + port;
        }
    
        public void copyTo(JavaDebugOptionsInternal opts) {
            opts.enabled = enabled;
            opts.suspend = suspend;
            opts.server = server;
            opts.port = port;
            opts.host = host;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

       *       one with {@link CharSequence#charAt(int)}.
       *   <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
       *       #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length
       *       can't change, and it is faster because many writers and appendables are optimized for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultClientModule.java

        }
    
        @Override
        public org.gradle.api.artifacts.ClientModule copy() {
            DefaultClientModule copiedClientModule = new DefaultClientModule(getGroup(), getName(), getVersion(), getTargetConfiguration());
            copyTo(copiedClientModule);
            for (ModuleDependency dependency : dependencies) {
                copiedClientModule.addDependency(dependency.copy());
            }
            return copiedClientModule;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            def copy = file("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            inFile.copyTo(copy)
            inFile.delete()
            inFile.createLink(copy)
            run("work")
    
            /*
             * This documents the current behavior, which is optimizing
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. build-logic/packaging/src/main/kotlin/gradlebuild/packaging/transforms/CopyPublicApiClassesTransform.kt

                    outputFile.parentFile.mkdirs()
                    zipFile.getInputStream(entry).use { input ->
                        outputFile.outputStream().use { output ->
                            input.copyTo(output)
                        }
                    }
                }
            }
        }
    
        private
        fun ZipEntry.shouldInclude(): Boolean {
            if (name.endsWith(".class")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/resources/FileCollectionBackedTextResource.java

                }
    
                File targetFile = tempFileProvider.createTemporaryFile("fileCollection", ".txt", "resource");
                try {
                    Files.asCharSource(fileCollection.getSingleFile(), charset).copyTo(Files.asCharSink(targetFile, targetCharsetObj));
                } catch (IOException e) {
                    throw new ResourceException("Could not write " + getDisplayName() + " content to " + targetFile + ".", e);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 02 16:14:10 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.JavaExec.xml

                </tr>
                <tr>
                    <td>args</td>
                </tr>
                <tr>
                    <td>classpath</td>
                </tr>
                <tr>
                    <td>copyTo</td>
                </tr>
                <tr>
                    <td>executable</td>
                </tr>
                <tr>
                    <td>workingDir</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependency.java

            // and the type to "jar" by default
            artifact.setName(getName());
            artifact.setType("jar");
            return artifact;
        }
    
        protected void copyTo(AbstractModuleDependency target) {
            super.copyTo(target);
            target.setArtifacts(new LinkedHashSet<>(getArtifacts()));
            target.setExcludeRuleContainer(new DefaultExcludeRuleContainer(getExcludeRules()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy

            }
    
            @Override
            void setBytes(byte[] bytes) {
                file.bytes = bytes
            }
    
            @Override
            void copyBytesTo(TestFile file) {
                this.file.copyTo(file)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/AbstractArchiveFileTreeElement.java

        public File getFile() {
            if (file == null) {
                file = new File(expandedDir, safeEntryName());
                if (!file.exists()) {
                    GFileUtils.mkdirs(file.getParentFile());
                    copyTo(file);
                }
            }
            return file;
        }
    
        @Override
        public RelativePath getRelativePath() {
            return new RelativePath(!getArchiveEntry().isDirectory(), safeEntryName().split("/"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 31 20:39:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top