Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for penName (0.15 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 999 bytes
    - Viewed (0)
  2. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. migrator/migrator.go

    		).Row().Scan(&count)
    	})
    
    	return count > 0
    }
    
    // RenameIndex rename index from oldName to newName
    func (m Migrator) RenameIndex(value interface{}, oldName, newName string) error {
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		return m.DB.Exec(
    			"ALTER TABLE ? RENAME INDEX ? TO ?",
    			m.CurrentTable(stmt), clause.Column{Name: oldName}, clause.Column{Name: newName},
    		).Error
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    		}
    
    		for pname := range allPolicies {
    			if _, ok := policyStats[pname]; !ok {
    				policyStats[pname] = make([]srPolicy, numSites)
    			}
    
    			// if pname is not present in the map, the zero value
    			// will be returned.
    			pi := sri.Policies[pname]
    			policyStats[pname][i] = srPolicy{SRIAMPolicy: pi, DeploymentID: sri.DeploymentID}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  6. src/archive/zip/reader.go

    	// Some JAR files are zip files with a prefix that is a bash script.
    	// The baseOffset field is the start of the zip file proper.
    	baseOffset int64
    
    	// fileList is a list of files sorted by ename,
    	// for use by the Open method.
    	fileListOnce sync.Once
    	fileList     []fileListEntry
    }
    
    // A ReadCloser is a [Reader] that must be closed when no longer needed.
    type ReadCloser struct {
    	f *os.File
    	Reader
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 985 bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/arch.go

    	// Note that there is no list of names as there is for 386 and amd64.
    	register[obj.Rconv(arm64.REGSP)] = int16(arm64.REGSP)
    	for i := arm64.REG_R0; i <= arm64.REG_R31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	// Rename R18 to R18_PLATFORM to avoid accidental use.
    	register["R18_PLATFORM"] = register["R18"]
    	delete(register, "R18")
    	for i := arm64.REG_F0; i <= arm64.REG_F31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    		renameAll(encodeDirObject(filePath), targetPath2, pathutil.Join(s.drivePath, minioMetaBucket))
    	}
    
    	// ENOSPC is a valid error from rename(); remove instead of rename in that case
    	if errors.Is(err, errDiskFull) || isSysErrNoSpace(err) {
    		if recursive {
    			err = removeAll(filePath)
    		} else {
    			err = Remove(filePath)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top