Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 330 for dispatchTo (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go

    			},
    			func(a authorizer.Authorizer, m *matching.Matcher) generic.Dispatcher[PolicyHook] {
    				return NewDispatcher(a, generic.NewPolicyMatcher(m))
    			},
    		),
    	}
    }
    
    // Validate makes an admission decision based on the request attributes.
    func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error {
    	return a.Plugin.Dispatch(ctx, attr, o)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/remote/internal/hub/MessageHubIntegrationTest.groovy

            then:
            1 * clientHandler.dispatch("message 1") >> { clientDispatch.dispatch("[message 1]") }
            1 * clientHandler.dispatch("message 2") >> { clientDispatch.dispatch("[message 2]") }
            1 * clientHandler.dispatch("message 3")
            1 * clientHandler.dispatch("message 4")
            1 * clientHandler.dispatch("message 5")
            1 * clientHandler.dispatch("message 6")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

    import org.gradle.internal.dispatch.AsyncDispatch;
    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.dispatch.DispatchException;
    import org.gradle.internal.dispatch.ExceptionTrackingFailureHandler;
    import org.gradle.internal.dispatch.FailureHandlingDispatch;
    import org.gradle.internal.dispatch.MethodInvocation;
    import org.gradle.internal.dispatch.ProxyDispatchAdapter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ContextClassLoaderDispatch.java

     * limitations under the License.
     */
    
    package org.gradle.internal.dispatch;
    
    public class ContextClassLoaderDispatch<T> implements Dispatch<T> {
        private final Dispatch<? super T> dispatch;
        private final ClassLoader contextClassLoader;
    
        public ContextClassLoaderDispatch(Dispatch<? super T> dispatch, ClassLoader contextClassLoader) {
            this.dispatch = dispatch;
            this.contextClassLoader = contextClassLoader;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/MultiEndPointQueueTest.groovy

            and:
            queue.dispatch(message1)
            queue.dispatch(message2)
            queue.dispatch(message3)
    
            when:
            def endpoint = queue.newEndpoint()
            def messages = []
            endpoint.take(messages)
    
            then:
            messages == [message1, message2, message3]
        }
    
        def "does not dispatch anything to endpoint that has stopped"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStopClientTest.groovy

            1 * connection.dispatch({it instanceof Stop})
            1 * connection.receive() >> new Success(null)
            1 * connection.dispatch({it instanceof Finished})
            1 * connection.stop()
            1 * connection2.dispatch({it instanceof Stop})
            1 * connection2.receive() >> new Success(null)
            1 * connection2.dispatch({it instanceof Finished})
            1 * connection2.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            // If caller wants only a classpath, JUnit shall move there.
            dispatched = session.resolveDependencies(coord, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES));
            classes = dispatched.get(JavaPathType.CLASSES);
            modules = dispatched.get(JavaPathType.MODULES);
            unresolved = dispatched.get(PathType.UNRESOLVED);
            assertEquals(2, dispatched.size());
            assertEquals(1, unresolved.size());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/ExceptionTrackingFailureHandlerTest.groovy

            when:
            dispatch.dispatchFailed("message", failure)
            dispatch.stop()
    
            then:
            def e = thrown(DispatchException)
            e.cause == failure
            0 * logger._
        }
    
        def logsAnySubsequentFailures() {
            RuntimeException failure1 = new RuntimeException()
            RuntimeException failure2 = new RuntimeException('broken2')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/AbstractBroadcastDispatch.java

                case 1:
                    dispatch(invocation, dispatchers.get(0));
                    break;
                default:
                    dispatch(invocation, dispatchers.iterator());
                    break;
            }
        }
    
        /**
         * Dispatch an invocation to multiple handlers.
         */
        private void dispatch(MethodInvocation invocation, Iterator<? extends Dispatch<MethodInvocation>> handlers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/runtime/asm_wasm.s

    	DISPATCH(runtime·call128, 128)
    	DISPATCH(runtime·call256, 256)
    	DISPATCH(runtime·call512, 512)
    	DISPATCH(runtime·call1024, 1024)
    	DISPATCH(runtime·call2048, 2048)
    	DISPATCH(runtime·call4096, 4096)
    	DISPATCH(runtime·call8192, 8192)
    	DISPATCH(runtime·call16384, 16384)
    	DISPATCH(runtime·call32768, 32768)
    	DISPATCH(runtime·call65536, 65536)
    	DISPATCH(runtime·call131072, 131072)
    	DISPATCH(runtime·call262144, 262144)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top