- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 390 for renameat (0.14 sec)
-
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/XCTestTestFrameworkIntegrationTest.groovy
} """ } @Override void renameTests() { def newTest = file("src/test/swift/NewTest.swift") file("src/test/swift/SomeOtherTest.swift").renameTo(newTest) newTest.text = newTest.text.replaceAll("SomeOtherTest", "NewTest") def linuxMain = file("src/test/swift/LinuxMain.swift") linuxMain.text = linuxMain.text.replaceAll("SomeOtherTest", "NewTest")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
// or lost after a file system crash. Re-hash the zip without downloading. if zipExists { return hashZip(mod, zipfile, ziphashfile) } // From here to the os.Rename call below is functionally almost equivalent to // renameio.WriteToFile, with one key difference: we want to validate the // contents of the file (by hashing it) before we commit it. Because the file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/abiutilsaux_test.go
"cmd/internal/src" "fmt" "strings" "testing" "text/scanner" ) func mkParamResultField(t *types.Type, s *types.Sym, which ir.Class) *types.Field { field := types.NewField(src.NoXPos, s, t) n := ir.NewNameAt(src.NoXPos, s, t) n.Class = which field.Nname = n return field } // mkstruct is a helper routine to create a struct type with fields // of the types specified in 'fieldtypes'.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:34:00 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-api/src/main/java/org/gradle/declarative/dsl/model/annotations/Restricted.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 07:57:00 UTC 2024 - 1005 bytes - Viewed (0) -
test/import4.dir/import4.go
// errors are caught by the compiler. // Does not compile. package main // standard import "fmt" // ERROR "imported and not used.*fmt|\x22fmt\x22 imported and not used" // renamed import X "math" // ERROR "imported and not used.*math|\x22math\x22 imported as X and not used" // import dot import . "bufio" // ERROR "imported and not used.*bufio|imported and not used"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:10:19 UTC 2022 - 877 bytes - Viewed (0) -
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) -
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/DetailedModelReportIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 5.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/FileCopyAction.java
File canonicalizedTarget = FileUtils.canonicalize(target); if (!Objects.equals(target.getName(), canonicalizedTarget.getName())) { canonicalizedTarget.renameTo(target); } } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 17:00:04 UTC 2019 - 2.2K bytes - Viewed (0) -
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) -
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingBackwardsCompatibilityVisitor.java
} return newInternalNames; } private static String fixInternalNameForBackwardCompatibility(String internalName) { // Fix renamed type references for (Pair<String, String> renamedInterface : RENAMED_TYPE_INTERNAL_NAMES) { if (renamedInterface.left.equals(internalName)) { return renamedInterface.right; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 08:17:26 UTC 2023 - 7.8K bytes - Viewed (0)