- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for fileFor (0.84 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/utils/error_util.cc
// For a Location to be surfaced in the stack, it must evaluate to true. // For any Location that is a FileLineColLoc: if (FileLineColLoc fileLoc = mlir::dyn_cast<FileLineColLoc>(loc)) { return !tensorflow::IsInternalFrameForFilename( fileLoc.getFilename().str()); } else { // If this is a non-FileLineColLoc, go ahead and include it. return true; } }; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/IncrementalProcessingEnvironment.java
private final ProcessingEnvironment delegate; private final IncrementalFiler filer; IncrementalProcessingEnvironment(ProcessingEnvironment delegate, IncrementalFiler filer) { this.delegate = delegate; this.filer = filer; } @Override public Map<String, String> getOptions() { return delegate.getOptions(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.1K bytes - Viewed (0)