Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for OnError (0.11 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepository.java

                                                                                                               Transformer<E, Throwable> onError) {
                if (checkToHandleDisabledRepository(result, onDisabled)) {
                    return;
                }
                tryResolveAndMaybeDisable(result, operation, onError);
            }
    
            private <E extends Throwable, R extends ErroringResolveResult<E>> void performOperationWithRetries(R result,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    	// package for that to be accessible here.
    	lastErrorTimeLock sync.Mutex
    	lastErrorTime     time.Time
    }
    
    // OnError will block if it is called more often than the embedded period time.
    // This will prevent overly tight hot error loops.
    func (r *rudimentaryErrorBackoff) OnError() {
    	now := time.Now() // start the timer before acquiring the lock
    	r.lastErrorTimeLock.Lock()
    	d := now.Sub(r.lastErrorTime)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt

                "${severity.presentableName[0]}: ${msg()}"
    
            fun onError() {
                errors += ScriptCompilationError(message, location)
                log.error { taggedMsg() }
            }
    
            fun onWarning() {
                when (onCompilerWarning) {
                    EmbeddedKotlinCompilerWarning.FAIL -> onError()
                    EmbeddedKotlinCompilerWarning.WARN -> log.warn { taggedMsg() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 31 08:46:17 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/OutputEventRenderer.java

                }
                stdErrListener = new LazyListener(new Factory<OutputEventListener>() {
                    @Override
                    public OutputEventListener create() {
                        return onError(new StyledTextOutputBackedRenderer(new StreamingStyledTextOutput(new StreamBackedStandardOutputListener((Appendable) originalStdErr))));
                    }
                });
                addChain(stdErrListener);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

            override var trace: PropertyTrace
                get() = undefined()
                set(_) {}
    
            override fun onProblem(problem: PropertyProblem): Unit =
                undefined()
    
            override fun onError(error: Exception, message: StructuredMessageBuilder) =
                undefined()
    
            override fun push(codec: Codec<Any?>): Unit =
                undefined()
    
            override fun push(owner: IsolateOwner): Unit =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

            pluginRequests,
            buildscript,
            pluginManager,
            classLoaderScope
        )
    }
    
    
    private
    fun <T> withCapturedOutputOnError(block: () -> T, onError: (ErrorWithCapturedOutput) -> T): T {
        val outCapture = ThreadLocalCapturePrintStream(System.out)
        val errCapture = ThreadLocalCapturePrintStream(System.err)
        return try {
            val previousOut = System.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

            return object : AbstractProblemsListener() {
                override fun onProblem(problem: PropertyProblem) {
                    onProblem(problem, ProblemSeverity.Suppressed)
                }
    
                override fun onError(trace: PropertyTrace, error: Exception, message: StructuredMessageBuilder) {
                    val failure = failureFactory.create(error)
                    onProblem(PropertyProblem(trace, StructuredMessage.build(message), error, failure))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    e();if(a.formUtils.isLoadingModules)return setTimeout(function(){d.trigger("submit.validation")},200),e();var f=d.isValid(b.language,b);if(a.formUtils.haltValidation)return e();if(!f||"function"!=typeof b.onSuccess)return f||"function"!=typeof b.onError?!!f||e():(b.onError(d),e());var g=b.onSuccess(d);return g===!1?e():void 0}).bind("reset.validation",function(){a.formUtils.dialogs.removeAllMessagesAndStyling(e,b)}).addClass("has-validation-callback"),b.showHelpOnFocus&&e.showHelpOnFocus(),b.addSuggestion...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 32.8K bytes
    - Viewed (0)
  9. pkg/registry/rbac/rest/storage_rbac.go

    	return apierrors.IsConflict(err) || apierrors.IsServiceUnavailable(err)
    }
    
    func retryOnConflictOrServiceUnavailable(backoff wait.Backoff, fn func() error) error {
    	return retry.OnError(backoff, isConflictOrServiceUnavailable, fn)
    }
    
    func (p *PolicyData) EnsureRBACPolicy() genericapiserver.PostStartHookFunc {
    	return func(hookContext genericapiserver.PostStartHookContext) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/http.go

        document.body.textContent =
        '/static/trace_viewer_full.html is missing. File a bug in https://golang.org/issue';
      });
    }
    </script>
    
    <link rel="import" href="/static/trace_viewer_full.html"
          onerror="onTraceViewerImportFail(event)">
    
    <style type="text/css">
      html, body {
        box-sizing: border-box;
        overflow: hidden;
        margin: 0px;
        padding: 0;
        width: 100%;
        height: 100%;
      }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top