- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for Setrtable (0.19 sec)
-
src/runtime/pprof/vminfo_darwin_test.go
} } func useVMMapWithRetry(t *testing.T) (hi, lo uint64, err error) { var retryable bool for { hi, lo, retryable, err = useVMMap(t) if err == nil { return hi, lo, nil } if !retryable { return 0, 0, err } t.Logf("retrying vmmap after error: %v", err) } } func useVMMap(t *testing.T) (hi, lo uint64, retryable bool, err error) { pid := strconv.Itoa(os.Getpid())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 19:59:50 UTC 2024 - 5.5K bytes - Viewed (0) -
pilot/pkg/networking/core/route/retry/retry.go
out.RetryOn, out.RetriableStatusCodes = parseRetryOn(in.RetryOn) // If user has just specified HTTP status codes in retryOn but have not specified "retriable-status-codes", let us add it. if len(out.RetriableStatusCodes) > 0 && !strings.Contains(out.RetryOn, "retriable-status-codes") { out.RetryOn += ",retriable-status-codes" } } if in.PerTryTimeout != nil { out.PerTryTimeout = in.PerTryTimeout }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 5K bytes - Viewed (0) -
pilot/pkg/networking/core/route/retry/retry_test.go
}, }, { name: "TestRetryOnWithRetriableStatusCodes", // Create a route with a retry policy with retriable status code. route: &networking.HTTPRoute{ Retries: &networking.HTTPRetry{ // Explicitly not retrying. Attempts: 2, RetryOn: "gateway-error,retriable-status-codes,503", }, }, assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/os-reliable.go
func reliableRemoveAll(dirPath string) (err error) { i := 0 for { // Removes all the directories and files. if err = RemoveAll(dirPath); err != nil { // Retry only for the first retryable error. if isSysErrNotEmpty(err) && i == 0 { i++ continue } } break } return err } // Wrapper functions to os.MkdirAll, which calls reliableMkdirAll
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
src/internal/poll/sendfile_linux.go
// support) and syscall.EINVAL (fd types which // don't implement sendfile), and other errors. // We should end the loop when there is no error // returned from sendfile(2) or it is not a retryable error. break } if err == syscall.EINTR { continue } if err = dstFD.pd.waitWrite(dstFD.isFile); err != nil { break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.4K bytes - Viewed (0) -
src/internal/poll/sendfile_bsd.go
// support) and syscall.EINVAL (fd types which // don't implement sendfile), and other errors. // We should end the loop when there is no error // returned from sendfile(2) or it is not a retryable error. if err != syscall.EAGAIN { break } if err = dstFD.pd.waitWrite(dstFD.isFile); err != nil { break } } handled = written != 0 || (err != syscall.ENOSYS && err != syscall.EINVAL) return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.5K bytes - Viewed (0) -
src/internal/poll/sendfile_solaris.go
// support) and syscall.EINVAL (fd types which // don't implement sendfile), and other errors. // We should end the loop when there is no error // returned from sendfile(2) or it is not a retryable error. break } if err == syscall.EINTR { continue } if err = dstFD.pd.waitWrite(dstFD.isFile); err != nil { break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/controller/serviceaccount/tokens_controller.go
if retriable, err := e.deleteToken(secretInfo.namespace, secretInfo.name, secretInfo.uid); err != nil { logger.Error(err, "Deleting serviceaccount token", "secret", klog.KRef(secretInfo.namespace, secretInfo.name), "serviceAccount", klog.KRef(secretInfo.namespace, secretInfo.saName)) retry = retriable } default: // Update token if needed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 20.5K bytes - Viewed (0) -
src/internal/reflectlite/export_test.go
// The result is different from the zero value of the Value struct, // which represents no value at all. // For example, Zero(TypeOf(42)) returns a Value with Kind Int and value 0. // The returned value is neither addressable nor settable. func Zero(typ Type) Value { if typ == nil { panic("reflect: Zero(nil)") } t := typ.common() fl := flag(t.Kind()) if t.IfaceIndir() { return Value{t, unsafe_New(t), fl | flagIndir} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kubemark/hollow_kubelet.go
KubeletConfiguration: *hk.KubeletConfiguration, }, hk.KubeletDeps, false); err != nil { klog.Fatalf("Failed to run HollowKubelet: %v. Exiting.", err) } select {} } // HollowKubeletOptions contains settable parameters for hollow kubelet. type HollowKubeletOptions struct { NodeName string KubeletPort int KubeletReadOnlyPort int MaxPods int PodsPerCore int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:10:54 UTC 2024 - 7.8K bytes - Viewed (0)