Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 121 for renameat (0.2 sec)

  1. src/cmd/go/testdata/script/mod_retract_rename.txt

    go list -m -retracted -f '{{with .Retracted}}retracted{{end}}' example.com/retract/rename
    
    # 'go list -m -u' should load retractions, too.
    go list -m -u -f '{{with .Retracted}}retracted{{end}}' example.com/retract/rename
    
    # 'go get' should warn about the retracted version.
    go get
    stderr '^go: warning: example.com/retract/rename@v1.0.0-bad: retracted by module author: bad$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 863 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

    configurations { runtime }
    
    // tag::rename-files[]
    tasks.register('rename', Copy) {
        from 'src/main/webapp'
        into layout.buildDirectory.dir('explodedWar')
        // Use a regular expression to map the file name
        rename '(.+)-staging(.+)', '$1$2'
        rename(/(.+)-staging(.+)/, '$1$2')
        // Use a closure to convert all file names to upper case
        rename { String fileName ->
            fileName.toUpperCase()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoReportRelocationIntegrationTest.groovy

                jacocoTestReport.executionData.from = files("build/jacoco.exec")
            """
            file("build/classes/test").assertIsDir().renameTo(file("build/test-classes"))
            file("build/jacoco/test.exec").assertIsFile().renameTo(file("build/jacoco.exec"))
        }
    
        @Override
        protected void removeResults() {
            file("build/reports/jacoco").assertIsDir().deleteDir()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/universe.go

    	s.Def = ir.NewConstAt(src.NoXPos, s, types.UntypedBool, constant.MakeBool(false))
    
    	s = Lookup("_")
    	types.BlankSym = s
    	ir.BlankNode = ir.NewNameAt(src.NoXPos, s, types.Types[types.TBLANK])
    	s.Def = ir.BlankNode
    
    	s = types.BuiltinPkg.Lookup("_")
    	s.Def = ir.NewNameAt(src.NoXPos, s, types.Types[types.TBLANK])
    
    	s = types.BuiltinPkg.Lookup("nil")
    	s.Def = NodNil()
    
    	// initialize okfor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

                File failedFile = new File(file.getAbsolutePath() + failedFileSuffix);
                FileUtils.deleteQuietly(failedFile);
                //noinspection ResultOfMethodCallIgnored
                file.renameTo(failedFile);
    
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        @Override
        public void store(HashCode key, IoConsumer<OutputStream> result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. pkg/kubelet/container/os.go

    func (RealOS) OpenFile(name string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(name, flag, perm)
    }
    
    // Rename will call os.Rename to rename a file.
    func (RealOS) Rename(oldpath, newpath string) error {
    	return os.Rename(oldpath, newpath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/copy.go

    	err := os.Rename(src, dest)
    	if err != nil && strings.Contains(err.Error(), "invalid cross-device link") {
    		// When calling os.Rename(), an "invalid cross-device link" error may occur
    		// if the source and destination files are on different file systems.
    		// In this case, the file is moved by copying and then deleting the source file,
    		// although it is less efficient than os.Rename().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 01:42:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    	// var asanModulename string
    	// var asanFilename string
    	symL = lname(".asanName")
    	asanName := ir.NewNameAt(base.Pos, symL, types.Types[types.TSTRING])
    	asanName.Class = ir.PEXTERN
    	symL.Def = asanName
    	typecheck.Target.Externs = append(typecheck.Target.Externs, asanName)
    
    	symL = lname(".asanModulename")
    	asanModulename := ir.NewNameAt(base.Pos, symL, types.Types[types.TSTRING])
    	asanModulename.Class = ir.PEXTERN
    	symL.Def = asanModulename
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/cache/GeneralCompileCaches.java

    import org.gradle.cache.Cache;
    import org.gradle.internal.hash.HashCode;
    
    /**
     * The build scoped compile caches.
     *
     * NOTE: This class cannot be renamed because it used to leak onto the public API
     * and some community plugins still depend on it in their byte code.
     */
    public interface GeneralCompileCaches {
        Cache<HashCode, ClassSetAnalysisData> getClassSetAnalysisCache();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. src/syscall/syscall_openbsd_arm64.go

    	cmsg.Len = uint32(length)
    }
    
    // RTM_LOCK only exists in OpenBSD 6.3 and earlier.
    const RTM_LOCK = 0x8
    
    // SYS___SYSCTL only exists in OpenBSD 5.8 and earlier, when it was
    // was renamed to SYS_SYSCTL.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 906 bytes
    - Viewed (0)
Back to top