- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,364 for writePtr (0.12 sec)
-
src/os/file.go
} n, handled, e := f.writeTo(w) if handled { return n, f.wrapErr("read", e) } return genericWriteTo(f, w) // without wrapping } // noWriteTo can be embedded alongside another type to // hide the WriteTo method of that other type. type noWriteTo struct{} // WriteTo hides another WriteTo method. // It should never be called. func (noWriteTo) WriteTo(io.Writer) (int64, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
platforms/software/publish/src/test/groovy/org/gradle/api/publish/internal/metadata/GradleModuleMetadataWriterTest.groovy
TestUtil.checksumService ).writeTo(writer, spec) } def "fails to write file for component with no variants"() { def writer = new StringWriter() def component = Stub(TestComponent) def publication = publication(component, id) when: writeTo(writer, publication, [publication]) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 07:21:42 UTC 2023 - 36.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/IncompatibleTypeReferenceReporter.java
writer.print(type); if (description != null) { writer.print(" ("); writer.print(description); writer.print(")"); } writer.println(" is invalid due to incompatible types."); writer.print("This element was created by "); writer.print(creator); writer.print(" and can be "); writer.print(writable ? "mutated" : "read");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/StatefulNextGenBuildCacheService.java
writeTo(data); return data.toInputStream(); } @Override public void writeTo(OutputStream output) throws IOException { legacyWriter.writeTo(output); } @Override public long getSize() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 10:14:55 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/bootstrap/instance.go
// Instance of a configured Envoy bootstrap writer. type Instance interface { // WriteTo writes the content of the Envoy bootstrap to the given writer. WriteTo(templateFile string, w io.Writer) error // CreateFile generates an Envoy bootstrap file. CreateFile() (string, error) } // New creates a new Instance of an Envoy bootstrap writer. func New(cfg Config) Instance { return &instance{ Config: cfg,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/AmbiguousBindingReporter.java
writer.print(" ("); writer.print(referenceDescription); writer.print(")"); } writer.println(" is ambiguous as multiple model elements are available for this type:"); boolean first = true; for (Provider provider : providers) { if (!first) { writer.println(); } writer.print(INDENT); writer.print("- ");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.8K bytes - Viewed (0) -
src/io/multi_test.go
MultiReader( // Tickle the buffer reusing codepath strings.NewReader(""), strings.NewReader("bar"), ), ) mrAsWriterTo, ok := mr.(WriterTo) if !ok { t.Fatalf("expected cast to WriterTo to succeed") } sink := &strings.Builder{} n, err := mrAsWriterTo.WriteTo(sink) if err != nil { t.Fatalf("expected no error; got %v", err) } if n != 7 { t.Errorf("expected read 7 bytes; got %d", n) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:49:32 UTC 2022 - 10K bytes - Viewed (0) -
cmd/erasure-encode.go
return nil } writeErr := reduceWriteQuorumErrs(ctx, p.errs, objectOpIgnoredErrs, p.writeQuorum) return fmt.Errorf("%w (offline-disks=%d/%d)", writeErr, countErrs(p.errs, errDiskNotFound), len(p.writers)) } // Encode reads from the reader, erasure-encodes the data and writes to the writers. func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
src/archive/tar/testdata/writer-big.tar
Joe Tsai <******@****.***> 1503528984 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 01:35:39 UTC 2017 - 512 bytes - Viewed (0) -
src/net/net.go
type Buffers [][]byte var ( _ io.WriterTo = (*Buffers)(nil) _ io.Reader = (*Buffers)(nil) ) // WriteTo writes contents of the buffers to w. // // WriteTo implements [io.WriterTo] for [Buffers]. // // WriteTo modifies the slice v as well as v[i] for 0 <= i < len(v), // but does not modify v[i][j] for any i, j. func (v *Buffers) WriteTo(w io.Writer) (n int64, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 26.8K bytes - Viewed (0)