Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,171 for wrotec (0.2 sec)

  1. cmd/kubeadm/app/util/dryrun/dryrun.go

    func PrintDryRunFile(fileName, realDir, printDir string, w io.Writer) error {
    	return PrintDryRunFiles([]FileToPrint{
    		NewFileToPrint(filepath.Join(realDir, fileName), filepath.Join(printDir, fileName)),
    	}, w)
    }
    
    // PrintDryRunFiles prints the contents of the FileToPrints given to it to the writer w
    func PrintDryRunFiles(files []FileToPrint, w io.Writer) error {
    	errs := []error{}
    	for _, file := range files {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. 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)
  3. cmd/erasure-encode.go

    package cmd
    
    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
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSinkTester.java

        Writer writer = sink.openStream();
        try {
          writer.write(data);
        } finally {
          writer.close();
        }
    
        assertContainsExpectedString();
      }
    
      public void testOpenBufferedStream() throws IOException {
        Writer writer = sink.openBufferedStream();
        try {
          writer.write(data);
        } finally {
          writer.close();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/outbuf.go

    	if len(s) >= n {
    		out.WriteString(s[:n])
    	} else {
    		out.WriteString(s)
    		n -= len(s)
    		for n > len(pad) {
    			out.Write(pad)
    			n -= len(pad)
    
    		}
    		out.Write(pad[:n])
    	}
    }
    
    // WriteSym writes the content of a Symbol, and returns the output buffer
    // that we just wrote, so we can apply further edit to the symbol content.
    // For generator symbols, it also sets the symbol's Data to the output
    // buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/xml/SimpleXmlWriterSpec.groovy

        def "is a Writer implementation that escapes characters"() {
            when:
            writer.startElement("root")
            writer.write("some <chars>")
            writer.write(" and ".toCharArray())
            writer.write("x some x".toCharArray(), 2, 4)
            writer.write(' ')
            writer.startCDATA()
            writer.write("cdata")
            writer.endCDATA()
            writer.endElement()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 14.1K bytes
    - Viewed (0)
  7. src/internal/trace/raw/textwriter.go

    type TextWriter struct {
    	w io.Writer
    	v version.Version
    }
    
    // NewTextWriter creates a new write for the trace text format.
    func NewTextWriter(w io.Writer, v version.Version) (*TextWriter, error) {
    	_, err := fmt.Fprintf(w, "Trace Go1.%d\n", v)
    	if err != nil {
    		return nil, err
    	}
    	return &TextWriter{w: w, v: v}, nil
    }
    
    // WriteEvent writes a single event to the stream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 917 bytes
    - Viewed (0)
  8. src/io/io.go

    	Read(p []byte) (n int, err error)
    }
    
    // Writer is the interface that wraps the basic Write method.
    //
    // Write writes len(p) bytes from p to the underlying data stream.
    // It returns the number of bytes written from p (0 <= n <= len(p))
    // and any error encountered that caused the write to stop early.
    // Write must return a non-nil error if it returns n < len(p).
    // Write must not modify the slice data, even temporarily.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/process/ArgWriter.java

        private static final Pattern WHITESPACE_OR_HASH = Pattern.compile("\\s|#");
    
        private final PrintWriter writer;
        private final boolean backslashEscape;
        private final Pattern quotablePattern;
    
        private ArgWriter(PrintWriter writer, boolean backslashEscape, Pattern quotablePattern) {
            this.writer = writer;
            this.backslashEscape = backslashEscape;
            this.quotablePattern = quotablePattern;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:14:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top