- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 285 for errf (0.04 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/validation.go
} else if errs := utilvalidation.IsDNS1035Label(strings.ToLower(kind)); len(errs) > 0 { allErrs = append(allErrs, field.Invalid(pth.Child("kind"), kind, "may have mixed case, but should otherwise match: "+strings.Join(errs, ","))) } case "metadata": meta, _, err := GetObjectMeta(x, false) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 17:46:57 UTC 2019 - 4K bytes - Viewed (0) -
operator/pkg/helmreconciler/apply.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.cc
auto* registered_hardwares = GetRegisteredHardwares(); for (auto& hardware : *registered_hardwares) { if (hardware.unique_name == unique_name) { llvm::errs() << "Ignoring duplicate hardware. Hardware " << unique_name << " already registered\n"; hardware.target_hardware_factory = target_hardware_factory; return; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 21:39:59 UTC 2023 - 9.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go
subschema, _, err := schema.LookupPatchMetadataForStruct(k) if err != nil { return nil, err } v, err = sortMergeListsByNameMap(typedV, subschema) if err != nil { return nil, err } case []interface{}: subschema, patchMeta, err := schema.LookupPatchMetadataForSlice(k) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 23:34:23 UTC 2023 - 75.5K bytes - Viewed (0) -
pkg/registry/storage/csidriver/strategy_test.go
Strategy.PrepareForCreate(ctx, csiDriver) errs := Strategy.Validate(ctx, csiDriver) if len(errs) != 0 { t.Errorf("unexpected error validating %v", errs) } // Update of spec is disallowed newCSIDriver := csiDriver.DeepCopy() attachNotRequired := false newCSIDriver.Spec.AttachRequired = &attachNotRequired Strategy.PrepareForUpdate(ctx, newCSIDriver, csiDriver) errs = Strategy.ValidateUpdate(ctx, newCSIDriver, csiDriver)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.7K bytes - Viewed (0) -
src/net/rpc/jsonrpc/all_test.go
func (pipeAddr) Network() string { return "pipe" } func (pipeAddr) String() string { return "pipe" } func (p *pipe) Close() error { err := p.PipeReader.Close() err1 := p.PipeWriter.Close() if err == nil { err = err1 } return err } func (p *pipe) LocalAddr() net.Addr { return pipeAddr(0) } func (p *pipe) RemoteAddr() net.Addr { return pipeAddr(0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:09:53 UTC 2022 - 7.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/transform.go
} if err == nil && n < len(src) && !atEOF { err = transform.ErrShortSrc } return n, n, err } func flushTransform(rb *reorderBuffer) bool { // Write out (must fully fit in dst, or else it is an ErrShortDst). if len(rb.out) < rb.nrune*utf8.UTFMax { return false } rb.out = rb.out[rb.flushCopy(rb.out):] return true } var errs = []error{nil, transform.ErrShortDst, transform.ErrShortSrc}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/registry/storage/csistoragecapacity/strategy.go
csiStorageCapacity := obj.(*storage.CSIStorageCapacity) opts := validation.CSIStorageCapacityValidateOptions{ AllowInvalidLabelValueInSelector: false, } errs := validation.ValidateCSIStorageCapacity(csiStorageCapacity, opts) return errs } // WarningsOnCreate returns warnings for the creation of the given object. func (csiStorageCapacityStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 08:41:09 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util.go
oldRevisionInt, err := strconv.ParseInt(oldRevision, 10, 64) if err != nil { if oldRevision != "" { logger.Info("Updating replica set revision OldRevision not int", "err", err) return false } //If the RS annotation is empty then initialise it to 0 oldRevisionInt = 0 } newRevisionInt, err := strconv.ParseInt(newRevision, 10, 64) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0) -
src/encoding/base64/base64_test.go
w := NewEncoder(StdEncoding, encoded) nn, err := w.Write(raw) if nn != n || err != nil { t.Fatalf("Encoder.Write(raw) = %d, %v want %d, nil", nn, err, n) } err = w.Close() if err != nil { t.Fatalf("Encoder.Close() = %v want nil", err) } decoded, err := io.ReadAll(NewDecoder(StdEncoding, encoded)) if err != nil { t.Fatalf("io.ReadAll(NewDecoder(...)): %v", err) } if !bytes.Equal(raw, decoded) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 03 18:57:29 UTC 2023 - 15.9K bytes - Viewed (0)