Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for renameat (0.2 sec)

  1. src/cmd/compile/internal/types2/resolver.go

    }
    
    func (check *Checker) errorUnusedPkg(obj *PkgName) {
    	// If the package was imported with a name other than the final
    	// import path element, show it explicitly in the error message.
    	// Note that this handles both renamed imports and imports of
    	// packages containing unconventional package declarations.
    	// Note that this uses / always, even on Windows, because Go import
    	// paths always use forward slashes.
    	path := obj.imported.path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/go/types/resolver.go

    }
    
    func (check *Checker) errorUnusedPkg(obj *PkgName) {
    	// If the package was imported with a name other than the final
    	// import path element, show it explicitly in the error message.
    	// Note that this handles both renamed imports and imports of
    	// packages containing unconventional package declarations.
    	// Note that this uses / always, even on Windows, because Go import
    	// paths always use forward slashes.
    	path := obj.imported.path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/clean/clean.go

    			os.Remove(f + "~")
    		}
    		// Try to move it out of the way. If the move fails,
    		// which is likely, we'll try again the
    		// next time we do an install of this binary.
    		if err2 := os.Rename(f, f+"~"); err2 == nil {
    			os.Remove(f + "~")
    			return
    		}
    	}
    	base.Error(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. internal/config/config.go

    func LookupWorm() (bool, error) {
    	return ParseBool(env.Get(EnvWorm, EnableOff))
    }
    
    // Carries all the renamed sub-systems from their
    // previously known names
    var renamedSubsys = map[string]string{
    	CrawlerSubSys: ScannerSubSys,
    	// Add future sub-system renames
    }
    
    const ( // deprecated keys
    	apiReplicationWorkers       = "replication_workers"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  7. cmd/format-erasure.go

    		return nil, err
    	}
    
    	tmpOld := pathJoin(export, minioMetaTmpDeletedBucket, mustGetUUID())
    	if err := renameAll(pathJoin(export, minioMetaMultipartBucket),
    		tmpOld, export); err != nil && err != errFileNotFound {
    		bootLogIf(GlobalContext, fmt.Errorf("unable to rename (%s -> %s) %w, drive may be faulty please investigate",
    			pathJoin(export, minioMetaMultipartBucket),
    			tmpOld,
    			osErrToFileErr(err)))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K 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. docs/en/docs/tutorial/response-model.md

    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
        The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. src/go/types/subst.go

    	assert(len(tpars) == len(targs))
    	proj := make(substMap, len(tpars))
    	for i, tpar := range tpars {
    		proj[tpar] = targs[i]
    	}
    	return proj
    }
    
    // makeRenameMap is like makeSubstMap, but creates a map used to rename type
    // parameters in from with the type parameters in to.
    func makeRenameMap(from, to []*TypeParam) substMap {
    	assert(len(from) == len(to))
    	proj := make(substMap, len(from))
    	for i, tpar := range from {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top