Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for errorHandler (0.22 sec)

  1. pkg/util/filesystem/watcher.go

    	return w.watcher.Add(path)
    }
    
    func (w *fsnotifyWatcher) Init(eventHandler FSEventHandler, errorHandler FSErrorHandler) error {
    	var err error
    	w.watcher, err = fsnotify.NewWatcher()
    	if err != nil {
    		return err
    	}
    
    	w.eventHandler = eventHandler
    	w.errorHandler = errorHandler
    	return nil
    }
    
    func (w *fsnotifyWatcher) Run() {
    	go func() {
    		defer w.watcher.Close()
    		for {
    			select {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. pilot/pkg/xds/debug_test.go

    	attempts := 5
    	for i := 0; i < attempts; i++ {
    		gotStatus := getSyncStatus(t, s)
    		var errorHandler func(string, ...any)
    		if i == attempts-1 {
    			errorHandler = t.Errorf
    		} else {
    			errorHandler = t.Logf
    		}
    		for _, ss := range gotStatus {
    			if ss.ProxyID == nodeID {
    				if ss.ProxyVersion == "" {
    					errorHandler("ProxyVersion should always be set for %v", nodeID)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/VisitableURLClassLoader.java

            private final TransformReplacer replacer;
            private final TransformErrorHandler errorHandler;
    
            public InstrumentingVisitableURLClassLoader(String name, ClassLoader parent, TransformedClassPath classPath) {
                super(name, parent, classPath);
                replacer = new TransformReplacer(classPath);
                errorHandler = new TransformErrorHandler(name);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java

        /**
         * @param errorHandler Notified when some async activity fails. Must be thread-safe.
         */
        public MessageHub(String displayName, ExecutorFactory executorFactory, Action<? super Throwable> errorHandler) {
            this.displayName = displayName;
            this.errorHandler = errorHandler;
            workers = executorFactory.create(displayName + " workers");
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            private final TransformErrorHandler errorHandler;
    
            InstrumentingScriptClassLoader(ScriptSource scriptSource, ClassLoader parent, TransformedClassPath classPath, HashCode implementationHash) {
                super(scriptSource, parent, classPath, implementationHash);
                replacer = new TransformReplacer(classPath);
                errorHandler = new TransformErrorHandler(getName());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplier.java

    import org.gradle.api.provider.ProviderFactory;
    import org.gradle.internal.xml.XmlFactories;
    import org.gradle.util.internal.MavenUtil;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    
    import javax.inject.Inject;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubTest.groovy

    import java.util.concurrent.LinkedBlockingQueue
    
    @Timeout(60)
    class MessageHubTest extends ConcurrentSpec {
        final Action<Throwable> errorHandler = Mock()
        final MessageHub hub = new MessageHub("<hub>", executorFactory, errorHandler)
    
        def cleanup() {
            hub.stop()
        }
    
        def "creates a separate dispatcher for each outgoing type"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.cc

          "tf-lower-to-mlprogram-and-hlo", "Lower TF to ml_program + mhlo",
          [](mlir::OpPassManager& pm, llvm::StringRef options,
             llvm::function_ref<mlir::LogicalResult(const llvm::Twine&)>
                 errorHandler) {
            tensorflow::PopulateLowerToMlProgramAndHloPipeline(pm);
            return mlir::success();
          },
          [](llvm::function_ref<void(const mlir::detail::PassOptions&)>) {});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 22:13:50 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. pilot/pkg/util/informermetric/informerutil.go

    		"Total number of errorMetric syncing controllers.",
    	)
    
    	mu       sync.RWMutex
    	handlers = map[cluster.ID]cache.WatchErrorHandler{}
    )
    
    // ErrorHandlerForCluster fetches or creates an ErrorHandler that emits a metric
    // and logs when a watch error occurs. For use with SetWatchErrorHandler on SharedInformer.
    func ErrorHandlerForCluster(clusterID cluster.ID) cache.WatchErrorHandler {
    	mu.RLock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHubBackedObjectConnection.java

        private volatile boolean aborted;
    
        public MessageHubBackedObjectConnection(ExecutorFactory executorFactory, ConnectCompletion completion) {
            Action<Throwable> errorHandler = new Action<Throwable>() {
                @Override
                public void execute(Throwable throwable) {
                    Throwable current = throwable;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top