- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 755 for writeLn (0.05 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
writer.writeln(s + "\\"); } else { writer.writeln(s); } } } else { writer.writeProperty(key, storage.get(key)); } } if (footer != null) { for (String s : footer) { writer.writeln(s); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
src/archive/tar/writer.go
"path" "slices" "strings" "time" ) // Writer provides sequential writing of a tar archive. // [Writer.WriteHeader] begins a new file with the provided [Header], // and then Writer can be treated as an io.Writer to supply that file's data. type Writer struct { w io.Writer pad int64 // Amount of padding to write after current file entry curr fileWriter // Writer for current file entry
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
src/archive/zip/writer.go
// for the file metadata. [Writer] takes ownership of fh and may mutate // its fields. The caller must not modify fh after calling [Writer.CreateHeader]. // // This returns a [Writer] to which the file contents should be written. // The file's contents must be written to the io.Writer before the next // call to [Writer.Create], [Writer.CreateHeader], [Writer.CreateRaw], or [Writer.Close].
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/local-locker_gen.go
return } err = en.WriteInt(z.Writes) if err != nil { err = msgp.WrapError(err, "Writes") return } // write "Reads" err = en.Append(0xa5, 0x52, 0x65, 0x61, 0x64, 0x73) if err != nil { return } err = en.WriteInt(z.Reads) if err != nil { err = msgp.WrapError(err, "Reads") return } return } // MarshalMsg implements msgp.Marshaler
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 13.9K bytes - Viewed (0) -
cmd/erasure-encode.go
import ( "context" "fmt" "io" ) // Writes to multiple writers type multiWriter struct { writers []io.Writer writeQuorum int errs []error } // Write writes data to writers. func (p *multiWriter) Write(ctx context.Context, blocks [][]byte) error { for i := range p.writers { if p.errs[i] != nil { continue } if p.writers[i] == nil { p.errs[i] = errDiskNotFound continue
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer.go
r.isFull = false return b, r.readErr(true) } // Write writes len(p) bytes from p to the underlying buf. // It returns the number of bytes written from p (0 <= n <= len(p)) // and any error encountered that caused the write to stop early. // If blocking n < len(p) will be returned only if an error occurred. // Write returns a non-nil error if it returns n < len(p). // Write will not modify the slice data, even temporarily.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
} /** * Writes all the given bytes to this sink. * * @throws IOException if an I/O occurs while writing to this sink */ public void write(byte[] bytes) throws IOException { checkNotNull(bytes); try (OutputStream out = openStream()) { out.write(bytes); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 16:55:09 UTC 2024 - 5K bytes - Viewed (0) -
src/bufio/bufio_test.go
t.Errorf("%s: buf.Flush = %v", context, e) } written := w.Bytes() if len(written) != nwrite { t.Errorf("%s: %d bytes written", context, len(written)) } for l := 0; l < len(written); l++ { if written[l] != data[l] { t.Errorf("wrong bytes written") t.Errorf("want=%q", data[:len(written)]) t.Errorf("have=%q", written) } } } } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* @since 15.0 (in 14.0 with return type {@link BufferedWriter}) */ public Writer openBufferedStream() throws IOException { Writer writer = openStream(); return (writer instanceof BufferedWriter) ? (BufferedWriter) writer : new BufferedWriter(writer); } /** * Writes the given character sequence to this sink. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/io/LittleEndianDataOutputStream.java
writeInt(Float.floatToIntBits(v)); } /** * Writes an {@code int} as specified by {@link DataOutputStream#writeInt(int)}, except using * little-endian byte order. * * @throws IOException if an I/O error occurs */ @Override public void writeInt(int v) throws IOException { out.write(0xFF & v); out.write(0xFF & (v >> 8));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 12:34:49 UTC 2024 - 5.2K bytes - Viewed (0)