- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 358 for writeErr (0.07 sec)
-
docs/debugging/inspect/decrypt-v2.go
package main import ( "errors" "fmt" "io" "os" "github.com/minio/madmin-go/v3/estream" ) type keepFileErr struct { error } func extractInspectV2(pk []byte, r io.Reader, w io.Writer, okMsg string) error { privKey, err := bytesToPrivateKey(pk) if err != nil { return fmt.Errorf("decoding key returned: %w", err) } sr, err := estream.NewReader(r) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/ringbuffer/README.md
`TryRead` and `TryWrite` are still available for non-blocking reads and writes. To signify the end of the stream, close the ring buffer from the writer side with `rb.CloseWriter()` Either side can use `rb.CloseWithError(err error)` to signal an error and close the ring buffer. Any reads or writes will return the error on next call.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.1K bytes - Viewed (0) -
istioctl/pkg/writer/compare/route.go
import ( "bytes" "fmt" "time" "github.com/pmezard/go-difflib/difflib" "istio.io/istio/pkg/util/protomarshal" ) // RouteDiff prints a diff between Istiod and Envoy routes to the passed writer func (c *Comparator) RouteDiff() error { envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{} envoyRouteDump, err := c.envoy.GetDynamicRouteDump(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 - 2.3K bytes - Viewed (0) -
api/go1.5.txt
pkg mime/quotedprintable, func NewWriter(io.Writer) *Writer pkg mime/quotedprintable, method (*Reader) Read([]uint8) (int, error) pkg mime/quotedprintable, method (*Writer) Close() error pkg mime/quotedprintable, method (*Writer) Write([]uint8) (int, error) pkg mime/quotedprintable, type Reader struct pkg mime/quotedprintable, type Writer struct pkg mime/quotedprintable, type Writer struct, Binary bool
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
cmd/admin-handlers_test.go
var lris []lockRequesterInfo uuid := mustGetUUID() for i := 0; i < 10; i++ { resource := fmt.Sprintf("bucket/delete-object-%d", i) lri := lockRequesterInfo{ Name: resource, Writer: true, UID: uuid, Owner: owners[i%len(owners)], Group: true, Quorum: 3, } lris = append(lris, lri) locksHeld[resource] = []lockRequesterInfo{lri} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 13.9K bytes - Viewed (0) -
src/archive/tar/common.go
// A Header represents a single header in a tar archive. // Some fields may not be populated. // // For forward compatibility, users that retrieve a Header from Reader.Next, // mutate it in some ways, and then pass it back to Writer.WriteHeader // should do so by creating a new Header and copying the fields // that they are interested in preserving. type Header struct { // Typeflag is the type of header entry.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
cmd/bitrot-whole.go
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. func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser { return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
System.out.println(response.body().string()); } } private void streamPrimesToSinkAsynchronously(final BufferedSink sink) { Thread thread = new Thread("writer") { @Override public void run() { try { sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n"); for (int i = 2; i <= 997; i++) { System.out.println(i);
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 3.1K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
package configdump import ( "cmp" "encoding/json" "fmt" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/slices" ) // PolicyFilter is used to pass filter information into service based config writer print functions type PolicyFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen.go
err = dc.Skip() if err != nil { err = msgp.WrapError(err) return } } } return } // 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")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 61.1K bytes - Viewed (0)