- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of about 10,000 for FILE (0.09 sec)
-
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactory.java
*/ public FileReference fromFile(File file) { if (file == null) { return null; } String path = null; boolean usedVar = false; for (Map.Entry<String, File> entry : variables.entrySet()) { String rootDirPath = entry.getValue().getAbsolutePath(); String filePath = file.getAbsolutePath();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepositoryTest.groovy
repository.isGeneratedByGradle(file('build/file')) repository.isGeneratedByGradle(file('build/file/other')) !repository.isGeneratedByGradle(file('build/other')) !repository.isGeneratedByGradle(file('build/outputs/other')) !repository.isGeneratedByGradle(file('build/not-existing')) } private File file(String path) { tmpDir.file(path).absoluteFile }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy
def install1 = new File(temporaryFolder, "jdks/jdk-1").tap { mkdirs() } new File(install1, DefaultJdkCacheDirectory.MARKER_FILE).createNewFile() def install2 = new File(temporaryFolder, "jdks/jdk-2").tap { mkdirs() } new File(install2, DefaultJdkCacheDirectory.MARKER_FILE).createNewFile() new File(temporaryFolder, "jdks/notReady").tap { mkdirs() } when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 06:41:24 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/FileUtils.java
List<File> sortedFiles = Lists.newArrayList(files); Collections.sort(sortedFiles, FILE_SEGMENT_COMPARATOR); List<File> result = Lists.newArrayListWithExpectedSize(sortedFiles.size()); File currentRoot = null; for (File file : sortedFiles) { if (currentRoot == null || !doesPathStartWith(file.getPath(), currentRoot.getPath())) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPackerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/artifact/MavenArtifactNotationParserFactoryTest.groovy
} def "creates MavenArtifact for file notation"() { when: File file = new File(fileName) fileNotationParser.parseNotation('some-file') >> file and: MavenArtifact mavenArtifact = parser.parseNotation('some-file') then: mavenArtifact.extension == extension mavenArtifact.file == file mavenArtifact.classifier == null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
fp = 0L; } } if( file instanceof SmbNamedPipe && file.unc.startsWith( "\\pipe\\" )) { file.unc = file.unc.substring( 5 ); file.send( new TransWaitNamedPipe( "\\pipe" + file.unc ), new TransWaitNamedPipeResponse() ); } file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 );
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
String path; File file; File resultFile; path = "hoge.html"; file = fileTransformer.createFile(path); resultFile = new File(fileTransformer.baseDir, path); assertEquals(resultFile, file); FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes()); path = "foo1/hoge.html"; file = fileTransformer.createFile(path);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy
RegularFileSnapshotContext snapshotContext(File file, FileType fileType = FileType.RegularFile) { return Mock(RegularFileSnapshotContext) { getSnapshot() >> snapshot(file, fileType) } } RegularFileSnapshot snapshot(File file, FileType fileType) { return Mock(RegularFileSnapshot) { getAbsolutePath() >> file.absolutePath getType() >> fileType
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/resource/local/PathNormalisingKeyFileStoreTest.groovy
when: store.move("!.zip", file("abc")) store.move(" ", file("def")) then: fsBase.file("_.zip").text == "abc" fsBase.file("__").text == "def" } def "can add to filestore"() { when: store.add("!.zip", { File file -> file.text = "abc" } as Action<File>) store.add(" ", { File file -> file.text = "def" } as Action<File>) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 06 01:29:26 UTC 2020 - 2.8K bytes - Viewed (0)