Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 166 for renameat (0.98 sec)

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

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_rename_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_rename rename "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Renameat(fromfd int, from string, tofd int, to string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(from)
    	if err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/unix/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: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    //go:nosplit
    func get_RenameatAddr() *(func(olddirfd int, oldpath string, newdirfd int, newpath string) (err error))
    
    var Renameat = enter_Renameat
    
    func enter_Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
    	funcref := get_RenameatAddr()
    	if funcptrtest(GetZosLibVec()+SYS___RENAMEAT_A<<4, "") == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    //sysnb	Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT
    //sys	Rename(from string, to string) (err error) = SYS___RENAME_A
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) = SYS___RENAMEAT_A
    //sys	Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) = SYS___RENAMEAT2_A
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            then:
            file('dest').assertHasDescendants(
                'root.renamed',
                'root.b',
                'accents.c',
                'one/renamed_one.renamed',
                'one/renamed_one.b',
                'one/sub/onesub.renamed',
                'one/sub/onesub.b',
                'two/two.renamed',
                'two/two.b' //do not rename with 'rename { null }'
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  8. 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)
  9. operator/cmd/mesh/manifest-diff.go

    	cmd.PersistentFlags().StringVar(&diffArgs.renameResources, "rename", "",
    		"Rename resources before comparison.\n"+
    			"The format of each renaming pair is A->B, all renaming pairs are comma separated.\n"+
    			"e.g. Service:*:istiod->Service:*:istio-control - rename istiod service into istio-control")
    }
    
    func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. 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)
Back to top