- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,364 for writePtr (0.14 sec)
-
platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy
def localCache = new TestBuildCache(file("local-cache")) settingsFile << localCache.localCacheConfiguration() when: remote("throw new ${exceptionType.name}('!')", "writer.writeTo(${NullOutputStream.name}.INSTANCE)") settingsFile << """ buildCache { remote($remoteCacheClass) } """ buildFile << cacheableTask() << """ apply plugin: "base"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 14.9K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/SimpleTemplateOperation.java
Template template = templateEngine.createTemplate(templateText); try (Writer writer = Files.asCharSink(target, Charsets.UTF_8, FileWriteMode.APPEND).openStream()) { template.make(bindings).writeTo(writer); } } catch (Exception ex) { throw new GradleException("Could not generate file " + target + ".", ex); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:47:19 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/caching/MapBasedBuildCacheServiceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/GradleModuleMetadataWriter.java
) { this.buildInvocationScopeId = buildInvocationScopeId; this.checksumService = checksumService; } public void writeTo(Writer writer, ModuleMetadataSpec metadata) throws IOException { // Write the output JsonWriter jsonWriter = new JsonWriter(writer); jsonWriter.setHtmlSafe(false); jsonWriter.setIndent(" "); new ModuleMetadataJsonWriter( jsonWriter,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 29 22:10:58 UTC 2023 - 2.7K bytes - Viewed (0) -
src/os/zero_copy_stub.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !linux package os import "io" func (f *File) writeTo(w io.Writer) (written int64, handled bool, err error) { return 0, false, nil } func (f *File) readFrom(r io.Reader) (n int64, handled bool, err error) { return 0, false, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:16:28 UTC 2023 - 406 bytes - Viewed (0) -
src/net/http/http.go
func (noBody) Read([]byte) (int, error) { return 0, io.EOF } func (noBody) Close() error { return nil } func (noBody) WriteTo(io.Writer) (int64, error) { return 0, nil } var ( // verify that an io.Copy from NoBody won't require a buffer: _ io.WriterTo = NoBody _ io.ReadCloser = NoBody ) // PushOptions describes options for [Pusher.Push]. type PushOptions struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 5.1K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/AbstractProjectGeneratorTask.groovy
} destFile.parentFile.mkdirs() destFile.withWriter { Writer writer -> if (templateName.endsWith('.gradle')) { writer << "// Generated for subproject ${templateArgs.projectName}\n" } getTemplate(templateFiles.last()).make(templateArgs).writeTo(writer) } } def getTemplate(File srcTemplate) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 07 13:12:26 UTC 2021 - 11.5K bytes - Viewed (0) -
platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/DeploymentDescriptor.java
*/ boolean readFrom(Object path); /** * Writes the deployment descriptor into a writer. * * @param writer * The writer to write the deployment descriptor to * @return this */ DeploymentDescriptor writeTo(Writer writer); /** * Writes the deployment descriptor into a file. The paths are resolved as defined by
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 19 22:06:51 UTC 2023 - 7.1K bytes - Viewed (0) -
src/compress/flate/deflate_test.go
t.Fatalf("NewWriter: %v", err) } flushErr := zw.Flush() closeErr := zw.Close() _, writeErr := zw.Write([]byte("Test")) checkErrors([]error{closeErr, flushErr, writeErr}, errIO, t) } func TestWriterPersistentCloseError(t *testing.T) { // If underlying writer return error on closing stream we should persistent this error across all writer calls. zw, err := NewWriter(&failWriter{0}, DefaultCompression) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.6K bytes - Viewed (0) -
src/bufio/bufio_test.go
r := NewReader(rw) if _, err := r.WriteTo(rw); err != rw.expected { t.Errorf("r.WriteTo(errorWriterToTests[%d]) = _, %v, want _,%v", i, err, rw.expected) } } } func TestWriterReadFrom(t *testing.T) { ws := []func(io.Writer) io.Writer{ func(w io.Writer) io.Writer { return onlyWriter{w} }, func(w io.Writer) io.Writer { return w }, } rs := []func(io.Reader) io.Reader{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:56:01 UTC 2023 - 51.5K bytes - Viewed (0)