Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 139 for canonicalized (0.2 sec)

  1. platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/GitVersionRef.java

    import java.util.List;
    
    public class GitVersionRef implements VersionRef {
        private final String version;
        private final String canonicalId;
    
        private GitVersionRef(String version, String canonicalId) {
            this.version = version;
            this.canonicalId = canonicalId;
        }
    
        public static GitVersionRef from(Ref ref) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/test/groovy/org/gradle/initialization/BuildLayoutParametersTest.groovy

        def "has reasonable defaults"() {
            expect:
            def params = new BuildLayoutParameters()
            params.gradleUserHomeDir == canonicalize(BuildLayoutParameters.DEFAULT_GRADLE_USER_HOME)
            params.currentDir == canonicalize(SystemProperties.instance.getCurrentDir())
            params.projectDir == null
            params.searchDir == params.currentDir
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/FileUtils.java

            if (extensionPos > fileNameStart) {
                return filePath.substring(0, extensionPos);
            }
            return filePath;
        }
    
        /**
         * Canonicalizes the given file.
         */
        public static File canonicalize(File src) {
            try {
                return src.getCanonicalFile();
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/initialization/LayoutCommandLineConverterTest.groovy

        @Issue('https://github.com/gradle/gradle-private/issues/2876')
        def "has reasonable defaults"() {
            expect:
            convert().currentDir == canonicalize(SystemProperties.instance.getCurrentDir())
            convert().projectDir == null
            convert().gradleUserHomeDir == canonicalize(BuildLayoutParameters.DEFAULT_GRADLE_USER_HOME)
        }
    
        def "converts"() {
            expect:
            convert("-p", "foo").projectDir.name == "foo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/optimize-after-quantization.mlir

    // RUN: tf-opt %s -tfl-prepare-quantize -canonicalize -tfl-quantize -canonicalize -tfl-optimize -canonicalize | FileCheck %s
    
    // CHECK-LABEL: fuseMulIntoPerTensorConv2dWithQDQs
    func.func @fuseMulIntoPerTensorConv2dWithQDQs(%arg0: tensor<256x32x32x3xf32>) -> tensor<256x8x7x3xf32> {
      %cst = arith.constant dense<1.5> : tensor<3xf32>
      %cst_0 = arith.constant dense<[1.0, 2.0, 3.0]> : tensor<3xf32>
      %w = arith.constant dense<2.0> : tensor<3x3x3x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FallbackFileCanonicalizer.java

    import java.io.IOException;
    
    class FallbackFileCanonicalizer implements FileCanonicalizer {
        @Override
        public File canonicalize(File file) throws FileException {
            try {
                return file.getCanonicalFile();
            } catch (IOException e) {
                throw new FileException(String.format("Could not canonicalize file %s.", file), e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/initialization/BuildLayoutParameters.java

    import org.gradle.internal.installation.GradleInstallation;
    
    import javax.annotation.Nullable;
    import java.io.File;
    
    import static org.gradle.internal.FileUtils.canonicalize;
    
    /**
     * Mutable build layout parameters
     */
    public class BuildLayoutParameters {
        public static final String GRADLE_USER_HOME_PROPERTY_KEY = "gradle.user.home";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 26 20:57:11 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/Jdk7FileCanonicalizer.java

        @SuppressWarnings("Since15")
        @Override
        public File canonicalize(File file) throws FileException {
            try {
                return file.toPath().toRealPath().toFile();
            } catch (IOException e) {
                throw new FileException(String.format("Could not canonicalize file %s.", file), e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. pkg/registry/coordination/lease/strategy.go

    }
    
    // WarningsOnCreate returns warnings for the creation of the given object.
    func (leaseStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil }
    
    // Canonicalize normalizes the object after validation.
    func (leaseStrategy) Canonicalize(obj runtime.Object) {
    }
    
    // AllowCreateOnUpdate is true for Lease; this means you may create one with a PUT request.
    func (leaseStrategy) AllowCreateOnUpdate() bool {
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. pkg/registry/storage/csinode/strategy.go

    // WarningsOnCreate returns warnings for the creation of the given object.
    func (csiNodeStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil }
    
    // Canonicalize normalizes the object after validation.
    func (csiNodeStrategy) Canonicalize(obj runtime.Object) {
    }
    
    func (csiNodeStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 26 00:30:42 UTC 2021
    - 2.9K bytes
    - Viewed (0)
Back to top