Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for renameat (0.17 sec)

  1. 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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. pkg/log/options.go

    	//
    	// This path is used as a foundational path. This is where log output is normally
    	// saved. When a rotation needs to take place because the file got too big,
    	// then the file is renamed by appending a timestamp to the name. Such renamed
    	// files are called backups. Once a backup has been created,
    	// output resumes to this path.
    	RotateOutputPath string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    		}
    	}
    	encoder.Encode(dErrsResp)
    }
    
    // RenameDataHandler - renames a meta object and data dir to destination.
    func (s *storageRESTServer) RenameDataHandler(p *RenameDataHandlerParams) (*RenameDataResp, *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return nil, grid.NewRemoteErr(errDiskNotFound)
    	}
    
    	resp, err := s.getStorage().RenameData(context.Background(), p.SrcVolume, p.SrcPath, p.FI, p.DstVolume, p.DstPath, p.Opts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  4. cmd/storage-rest-client.go

    		Volume:   volume,
    		FilePath: path,
    		FI:       fi,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return resp, nil
    }
    
    // RenameData - rename source path to destination path atomically, metadata and data file.
    func (client *storageRESTClient) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo,
    	dstVolume, dstPath string, opts RenameOptions,
    ) (res RenameDataResp, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    	// Rename from tmp location to the actual location.
    	for i, disk := range outDatedDisks {
    		if disk == OfflineDisk {
    			continue
    		}
    
    		// record the index of the updated disks
    		partsMetadata[i].Erasure.Index = i + 1
    
    		// Attempt a rename now from healed data to final location.
    		partsMetadata[i].SetHealing()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    type WriteAllHandlerParams struct {
    	DiskID   string `msg:"id"`
    	Volume   string `msg:"v"`
    	FilePath string `msg:"fp"`
    	Buf      []byte `msg:"b"`
    }
    
    // RenameDataResp - RenameData()'s response.
    // Provides information about the final state of Rename()
    //   - on xl.meta (array of versions) on disk to check for version disparity
    //   - on rewrite dataDir on disk that must be additionally purged
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() error { return p.storage.RenameFile(ctx, srcVolume, srcPath, dstVolume, dstPath) })
    }
    
    func (p *xlStorageDiskIDCheck) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (res RenameDataResp, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/build.gradle

                    "snippet-ant-hello_groovy_antHello.sample",
                    "snippet-ant-hello_kotlin_antHello.sample",
                    "snippet-ant-rename-task_groovy_renameAntDelegate.sample",
                    "snippet-ant-rename-task_kotlin_renameAntDelegate.sample",
                    "snippet-ant-use-external-ant-task-with-config_groovy_useExternalAntTaskWithConfig.sample",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

          // should stay with type FLOAT32.
          // If the tensor is a bias, it should have type FLOAT32.
          //
          // Check with float_tensor name since quantized tensor
          // may be renamed.
          if (float_tensor->name()->str() == "conv_bias") {
            EXPECT_EQ(quant_tensor->type(), TensorType_FLOAT32);
          } else if (IsModelInputOrOutput(output_model, i)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/help/helpdoc.go

    and only using an import path that omits the prefix up to and
    including the vendor element.
    
    Here's the example from the previous section,
    but with the "internal" directory renamed to "vendor"
    and a new foo/vendor/crash/bang directory added:
    
        /home/user/go/
            src/
                crash/
                    bang/              (go code in package bang)
                        b.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top