Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,815 for gwrite (0.18 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/BaseSerializerFactory.java

            public void write(Encoder encoder, Path value) throws Exception {
                encoder.writeString(value.toString());
            }
        }
    
        private static class ByteArraySerializer extends AbstractSerializer<byte[]> {
            @Override
            public byte[] read(Decoder decoder) throws Exception {
                return decoder.readBinary();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

                assert !handle.standardOutput.contains("pom")
            }
            handle.stdinPipe.write((basicTypeOption + TextUtil.platformLineSeparator).bytes)
    
            // Select default project name
            ConcurrentTestUtil.poll(60) {
                assert handle.standardOutput.contains(projectNamePrompt)
            }
            handle.stdinPipe.write(TextUtil.platformLineSeparator.bytes)
    
            // Select 'kotlin DSL'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. doc/go_mem.html

    <p>
    Note that if there are no read-write or write-write data races on memory location <i>x</i>,
    then any read <i>r</i> on <i>x</i> has only one possible <i>W</i>(<i>r</i>):
    the single <i>w</i> that immediately precedes it in the happens before order.
    </p>
    
    <p>
    More generally, it can be shown that any Go program that is data-race-free,
    meaning it has no program executions with read-write or write-write data races,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. internal/ioutil/ioutil.go

    // executes at least one write operation if it is closed.
    //
    // This can be useful within the context of HTTP. At least
    // one write operation must happen to send the HTTP headers
    // to the peer.
    type WriteOnCloser struct {
    	io.Writer
    	hasWritten bool
    }
    
    func (w *WriteOnCloser) Write(p []byte) (int, error) {
    	w.hasWritten = true
    	return w.Writer.Write(p)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. src/cmd/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: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    	conn *Conn
    	num  byte
    	r    io.Reader
    	w    io.WriteCloser
    
    	read, write bool
    }
    
    // newWebsocketChannel creates a pipe for writing to a websocket. Do not write to this pipe
    // prior to the connection being opened. It may be no, half, or full duplex depending on
    // read and write.
    func newWebsocketChannel(conn *Conn, num byte, read, write bool) *websocketChannel {
    	r, w := io.Pipe()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/crypto/ed25519/ed25519.go

    	}
    
    	R := (&edwards25519.Point{}).ScalarBaseMult(r)
    
    	kh := sha512.New()
    	if domPrefix != domPrefixPure {
    		kh.Write([]byte(domPrefix))
    		kh.Write([]byte{byte(len(context))})
    		kh.Write([]byte(context))
    	}
    	kh.Write(R.Bytes())
    	kh.Write(publicKey)
    	kh.Write(message)
    	hramDigest := make([]byte, 0, sha512.Size)
    	hramDigest = kh.Sum(hramDigest)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. cmd/erasure-utils.go

    		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.
    		write -= int64(n)
    
    		// Increment written.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Verify the peer's settings were read and applied.
        assertThat(connection.peerSettings.headerTableSize).isEqualTo(0)
        val writer = connection.writer
        assertThat(writer.hpackWriter.dynamicTableByteCount).isEqualTo(0)
        assertThat(writer.hpackWriter.headerTableSizeSetting).isEqualTo(0)
      }
    
      @Test fun peerHttp2ClientDisablesPush() {
        val client = false // Peer is client, so we are server.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top