Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 370 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 21 19:28:08 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 21 19:28:08 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

    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				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 21 19:28:08 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  7. 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 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K 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. docs/bigdata/README.md

    stores such as MinIO. MapReduce workloads typically interact with object stores in the same way they do with HDFS. These workloads rely on HDFS atomic rename functionality to complete writing data to the datastore. Object storage operations are atomic by nature and they do not require/implement rename API. The default S3A committer emulates renames through copy and delete APIs. This interaction pattern causes significant loss of performance because of the write amplification. _Netflix_, for example,...
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  10. 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)
Back to top