Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for SrcPath (0.11 sec)

  1. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    			// build C code (if any) and link with Go code
    			cmd, err := cc(config.cFlags...)
    			if err != nil {
    				t.Fatalf("error running cc: %v", err)
    			}
    			cmd.Args = append(cmd.Args, config.ldFlags...)
    			cmd.Args = append(cmd.Args, "-o", outPath, "-I", dir.Base())
    			if tc.cSrc != "" {
    				cmd.Args = append(cmd.Args, srcPath(tc.cSrc))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/naughty-disk_test.go

    func (d *naughtyDisk) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error) {
    	if err := d.calcError(); err != nil {
    		return RenameDataResp{}, err
    	}
    	return d.disk.RenameData(ctx, srcVolume, srcPath, fi, dstVolume, dstPath, opts)
    }
    
    func (d *naughtyDisk) RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. cmd/storage-interface.go

    	ReadXL(ctx context.Context, volume, path string, readData bool) (RawFileInfo, error)
    	RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error)
    
    	// File operations.
    	ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) ([]string, error)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/storage-rest-client.go

    func (client *storageRESTClient) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo,
    	dstVolume, dstPath string, opts RenameOptions,
    ) (res RenameDataResp, err error) {
    	params := RenameDataHandlerParams{
    		DiskID:    *client.diskID.Load(),
    		SrcVolume: srcVolume,
    		SrcPath:   srcPath,
    		DstPath:   dstPath,
    		DstVolume: dstVolume,
    		FI:        fi,
    		Opts:      opts,
    	}
    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/xl-storage-disk-id-check.go

    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenameFile, srcVolume, srcPath, dstVolume, dstPath)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() error { return p.storage.RenameFile(ctx, srcVolume, srcPath, dstVolume, dstPath) })
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    			// Only log these errors if context is not yet canceled.
    			storageLogOnceIf(ctx, fmt.Errorf("drive:%s, srcVolume: %s, srcPath: %s, dstVolume: %s:, dstPath: %s - error %v",
    				s.drivePath,
    				srcVolume, srcPath,
    				dstVolume, dstPath,
    				err), "xl-storage-rename-data-"+dstVolume)
    		}
    		if s.globalSync {
    			globalSync()
    		}
    	}()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  7. cmd/storage-datatypes_gen.go

    			}
    		case "sv":
    			z.SrcVolume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "SrcVolume")
    				return
    			}
    		case "sp":
    			z.SrcPath, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "SrcPath")
    				return
    			}
    		case "dv":
    			z.DstVolume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DstVolume")
    				return
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    }
    
    // RenameDataHandlerParams are parameters for RenameDataHandler.
    type RenameDataHandlerParams struct {
    	DiskID    string        `msg:"id"`
    	SrcVolume string        `msg:"sv"`
    	SrcPath   string        `msg:"sp"`
    	DstVolume string        `msg:"dv"`
    	DstPath   string        `msg:"dp"`
    	FI        FileInfo      `msg:"fi"`
    	Opts      RenameOptions `msg:"ro"`
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    	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)
    	return &resp, grid.NewRemoteErr(err)
    }
    
    // RenameDataInlineHandler - renames a meta object and data dir to destination.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation.go

    	allErrs := field.ErrorList{}
    	allPaths := sets.Set[string]{}
    
    	for i, source := range projection.Sources {
    		numSources := 0
    		srcPath := fldPath.Child("sources").Index(i)
    		if projPath := srcPath.Child("secret"); source.Secret != nil {
    			numSources++
    			if len(source.Secret.Name) == 0 {
    				allErrs = append(allErrs, field.Required(projPath.Child("name"), ""))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (1)
Back to top