Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for copyFrom (0.27 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

                    throw new RuntimeException(String.format("Could not copy test file '%s' to '%s'", this, target), e);
                }
            }
        }
    
        public void copyFrom(File target) {
            new TestFile(target).copyTo(this);
        }
    
        public void copyFrom(final URL resource) {
            final TestFile testFile = this;
            RetryUtil.retry(new Closure(null, null) {
                @SuppressWarnings("UnusedDeclaration")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParameters.java

                    legacyProgressListeners, progressListeners, cancellationToken, systemProperties, new FailsafeStreamedValueListener(streamedValueListener));
            }
    
            public void copyFrom(ConsumerOperationParameters operationParameters) {
                tasks = operationParameters.tasks;
                launchables = operationParameters.launchables;
                cancellationToken = operationParameters.cancellationToken;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/DefaultClassLoaderScopeTest.groovy

            def fileName = clazz.name.replace('.', '/') + ".class"
            def dest = destDir.file(fileName)
            def classFile = clazz.classLoader.getResource(fileName)
            dest.copyFrom(classFile)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

                  ' for representative samples.'
              )
    
            sample = _RepresentativeDataSample()
            for input_name, input_value in repr_sample.items():
              sample.tensor_proto_inputs[input_name].CopyFrom(
                  tensor_util.make_tensor_proto(input_value)
              )
    
            writer.write(sample.SerializeToString())
    
        logging.info(
            'Saved representative dataset for signature def: %s to: %s',
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

        }
    
        /**
         * Copies the options from the source options into the current one.
         * @since 8.0
         */
        public void copyFrom(TestNGOptions other) {
            this.outputDirectory = other.outputDirectory;
            replace(this.includeGroups, other.includeGroups);
            replace(this.excludeGroups, other.excludeGroups);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest.groovy

            }
        }
    
        def "deduplicated keys are chosen by subkeys amount"() {
            given:
            javaLibrary()
            file("gradle/verification-keyring.keys").copyFrom(
                this.class.getResource("/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest/duplicated.keys")
            )
    
            when:
            writeVerificationMetadata()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  7. src/runtime/mkduff.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func main() {
    	gen("amd64", notags, zeroAMD64, copyAMD64)
    	gen("386", notags, zero386, copy386)
    	gen("arm", notags, zeroARM, copyARM)
    	gen("arm64", notags, zeroARM64, copyARM64)
    	gen("loong64", notags, zeroLOONG64, copyLOONG64)
    	gen("ppc64x", tagsPPC64x, zeroPPC64x, copyPPC64x)
    	gen("mips64x", tagsMIPS64x, zeroMIPS64x, copyMIPS64x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:21 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    ====
    
    The file and directory paths are then used to specify what file to copy using link:{groovyDslPath}/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:from(java.lang.Object++[]++)[Copy.from(java.lang.Object...)] and which directory to copy it to using link:{groovyDslPath}/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:into(java.lang.Object)[Copy.into(java.lang.Object)].
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
Back to top