Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for rename_to (0.47 sec)

  1. tensorflow/cc/framework/cc_op_gen_util.cc

        arg_names.push_back(AvoidCPPKeywords(api_def_arg.rename_to()));
    
        // TODO(keveman): Include input type information.
        StringPiece description = api_def_arg.description();
        if (!description.empty()) {
          ConsumeEquals(&description);
          strings::StrAppend(&comment, "* ",
                             AvoidCPPKeywords(api_def_arg.rename_to()), ": ",
                             api_def_arg.description(), "\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            when:
            def newInitScript1 = file('new' + initScript1.name)
            def newInitScript2 = file('new' + initScript2.name)
            initScript1.renameTo(newInitScript1)
            initScript2.renameTo(newInitScript2)
            configurationCacheRun 'build', '-I', newInitScript1.absolutePath, '-I', newInitScript2.absolutePath
    
            then:
            outputDoesNotContain 'initscript1!'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

                'nestedDir/nestedDirFile2.txt'
            )
            and:
            lowercaseDir.renameTo(uppercaseDir)
    
            def uppercaseNestedDir = new File(uppercaseDir, 'NESTEDDIR')
            new File(uppercaseDir, 'nestedDir').renameTo(uppercaseNestedDir)
            new File(uppercaseNestedDir, 'nestedDirFile2.txt').renameTo(new File(uppercaseNestedDir, 'NESTEDDIRFILE2.TXT'))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-execution/build-cache-local/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheTest.groovy

            }
    
            then:
            1 * fileAccessTracker.markAccessed(cachedFile)
    
            // Note that we don't know which variant of the file ended up in the cache,
            // as `Files.move()` and `File.renameTo()` can either fail or replace the
            // already existing file; it's up to the implementation.
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_RenameatAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Renameat(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_Renameat2Addr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Renameat2(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFile(source, destination);
            }
        }
    
        /**
         * If the destination file exists, then this method will overwrite it.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy

            withBuildCache().run "jar", "customTask"
    
            then:
            skipped ":compileJava", ":customTask"
    
            when:
            def movedLocation = temporaryFolder.file("moved-location")
            originalLocation.renameTo(movedLocation)
            movedLocation.file("build").deleteDir()
            movedLocation.file(".gradle").deleteDir()
    
            executer.usingProjectDirectory(movedLocation)
            withBuildCache().run "jar", "customTask"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

            if (hashAfter == hashBefore) {
                // Already published
                return
            }
    
            assert !file.exists() || file.delete()
            assert tmpFile.renameTo(file)
            onPublish(file)
        }
    
        private void writeContents(output, Closure cl) {
            output.withWriter("utf-8", cl)
        }
    
        private void writeZipped(TestFile testFile, Closure cl) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            logDeprecation();
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFileInternal(source, destination);
            }
        }
    
        /**
         * If the destination file exists, then this method will overwrite it.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top