Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 354 for Dispatch (0.28 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/StopDispatcher.java

        public boolean dispatch(Connection<Message> connection, Command stopCommand) {
            Throwable failure = null;
            try {
                connection.dispatch(stopCommand);
                Result result = (Result) connection.receive();
                if (result instanceof Failure) {
                    failure = ((Failure) result).getValue();
                }
                connection.dispatch(new Finished());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/SynchronizedDispatchConnection.java

                    // Safety check: dispatching a message should not cause the thread to dispatch another message (eg should not do any logging)
                    throw new IllegalStateException("This thread is already dispatching a message.");
                }
                dispatching = true;
                try {
                    delegate.dispatch(message);
                    delegate.flush();
                } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.enqueue(incrementingEvent(counters, listener, 3));
        queue.enqueue(incrementingEvent(counters, listener, 4));
        assertEquals(0, counters.size());
        queue.dispatch();
        assertEquals(multiset(listener, 4), counters);
      }
    
      public void testEnqueueAndDispatch_multipleListeners() {
        Object listener1 = new Object();
        ListenerCallQueue<Object> queue = new ListenerCallQueue<>();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.enqueue(incrementingEvent(counters, listener, 3));
        queue.enqueue(incrementingEvent(counters, listener, 4));
        assertEquals(0, counters.size());
        queue.dispatch();
        assertEquals(multiset(listener, 4), counters);
      }
    
      public void testEnqueueAndDispatch_multipleListeners() {
        Object listener1 = new Object();
        ListenerCallQueue<Object> queue = new ListenerCallQueue<>();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/RemoteConnection.java

     */
    public interface RemoteConnection<T> extends Connection<T> {
        /**
         * {@inheritDoc}
         *
         * @throws MessageIOException On failure to dispatch the message to the peer.
         */
        @Override
        void dispatch(T message) throws MessageIOException;
    
        void flush() throws MessageIOException;
    
        /**
         * {@inheritDoc}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/interfaces.go

    type Dispatcher interface {
    	// Dispatch a request to the webhooks. Dispatcher may choose not to
    	// call a hook, either because the rules of the hook does not match, or
    	// the namespaceSelector or the objectSelector of the hook does not
    	// match. A non-nil error means the request is rejected.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:28:26 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaPartiallyAppliedSymbol.kt

        /**
         * The function or variable (property) declaration.
         */
        public val signature: C get() = withValidityAssertion { backingSignature }
    
        /**
         * The dispatch receiver for this symbol access. Dispatch receiver is available if the symbol is declared inside a class or object.
         */
        public val dispatchReceiver: KaReceiverValue? by validityAsserted(dispatchReceiver)
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CompositeCallInterceptionTest.groovy

            "no argument"   | "Groovy dynamic dispatch" | { test() }                    | true           | "test()"
            "one argument"  | "Groovy dynamic dispatch" | { test(it) }                  | true           | "test(InterceptorTestReceiver)"
            "null argument" | "Groovy dynamic dispatch" | { test(null) }                | true           | "test(InterceptorTestReceiver)"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ExceptionTrackingFailureHandler.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.dispatch;
    
    import org.gradle.internal.concurrent.Stoppable;
    import org.slf4j.Logger;
    
    public class ExceptionTrackingFailureHandler implements DispatchFailureHandler<Object>, Stoppable {
        private final Logger logger;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/StreamedValueConsumer.java

        }
    
        @Override
        public void dispatch(Object message) {
            if (message instanceof StreamedValue) {
                StreamedValue value = (StreamedValue) message;
                Object deserializedValue = payloadSerializer.deserialize(value.getSerializedModel());
                providerParameters.onStreamedValue(deserializedValue);
            } else {
                delegate.dispatch(message);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 08:15:25 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top