Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for renameat (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    //sys	read(fd int, p []byte) (n int, err error)
    //sys	Readlink(path string, buf []byte) (n int, err error)
    //sys	Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
    //sys	Rename(from string, to string) (err error)
    //sys	Renameat(fromfd int, from string, tofd int, to string) (err error)
    //sys	Revoke(path string) (err error)
    //sys	Rmdir(path string) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/cc/framework/cc_op_gen_util.cc

        arg_names.push_back(AvoidCPPKeywords(api_def_arg.rename_to()));
    
        // TODO(keveman): Include input type information.
        StringPiece description = api_def_arg.description();
        if (!description.empty()) {
          ConsumeEquals(&description);
          strings::StrAppend(&comment, "* ",
                             AvoidCPPKeywords(api_def_arg.rename_to()), ": ",
                             api_def_arg.description(), "\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top