Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for renameat (0.13 sec)

  1. src/syscall/syscall_aix.go

    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error)
    //sys	read(fd int, p []byte) (n int, err error)
    //sys	Reboot(how int) (err error)
    //sys	Rename(from string, to string) (err error)
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	Rmdir(path string) (err error)
    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_aix_ppc64.go

    //go:cgo_import_dynamic libc_pwrite pwrite "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_read read "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Reboot reboot "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Rename rename "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Renameat renameat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Rmdir rmdir "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_lseek lseek "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Setegid setegid "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux.go

    //sys	readlinkat(dirfd int, path string, buf []byte) (n int, err error)
    
    func Readlink(path string, buf []byte) (n int, err error) {
    	return readlinkat(_AT_FDCWD, path, buf)
    }
    
    func Rename(oldpath string, newpath string) (err error) {
    	return Renameat(_AT_FDCWD, oldpath, _AT_FDCWD, newpath)
    }
    
    func Rmdir(path string) error {
    	return unlinkat(_AT_FDCWD, path, _AT_REMOVEDIR)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    	}
    
    	return er.newMultipartUpload(ctx, bucket, object, opts)
    }
    
    // renamePart - renames multipart part to its relevant location under uploadID.
    func renamePart(ctx context.Context, disks []StorageAPI, srcBucket, srcEntry, dstBucket, dstEntry string, writeQuorum int) ([]StorageAPI, error) {
    	g := errgroup.WithNErrs(len(disks))
    
    	// Rename file on all underlying storage disks.
    	for index := range disks {
    		index := index
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            logDeprecation();
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFileInternal(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
    - 13.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        suffix_id++;
        new_func_name = absl::StrCat(main_func_name.str(), "_", suffix_id);
      }
    
      return new_func_name;
    }
    
    // Renames the existing @main function to avoid conflict with the newly
    // created main function. When it is renamed, its usages will also be replaced.
    // It will be renamed by attaching a number suffix like `@main_{i}`, until there
    // are no conflicts. This function is a no-op when no function called @main
    // exists.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  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