Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Canonicalize (0.85 sec)

  1. 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)
  2. src/cmd/compile/internal/ssagen/abi.go

    		refs: make(map[string]obj.ABISet),
    	}
    }
    
    // canonicalize returns the canonical name used for a linker symbol in
    // s's maps. Symbols in this package may be written either as "".X or
    // with the package's import path already in the symbol. This rewrites
    // both to use the full path, which matches compiler-generated linker
    // symbol names.
    func (s *SymABIs) canonicalize(linksym string) string {
    	if strings.HasPrefix(linksym, `"".`) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

            final File projectDir = prepareProjectDir(inputProjectDir);
            File userHomeDir = gradleUserHomeDir == null ? new File(projectDir, "userHome") : FileUtils.canonicalize(gradleUserHomeDir);
            StartParameterInternal startParameter = new StartParameterInternal();
            startParameter.setGradleUserHomeDir(userHomeDir);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

            logBuildOrSettingsFileDeprecation("buildFile");
            if (buildFile == null) {
                this.buildFile = null;
                setCurrentDir(null);
            } else {
                this.buildFile = FileUtils.canonicalize(buildFile);
                setProjectDir(this.buildFile.getParentFile());
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. src/net/textproto/reader.go

    // canonicalize them.
    func canonicalMIMEHeaderKey(a []byte) (_ string, ok bool) {
    	if len(a) == 0 {
    		return "", false
    	}
    
    	// See if a looks like a header key. If not, return it unchanged.
    	noCanon := false
    	for _, c := range a {
    		if validHeaderFieldByte(c) {
    			continue
    		}
    		// Don't canonicalize.
    		if c == ' ' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // the random function body before being inlined.
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreateLegalizeJaxRandomPass());
    
      // Canonicalize, CSE etc.
      pass_manager.addPass(mlir::mhlo::createStablehloLegalizeToHloPass());
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::createCanonicalizerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

        }
    
        /**
         * Constructs JVM details by inspecting the current JVM.
         */
        Jvm(OperatingSystem os) {
            this(os, FileUtils.canonicalize(new File(System.getProperty("java.home"))), System.getProperty("java.version"), JavaVersionParser.parseMajorVersion(System.getProperty("java.version")), false);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

         // var <- var - mom
         (TF_AssignSubVariableOp $var_resource, $mom_new)
       ]
       >;
    
    // Same as DecomposeResourceApplyFtrlV2, with l2_shrinkage set to zero.
    // TODO(kramm): Move this pattern to canonicalize.td?
    def DecomposeResourceApplyFtrl : Pat<
      (TF_ResourceApplyFtrlOp $var, $accum, $linear, $grad, $lr, $l1, $l2,
         $lr_power, $use_locking, $multiply_linear_by_lr),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. cmd/handler-utils.go

    	if v == nil {
    		bugLogIf(ctx, errInvalidArgument)
    		return errInvalidArgument
    	}
    
    	nv := make(textproto.MIMEHeader, len(v))
    	for k, kv := range v {
    		// Canonicalize all headers, to remove any duplicates.
    		nv[http.CanonicalHeaderKey(k)] = kv
    	}
    
    	// Save all supported headers.
    	for _, supportedHeader := range supportedHeaders {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/func.go

    	NamedValues map[LocalSlot][]*Value
    	// Names is a copy of NamedValues.Keys. We keep a separate list
    	// of keys to make iteration order deterministic.
    	Names []*LocalSlot
    	// Canonicalize root/top-level local slots, and canonicalize their pieces.
    	// Because LocalSlot pieces refer to their parents with a pointer, this ensures that equivalent slots really are equal.
    	CanonicalLocalSlots  map[LocalSlot]*LocalSlot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top