Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 749 for Rename (0.15 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

        return;
      }
    
      // We cannot rename directories yet, so prevent this.
      if (stat(src, &st) != 0) {
        TF_SetStatusFromIOError(status, errno, src);
        return;
      } else if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "source path is a directory");
        return;
      }
    
      // Do the actual rename. Here both arguments are filenames.
      if (rename(src, dst) != 0)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                return cfg.getBatchLimit("TreeConnectAndX.DeleteDirectory");
            case SMB_COM_OPEN_ANDX:
                return cfg.getBatchLimit("TreeConnectAndX.OpenAndX");
            case SMB_COM_RENAME:
                return cfg.getBatchLimit("TreeConnectAndX.Rename");
            case SMB_COM_TRANSACTION:
                return cfg.getBatchLimit("TreeConnectAndX.Transaction");
            case SMB_COM_QUERY_INFORMATION:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    				for _, entry := range legacyEntries {
    					// Skip xl.meta renames further, also ignore any directories such as `legacyDataDir`
    					if entry == xlStorageFormatFile || strings.HasSuffix(entry, slashSeparator) {
    						continue
    					}
    
    					if err = Rename(pathJoin(currentDataPath, entry), pathJoin(legacyDataPath, entry)); err != nil {
    						// Any failed rename calls un-roll previous transaction.
    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)
  4. cmd/xl-storage-meta-inline.go

    		plSize += len(key) + len(value) + msgp.StringPrefixSize + msgp.ArrayHeaderSize
    	}
    
    	// Reserialize...
    	x.serialize(plSize, keys, vals)
    }
    
    // rename will rename a key.
    // Returns whether the key was found.
    func (x *xlMetaInlineData) rename(oldKey, newKey string) bool {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	keys := make([][]byte, 0, sz)
    	vals := make([][]byte, 0, sz)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComRename.java

        private int searchAttributes;
        private String oldFileName;
        private String newFileName;
    
        SmbComRename( String oldFileName, String newFileName ) {
            command = SMB_COM_RENAME;
            this.oldFileName = oldFileName;
            this.newFileName = newFileName;
            searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.3K bytes
    - Viewed (0)
  6. cmd/storage-errors.go

    // verification is empty or invalid.
    var errBitrotHashAlgoInvalid = StorageErr("bit-rot hash algorithm is invalid")
    
    // errCrossDeviceLink - rename across devices not allowed.
    var errCrossDeviceLink = StorageErr("Rename across devices not allowed, please fix your backend configuration")
    
    // errLessData - returned when less data available than what was requested.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/apimachinery/pkg/util/intstr/generated.proto

    // JSON or YAML marshalling and unmarshalling, it produces or consumes the
    // inner type.  This allows you to have, for example, a JSON field that can
    // accept a name or number.
    // TODO: Rename to Int32OrString
    //
    // +protobuf=true
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    // +k8s:openapi-gen=true
    message IntOrString {
      optional int64 type = 1;
    
      optional int32 intVal = 2;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

    
        /**
         * 
         */
        public FileRenameInformation2 () {}
    
    
        /**
         * 
         * @param name
         * @param replaceIfExists
         */
        public FileRenameInformation2 ( String name, boolean replaceIfExists ) {
            this.fileName = name;
            this.replaceIfExists = replaceIfExists;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

        /**
         * 
         * @param config
         * @param oldFileName
         * @param newFileName
         */
        public SmbComRename ( Configuration config, String oldFileName, String newFileName ) {
            super(config, SMB_COM_RENAME);
            this.oldFileName = oldFileName;
            this.newFileName = newFileName;
            this.searchAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM | SmbConstants.ATTR_DIRECTORY;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.8K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
Back to top