Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for OnError (0.1 sec)

  1. pkg/ctrlz/assets/templates/home.html

            var ajax = new XMLHttpRequest();
            ajax.onload = onload;
            ajax.onerror = onerror;
            ajax.open("PUT", url, true);
            ajax.send();
    
            function onload() {
                if (this.status == 200) { // request succeeded
                }
            }
    
            function onerror(e) {
                console.error(e);
            }
        }
    
        refreshHomeInfo();
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. pkg/ctrlz/topics/assets/templates/signals.html

            let ajax = new XMLHttpRequest();
            ajax.onload = onload;
            ajax.onerror = onerror;
            ajax.open("PUT", url, true);
            ajax.send();
    
            function onload() {
                console.log(url + " -> " + ajax.status)
            }
    
            function onerror(e) {
                console.error(e);
            }
        }
    </script>
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 687 bytes
    - Viewed (0)
  3. 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)
  4. pkg/ctrlz/topics/assets/templates/scopes.html

                    ajax.onload = onload2;
                    ajax.onerror = onerror;
                    ajax.open("PUT", url, true);
                    ajax.send(JSON.stringify(si));
                }
    
                function onload2() {
                    refreshScopes();
                }
            }
    
            function onerror(e) {
                console.error(e);
            }
        }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. pkg/ctrlz/topics/assets/templates/proc.html

        function refreshProcStats() {
            let url = window.location.protocol + "//" + window.location.host + "/procj/";
    
            let ajax = new XMLHttpRequest();
            ajax.onload = onload;
            ajax.onerror = onerror;
            ajax.open("GET", url, true);
            ajax.send();
    
            function onload() {
                if (this.status === 200) { // request succeeded
                    let pi = JSON.parse(this.responseText);
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. pkg/ctrlz/topics/assets/templates/mem.html

                }
            }
    
            function onerror(e) {
                console.error(e);
            }
        }
    
        function forceCollection() {
            let url = window.location.protocol + "//" + window.location.host + "/memj/forcecollection";
    
            let ajax = new XMLHttpRequest();
            ajax.onload = onload;
            ajax.onerror = onerror;
            ajax.open("PUT", url, true);
            ajax.send();
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/AbstractProblemsListener.kt

    import org.gradle.internal.configuration.problems.StructuredMessageBuilder
    import java.io.IOException
    
    
    abstract class AbstractProblemsListener : ProblemsListener {
    
        override fun onError(trace: PropertyTrace, error: Exception, message: StructuredMessageBuilder) {
            // Let IO and configuration cache exceptions surface to the top.
            if (error is IOException || error is ConfigurationCacheThrowable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    	start := make(chan struct{})
    	var wg sync.WaitGroup
    	for i := 0; i < 30; i++ {
    		wg.Add(1)
    		go func() {
    			<-start
    			r.OnError()
    			wg.Done()
    		}()
    	}
    	st := time.Now()
    	close(start)
    	wg.Wait()
    
    	if since := time.Since(st); since > 5*time.Second {
    		t.Errorf("OnError slept for too long: %s", since)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/ProblemsListener.kt

    import org.gradle.internal.service.scopes.Scope
    
    
    @EventScope(Scope.BuildTree::class)
    interface ProblemsListener {
    
        fun onProblem(problem: PropertyProblem)
    
        fun onError(trace: PropertyTrace, error: Exception, message: StructuredMessageBuilder)
    
        fun forIncompatibleTask(path: String): ProblemsListener
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CachedEnvironmentStateCodec.kt

                    try {
                        writeClass(update.javaClass)
                        write(update.key)
                        write(update.value)
                    } catch (error: Exception) {
                        onError(error) {
                            text("failed to write system property ")
                            reference(keyString)
                        }
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top