Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 146 for copyfile (0.2 sec)

  1. src/cmd/go/internal/cache/cache.go

    func PutBytes(c Cache, id ActionID, data []byte) error {
    	_, _, err := c.Put(id, bytes.NewReader(data))
    	return err
    }
    
    // copyFile copies file into the cache, expecting it to have the given
    // output ID and size, if that file is not present already.
    func (c *DiskCache) copyFile(file io.ReadSeeker, out OutputID, size int64) error {
    	name := c.fileName(out, "d")
    	info, err := os.Stat(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

         * @param dest
         * @param b
         * @param bsize
         * @param w
         * @param dh
         * @param sh
         * @param req
         * @param resp
         * @throws SmbException
         */
        static void copyFile ( SmbFile src, SmbFile dest, byte[][] b, int bsize, WriterThread w, SmbTreeHandleImpl sh, SmbTreeHandleImpl dh )
                throws SmbException {
    
            if ( sh.isSMB2() && dh.isSMB2() && sh.isSameTree(dh) ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  3. src/cmd/dist/buildtool.go

    	// Copy binaries into tool binary directory.
    	for _, name := range bootstrapDirs {
    		if !strings.HasPrefix(name, "cmd/") {
    			continue
    		}
    		name = name[len("cmd/"):]
    		if !strings.Contains(name, "/") {
    			copyfile(pathf("%s/%s%s", tooldir, name, exe), pathf("%s/bin/%s%s", workspace, name, exe), writeExec)
    		}
    	}
    
    	if vflag > 0 {
    		xprintf("\n")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	dest := filepath.Join(backupDir, kubeadmconstants.KubeletConfigurationFileName)
    
    	if !dryRun {
    		fmt.Printf("[upgrade] Backing up kubelet config file to %s\n", dest)
    		err := kubeadmutil.CopyFile(src, dest)
    		if err != nil {
    			return errors.Wrap(err, "error backing up the kubelet config file")
    		}
    	} else {
    		fmt.Printf("[dryrun] Would back up kubelet config file to %s\n", dest)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                        inputFiles.files.each { File inputFile ->
                            def outputFile = buildDirectory.file(inputFile.name + ".out").get().asFile
                            GFileUtils.copyFile(inputFile, outputFile)
                        }
                    }
                }
                allprojects {
                    apply plugin: 'java-library'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      ops->filesystem_ops->delete_dir = tf_gcs_filesystem::DeleteDir;
      ops->filesystem_ops->delete_recursively =
          tf_gcs_filesystem::DeleteRecursively;
      ops->filesystem_ops->copy_file = tf_gcs_filesystem::CopyFile;
      ops->filesystem_ops->path_exists = tf_gcs_filesystem::PathExists;
      ops->filesystem_ops->is_directory = tf_gcs_filesystem::IsDirectory;
      ops->filesystem_ops->stat = tf_gcs_filesystem::Stat;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/device_executable_persistor_test.cc

                         persistor.device_type(), persistor.persistence_prefix());
      // File for key2 contains the same content as key1.
      TF_ASSERT_OK(Env::Default()->CopyFile(
          GetFilePath(key1, persistor.persistent_cache_directory()),
          GetFilePath(key2, persistor.persistent_cache_directory())));
    
      MockXlaCompilerClient mock_client;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

            file("jars/first").mkdirs()
            file("jars/second").mkdirs()
            def jar = file("jars/first/test-plugin-0.2.jar").with {
                it.createFile()
            }
            GFileUtils.copyFile(jar, file("jars/second/test-plugin-0.2.jar"))
    
            when:
            buildFile.text = """
                buildscript {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/gccgo.go

    		arArgs = []string{"-X64"}
    	}
    
    	newID := 0
    	readAndRemoveCgoFlags := func(archive string) (string, error) {
    		newID++
    		newArchive := root.Objdir + fmt.Sprintf("_pkg%d_.a", newID)
    		if err := sh.CopyFile(newArchive, archive, 0666, false); err != nil {
    			return "", err
    		}
    		if cfg.BuildN || cfg.BuildX {
    			sh.ShowCmd("", "ar d %s _cgo_flags", newArchive)
    			if cfg.BuildN {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

                }
                subdir2 {
                    file('file2.txt').text = 'original text 2'
                    file('file3.txt').text = 'original text 3'
                }
            }
            FileUtils.copyFile(file('test1.tar'), file('test2.tar'));
    
            and: "where a build edits each archive differently via a visitor"
            file('build.gradle') << """
                ${defineUpdateTask('tar')}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top