- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 44 for wrote (0.31 seconds)
-
src/bufio/bufio_test.go
} } type teststringwriter struct { write string writeString string } func (w *teststringwriter) Write(b []byte) (int, error) { w.write += string(b) return len(b), nil } func (w *teststringwriter) WriteString(s string) (int, error) { w.writeString += s return len(s), nil } func (w *teststringwriter) check(t *testing.T, write, writeString string) { t.Helper()Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
src/archive/zip/reader_test.go
hdr := &FileHeader{Name: "."} hdr.SetMode(fs.ModeDir | 0o755) w, err := zw.CreateHeader(hdr) if err != nil { t.Fatalf("create zip header: %v", err) } _, err = w.Write([]byte("some data")) if err != nil { t.Fatalf("write zip contents: %v", err) } err = zw.Close() if err != nil { t.Fatalf("close zip writer: %v", err) }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Oct 17 20:10:27 GMT 2025 - 56.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (log.isTraceEnabled()) { log.trace(req.toString()); log.trace(Hexdump.toHexString(this.sbuf, 4, n)); } this.out.write(this.sbuf, 0, 4 + n); this.out.flush(); log.trace("Wrote negotiate request"); return n; } /** * @throws SocketException * @throws IOException */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
cmd/bucket-handlers.go
// Fan-out requires no copying, and must be carried from original source // https://en.wikipedia.org/wiki/Copy_protection so the incoming stream // is always going to be in-memory as we cannot re-read from what we // wrote to disk - since that amounts to "copying" from a "copy" // instead of "copying" from source, we need the stream to be seekable // to ensure that we can make fan-out calls concurrently. buf := bytebufferpool.Get()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 63.9K bytes - Click Count (0) -
cmd/bucket-stats_gen.go
// map header, size 14 // write "ReplicatedSize" err = en.Append(0x8e, 0xae, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65) if err != nil { return } err = en.WriteInt64(z.ReplicatedSize) if err != nil { err = msgp.WrapError(err, "ReplicatedSize") return } // write "ReplicaSize"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 57.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* segments, each governed by its own write lock. The segment lock is taken once for each explicit * write, and twice for each cache loading computation (once prior to loading the new value, and * once after loading completes). Much internal cache management is performed at the segment * granularity. For example, access queues and write queues are kept per segment when they are
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 51.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
String newContent = "New content\n"; // Write initial content try (OutputStream out = file.openOutputStream(false)) { out.write(initialContent.getBytes("UTF-8")); } // Overwrite with new content try (OutputStream out = file.openOutputStream(false)) { out.write(newContent.getBytes("UTF-8")); } // Verify new contentCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0) -
cmd/xl-storage-format-v2_gen.go
if err != nil { return } if (zb0001Mask & 0x1) == 0 { // if not omitted // write "V2Obj" err = en.Append(0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a) if err != nil { return } if z.ObjectV2 == nil { err = en.WriteNil() if err != nil { return } } else { // map header, size 1 // write "DDir" err = en.Append(0x81, 0xa4, 0x44, 0x44, 0x69, 0x72) if err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 55.8K bytes - Click Count (0) -
cmd/bucket-replication-utils_gen.go
func (z *BucketReplicationResyncStatus) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 4 // write "v" err = en.Append(0x84, 0xa1, 0x76) if err != nil { return } err = en.WriteInt(z.Version) if err != nil { err = msgp.WrapError(err, "Version") return } // write "brs" err = en.Append(0xa3, 0x62, 0x72, 0x73) if err != nil { return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 59.3K bytes - Click Count (0)