Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for fileFor (0.25 sec)

  1. platforms/software/security/src/main/java/org/gradle/plugins/signing/type/AbstractSignatureType.java

     */
    public abstract class AbstractSignatureType implements SignatureType {
    
        @Override
        public File sign(Signatory signatory, File toSign) {
            File signatureFile = fileFor(toSign);
            try (InputStream toSignStream = new BufferedInputStream(new FileInputStream(toSign));
                 OutputStream signatureFileStream = new BufferedOutputStream(new FileOutputStream(signatureFile))) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/software/signing/src/test/groovy/org/gradle/plugins/signing/SignOperationSpec.groovy

            input1Artifact = new DefaultPublishArtifact(input1.name, "Text File", "txt", null, null, input1)
            output1 = signing.signatureType.fileFor(input1)
            
            input2 = getResourceFile("2.txt")
            output2 = signing.signatureType.fileFor(input2)
            input2Artifact = new DefaultPublishArtifact(input2.name, "Text File", "txt", null, null, input2)
            
            [output1, output2].each { output ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

            override fun fileFor(stateType: StateType): ConfigurationCacheStateFile = WriteableConfigurationCacheStateFile(cacheDir.stateFile(stateType), stateType, onFileAccess)
        }
    
        private
        inner class ReadableLayout(
            private val cacheDir: File
        ) : Layout() {
            override fun fileForRead(stateType: StateType) = fileFor(stateType)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. platforms/software/security/src/test/groovy/org/gradle/plugins/signing/type/type/AbstractSignatureTypeSpec.groovy

        static extension = "abc"
        def type = new AbstractSignatureType() { String getExtension() { AbstractSignatureTypeSpec.extension } }
    
        def "fileFor"() {
            when:
            def input = new File(path)
    
            then:
            type.fileFor(input) == new File(input.path + ".$extension")
    
            where:
            path << ["some.txt", "/absolute/some.txt", "relative/some.txt"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/go/types/version.go

    //           to identify which file we're in so that version checks
    //           work correctly in the absence of correct position info.
    
    // fileFor returns the *ast.File which contains the position pos.
    // If there are no files, the result is nil.
    // The position must be valid.
    func (check *Checker) fileFor(pos token.Pos) *ast.File {
    	assert(pos.IsValid())
    	// Eval and CheckExpr tests may not have any source files.
    	if len(check.files) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 23:12:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/software/security/src/main/java/org/gradle/plugins/signing/type/SignatureType.java

         *
         * @param toSign The file to be signed
         * @return The file where to write the signature of the given file to be signed
         */
        File fileFor(File toSign);
    
        /**
         * Combines the extension of the given file with the expected signature extension.
         *
         * @see #getExtension()
         * @param toSign The file to be signed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.stack.part.pbtxt.debug

    files: "fake/user/code/file_K.py"
    files: "fake/user/code/file_L.py"
    files: "fake/user/code/file_M.py"
    files: "fake/user/code/file_N.py"
    files: "fake/user/code/file_O.py"
    files: "fake/user/code/file_P.py"
    files: "fake/user/code/file_Q.py"
    files: "fake/user/code/file_R.py"
    files: "fake/user/code/file_S.py"
    files: "fake/user/code/file_T.py"
    files: "fake/user/code/file_U.py"
    files: "fake/user/code/file_V.py"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 11 15:36:55 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.line.part.pbtxt.debug

    files: "fake/user/code/file_K.py"
    files: "fake/user/code/file_L.py"
    files: "fake/user/code/file_M.py"
    files: "fake/user/code/file_N.py"
    files: "fake/user/code/file_O.py"
    files: "fake/user/code/file_P.py"
    files: "fake/user/code/file_Q.py"
    files: "fake/user/code/file_R.py"
    files: "fake/user/code/file_S.py"
    files: "fake/user/code/file_T.py"
    files: "fake/user/code/file_U.py"
    files: "fake/user/code/file_V.py"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 11 15:36:55 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AggregatingFilerTest.groovy

        def "can have zero originating elements"() {
            when:
            filer.createSourceFile("Foo")
            filer.createResource(StandardLocation.SOURCE_OUTPUT, "", "foo.txt")
    
            then:
            !result.fullRebuildCause
        }
    
        def "can have many originating elements"() {
            when:
            filer.createSourceFile("Foo", type("Bar"), type("Baz"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/IsolatingFilerTest.groovy

        }
    
        def "adds originating types to the processing result"() {
            when:
            filer.createSourceFile("Foo", pkg("pkg"), type("A"), methodInside("B"))
            filer.createSourceFile("Bar", type("B"))
    
            filer.createResource(StandardLocation.SOURCE_OUTPUT, "", "foo.txt", pkg("pkg"), type("A"), methodInside("B"))
            filer.createResource(StandardLocation.SOURCE_OUTPUT, "", "bar.txt", type("B"))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top