Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 280 for Canonicalize (0.41 sec)

  1. src/cmd/vendor/golang.org/x/text/language/language.go

    		}
    	}
    	if c&DeprecatedRegion != 0 {
    		if r := t.RegionID.Canonicalize(); r != t.RegionID {
    			changed = true
    			t.RegionID = r
    		}
    	}
    	return t, changed
    }
    
    // Canonicalize returns the canonicalized equivalent of the tag.
    func (c CanonType) Canonicalize(t Tag) (Tag, error) {
    	// First try fast path.
    	if t.isCompact() {
    		if _, changed := canonicalize(c, compact.Tag(t).Tag()); !changed {
    			return t, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/internal/fsys/fsys.go

    	for _, from := range replaceFrom {
    		to := overlayJSON.Replace[from]
    		// Canonicalize paths and check for a collision.
    		if from == "" {
    			return fmt.Errorf("empty string key in overlay file Replace map")
    		}
    		cfrom := canonicalize(from)
    		if to != "" {
    			// Don't canonicalize "", meaning to delete a file, because then it will turn into ".".
    			to = canonicalize(to)
    		}
    		if otherFrom, seen := reverseCanonicalized[cfrom]; seen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkLocator.java

                for (String subkey : subkeys) {
                    try {
                        String basePath = baseKey + REGISTRY_ROOTPATH_SDK + "\\" + subkey;
                        File sdkDir = FileUtils.canonicalize(new File(windowsRegistry.getStringValue(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, basePath, REGISTRY_FOLDER)));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/registry/core/limitrange/strategy.go

    func (limitrangeStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    // Canonicalize normalizes the object after validation.
    func (limitrangeStrategy) Canonicalize(obj runtime.Object) {
    }
    
    func (limitrangeStrategy) AllowCreateOnUpdate() bool {
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. pkg/registry/core/serviceaccount/strategy.go

    }
    
    // WarningsOnCreate returns warnings for the creation of the given object.
    func (strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil }
    
    // Canonicalize normalizes the object after validation.
    func (strategy) Canonicalize(obj runtime.Object) {
    }
    
    func (strategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (strategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 2.6K bytes
    - Viewed (0)
Back to top