Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 354 for Dispatch (0.5 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/ConnectionSet.java

            ConnectionState state = new ConnectionState(this, connection, queue);
            connections.add(state);
            return state;
        }
    
        /**
         * Called when all dispatch and receive has completed on the given connection.
         */
        public void finished(ConnectionState connectionState) {
            connections.remove(connectionState);
            if (stopping) {
                maybeStop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

            call.setMethod(new ConstantExpression("create"));
            call.setArguments(replacedArgumentList);
    
            // Call directly on the delegate to avoid some dynamic dispatch
            call.setImplicitThis(true);
            call.setObjectExpression(new MethodCallExpression(VariableExpression.THIS_EXPRESSION, "getDelegate", ArgumentListExpression.EMPTY_ARGUMENTS));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

    abstract class Dispatcher {
      /**
       * Returns a response to satisfy `request`. This method may block (for instance, to wait on
       * a CountdownLatch).
       */
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      /**
       * Returns an early guess of the next response, used for policy on how an incoming request should
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin.go

    	return p, nil
    }
    
    // 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.Webhook.Dispatch(ctx, attr, o)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/DefaultBuildController.java

            }
        }
    
        @Override
        public void dispatch(Object value) {
            SerializedPayload serializedModel = payloadSerializer.serialize(value);
            StreamedValue streamedValue = new StreamedValue(serializedModel);
            BuildEventConsumer buildEventConsumer = this.buildEventConsumer;
            sideEffectExecutor.runIsolatableSideEffect(() -> buildEventConsumer.dispatch(streamedValue));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:14 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

      "IMPLICIT_NOTHING_AS_TYPE_PARAMETER",
    )
    class KotlinSourceModernTest {
      @Test @Ignore
      fun dispatcherFromMockWebServer() {
        val dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse = TODO()
    
            override fun peek(): MockResponse = TODO()
    
            override fun shutdown() = TODO()
          }
      }
    
      @Test @Ignore
      fun mockResponse() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/OutgoingQueue.java

        private final IncomingQueue incomingQueue;
    
        OutgoingQueue(IncomingQueue incomingQueue, Lock lock) {
            super(lock);
            this.incomingQueue = incomingQueue;
        }
    
        void endOutput() {
            dispatch(new EndOfStream());
        }
    
        void discardQueued() {
            List<InterHubMessage> rejected = new ArrayList<InterHubMessage>();
            drain(rejected);
            for (InterHubMessage message : rejected) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/MethodInvocationTest.groovy

     * 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 spock.lang.Specification
    
    import static org.gradle.util.Matchers.strictlyEqual
    import static org.hamcrest.MatcherAssert.assertThat
    
    class MethodInvocationTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/internal/abi/switch.go

    	Entries [1]InterfaceSwitchCacheEntry // Mask+1 entries total
    }
    
    type InterfaceSwitchCacheEntry struct {
    	// type of source value (a *Type)
    	Typ uintptr
    	// case # to dispatch to
    	Case int
    	// itab to use for resulting case variable (a *runtime.itab)
    	Itab uintptr
    }
    
    const go122InterfaceSwitchCache = true
    
    func UseInterfaceSwitchCache(goarch string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/OutputEventListenerManager.java

     */
    
    package org.gradle.internal.logging.sink;
    
    import org.gradle.internal.logging.events.OutputEvent;
    import org.gradle.internal.logging.events.OutputEventListener;
    
    /**
     * Manages dispatch of output events to the renderer and at most one other arbitrary listener.
     *
     * This is a degeneralisation of the standard ListenerManager pattern as a performance optimisation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top