Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 607 for IsFile (0.28 sec)

  1. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/api/build.gradle

    dependencies {
        runtimeOnly 'commons-collections:commons-collections:3.2.2@jar'
    }
    
    cleanIdea.doLast {
        assert !file("api/api.iml").isFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 148 bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithCrossVersionProtocolTest.groovy

            return DefaultLockOptions.mode(FileLockManager.LockMode.OnDemand).useCrossVersionImplementation()
        }
    
        void isVersionLockFile(TestFile lockFile, boolean dirty) {
            assert lockFile.isFile()
            assert lockFile.length() == 2
            lockFile.withDataInputStream { str ->
                assert str.readByte() == 1
                assert str.readBoolean() != dirty
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/internal/scripts/DefaultScriptFileResolver.java

                    return candidate;
                }
            }
            return null;
        }
    
        private boolean isCandidateFile(File candidate) {
            notifyListener(candidate);
            return candidate.isFile();
        }
    
        @Override
        public List<File> findScriptsIn(File dir) {
            File[] candidates = dir.listFiles();
            if (candidates == null || candidates.length == 0) {
                return emptyList();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 07:44:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/file/RelativePath.java

            }
        }
    
        public static RelativePath parse(boolean isFile, String path) {
            return parse(isFile, null, path);
        }
    
        public static RelativePath parse(boolean isFile, @Nullable RelativePath parent, String path) {
            String[] names = FilePathUtil.getPathSegments(path);
            return new RelativePath(isFile, parent, names);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 05:20:08 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. src/internal/poll/sendfile_bsd.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.5K bytes
    - Viewed (0)
  6. src/internal/poll/writev.go

    )
    
    // Writev wraps the writev system call.
    func (fd *FD) Writev(v *[][]byte) (int64, error) {
    	if err := fd.writeLock(); err != nil {
    		return 0, err
    	}
    	defer fd.writeUnlock()
    	if err := fd.pd.prepareWrite(fd.isFile); err != nil {
    		return 0, err
    	}
    
    	var iovecs []syscall.Iovec
    	if fd.iovecs != nil {
    		iovecs = *fd.iovecs
    	}
    	// TODO: read from sysconf(_SC_IOV_MAX)? The Linux default is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocWorkAvoidanceIntegrationTest.groovy

            then:
            file("a/build/docs/javadoc/A.html").isFile()
            file("a/build/docs/javadoc/AA.html").isFile()
    
            when:
            assert aaJava.delete()
            succeeds(":a:javadoc")
            then:
            executedAndNotSkipped(":a:javadoc")
            file("a/build/docs/javadoc/A.html").isFile()
            !file("a/build/docs/javadoc/AA.html").isFile()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. platforms/jvm/toolchains-jvm/src/testFixtures/groovy/org/gradle/jvm/toolchain/JdkRepository.groovy

                    ZipArchiveEntry entry = (ZipArchiveEntry) aos.createArchiveEntry(file, path)
                    entry.setUnixMode(fileSystem.getUnixMode(file))
                    aos.putArchiveEntry(entry)
                    if (file.isFile()) {
                        try (InputStream i = Files.newInputStream(file.toPath())) {
                            IOUtils.copy(i, aos)
                        }
                    }
                    aos.closeArchiveEntry()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 20 08:26:19 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/webservice/build.gradle

        runtimeOnly "commons-lang:commons-lang:2.4"
        runtimeOnly "commons-io:commons-io:1.2"
    }
    
    cleanIdea.doLast {
        assert !file("webservice/webservice.iml").isFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 342 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

            when:
            relocatedJarCreator.create(outputJar, [inputFilesDir])
    
            then:
            TestFile[] contents = tmpDir.testDirectory.listFiles().findAll { it.isFile() }
            contents.length == 1
            contents[0] == outputJar
        }
    
        def "creates fat JAR file for multiple input JAR files"() {
            given:
            def className = 'org/gradle/MyClass'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top