- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 3,237 for Write (0.1 sec)
-
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) -
src/cmd/vendor/golang.org/x/text/unicode/norm/readwriter.go
import "io" type normWriter struct { rb reorderBuffer w io.Writer buf []byte } // Write implements the standard write interface. If the last characters are // not at a normalization boundary, the bytes will be buffered for the next // write. The remaining bytes will be written on close. func (w *normWriter) Write(data []byte) (n int, err error) { // Process data in pieces to keep w.buf size bounded. const chunk = 4000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 2.9K bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DummyBinaryStore.groovy
class DummyBinaryStore implements BinaryStore { private final ByteArrayOutputStream bytes = new ByteArrayOutputStream() private Encoder output = new OutputStreamBackedEncoder(bytes) void write(WriteAction write) { write.write(output) } BinaryData done() { new BinaryData() { Decoder decoder def <T> T read(ReadAction<T> readAction) { if (decoder == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java
} @Override public void write(Encoder encoder, IncludeDirectives value) throws Exception { includeListSerializer.write(encoder, value.getAll()); macroListSerializer.write(encoder, value.getAllMacros()); macroFunctionListSerializer.write(encoder, value.getAllMacroFunctions()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 17K bytes - Viewed (0) -
tests/fuzz/pki_fuzzer.go
if err != nil { return 0 } _, err = certFile.Write(certFileBytes) if err != nil { return 0 } privKeyFile, err := os.Create("privKeyFile") if err != nil { return 0 } defer privKeyFile.Close() defer os.Remove("privKeyFile") privKeyFileBytes, err := f.GetBytes() if err != nil { return 0 } _, err = privKeyFile.Write(privKeyFileBytes) if err != nil { return 0 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 05 14:00:25 UTC 2023 - 5.2K bytes - Viewed (0) -
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) -
platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.6K bytes - Viewed (0) -
src/compress/gzip/gzip_test.go
z := NewWriter(buf) msg := []byte("hello world") z.Write(msg) z.Close() z.Reset(buf2) z.Write(msg) z.Close() if buf.String() != buf2.String() { t.Errorf("buf2 %q != original buf of %q", buf2.String(), buf.String()) } } type limitedWriter struct { N int } func (l *limitedWriter) Write(p []byte) (n int, err error) { if n := l.N; n < len(p) { l.N = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:10:06 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
val dataLength = 16384 // Write the mocking script. peer.sendFrame().settings(Settings()) peer.acceptFrame() // ACK peer.acceptFrame() // SYN_STREAM peer.sendFrame().headers(false, 3, headerEntries("b", "banana")) peer.sendFrame().data(false, 3, Buffer().write(ByteArray(dataLength)), dataLength) peer.sendFrame().data(false, 3, Buffer().write(ByteArray(dataLength)), dataLength)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0)