Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,155 for writes (0.13 sec)

  1. src/encoding/csv/writer.go

    }
    
    // NewWriter returns a new Writer that writes to w.
    func NewWriter(w io.Writer) *Writer {
    	return &Writer{
    		Comma: ',',
    		w:     bufio.NewWriter(w),
    	}
    }
    
    // Write writes a single CSV record to w along with any necessary quoting.
    // A record is a slice of strings with each string being one field.
    // Writes are buffered, so [Writer.Flush] must eventually be called to ensure
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/mime/quotedprintable/writer.go

    }
    
    // Write encodes p using quoted-printable encoding and writes it to the
    // underlying [io.Writer]. It limits line length to 76 characters. The encoded
    // bytes are not necessarily flushed until the [Writer] is closed.
    func (w *Writer) Write(p []byte) (n int, err error) {
    	for i, b := range p {
    		switch {
    		// Simple writes are done in batch.
    		case b >= '!' && b <= '~' && b != '=':
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/compress/lzw/writer.go

    	invalidEntry = 0
    )
    
    // Writer is an LZW compressor. It writes the compressed form of the data
    // to an underlying writer (see [NewWriter]).
    type Writer struct {
    	// w is the writer that compressed bytes are written to.
    	w writer
    	// litWidth is the width in bits of literal codes.
    	litWidth uint
    	// order, write, bits, nBits and width are the state for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java

        /**
         * Writes the given raw bytes to the stream. Does not encode any length information.
         */
        void writeBytes(byte[] bytes, int offset, int count) throws IOException;
    
        /**
         * Writes the given byte array to the stream. Encodes the bytes and length information.
         */
        void writeBinary(byte[] bytes) throws IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. internal/ringbuffer/README.md

    Regular Reads will block until data is available, but not wait for a full buffer. 
    Writes will block until there is space available and writes bigger than the buffer will wait for reads to make space.
    
    `TryRead` and `TryWrite` are still available for non-blocking reads and writes.
    
    To signify the end of the stream, close the ring buffer from the writer side with `rb.CloseWriter()`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/image/jpeg/writer.go

    		theHuffmanLUT[i].init(s)
    	}
    }
    
    // writer is a buffered writer.
    type writer interface {
    	Flush() error
    	io.Writer
    	io.ByteWriter
    }
    
    // encoder encodes an image to the JPEG format.
    type encoder struct {
    	// w is the writer to write to. err is the first error encountered during
    	// writing. All attempted writes after the first error become no-ops.
    	w   writer
    	err error
    	// buf is a scratch buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * @throws IOException If the model could not be serialized.
         */
        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified character writer. The writer will be automatically closed before the
         * method returns.
         *
         * @param output The writer to serialize the model to, must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. src/runtime/coverage/coverage.go

    }
    
    // WriteCounters writes coverage counter-data content for the
    // currently running program to the writer 'w'. An error will be
    // returned if the operation can't be completed successfully (for
    // example, if the currently running program was not built with
    // "-cover", or if a write fails). The counter data written will be a
    // snapshot taken at the point of the invocation.
    func WriteCounters(w io.Writer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContextTest.groovy

        def writer = new StringWriter()
        @Subject context = new JavadocOptionFileWriterContext(writer)
    
        def "writes"() {
            when: context.write("dummy")
            then: writer.toString() == "dummy"
        }
    
        def "writes new line"() {
            when: context.write("a").newLine().write("b")
            then: writer.toString() == "a${SystemProperties.instance.getLineSeparator()}b"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestResultsProvider.java

        /**
         * Writes the output of the given test to the given writer. This method must be called only after {@link #visitClasses(org.gradle.api.Action)}.
         *
         * Write all output for the given test case name of the test class.
         */
        void writeTestOutput(long classId, long testId, TestOutputEvent.Destination destination, Writer writer);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top