- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 578 for converge (0.2 sec)
-
pkg/test/util/retry/retry.go
cfg.delayMax = delay * 16 } } // Converge sets the number of successes in a row needed to count a success. // This is useful to avoid the case where tests like `coin.Flip() == HEADS` will always // return success due to random variance. func Converge(successes int) Option { return func(cfg *config) { cfg.converge = successes } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/test/util/retry/retry_test.go
package retry import ( "fmt" "testing" "time" ) func TestConverge(t *testing.T) { t.Run("no converge", func(t *testing.T) { flipFlop := true err := UntilSuccess(func() error { flipFlop = !flipFlop if flipFlop { return fmt.Errorf("flipFlop was true") } return nil }, Converge(2), Timeout(time.Millisecond*10), Delay(time.Millisecond)) if err == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc
namespace mlir { namespace TFDevice { namespace { constexpr char kBadDecompositionMessage[] = "Resource ops decomposition did not converge"; // Decomposing resource ops should not take more than a few iterations (2-3) to // converge as only a few patterns create new resource ops that can be further // decomposed. The rest of the iterations are enough to clean up any dead ops // created by decomposition.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:01:13 UTC 2023 - 8K bytes - Viewed (0) -
pkg/test/framework/components/echo/calloptions.go
// converging by default, so long as the count is greater than the default converge value. // This, of course, can be overridden if the user supplies their own converge value. if o.Count > callConverge { retryOpts = append(retryOpts, retry.Converge(1)) } // Now append user-provided options to override the defaults. o.Retry.Options = append(retryOpts, o.Retry.Options...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 13K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client_test.go
} return nil }, retry.Timeout(time.Second*5), retry.Converge(5)) retry.UntilOrFail(t, func() bool { return store.Get(r.GroupVersionKind(), configMeta.Name, configMeta.Namespace) == nil }, retry.Message("expected no items returned for unknown CRD"), retry.Timeout(time.Second*5), retry.Converge(5)) } // Ensure that the client can run without CRDs present, but then added later
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 02:58:52 UTC 2024 - 14.1K bytes - Viewed (0) -
manifests/addons/dashboards/ztunnel.libsonnet
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/remove_sharding_custom_call.cc
populateWithGenerated(patterns); FrozenRewritePatternSet frozen_patterns(std::move(patterns)); if (failed(applyPatternsAndFoldGreedily(func_op, frozen_patterns))) { func_op.emitWarning() << "Failed to converge " << RemoveShardingCustomCallPass::getArgumentName(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 07:04:47 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/test/framework/components/echo/flags.go
// DefaultCallRetryOptions returns the default call retry options as specified in command-line flags. func DefaultCallRetryOptions() []retry.Option { return []retry.Option{retry.Timeout(callTimeout), retry.BackoffDelay(callDelay), retry.Converge(callConverge)} } // DefaultReadinessTimeout returns the default echo readiness check timeout. func DefaultReadinessTimeout() time.Duration { return readinessTimeout }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 13 17:44:00 UTC 2022 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_convergence_loop.txt
# missing package, only to remove that package when resolving its dependencies. # # If we naively iterate 'go mod tidy' until the dependency graph converges, this # scenario may fail to converge. # The import graph used in this test looks like: # # m --- w # | # + --- x # | # + --- y # | # + --- z #
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 9.2K bytes - Viewed (0) -
manifests/addons/dashboards/pilot.libsonnet
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 2.9K bytes - Viewed (0)