- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 607 for IsFile (0.24 sec)
-
subprojects/core-api/src/test/groovy/org/gradle/api/file/RelativePathTest.java
public class RelativePathTest { private void assertPathContains(RelativePath path, boolean isFile, String... expectedSegments) { String[] actualPaths = path.getSegments(); assertArrayEquals(expectedSegments, actualPaths); assertEquals(isFile, path.isFile()); } @Test public void testConstructors() { RelativePath path;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 29 15:31:00 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileBackedObjectHolder.java
fileAccess.updateFile(maybeUpdater); return maybeUpdater.result; } private void serialize(T newValue) { try { if (!cacheFile.isFile()) { cacheFile.createNewFile(); } chmod.chmod(cacheFile.getParentFile(), 0700); // read-write-execute for user only chmod.chmod(cacheFile, 0600); // read-write for user only
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 4.7K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
String path = getPathForLocalArtifact(request.getArtifact()); File file = new File(getRepository().getBasedir(), path); LocalArtifactResult result = new LocalArtifactResult(request); if (file.isFile()) { result.setFile(file); result.setAvailable(true); } return result; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java
// Avoid file locking overhead by checking for the receipt first. if (receipt.isFile()) { return transformed; } final File lockFile = new File(destDir, destFileName + ".lock"); final FileLock fileLock = exclusiveLockFor(lockFile); try { if (receipt.isFile()) { // Lock was acquired after a concurrent writer had already finished.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 27 13:36:38 UTC 2024 - 6K bytes - Viewed (0) -
src/internal/poll/splice_linux.go
func spliceDrain(pipefd int, sock *FD, max int) (int, error) { if err := sock.readLock(); err != nil { return 0, err } defer sock.readUnlock() if err := sock.pd.prepareRead(sock.isFile); err != nil { return 0, err } for { // In theory calling splice(2) with SPLICE_F_NONBLOCK could end up an infinite loop here, // because it could return EAGAIN ceaselessly when the write end of the pipe is full,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 7.6K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 17:45:10 UTC 2024 - 6.2K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
userSettingsFile = new File(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS)); userSettingsFile = resolveFile(userSettingsFile, workingDirectory); if (!userSettingsFile.isFile()) { throw new FileNotFoundException("The specified user settings file does not exist: " + userSettingsFile); } } else { userSettingsFile = DEFAULT_USER_SETTINGS_FILE;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 19 15:04:04 UTC 2023 - 11.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
} gradlebuild.docs.dsl.docbook.model.ClassDoc findClassDoc(String className) { gradlebuild.docs.dsl.docbook.model.ClassDoc classDoc = classes[className] if (classDoc == null && getFileForClass(className).isFile()) { return getClassDoc(className) } return classDoc } gradlebuild.docs.dsl.docbook.model.ClassDoc getClassDoc(String className) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
String path = getPathForLocalArtifact(request.getArtifact()); File file = new File(getRepository().getBasedir(), path); LocalArtifactResult result = new LocalArtifactResult(request); if (file.isFile()) { result.setFile(file); result.setAvailable(true); } return result; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 07:40:37 UTC 2024 - 5.4K bytes - Viewed (0) -
src/internal/poll/fd_mutex.go
func runtime_Semrelease(sema *uint32) // incref adds a reference to fd. // It returns an error when fd cannot be used. func (fd *FD) incref() error { if !fd.fdmu.incref() { return errClosing(fd.isFile) } return nil } // decref removes a reference from fd. // It also closes fd when the state of fd is set to closed and there // is no remaining reference. func (fd *FD) decref() error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 20 16:55:30 UTC 2018 - 6.4K bytes - Viewed (0)