- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,635 for writer (0.07 sec)
-
okhttp/src/main/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)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 34.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
throws ModelInterpolationException { StringWriter sWriter = new StringWriter(1024); MavenStaxWriter writer = new MavenStaxWriter(); try { writer.write(sWriter, model.getDelegate()); } catch (IOException | XMLStreamException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.5K bytes - Viewed (0) -
cmd/erasure-utils.go
// from subsequent blocks. 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.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 3.1K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen.go
// EncodeMsg implements msgp.Encodable 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 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 61.1K bytes - Viewed (0) -
cmd/bitrot-whole.go
} func (b *wholeBitrotWriter) Write(p []byte) (int, error) { err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p) if err != nil { return 0, err } _, err = b.Hash.Write(p) if err != nil { return 0, err } return len(p), nil } func (b *wholeBitrotWriter) Close() error { return nil } // Returns whole-file bitrot writer.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (0) -
src/bytes/buffer.go
i := copy(b2, b) return b2[:i] } // WriteTo writes data to w until the buffer is drained or an error occurs. // The return value n is the number of bytes written; it always fits into an // int, but it is int64 to match the [io.WriterTo] interface. Any error // encountered during the write is also returned. func (b *Buffer) WriteTo(w io.Writer) (n int64, err error) { b.lastRead = opInvalid
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
istioctl/pkg/writer/compare/cluster.go
package compare import ( "bytes" "fmt" "github.com/pmezard/go-difflib/difflib" "istio.io/istio/pkg/util/protomarshal" ) // ClusterDiff prints a diff between Istiod and Envoy clusters to the passed writer func (c *Comparator) ClusterDiff() error { envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{} envoyClusterDump, err := c.envoy.GetDynamicClusterDump(true) if err != nil { envoyBytes.WriteString(err.Error())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
import ( "cmp" "encoding/json" "fmt" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/slices" ) // ServiceFilter is used to pass filter information into service based config writer print functions type ServiceFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 24 09:07:30 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/main.go
for _, cmd := range closestCommands { console.Printf("\t‘%s’\n", cmd) } } os.Exit(1) } return app } func startupBanner(banner io.Writer) { CopyrightYear = strconv.Itoa(time.Now().Year()) fmt.Fprintln(banner, color.Blue("Copyright:")+color.Bold(" 2015-%s MinIO, Inc.", CopyrightYear)) fmt.Fprintln(banner, color.Blue("License:")+color.Bold(" "+MinioLicense))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:59:48 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0)