- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,069 for Err (0.03 sec)
-
internal/bucket/lifecycle/error.go
// parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error. func (e Error) Unwrap() error { return e.err } // Error 'error' compatible method.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
internal/bucket/versioning/error.go
// parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error. func (e Error) Unwrap() error { return e.err } // Error 'error' compatible method.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/listener.go
envoyListenerDump, err := c.envoy.GetDynamicListenerDump(true) if err != nil { envoyBytes.WriteString(err.Error()) } else { envoy, err := protomarshal.ToJSONWithAnyResolver(envoyListenerDump, " ", &envoyResolver) if err != nil { return err } envoyBytes.WriteString(envoy) } istiodListenerDump, err := c.istiod.GetDynamicListenerDump(true) if err != nil { istiodBytes.WriteString(err.Error())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 2K bytes - Viewed (0) -
cmd/bitrot.go
// Read expected hash... h.Reset() n, err := io.ReadFull(r, hashBuf) if err != nil { // Read's failed for object with right size, file is corrupt. return err } // Subtract hash length.. left -= int64(n) if left < shardSize { shardSize = left } read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
internal/grid/grid.go
// Add more capacity (let append pick how much). b = append(b, 0)[:len(b)] } n, err := r.Read(b[len(b):cap(b)]) b = b[:len(b)+n] if err != nil { if errors.Is(err, io.EOF) { if want >= 0 && read+int64(n) != want { return nil, io.ErrUnexpectedEOF } err = nil } return b, err } read += int64(n) if want >= 0 && read == want { // No need to read more...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 6.9K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
} namespace, selector, err := SelectorsForObject(infos[0].Object) if err != nil { return nil, "", "", "", fmt.Errorf("%q does not refer to a pod: %v", resname, err) } clientConfig, err := factory.ToRESTConfig() if err != nil { return nil, "", "", "", err } clientset, err := corev1client.NewForConfig(clientConfig) if err != nil { return nil, "", "", "", err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 6.3K bytes - Viewed (0) -
schema/relationship.go
primaryKeys: toColumns(field.TagSettings["REFERENCES"]), } ) cacheStore := schema.cacheStore if relation.FieldSchema, err = getOrParse(fieldValue, cacheStore, schema.namer); err != nil { schema.err = err return nil } if hasPolymorphicRelation(field.TagSettings) { schema.buildPolymorphicRelation(relation, field) } else if many2many := field.TagSettings["MANY2MANY"]; many2many != "" {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 22.7K bytes - Viewed (0) -
internal/s3select/json/reader.go
readCloser io.ReadCloser } // Read - reads single record. func (r *Reader) Read(dst sql.Record) (sql.Record, error) { v, ok := <-r.valueCh if !ok { if err := r.decoder.Err(); err != nil { return nil, errJSONParsingError(err) } return nil, io.EOF } var kvs jstream.KVS if v.ValueType == jstream.Object { // This is a JSON object type (that preserves key // order)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/benchmark-utils_test.go
func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) { var err error // obtains random bucket name. bucket := getRandomBucketName() // create bucket. err = obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{}) if err != nil { b.Fatal(err) } // get text data generated for number of bytes equal to object size. textData := generateBytesData(objSize)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 8.2K bytes - Viewed (0) -
internal/bucket/lifecycle/transition.go
var dateStr string err := d.DecodeElement(&dateStr, &startElement) if err != nil { return err } // While AWS documentation mentions that the date specified // must be present in ISO 8601 format, in reality they allow // users to provide RFC 3339 compliant dates. trnDate, err := time.Parse(time.RFC3339, dateStr) if err != nil { return errTransitionInvalidDate }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 10 17:07:49 UTC 2022 - 5.1K bytes - Viewed (0)