Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 368 for printfile (0.22 sec)

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

            def sourcePath = sourcePathFor(subProjectScriptFile).collect { path ->
                if (srcConventionalPathDirNames.contains(path.name)) {
                    path.parentFile.parentFile.parentFile.name
                } else {
                    path.name
                }
            }.unique()
            assertThat(sourcePath, matches)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 08:52:51 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/HandleStaleOutputsStepTest.groovy

            "symlink owned by but not generated by build"        | true      | true         | false             | { it.createLink(it.parentFile.createFile("existing.txt")) }
            "broken symlink owned by but not generated by build" | true      | true         | false             | { it.createLink(it.parentFile.file("missing.txt")) }
            "file not owned by but generated by build"           | false     | false        | true              | { it.createFile() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/strconv/quote.go

    // That would be nice.
    
    // IsPrint reports whether the rune is defined as printable by Go, with
    // the same definition as [unicode.IsPrint]: letters, numbers, punctuation,
    // symbols and ASCII space.
    func IsPrint(r rune) bool {
    	// Fast check for Latin-1
    	if r <= 0xFF {
    		if 0x20 <= r && r <= 0x7E {
    			// All the ASCII is printable from space through DEL-1.
    			return true
    		}
    		if 0xA1 <= r && r <= 0xFF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/AndroidIncrementalExecutionPerformanceTest.groovy

                }
            }
            File androidAnalyticsSetting = new File(System.getProperty("user.home"), ".android/analytics.settings")
            if (!androidAnalyticsSetting.exists()) {
                androidAnalyticsSetting.parentFile.mkdirs()
                androidAnalyticsSetting.createNewFile()
            }
            workingDir.listFiles().findAll { it.name.contains("gradleUserHome") }.forEach { gradleUserHome ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/AbstractTestProjectGenerator.groovy

        protected static void file(File dir, String name, String content) {
            if (content == null) {
                return
            }
            def file = new File(dir, name)
            file.parentFile.mkdirs()
            file.setText(content.stripIndent().trim())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 970 bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/FileHierarchySetTest.groovy

            def dir = tmpDir.createDir("dir")
    
            expect:
            def set = from(dir)
            set.contains(dir)
            set.contains(dir.file("child"))
            !set.contains(dir.parentFile)
            !set.contains(tmpDir.file("dir2"))
            !set.contains(tmpDir.file("d"))
        }
    
        def "creates from empty collection"() {
            expect:
            def set = from()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-incremental/kotlin/build.gradle.kts

                when (change.changeType) {
                    ChangeType.ADDED, ChangeType.MODIFIED -> {
    
                        println("Processing file ${changedFile.name}")
                        outputLocation.parentFile.mkdirs()
    
                        outputLocation.writeText(changedFile.readLines().size.toString())
                    }
                    ChangeType.REMOVED -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy

            def rootDirSnapshot = snapshotDirectory(rootDir)
    
            when:
            registerWatchableHierarchies([rootDir.parentFile])
            addSnapshot(rootDirSnapshot)
            then:
            1 * watcher.startWatching({ equalIgnoringOrder(it, [rootDir.parentFile]) })
            0 * _
    
            when:
            invalidate(rootDirSnapshot.children[0])
            invalidate(rootDirSnapshot.children[1])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt

        @Test
        fun `recognizes relative paths pointing outside the root directory`() {
            val instance = createFromPaths(listOf("../../test1"))
            assertTrue(instance.isFileSystemCheckIgnoredFor(rootDir.parentFile.parentFile.resolve("test1")))
        }
    
        @Test
        fun `if created as case-sensitive, does not recognize paths in a different case`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/JavaExecTest.groovy

            execute(task)
    
            then:
            def e = thrown(TaskExecutionException)
            assertHasMatchingCause(e, m -> m.startsWith("Toolchain installation '${invalidJavac.parentFile.parentFile.absolutePath}' could not be probed:"))
            assertHasMatchingCause(e, m -> m ==~ /Cannot run program .*java.*/)
        }
    
        def "fails if custom Java home does not exist"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top