Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for renameat (0.22 sec)

  1. src/cmd/go/internal/modfetch/fetch.go

    	// or lost after a file system crash. Re-hash the zip without downloading.
    	if zipExists {
    		return hashZip(mod, zipfile, ziphashfile)
    	}
    
    	// From here to the os.Rename call below is functionally almost equivalent to
    	// renameio.WriteToFile, with one key difference: we want to validate the
    	// contents of the file (by hashing it) before we commit it. Because the file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFile(source, destination);
            }
        }
    
        /**
         * If the destination file exists, then this method will overwrite it.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. pkg/log/options.go

    	//
    	// This path is used as a foundational path. This is where log output is normally
    	// saved. When a rotation needs to take place because the file got too big,
    	// then the file is renamed by appending a timestamp to the name. Such renamed
    	// files are called backups. Once a backup has been created,
    	// output resumes to this path.
    	RotateOutputPath string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

            file('foo/a/b') << "foo"
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            when:
            cleanWorkspace()
            file('foo/a').renameTo(file('foo/c'))
            execute("taskWithInputs")
    
            then:
            executedUnlessNameOnly(":taskWithInputs", pathSensitivity)
    
            when:
            cleanWorkspace()
            file('foo').deleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

         *
         * @param value the new explicitly assigned value
         * @return the very <code>value</code> given
         */
        //TODO-RC rename this or the overload as they have significantly different semantics
        public abstract S explicitValue(S value);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/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.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            download.download(distributionUrl, tempDownloadFile);
            if(localTargetFile.exists()) {
                localTargetFile.delete();
            }
            tempDownloadFile.renameTo(localTargetFile);
        }
    
        static String calculateSha256Sum(File file) throws Exception {
            MessageDigest md = MessageDigest.getInstance("SHA-256");
            InputStream fis = new FileInputStream(file);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        const PyFunctionLibrary* quantization_py_function_lib) {
      if (toco_flags.has_dump_graphviz_dir()) {
        TF_RETURN_IF_ERROR(DumpOpGraphToFile(
            module.get(),
            // rename once we enable the new converter feature flag.
            absl::StrCat(toco_flags.dump_graphviz_dir(), "/toco_AT_IMPORT.dot")));
      }
    
      mlir::TFL::PassConfig pass_config_copy = pass_config;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/func.go

    // of the name identifier.
    //
    // TODO(mdempsky): I suspect there's no need for separate fpos and
    // npos.
    func NewFunc(fpos, npos src.XPos, sym *types.Sym, typ *types.Type) *Func {
    	name := NewNameAt(npos, sym, typ)
    	name.Class = PFUNC
    	sym.SetFunc(true)
    
    	fn := &Func{Nname: name}
    	fn.pos = fpos
    	fn.op = ODCLFUNC
    	// Most functions are ABIInternal. The importer or symabis
    	// pass may override this.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      // calculate names?
    
      /**
       * Creates an {@link Executor} that renames the {@link Thread threads} that its tasks run in.
       *
       * <p>The names are retrieved from the {@code nameSupplier} on the thread that is being renamed
       * right before each task is run. The renaming is best effort, if a {@link SecurityManager}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top