Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,529 for dwrite (0.26 sec)

  1. src/vendor/golang.org/x/text/unicode/norm/readwriter.go

    	if len(w.buf) > 0 {
    		_, err := w.w.Write(w.buf)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // Writer returns a new writer that implements Write(b)
    // by writing f(b) to w. The returned writer may use an
    // internal buffer to maintain state across Write calls.
    // Calling its Close method writes any buffered data to w.
    func (f Form) Writer(w io.Writer) io.WriteCloser {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  2. src/encoding/pem/pem.go

    	n, err = l.out.Write(b[0:excess])
    	if err != nil {
    		return
    	}
    
    	n, err = l.out.Write(nl)
    	if err != nil {
    		return
    	}
    
    	return l.Write(b[excess:])
    }
    
    func (l *lineBreaker) Close() (err error) {
    	if l.used > 0 {
    		_, err = l.out.Write(l.line[0:l.used])
    		if err != nil {
    			return
    		}
    		_, err = l.out.Write(nl)
    	}
    
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/GroupsJavadocOptionFileOptionTest.groovy

            1 * writerContextMock.write('"testGroup"') >> writerContextMock
            1 * writerContextMock.write(' ') >> writerContextMock
            1 * writerContextMock.write('"java.lang:java.util*"') >> writerContextMock
            1 * writerContextMock.newLine() >> writerContextMock
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/io/pipe.go

    // with code expecting an [io.Writer].
    //
    // Reads and Writes on the pipe are matched one to one
    // except when multiple Reads are needed to consume a single Write.
    // That is, each Write to the [PipeWriter] blocks until it has satisfied
    // one or more Reads from the [PipeReader] that fully consume
    // the written data.
    // The data is copied directly from the Write to the corresponding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java

        }
    
        /**
         * Method write.
         *
         * @param writer   a writer object
         * @param metadata a Metadata object
         * @throws java.io.IOException java.io.IOException if any
         */
        public void write(Writer writer, Metadata metadata) throws java.io.IOException {
            try {
                delegate.write(writer, metadata.getDelegate());
            } catch (XMLStreamException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        }
    
        public void close() throws IOException {
            pipe.close();
        }
        public void write( int b ) throws IOException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
        public void write( byte[] b ) throws IOException {
            write( b, 0, b.length );
        }
        public void write( byte[] b, int off, int len ) throws IOException {
            if( len < 0 ) {
                len = 0;
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt

    import java.nio.channels.FileChannel
    import okio.Buffer
    
    /**
     * Read and write a target file. Unlike Okio's built-in `Okio.source(java.io.File file)` and `Okio.sink(java.io.File file)`
     * this class offers:
     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/dist/testjson.go

    	"errors"
    	"fmt"
    	"io"
    	"sync"
    	"time"
    )
    
    // lockedWriter serializes Write calls to an underlying Writer.
    type lockedWriter struct {
    	lock sync.Mutex
    	w    io.Writer
    }
    
    func (w *lockedWriter) Write(b []byte) (int, error) {
    	w.lock.Lock()
    	defer w.lock.Unlock()
    	return w.w.Write(b)
    }
    
    // testJSONFilter is an io.Writer filter that replaces the Package field in
    // test2json output.
    type testJSONFilter struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. pkg/proxy/util/linebuffer_test.go

    	}{
    		{
    			name:     "write no line",
    			expected: 0,
    		},
    		{
    			name:     "write one line",
    			expected: 1,
    		},
    		{
    			name:     "write 100 lines",
    			expected: 100,
    		},
    		{
    			name:     "write 1000 lines",
    			expected: 1000,
    		},
    		{
    			name:     "write 10000 lines",
    			expected: 10000,
    		},
    		{
    			name:     "write 100000 lines",
    			expected: 100000,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 12:38:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/util/LineBufferingOutputStreamTest.groovy

            LineBufferingOutputStream outputStream = new LineBufferingOutputStream(action, separator, 8)
            outputStream.write("line ".getBytes())
            outputStream.write("1-line 2".getBytes())
    
            then:
            1 * action.text("line 1-")
    
            when:
            outputStream.write("-".getBytes())
    
            then:
            1 * action.text("line 2-")
        }
    
        def logsEmptyLines() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 5.3K bytes
    - Viewed (0)
Back to top