- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 2,099 for writeFn (0.06 seconds)
-
cmd/bucket-replication-utils_gen.go
return } // write "rc" err = en.Append(0xa2, 0x72, 0x63) if err != nil { return } err = en.WriteInt(za0002.RetryCount) if err != nil { err = msgp.WrapError(err, "Entries", za0001, "RetryCount") return } } // write "v" err = en.Append(0xa1, 0x76) if err != nil { return } err = en.WriteInt(z.Version) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 59.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} } /** * Writes the specified byte to this file output stream. * * @throws IOException * if a network error occurs */ @Override public void write(final int b) throws IOException { this.tmp[0] = (byte) b; write(this.tmp, 0, 1); } /** * Writes b.length bytes from the specified byte array to thisCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
} catch (_: NumberFormatException) { invalidLengths(strings) } } /** Append space-prefixed lengths to [writer]. */ @Throws(IOException::class) internal fun writeLengths(writer: BufferedSink) { for (length in lengths) { writer.writeByte(' '.code).writeDecimalLong(length) } } @Throws(IOException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K bytes - Click Count (0) -
internal/grid/grid.go
ctx context.Context } func (w *writerWrapper) Write(p []byte) (n int, err error) { buf := GetByteBufferCap(len(p)) buf = buf[:len(p)] copy(buf, p) select { case w.ch <- buf: return len(p), nil case <-w.ctx.Done(): return 0, context.Cause(w.ctx) } } // WriterToChannel will return an io.Writer that writes to the given channel.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
cmd/bootstrap-peer-server_gen.go
func (z *ServerSystemConfig) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 4 // write "NEndpoints" err = en.Append(0x84, 0xaa, 0x4e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73) if err != nil { return } err = en.WriteInt(z.NEndpoints) if err != nil { err = msgp.WrapError(err, "NEndpoints") return } // write "CmdLines"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/xl-storage-format-v2_gen.go
} err = en.WriteInt(z.ErasureM) if err != nil { err = msgp.WrapError(err, "ErasureM") return } // write "EcN" err = en.Append(0xa3, 0x45, 0x63, 0x4e) if err != nil { return } err = en.WriteInt(z.ErasureN) if err != nil { err = msgp.WrapError(err, "ErasureN") return } // write "EcBSize" err = en.Append(0xa7, 0x45, 0x63, 0x42, 0x53, 0x69, 0x7a, 0x65)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 55.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
editor = snapshot.edit() ?: return // edit() returns null if snapshot is not current. entry.writeTo(editor) editor.commit() } catch (_: IOException) { abortQuietly(editor) } } private fun abortQuietly(editor: DiskLruCache.Editor?) { // Give up because the cache cannot be written. try { editor?.abort() } catch (_: IOException) { } } /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
cmd/bucket-replication-metrics_gen.go
} // EncodeMsg implements msgp.Encodable func (z ActiveWorkerStat) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 3 // write "Curr" err = en.Append(0x83, 0xa4, 0x43, 0x75, 0x72, 0x72) if err != nil { return } err = en.WriteInt(z.Curr) if err != nil { err = msgp.WrapError(err, "Curr") return } // write "Avg" err = en.Append(0xa3, 0x41, 0x76, 0x67) if err != nil { return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33.3K bytes - Click Count (0) -
cmd/site-replication-utils_gen.go
} // EncodeMsg implements msgp.Encodable func (z *SiteResyncStatus) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 6 // write "v" err = en.Append(0x86, 0xa1, 0x76) if err != nil { return } err = en.WriteInt(z.Version) if err != nil { err = msgp.WrapError(err, "Version") return } // write "ss" err = en.Append(0xa2, 0x73, 0x73) if err != nil { return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.1K bytes - Click Count (0) -
src/bytes/buffer_test.go
var b Buffer b.Write(buf[0:1]) for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) } } } // Check that we don't compact too often. From Issue 5154. func BenchmarkBufferFullSmallReads(b *testing.B) { buf := make([]byte, 1024) for i := 0; i < b.N; i++ { var b Buffer b.Write(buf) for b.Len()+20 < b.Cap() { b.Write(buf[:10]) }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0)