Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,154 for write1 (0.14 sec)

  1. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. 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)
  3. internal/logger/logrotate.go

    	return w.pw.Write(p)
    }
    
    // Close closes the writer.
    // Any accepted writes will be flushed. Any new writes will be rejected.
    // Once Close() exits, files are synchronized to disk.
    func (w *Writer) Close() error {
    	w.pw.CloseWithError(nil)
    
    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java

         * @throws IOException If the settings could not be serialized.
         */
        void write(File output, Map<String, Object> options, Settings settings) throws IOException;
    
        /**
         * Writes the supplied settings to the specified character writer. The writer will be automatically closed before
         * the method returns.
         *
         * @param output The writer to serialize the settings 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
    - 2.9K bytes
    - Viewed (0)
  5. 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)
  6. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/internal/coverage/stringtab/stringtab.go

    		rval += uint32(len(stw.tmp)) + uint32(slen)
    	}
    	return rval
    }
    
    // Write writes the string table in serialized form to the specified
    // io.Writer.
    func (stw *Writer) Write(w io.Writer) error {
    	wr128 := func(v uint) error {
    		stw.tmp = stw.tmp[:0]
    		stw.tmp = uleb128.AppendUleb128(stw.tmp, v)
    		if nw, err := w.Write(stw.tmp); err != nil {
    			return fmt.Errorf("writing string table: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. src/io/multi.go

    // MultiWriter creates a writer that duplicates its writes to all the
    // provided writers, similar to the Unix tee(1) command.
    //
    // Each write is written to each listed writer, one at a time.
    // If a listed writer returns an error, that overall write operation
    // stops and returns the error; it does not continue down the list.
    func MultiWriter(writers ...Writer) Writer {
    	allWriters := make([]Writer, 0, len(writers))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. 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)
  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