Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for rename (0.21 sec)

  1. 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K 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. 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)
  5. 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 May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top