- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 285 for errf (0.04 sec)
-
pkg/apis/storage/validation/validation_test.go
shouldSucceed: false, }, } for testName, testCase := range cases { errs := ValidateStorageClass(testCase.class) if testCase.shouldSucceed && len(errs) != 0 { t.Errorf("Expected success for test %q, got %v", testName, errs) } if !testCase.shouldSucceed && len(errs) == 0 { t.Errorf("Expected failure for test %q, got success", testName) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0) -
src/cmd/go/internal/clean/clean.go
if dir != "off" { f, err := lockedfile.Edit(filepath.Join(dir, "testexpire.txt")) if err == nil { now := time.Now().UnixNano() buf, _ := io.ReadAll(f) prev, _ := strconv.ParseInt(strings.TrimSpace(string(buf)), 10, 64) if now > prev { if err = f.Truncate(0); err == nil { if _, err = f.Seek(0, 0); err == nil { _, err = fmt.Fprintf(f, "%d\n", now) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/erasure-healing.go
errs, bucket, object, versionID), err } readQuorum, _, err := objectQuorumFromMeta(ctx, partsMetadata, errs, er.defaultParityCount) if err != nil { m, derr := er.deleteIfDangling(ctx, bucket, object, partsMetadata, errs, nil, ObjectOptions{ VersionID: versionID, }) errs = make([]error, len(errs)) if derr == nil { derr = errFileNotFound if versionID != "" { derr = errFileVersionNotFound
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.8K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
nonZeroCase := nonZeroMinReplicasCases[i] if errs := ValidateHorizontalPodAutoscalerUpdate(&nonZeroCase, &zeroCase); len(errs) != 0 { t.Errorf("expected success: %v", errs) } if errs := ValidateHorizontalPodAutoscalerUpdate(&zeroCase, &nonZeroCase); len(errs) != 0 { t.Errorf("expected success: %v", errs) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
pkg/util/removeall/removeall.go
} return err } // Remove contents & return first error. err = nil for { names, err1 := fd.Readdirnames(100) for _, name := range names { err1 := RemoveAllOneFilesystemCommon(mounter, path+string(os.PathSeparator)+name, remove) if err == nil { err = err1 } } if err1 == io.EOF { break } // If Readdirnames returned an error, use it. if err == nil { err = err1 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 15 16:41:02 UTC 2021 - 3.8K bytes - Viewed (0) -
src/runtime/os2_aix.go
return nil, int(err0) } return unsafe.Pointer(r), int(err0) } //go:nosplit func munmap(addr unsafe.Pointer, n uintptr) { r, err := syscall2(&libc_munmap, uintptr(addr), uintptr(n)) if int32(r) == -1 { println("syscall munmap failed: ", hex(err)) throw("syscall munmap") } } //go:nosplit func madvise(addr unsafe.Pointer, n uintptr, flags int32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/hu/stopwords.txt
cikkeket csak de e eddig egész egy egyes egyetlen egyéb egyik egyre ekkor el elég ellen elő először előtt első én éppen ebben ehhez emilyen ennek erre ez ezt ezek ezen ezzel ezért és fel felé hanem hiszen hogy hogyan igen így illetve ill. ill ilyen ilyenkor ison ismét itt jó jól jobban
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Nov 27 12:59:36 UTC 2023 - 1.3K bytes - Viewed (0) -
pkg/test/kube/dump.go
// add a retry loop since sometimes reserving a port fails err := retry.UntilSuccess(func() error { var err error fw, err = c.NewPortForwarder(pod.Name, pod.Namespace, "", 0, port) if err != nil { return err } if err = fw.Start(); err != nil { return err } return nil }, retry.MaxAttempts(5), retry.Delay(time.Millisecond*10)) return fw, err } var dumpClient = &http.Client{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicy/strategy.go
errs := validation.ValidateValidatingAdmissionPolicy(obj.(*admissionregistration.ValidatingAdmissionPolicy)) if len(errs) == 0 { // if the object is well-formed, also authorize the paramKind if err := v.authorizeCreate(ctx, obj); err != nil { errs = append(errs, field.Forbidden(field.NewPath("spec", "paramKind"), err.Error())) } } return errs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/tracing.go
func (o *TracingOptions) Validate() (errs []error) { if o == nil || o.ConfigFile == "" { return } if exists, err := path.Exists(path.CheckFollowSymlink, o.ConfigFile); !exists { errs = append(errs, fmt.Errorf("tracing-config-file %s does not exist", o.ConfigFile)) } else if err != nil { errs = append(errs, fmt.Errorf("error checking if tracing-config-file %s exists: %v", o.ConfigFile, err))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 21:39:39 UTC 2023 - 4.9K bytes - Viewed (0)