Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 607 for IsFile (0.39 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/AccessorsClassPathModelCrossVersionSpec.groovy

                    new File(file, accessorsClassFilePath).isFile()
                }
            )
        }
    
        private Matcher<Iterable<? super File>> hasAccessorsSource() {
            return hasItem(
                matching({ it.appendText("accessors source") }) { File file ->
                    new File(file, accessorsSourceFilePath).isFile()
                }
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy

            inDirectory(annotationProcessorPublisher.projectDir).withTasks('publish').run()
    
            then:
            annotationProcessorPublisher.publishedJarFile.isFile()
            annotationProcessorPublisher.publishedPomFile.isFile()
    
            when:
            buildFile << basicScalaProject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPath.java

                if (executable != null) {
                    executables.put(exeName, executable);
                }
            }
            return executable == null || !executable.isFile() ? new MissingTool(key, exeName, pathEntries) : new FoundTool(executable);
        }
    
        private File findExecutable(OperatingSystem operatingSystem, String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. src/internal/poll/sendfile_linux.go

    	defer func() {
    		TestHookDidSendFile(dstFD, src, written, err, handled)
    	}()
    	if err := dstFD.writeLock(); err != nil {
    		return 0, err, false
    	}
    	defer dstFD.writeUnlock()
    
    	if err := dstFD.pd.prepareWrite(dstFD.isFile); err != nil {
    		return 0, err, false
    	}
    
    	dst := dstFD.Sysfd
    	for remain > 0 {
    		n := maxSendfileSize
    		if int64(n) > remain {
    			n = int(remain)
    		}
    		n, err = syscall.Sendfile(dst, src, nil, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/SourceDistributionResolverIntegrationTest.kt

                    "Expected source directories but got none"
                }
    
                val subprojectSourcePath = "org/gradle/StartParameter.java"
                val subprojectFound = sourceDirs.find { it.resolve(subprojectSourcePath).isFile }
                require(subprojectFound != null) {
                    "Source directories do not contain subproject file '${'$'}subprojectSourcePath'. Searched in:\n  " +
                        sourceDirs.joinToString("  \n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 13:27:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/JansiEndUserIntegrationTest.groovy

            inDirectory(annotationProcessorPublisher.projectDir).withTasks('publish').run()
    
            then:
            annotationProcessorPublisher.publishedJarFile.isFile()
            annotationProcessorPublisher.publishedPomFile.isFile()
    
            when:
            buildFile << basicJavaProject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 18:12:50 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInstallation.groovy

                def bat = new File(bin, "mvn.bat")
                return bat.isFile() ? bat : new File(bin, "mvn.cmd")
            }
            return new File(bin, "mvn")
        }
    
        static boolean valid(File home) {
            def mvn = findMvnExecutable(home)
            home.isDirectory() && mvn.isFile()
        }
    
        static String probeVersion(File home) {
            def mvn = findMvnExecutable(home)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/internal/poll/fd_wasip1.go

    	// this is used by Fchdir to emulate setting the current directory
    	// to an open file descriptor.
    	Path string
    
    	// TODO(achille): it could be meaningful to move isFile from FD to a method
    	// on this struct type, and expose it as `IsFile() bool` which derives the
    	// result from the Filetype field. We would need to ensure that Filetype is
    	// always set instead of being lazily initialized.
    }
    
    func (s *SysFile) init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/internal/poll/fd.go

    // on a file type that does not use the poller.
    var ErrNoDeadline = errors.New("file type does not support deadline")
    
    // Return the appropriate closing error based on isFile.
    func errClosing(isFile bool) error {
    	if isFile {
    		return ErrFileClosing
    	}
    	return ErrNetClosing
    }
    
    // ErrDeadlineExceeded is returned for an expired deadline.
    // This is exported by the os package as os.ErrDeadlineExceeded.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/internal/poll/sendfile_solaris.go

    	defer func() {
    		TestHookDidSendFile(dstFD, src, written, err, handled)
    	}()
    	if err := dstFD.writeLock(); err != nil {
    		return 0, err, false
    	}
    	defer dstFD.writeUnlock()
    
    	if err := dstFD.pd.prepareWrite(dstFD.isFile); err != nil {
    		return 0, err, false
    	}
    
    	dst := dstFD.Sysfd
    	for remain > 0 {
    		n := maxSendfileSize
    		if int64(n) > remain {
    			n = int(remain)
    		}
    		pos1 := pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top