Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for printfile (0.34 sec)

  1. src/cmd/go/testdata/script/cgo_trimpath_macro.txt

    v.com/main
    -- vendor/v.com/main/main.go --
    package main
    
    // #cgo CFLAGS: -I../c
    // #include "stdio.h"
    // void printfile();
    import "C"
    
    func main() {
        C.printfile()
        C.fflush(C.stdout)
    }
    -- vendor/v.com/main/foo.c --
    #include "bar.h"
    -- vendor/v.com/c/bar.h --
    #include "stdio.h"
    
    void printfile() {
        printf("%s\n", __FILE__);
    }
    -- main/main.go --
    package main
    
    // #cgo CFLAGS: -I../c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 19:56:37 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

            candidate2.setText("!<symlink:abcd.bin", "utf-8")
            candidate3.setText("")
            os.getExecutableName("cc") >> "cc.bin"
            os.path >> [candidate1.parentFile, candidate2.parentFile, candidate3.parentFile, file.parentFile]
            os.windows >> true
    
            when:
            def result = registry.locate(ToolType.C_COMPILER, "cc")
    
            then:
            result.available
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixtures/SampleSpec.groovy

        def 'sample dir'() {
            // Sample.dir is named after sample, test method and test class
            expect:
            sample.dir.name == 'multiproject'
            sample.dir.parentFile.parentFile.name == 'sample_dir'
            sample.dir.parentFile.parentFile.parentFile.name == 'SampleSpec'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Artifact.groovy

            return new S3Resource(server, file.parentFile.file(file.name + ".md5"), repositoryPath, bucket)
        }
    
        @Override
        S3Resource getSha1() {
            return new S3Resource(server, file.parentFile.file(file.name + ".sha1"), repositoryPath, bucket)
        }
    
        @Override
        S3Resource getSha256() {
            return new S3Resource(server, file.parentFile.file(file.name + ".sha256"), repositoryPath, bucket)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsArtifact.groovy

            return new GcsResource(server, file.parentFile.file(file.name + ".md5"), repositoryPath, bucket)
        }
    
        @Override
        GcsResource getSha1() {
            return new GcsResource(server, file.parentFile.file(file.name + ".sha1"), repositoryPath, bucket)
        }
    
        @Override
        GcsResource getSha256() {
            return new GcsResource(server, file.parentFile.file(file.name + ".sha256"), repositoryPath, bucket)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/software/reporting/build.gradle.kts

        from(implementationResources)
        into(layout.buildDirectory.file("generated-resources/report-resources/org/gradle/reporting"))
    }
    
    sourceSets.main {
        output.dir(reportResources.map { it.destinationDir.parentFile.parentFile.parentFile })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdaterTest.groovy

            1 * watcher.startWatching({ equalIgnoringOrder(it, [watchableHierarchy]) })
            0 * _
    
            when:
            addSnapshot(snapshotRegularFile(unwatchableContent))
            then:
            vfsHasSnapshotsAt(unwatchableContent)
            1 * watcher.startWatching({ equalIgnoringOrder(it, [unwatchableContent.parentFile]) })
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/IoActions.java

                try {
                    File parentFile = file.getParentFile();
                    if (parentFile != null) {
                        if (!parentFile.mkdirs() && !parentFile.isDirectory()) {
                            throw new IOException(String.format("Unable to create directory '%s'", parentFile));
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/RemovePreviousOutputsStepTest.groovy

            0 * _
    
            !outputs.file.exists()
            outputs.dir.isDirectory()
            outputs.file.parentFile.isDirectory()
        }
    
        def "works with missing root directories"() {
            def outputs = new WorkOutputs()
            outputs.dir.parentFile.mkdirs()
            outputs.file.parentFile.mkdirs()
            outputs.snapshot()
    
            when:
            step.execute(work, context)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/build.gradle.kts

        from(reports)
        into(layout.buildDirectory.file("generated-resources/report-resources/org/gradle/reporting"))
    }
    
    sourceSets.main {
        output.dir(reportResources.map { it.destinationDir.parentFile.parentFile.parentFile })
    }
    
    tasks.jar {
        inputs.files(flamegraph)
            .withPropertyName("flamegraph")
            .withPathSensitivity(PathSensitivity.RELATIVE)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top