Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 160 for asFile (0.31 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt

    private
    fun buildOutputModel(scriptFile: File, classPath: ClassPath, sourcePath: ClassPath, implicitImports: List<String>, exceptions: List<Exception>) =
        StandardKotlinDslScriptModel(
            classPath.asFiles,
            sourcePath.asFiles,
            implicitImports,
            editorReports = emptyList(), // TODO:isolated support editor reports
            exceptions = getExceptionsForFile(scriptFile, exceptions)
        )
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualStudioLocator.java

        }
    
        private static boolean isLegacyVisualCpp(File candidate) {
            return new File(candidate, PATH_BIN + LEGACY_COMPILER_FILENAME).isFile();
        }
    
        private static boolean isVS2017VisualCpp(File candidate) {
            return new File(candidate, PATH_BIN + VS2017_COMPILER_FILENAME).isFile();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy

        }
    
        boolean excluded(FileTreeElement file) {
            !patternSet.asSpec.isSatisfiedBy(file)
        }
    
        private static FileTreeElement element(boolean isFile, String... elements) {
            [
                getRelativePath: { return new RelativePath(isFile, elements) },
                getFile        : { return new File(elements.join('/')) }
            ] as FileTreeElement
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public Optional<Long> sizeIfKnown() {
          if (file.isFile()) {
            return Optional.of(file.length());
          } else {
            return Optional.absent();
          }
        }
    
        @Override
        public long size() throws IOException {
          if (!file.isFile()) {
            throw new FileNotFoundException(file.toString());
          }
          return file.length();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

                    for (File file : contents) {
                        if (file.isFile()) {
                            fileTrees.add(new FileBackedDirectoryFileTree(file));
                        }
                    }
                }
    
                @Override
                public void visitFileTree(File root, PatternSet patterns, FileTreeInternal fileTree) {
                    if (root.isFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

            }
            return jdk;
        }
    
        @Nullable
        private File findExecutableInJavaHome(String command) {
            File executable = commandLocation(command);
            if (executable.isFile()) {
                return executable;
            }
            return null;
        }
    
        private File commandLocation(String command) {
            File exec = new File(getJavaHome(), "bin/" + command);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public Optional<Long> sizeIfKnown() {
          if (file.isFile()) {
            return Optional.of(file.length());
          } else {
            return Optional.absent();
          }
        }
    
        @Override
        public long size() throws IOException {
          if (!file.isFile()) {
            throw new FileNotFoundException(file.toString());
          }
          return file.length();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/generate/generate.go

    			if !generate(file) {
    				break
    			}
    		}
    	}
    	base.ExitIfErrors()
    }
    
    // generate runs the generation directives for a single file.
    func generate(absFile string) bool {
    	src, err := os.ReadFile(absFile)
    	if err != nil {
    		log.Fatalf("generate: %s", err)
    	}
    
    	// Parse package clause
    	filePkg, err := parser.ParseFile(token.NewFileSet(), "", src, parser.PackageClauseOnly)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java

                File file = toFile(context, value);
                if (!file.exists()) {
                    reportMissingInput(context, "File", propertyName, file);
                } else if (!file.isFile()) {
                    reportUnexpectedInputKind(context, "File", propertyName, file);
                }
            }
        },
        INPUT_DIRECTORY_VALIDATOR("directory") {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

    // RUN_ALL_TESTS was called.
    class InternalRunDeathTestFlag {
     public:
      InternalRunDeathTestFlag(const std::string& a_file,
                               int a_line,
                               int an_index,
                               int a_write_fd)
          : file_(a_file), line_(a_line), index_(an_index),
            write_fd_(a_write_fd) {}
    
      ~InternalRunDeathTestFlag() {
        if (write_fd_ >= 0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top