- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,668 for write1 (0.17 sec)
-
src/log/slog/internal/benchmarks/handlers.go
"strconv" "time" ) // A fastTextHandler writes a Record to an io.Writer in a format similar to // slog.TextHandler, but without quoting or locking. It has a few other // performance-motivated shortcuts, like writing times as seconds since the // epoch instead of strings. // // It is intended to represent a high-performance Handler that synchronously // writes text (as opposed to binary). type fastTextHandler struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 20:33:37 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGenerator.java
} @Override public void write(OutputStream outputStream) { Map<String, List<CallInterceptionRequest>> requests = filteredRequests.stream() .collect(groupingBy(InstrumentedPropertiesResourceGenerator::getFqName)); List<UpgradedProperty> entries = toPropertyEntries(requests); try (Writer writer = new OutputStreamWriter(outputStream, StandardCharsets.UTF_8)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 7.5K bytes - Viewed (0) -
src/encoding/hex/hex.go
const bufferSize = 1024 type encoder struct { w io.Writer err error out [bufferSize]byte // output buffer } // NewEncoder returns an [io.Writer] that writes lowercase hexadecimal characters to w. func NewEncoder(w io.Writer) io.Writer { return &encoder{w: w} } func (e *encoder) Write(p []byte) (n int, err error) { for len(p) > 0 && e.err == nil { chunkSize := bufferSize / 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:30:23 UTC 2024 - 9.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) -
cmd/erasure-utils.go
// from subsequent blocks. offset = 0 // We have written all the blocks, write the last remaining block. if write < int64(len(block)) { n, err := dst.Write(block[:write]) if err != nil { return 0, err } totalWritten += int64(n) break } // Copy the block. n, err := dst.Write(block) if err != nil { return 0, err } // Decrement output size.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 3.1K bytes - Viewed (0) -
src/hash/hash.go
// decode data written with any previously released version, // subject to issues such as security fixes. // See the Go compatibility document for background: https://golang.org/doc/go1compat type Hash interface { // Write (via the embedded io.Writer interface) adds more data to the running hash. // It never returns an error. io.Writer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheEntryWriter.java
import java.io.IOException; import java.io.OutputStream; /** * Writer to serialize a build cache entry. * * @since 3.3 */ public interface BuildCacheEntryWriter { /** * Writes a build cache entry to the given stream. * <p> * The given output stream will be closed by this method. * * @param output output stream to write build cache entry to
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:09:36 UTC 2024 - 1.4K bytes - Viewed (0) -
src/runtime/traceevent.go
} return traceEventWriter{w} } // commit writes out a trace event and calls end. It's a helper to make the // common case of writing out a single event less error-prone. func (e traceEventWriter) commit(ev traceEv, args ...traceArg) { e = e.write(ev, args...) e.end() } // write writes an event into the trace. func (e traceEventWriter) write(ev traceEv, args ...traceArg) traceEventWriter {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0) -
src/log/syslog/syslog.go
return 0, err } return w.write(pr, s) } // write generates and writes a syslog formatted string. The // format is as follows: <PRI>TIMESTAMP HOSTNAME TAG[PID]: MSG func (w *Writer) write(p Priority, msg string) (int, error) { // ensure it ends in a \n nl := "" if !strings.HasSuffix(msg, "\n") { nl = "\n" } err := w.conn.writeString(p, w.hostname, w.tag, msg, nl)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRulesReporter.java
writer.write(" "); writer.write(input.getType() == null ? "<untyped>" : input.getType()); if (input.getDescription() != null) { writer.write(" "); writer.write("("); writer.write(input.getDescription()); writer.write(")"); } if (!input.isBound()) { writer.write(" "); writer.write("[*]");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.3K bytes - Viewed (0)