Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for dirMatches (0.16 sec)

  1. cmd/metacache-entries.go

    				dirMatches := best.isDir() == other.isDir()
    				suffixMatches := strings.HasSuffix(best.name, slashSeparator) == strings.HasSuffix(other.name, slashSeparator)
    
    				// Simple case. Both are same type with same suffix.
    				if dirMatches && suffixMatches {
    					toMerge = append(toMerge, otherIdx)
    					continue
    				}
    
    				if !dirMatches {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonConnection.java

         */
        void onCancel(@Nullable Runnable handler);
    
        /**
         * Dispatches a daemon unavailable message to the client.
         */
        void daemonUnavailable(DaemonUnavailable unavailable);
    
        /**
         * Dispatches a build started message to the client.
         */
        void buildStarted(BuildStarted buildStarted);
    
        /**
         * Dispatches a log event message to the client.
         */
        void logEvent(OutputEvent logEvent);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. pkg/filewatcher/worker.go

    	hash []byte
    }
    
    func newWorker(path string, funcs *patchTable) (*worker, error) {
    	dirWatcher, err := funcs.newWatcher()
    	if err != nil {
    		return nil, err
    	}
    
    	if err = funcs.addWatcherPath(dirWatcher, path); err != nil {
    		_ = dirWatcher.Close()
    		return nil, err
    	}
    
    	wk := &worker{
    		dirWatcher:      dirWatcher,
    		watchedFiles:    make(map[string]*fileTracker),
    		retireTrackerCh: make(chan *fileTracker),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 22:31:06 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheFactory.java

        @Override
        public void visitCaches(CacheVisitor visitor) {
            dirCaches.values().stream().map(dirCacheReference -> dirCacheReference.cache).forEach(visitor::visit);
        }
    
        @Override
        public void close() {
            lock.lock();
            try {
                CompositeStoppable.stoppable(dirCaches.values()).stop();
            } finally {
                dirCaches.clear();
                lock.unlock();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 15:54:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

            .containsExactly(
                i1,
                i2,
                i3, // Integer subscribers are dispatched to first.
                s1,
                s2, // Though each integer subscriber dispatches to all string subscribers,
                s1,
                s2, // those string subscribers aren't actually dispatched to until all integer
                s1,
                s2 // subscribers have finished.
                )
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/LogEventDispatcherTest.groovy

            when:
            dispatcher.onOutput(event(null))
    
            then:
            1 * stdoutChain.onOutput(_)
            1 * stderrChain.onOutput(_)
        }
    
        def "dispatches only to stdout when stderr is null"() {
            when:
            dispatcher = new LogEventDispatcher(stdoutChain, null)
            LogLevel.values().each { logLevel ->
                dispatcher.onOutput(event(logLevel))
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/Dispatcher.java

      }
    
      /**
       * Returns a dispatcher that dispatches events to subscribers immediately as they're posted
       * without using an intermediate queue to change the dispatch order. This is effectively a
       * depth-first dispatch order, vs. breadth-first when using a queue.
       */
      static Dispatcher immediate() {
        return ImmediateDispatcher.INSTANCE;
      }
    
      /** Dispatches the given {@code event} to the given {@code subscribers}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/eventbus/Dispatcher.java

      }
    
      /**
       * Returns a dispatcher that dispatches events to subscribers immediately as they're posted
       * without using an intermediate queue to change the dispatch order. This is effectively a
       * depth-first dispatch order, vs. breadth-first when using a queue.
       */
      static Dispatcher immediate() {
        return ImmediateDispatcher.INSTANCE;
      }
    
      /** Dispatches the given {@code event} to the given {@code subscribers}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/Dispatch.java

    package org.gradle.internal.dispatch;
    
    /**
     * A general purpose sink for a stream of messages.
     *
     * <p>Implementations are not required to be thread-safe.
     */
    public interface Dispatch<T> {
        /**
         * Dispatches the next message. Blocks until the messages has been accepted but generally does not wait for the
         * message to be processed. Delivery guarantees are implementation specific.
         *
         * @param message The message.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

        checkNotNull(label, "label");
        synchronized (listeners) {
          for (PerListenerQueue<L> queue : listeners) {
            queue.add(event, label);
          }
        }
      }
    
      /**
       * Dispatches all events enqueued prior to this call, serially and in order, for every listener.
       *
       * <p>Note: this method is idempotent and safe to call from any thread
       */
      public void dispatch() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top