Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 105 for getFiler (0.39 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

        @TaskAction
        public void checkInvalidPermissions() throws IOException {
            if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                throw new StopExecutionException();
            }
            List<String> failures = getFiles().getFiles()
                .stream()
                .filter(FilePermissionsTask::isExecutableFile)
                .map(file -> "Source file is executable: " + file)
                .collect(Collectors.toList());
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

                    .get(1)
                    .getActivation()
                    .getFile()
                    .getExists();
    
            assertEquals(originalExists, resultExists);
            assertTrue(result.getEffectiveModel()
                    .getProfiles()
                    .get(1)
                    .getActivation()
                    .getFile()
                    .getExists()
                    .contains(BASE_DIR));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            extension.getClasspath().from(runtimeClasspath);
            extension.getSourceRoots().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles());
            extension.getDocumentedSource().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles().getAsFileTree().matching(f -> {
                f.include(PublicApi.INSTANCE.getIncludes());
                // Filter out any non-public APIs
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 19 17:06:32 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertThat(file).isNull();
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          write(out, data, chunk1, chunk2, singleByte);
          file = out.getFile();
          assertEquals(dataSize, file.length());
          assertTrue(file.exists());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

        }
    
        @Input
        public Map<String, File> getTestClassNames() {
            if (testClassNames == null) {
                testClassNames = Util.getJavaTestSourceSet(getProject())
                    .get()
                    .getOutput()
                    .getClassesDirs()
                    .getFiles()
                    .stream()
                    .filter(File::exists)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTar.java

                    visitedSymbolicLinks.add(details.getFile());
                    final TarArchiveEntry entry = new TarArchiveEntry(details.getRelativePath().getPathString(), TarConstants.LF_SYMLINK);
                    entry.setModTime(getModTime(details));
                    entry.setMode(UnixStat.LINK_FLAG | details.getMode());
                    try {
                        entry.setLinkName(Files.readSymbolicLink(details.getFile().toPath()).toString());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.7K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertTrue(result.isResolved(), "Expected " + result + ".isResolved() to return true");
            Artifact artifact = result.getArtifact();
            assertNotNull(artifact.getFile());
            assertEquals(filename, artifact.getFile().getName());
        }
    
        @Test
        void testResolveArtifacts() throws Exception {
            ArtifactRequest req1 = new ArtifactRequest();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()),
                    nullify(artifact.getClassifier()),
                    handler);
    
            result.setFile(artifact.getFile());
            result.setResolved(artifact.getFile() != null);
    
            List<String> trail = new ArrayList<>(1);
            trail.add(result.getId());
            result.setDependencyTrail(trail);
    
            return result;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         */
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
        /**
         * Closes the stream and deletes the temporary file if it was not retrieved.
         * If an error occurs during file deletion, it is logged but not thrown to avoid
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top