- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 285 for errf (0.04 sec)
-
src/net/http/httputil/reverseproxy.go
go spc.copyFromBackend(errc) <-errc } // switchProtocolCopier exists so goroutines proxying data back and // forth have nice names in stacks. type switchProtocolCopier struct { user, backend io.ReadWriter } func (c switchProtocolCopier) copyFromBackend(errc chan<- error) { _, err := io.Copy(c.user, c.backend) errc <- err } func (c switchProtocolCopier) copyToBackend(errc chan<- error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 23:37:42 UTC 2024 - 24.9K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0) -
src/math/big/floatconv.go
if ch, err2 := r.ReadByte(); err2 == nil { err = fmt.Errorf("expected end of string, found %q", ch) } else if err2 != io.EOF { err = err2 } return } // ParseFloat is like f.Parse(s, base) with f set to the given precision // and rounding mode. func ParseFloat(s string, base int, prec uint, mode RoundingMode) (f *Float, b int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 8.3K bytes - Viewed (0) -
cmd/erasure-healing_test.go
if err != nil { t.Fatal(err) } // Checking abandoned parts should do nothing err = er.checkAbandonedParts(ctx, bucket, object, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: true}) if err != nil { t.Fatal(err) } _, err = er.HealObject(ctx, bucket, object, "", madmin.HealOpts{ScanMode: madmin.HealNormalScan}) if err != nil { t.Fatal(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0) -
src/cmd/internal/bio/buf.go
func (r *Reader) Offset() int64 { off, err := r.f.Seek(0, 1) if err != nil { log.Fatalf("seeking in output [0, 1]: %v", err) } off -= int64(r.Buffered()) return off } func (w *Writer) Offset() int64 { if err := w.Flush(); err != nil { log.Fatalf("writing output: %v", err) } off, err := w.f.Seek(0, 1) if err != nil { log.Fatalf("seeking in output [0, 1]: %v", err) } return off }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 11 17:15:15 UTC 2020 - 3.1K bytes - Viewed (0) -
pkg/registry/resource/resourceclassparameters/strategy_test.go
resourceClassParameters := resourceClassParameters.DeepCopy() Strategy.PrepareForCreate(ctx, resourceClassParameters) errs := Strategy.Validate(ctx, resourceClassParameters) if len(errs) != 0 { t.Errorf("unexpected error validating for create %v", errs) } } func TestClassStrategyUpdate(t *testing.T) { t.Run("no-changes-okay", func(t *testing.T) { ctx := genericapirequest.NewDefaultContext()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 15:15:31 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/apis/apiserverinternal/validation/validation.go
} if errs := isValidAPIVersion(ssv.EncodingVersion); len(errs) > 0 { allErrs = append(allErrs, field.Invalid(fldPath.Child("encodingVersion"), ssv.EncodingVersion, strings.Join(errs, ","))) } found := false for i, dv := range ssv.DecodableVersions { if errs := isValidAPIVersion(dv); len(errs) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 13 21:43:49 UTC 2023 - 9.1K bytes - Viewed (0) -
cmd/erasure-encode.go
writeQuorum: quorum, errs: make([]error, len(writers)), } for { var blocks [][]byte n, err := io.ReadFull(src, buf) if err != nil { if !IsErrIgnored(err, []error{ io.EOF, io.ErrUnexpectedEOF, }...) { return 0, err } } eof := err == io.EOF || err == io.ErrUnexpectedEOF if n == 0 && total != 0 { // Reached EOF, nothing more to be done. break }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/registry/resource/resourceclaim/strategy_test.go
ctx := genericapirequest.NewDefaultContext() resourceClaim := resourceClaim.DeepCopy() Strategy.PrepareForCreate(ctx, resourceClaim) errs := Strategy.Validate(ctx, resourceClaim) if len(errs) != 0 { t.Errorf("unexpected error validating for create %v", errs) } } func TestClaimStrategyUpdate(t *testing.T) { t.Run("no-changes-okay", func(t *testing.T) { ctx := genericapirequest.NewDefaultContext()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/registry/resource/resourceclass/strategy_test.go
ctx := genericapirequest.NewDefaultContext() resourceClass := resourceClass.DeepCopy() Strategy.PrepareForCreate(ctx, resourceClass) errs := Strategy.Validate(ctx, resourceClass) if len(errs) != 0 { t.Errorf("unexpected error validating for create %v", errs) } } func TestClassStrategyUpdate(t *testing.T) { t.Run("no-changes-okay", func(t *testing.T) { ctx := genericapirequest.NewDefaultContext()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 2.3K bytes - Viewed (0)