Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 107 for renameat (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

      return std::move(*loader).module();
    }
    
    // Renames functions in the stablehlo module to avoid naming conflicts with
    // existing functions in the tf module.
    // Sets _from_xla_call_module attribute for each stablehlo function.
    // Returns the new stablehlo main function's name or error.
    //
    // If we directly insert stablehlo functions into tf module, MLIR will rename
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/PersistentCompositeDependencySubstitutionCrossVersionSpec.groovy

            then:
            eclipseProject.projectDependencies.collect {it.path}.sort()  == ['b1-renamed', 'b2-renamed']
        }
    
        def "Idea model has dependencies substituted in composite"() {
            when:
            def ideaModule = loadToolingModel(IdeaProject).modules[0]
    
            then:
            ideaModule.dependencies.size() == 1
            with(ideaModule.dependencies.first()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    === Using `File.renameTo()`
    
    `File.renameTo()` is a method in Java (and by extension, in Gradle's Groovy DSL) used to rename or move a file or directory.
    When you call `renameTo()` on a `File` object, you provide another `File` object representing the new name or location.
    If the operation is successful, `renameTo()` returns `true`; otherwise, it returns `false`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  4. cmd/os-reliable.go

    		case osIsExist(err):
    			// This is returned only when destination is a directory and we
    			// are attempting a rename from file to directory.
    			return errIsNotRegular
    		default:
    			return err
    		}
    	}
    	return nil
    }
    
    // Reliably retries os.RenameAll if for some reason os.RenameAll returns
    // syscall.ENOENT (parent does not exist).
    func reliableRename(srcFilePath, dstFilePath, baseDir string) (err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		minioMetaBucket,
    	} {
    		if strings.HasPrefix(volume, prefix) {
    			return true
    		}
    	}
    	return ok
    }
    
    // RenameData - rename source path to destination path atomically, metadata and data directory.
    func (s *xlStorage) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (res RenameDataResp, err error) {
    	defer func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  6. src/go/types/generate_test.go

    // A renameMap maps old strings to new strings.
    type renameMap map[string]string
    
    // makeRenameMap returns a renameMap populates from renames entries of the form "from->to".
    func makeRenameMap(renames ...string) renameMap {
    	m := make(renameMap)
    	for _, r := range renames {
    		s := strings.Split(r, "->")
    		if len(s) != 2 {
    			panic("invalid rename entry: " + r)
    		}
    		m[s[0]] = s[1]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

                File failedFile = new File(file.getAbsolutePath() + failedFileSuffix);
                FileUtils.deleteQuietly(failedFile);
                //noinspection ResultOfMethodCallIgnored
                file.renameTo(failedFile);
    
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        @Override
        public void store(HashCode key, IoConsumer<OutputStream> result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            when:
            run "compile"
            then:
            skipped ":compile"
    
            when:
            file("lib1.jar").renameTo(file("lib1-renamed.jar"))
            buildFile.text = buildScriptWithClasspath("lib1-renamed.jar", "lib2.jar")
    
            run "compile"
            then:
            skipped ":compile"
        }
    
        def buildScriptWithClasspath(String... dependencies) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.h

    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    
    using tsl::StatusOr;
    
    // Converts non func AttrValue proto into an MLIR attribute. Func attribute is
    // exclused in this function because the function might be renamed when the
    // function definition is imported.
    absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue(
        const AttrValue& value, mlir::Builder* builder);
    
    // Converts all kinds of AttrValue proto into an MLIR attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/go/types/infer.go

    		tparams2[i] = NewTypeParam(tname, nil)
    		tparams2[i].index = tparam.index // == i
    	}
    
    	renameMap := makeRenameMap(tparams, tparams2)
    	for i, tparam := range tparams {
    		tparams2[i].bound = check.subst(pos, tparam.bound, renameMap, nil, check.context())
    	}
    
    	return tparams2, check.subst(pos, typ, renameMap, nil, check.context())
    }
    
    // typeParamsString produces a string containing all the type parameter names
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top