- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 74 for tophash (0.15 sec)
-
testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/MavenDownloaderTest.groovy
class MavenDownloaderTest extends Specification { @TempDir File tmpDir def installRoot def downloader def setup() { installRoot = Files.createTempDirectory(tmpDir.toPath(), null).toFile() downloader = new MavenInstallationDownloader(installRoot) if (JavaVersion.current().isJava7()) { System.setProperty("https.protocols", "TLSv1.2") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.8K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy
// and assumes that having "/" as a separator in Windows path is fine. It isn't. Path basePath = baseDir.absoluteFile.toPath() Path scriptPath = scriptFile.absoluteFile.toPath() return basePath.relativize(scriptPath).toString() } private static class WindowsScript extends ShellScript { private WindowsScript(TestFile scriptFile) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_trimpath.txt
if dir == "" { fmt.Printf("binary contains an empty %s\n", desc) return } containsDir := bytes.Contains(data, []byte(dir)) containsSlashDir := bytes.Contains(data, []byte(filepath.ToSlash(dir))) fmt.Printf("binary contains %s: %v\n", desc, containsDir || containsSlashDir) } -- overlay.json -- { "Replace": { "overlaydir/paths.go": "paths.go" } } -- go.mod -- module paths
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy
// use an undeclared input so we can test --refresh-dependencies // URL.text is not tracked for now; we'll have to change it once we start to track it message.set(file("message").toPath().toUri().toURL().text) } """ file("message") << "foo" when: configurationCacheRun "myTask" then: outputContains("foo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/main/java/org/gradle/api/internal/plugins/GroovyJarFile.java
@Nullable public static GroovyJarFile parse(File file) { try { if (file.getName().contains("groovy")) { // Resolve a symlink file to the real location file = file.toPath().toRealPath().toFile(); } } catch (IOException e) { // Let the code use the original File otherwise } Matcher matcher = FILE_NAME_PATTERN.matcher(file.getName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 19:14:26 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskToolchainIntegrationTest.groovy
dependencies { testImplementation 'junit:junit:4.13' } test { executable = new File(".").getCanonicalFile().toPath().relativize(new File("${executable}").toPath()).toString() } """ when: executer.expectDocumentedDeprecationWarning("Configuring a Java executable via a relative path. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 06:04:19 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/DefaultTemporaryFileProvider.java
if (i > 0) { pathBuilder.append("/"); } pathBuilder.append(path[i]); } return new File(baseDirFactory.create(), pathBuilder.toString()).toPath().normalize().toFile(); } @Override public File newTemporaryDirectory(String... path) { File dir = newTemporaryFile(path); forceMkdir(dir); return dir; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 21:16:13 UTC 2024 - 3.4K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java
metadata.setVersioning(recessive.getVersioning()); } } @Deprecated @Override public MavenMetadata setFile(File file) { return new PluginsMetadata(pluginInfo, file.toPath(), timestamp); } @Override public MavenMetadata setPath(Path path) { return new PluginsMetadata(pluginInfo, path, timestamp); } @Override public String getGroupId() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 10:10:21 UTC 2024 - 3.7K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt
internal fun compileCommonKlib(kLibSourcesRoot: Path): Path { val ktFiles = Files.walk(kLibSourcesRoot).asSequence().filter { it.extension == "kt" }.toList() val testKlib = KtTestUtil.tmpDir("testLibrary").resolve("library.klib").toPath() val arguments = buildList { ktFiles.mapTo(this) { it.absolutePathString() } add("-d") add(testKlib.absolutePathString()) } MockLibraryUtil.runMetadataCompiler(arguments)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 3.9K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java
return artifact.getGroupId() + ':' + artifact.getArtifactId(); } @Deprecated @Override public MavenMetadata setFile(File file) { return new VersionsMetadata(artifact, file.toPath(), timestamp); } @Override public MavenMetadata setPath(Path path) { return new VersionsMetadata(artifact, path, timestamp); } @Override public String getGroupId() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 10:10:21 UTC 2024 - 4.2K bytes - Viewed (0)