Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 747 for Rename (0.18 sec)

  1. cmd/os-rename_linux.go

    package cmd
    
    import (
    	"syscall"
    )
    
    // RenameSys is low level call in case of Linux this uses syscall.Rename() directly.
    func RenameSys(src, dst string) (err error) {
    	return syscall.Rename(src, dst)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 999 bytes
    - Viewed (0)
  2. cmd/os-rename_nolinux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    // RenameSys is low level call in case of non-Linux this just uses os.Rename()
    func RenameSys(src, dst string) (err error) {
    	return os.Rename(src, dst)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 985 bytes
    - Viewed (0)
  3. ci/official/utilities/rename_and_verify_wheels.sh

    # limitations under the License.
    # ==============================================================================
    #
    # Usage: rename_and_verify_wheels.sh
    # This script is aware of TFCI_ variables, so it doesn't need any arguments.
    # Puts new wheel through auditwheel to rename and verify it, deletes the old
    # one, checks the filesize, and then ensures the new wheel is installable.
    set -euxo pipefail
    
    cd "$TFCI_OUTPUT_DIR"
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh

    # Check and rename wheels with auditwheel. Inserts the platform tags like
    # "manylinux_xyz" into the wheel filename.
    set -euxo pipefail
    
    for wheel in /tf/pkg/*.whl; do
      echo "Checking and renaming $wheel..."
      time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt
    
      # We don't need the original wheel if it was renamed
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  5. 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 {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/os-reliable.go

    				if baseDir != "" && nbaseDir != "" && nbaseDir != SlashSeparator {
    					baseDir = nbaseDir
    				}
    				continue
    			}
    		}
    		break
    	}
    	return err
    }
    
    // Wrapper function to os.Rename, which calls reliableMkdirAll
    // and reliableRenameAll. This is to ensure that if there is a
    // racy parent directory delete in between we can simply retry
    // the operation.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. migrator/migrator.go

    // RenameColumn rename value's field name from oldName to newName
    func (m Migrator) RenameColumn(value interface{}, oldName, newName string) error {
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		if stmt.Schema != nil {
    			if field := stmt.Schema.LookUpField(oldName); field != nil {
    				oldName = field.DBName
    			}
    
    			if field := stmt.Schema.LookUpField(newName); field != nil {
    				newName = field.DBName
    			}
    		}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

        /* batchLimits indecies
         *
         * 0 = SMB_COM_CHECK_DIRECTORY
         * 2 = SMB_COM_CREATE_DIRECTORY
         * 3 = SMB_COM_DELETE
         * 4 = SMB_COM_DELETE_DIRECTORY
         * 5 = SMB_COM_OPEN_ANDX
         * 6 = SMB_COM_RENAME
         * 7 = SMB_COM_TRANSACTION
         * 8 = SMB_COM_QUERY_INFORMATION
         */
    
        /* All batch limits are single batch only until further notice
         */
    
        private static byte[] batchLimits = {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  9. cmd/os-instrumented.go

    	return osMkdirAll(dirPath, mode, baseDir)
    }
    
    // Rename captures time taken to call os.Rename
    func Rename(src, dst string) (err error) {
    	defer updateOSMetrics(osMetricRename, src, dst)(err)
    	return RenameSys(src, dst)
    }
    
    // OpenFile captures time taken to call os.OpenFile
    func OpenFile(name string, flag int, perm os.FileMode) (f *os.File, err error) {
    	switch flag & writeMode {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig.go

    		// If the old CNI config filename ends with .conf, rename it to .conflist, because it has to be changed to a list
    		installLog.Infof("Renaming %s extension to .conflist", cniConfigFilepath)
    		err = os.Rename(cniConfigFilepath, cniConfigFilepath+"list")
    		if err != nil {
    			installLog.Errorf("Failed to rename CNI config file %v: %v", cniConfigFilepath, err)
    			return cniConfigFilepath, err
    		}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top