- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 350 for topbtn (0.09 sec)
-
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy
def target = tmpDir.file("target").tap { Files.createSymbolicLink(it.toPath(), linked.toPath()) } when: deleter.ensureEmptyDirectory(target, true) then: target.assertIsEmptyDir() linked.assertIsEmptyDir() Files.readSymbolicLink(target.toPath()) == linked.toPath() content.assertDoesNotExist() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 12:40:48 UTC 2024 - 14.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 28 06:35:34 UTC 2021 - 2.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/internal/RelativePathUtilTest.groovy
class RelativePathUtilTest extends Specification { def "relative path from #fromPath to #toPath is #path"() { when: def from = new File(fromPath) def to = new File(toPath) then: RelativePathUtil.relativePath(from, to) == path where: fromPath | toPath | path "a" | "a/b" | "b" "a" | "a/b/a" | "b/a"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java
missing = new File(UUID.randomUUID().toString()); missingPath = missing.toPath(); directory = File.createTempFile("jmh", "dir"); directoryPath = directory.toPath(); directory.mkdirs(); realFile = File.createTempFile("jmh", "tmp"); realFilePath = realFile.toPath(); FileOutputStream fos = new FileOutputStream(realFile); fos.write(new byte[1024]);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheCleanupIntegrationTest.groovy
return "Build cache" } @Override void createBuildCacheEntry(String key, File value, long timestamp) { File cacheFile = cacheDir.file(key) Files.copy(value.toPath(), cacheFile.toPath()) writeLastFileAccessTimeToJournal(cacheFile, timestamp) } @Override boolean existsBuildCacheEntry(String key) { cacheDir.file(key).exists() } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:24 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/UnixDerivativeSymlinkDeleterTest.groovy
class UnixDerivativeSymlinkDeleterTest extends AbstractSymlinkDeleterTest { @Override protected void createSymbolicLink(File link, TestFile target) { Files.createSymbolicLink(link.toPath(), target.toPath()) } @Override protected boolean canCreateSymbolicLinkToFile() { return true } @Override protected boolean canCreateSymbolicLinkToDirectory() { return true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.3K bytes - Viewed (0) -
src/crypto/x509/root_windows.go
var topCtx *syscall.CertChainContext err = syscall.CertGetCertificateChain(syscall.Handle(0), storeCtx, verifyTime, storeCtx.Store, para, CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS, 0, &topCtx) if err != nil { return nil, err } defer syscall.CertFreeCertificateChain(topCtx) chain, topErr := verifyChain(c, topCtx, opts) if topErr == nil { chains = append(chains, chain)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:41:40 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy
roCacheDir = temporaryFolder.createDir("read-only-cache") def cachePath = roCacheDir.toPath() doCopy(metadataCacheDir, cachePath, CacheLayout.MODULES) roCacheDir } private void doCopy(File cacheDir, Path cachePath, CacheLayout entry) { if (cacheDir.exists()) { Files.move(cacheDir.toPath(), cachePath.resolve(entry.key)) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/ZincScalaCompiler.java
for (File classpathEntry : spec.getCompileClasspath()){ classpath.add(CONVERTER.toVirtualFile(classpathEntry.toPath())); } List<VirtualFile> sourceFiles = new LinkedList<>(); for(File f: spec.getSourceFiles()){ sourceFiles.add(CONVERTER.toVirtualFile(f.toPath())); } CompileOptions compileOptions = CompileOptions.create()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixJdk7FilePermissionHandler.java
final PosixFileAttributes posixFileAttributes = Files.readAttributes(file.toPath(), PosixFileAttributes.class); return convertToInt(posixFileAttributes.permissions()); } @Override public void chmod(File f, int mode) throws IOException { PosixFileAttributeView fileAttributeView = Files.getFileAttributeView(f.toPath(), PosixFileAttributeView.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 1.7K bytes - Viewed (0)