Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 354 for Dispatch (0.57 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/MethodInvocation.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.util.internal.CollectionUtils;
    
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    public class MethodInvocation {
        private static final Object[] ZERO_ARGS = new Object[0];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 12:43:02 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/plugin.go

    	return nil
    }
    
    func (c *Plugin[H]) Dispatch(
    	ctx context.Context,
    	a admission.Attributes,
    	o admission.ObjectInterfaces,
    ) (err error) {
    	if !c.enabled {
    		return nil
    	} else if c.shouldIgnoreResource(a) {
    		return nil
    	} else if !c.WaitForReady() {
    		return admission.NewForbidden(a, fmt.Errorf("not yet ready to handle request"))
    	}
    
    	return c.dispatcher.Dispatch(ctx, a, o, c.source.Hooks())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 19:11:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin.go

    	}
    	return nil
    }
    
    // Admit makes an admission decision based on the request attributes.
    func (a *Plugin) Admit(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error {
    	return a.Webhook.Dispatch(ctx, attr, o)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/DaemonConnectionBackedEventConsumer.java

        public DaemonConnectionBackedEventConsumer(DaemonCommandExecution execution) {
            this.execution = execution;
            forwarder.start();
        }
    
        @Override
        public void dispatch(Object event) {
            queue.offer(event);
        }
    
        public void waitForFinish() {
            forwarder.waitForFinish();
        }
    
        private class ForwardEvents extends Thread {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      @Override public synchronized void onOpen(WebSocket webSocket, Response response) {
        System.out.println("onOpen: " + response);
      }
    
      // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("onMessage: " + text);
      }
    
      @Override public void onClosing(WebSocket webSocket, int code, String reason) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        // Now we find the task in our Executor and explicitly activate it.
        List<Runnable> tasks = executor.getTasks();
        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    
        tasks.get(0).run();
    
        assertEquals("One event should be delivered.", 1, events.size());
        assertEquals("Correct string should be delivered.", EVENT, events.get(0));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

            // execute
            reader.readArtifactDescriptor(session, request);
    
            // verify
            verify(eventDispatcher).dispatch(event.capture());
    
            boolean missingArtifactDescriptor = false;
    
            for (RepositoryEvent evt : event.getAllValues()) {
                if (EventType.ARTIFACT_DESCRIPTOR_MISSING.equals(evt.getType())) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentedGroovyMetaClassHelper.java

    /**
     * Injects the logic for Groovy calls instrumentation into the Groovy metaclasses.
     */
    @NonNullApi
    public class InstrumentedGroovyMetaClassHelper {
        /**
         * Should be invoked on an object that a Groovy Closure can dispatch the calls to. Injects the call interception logic into the metaclass of that object.
         * This is done for closure delegates that are reassigned, while the owner, thisObject, and the initial delegate are covered in
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SmartCastProvider.kt

            return listOfNotNull(
                smartCastedImplicitReceiver(smartCasts.receiverTypes[resolvedCall.dispatchReceiver], KaImplicitReceiverSmartCastKind.DISPATCH),
                smartCastedImplicitReceiver(smartCasts.receiverTypes[resolvedCall.extensionReceiver], KaImplicitReceiverSmartCastKind.EXTENSION)
            )
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt

            return Objects.hash(backingType, backingKind)
        }
    }
    
    public typealias KtImplicitReceiverSmartCast = KaImplicitReceiverSmartCast
    
    public enum class KaImplicitReceiverSmartCastKind {
        DISPATCH, EXTENSION
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top