Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for stateful (0.12 sec)

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

            if (message.getDelivery() == InterHubMessage.Delivery.Stateful) {
                initializer.onStatefulMessage(message);
            }
            if (message instanceof Routable) {
                Routable routableMessage = (Routable) message;
                getChannel(routableMessage.getChannel()).dispatch(message);
            } else if (message.getDelivery() == InterHubMessage.Delivery.Stateful || message.getDelivery() == InterHubMessage.Delivery.AllHandlers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/AbstractQueueTest.groovy

            InterHubMessage message = Stub() {
                getDelivery() >> InterHubMessage.Delivery.SingleHandler
            }
            return message
        }
    
        def stateful() {
            InterHubMessage message = Stub() {
                getDelivery() >> InterHubMessage.Delivery.Stateful
            }
            return message
        }
    
        def broadcast() {
            InterHubMessage message = Stub() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/CompileOperation.java

    import org.gradle.internal.serialize.Serializer;
    
    /**
     * A stateful “backing” for a compilation operation.
     * <p>
     * The compilation may extract data from the source under compilation, made available after compilation by {@link #getExtractedData()}.
     * The exposed transformer typically gathers the data while transforming.
     * <p>
     * As these objects are stateful, they can only be used for a single compile operation.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 01 11:44:55 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

      // string description of gradient attribute.
      static StringRef GetGradientAttrName() { return "tf.gradient"; }
    
      // This attribute marks if a function is stateful.
      // Returns the string description of stateful attribute.
      static StringRef GetStatefulAttrName() { return "tf.signature.is_stateful"; }
    
      // Returns true if the op can be duplicated during transformations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/QueueInitializerTest.groovy

    class QueueInitializerTest extends AbstractQueueTest {
        final QueueInitializer initializer = new QueueInitializer()
        final Dispatch<InterHubMessage> queue = Mock()
    
        def "does nothing when no stateful messages received"() {
            when:
            initializer.onQueueAdded(queue)
    
            then:
            0 * queue._
        }
    
        def "discards message on end of stream received"() {
            given:
    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. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/protocol/EndOfStream.java

        @Override
        public String toString() {
            return "[" + getClass().getSimpleName() + "]";
        }
    
        @Override
        public Delivery getDelivery() {
            return Delivery.Stateful;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 926 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

    import java.net.InetAddress
    import okhttp3.internal.interleave
    
    /**
     * Implementation of HappyEyeballs Sorting Addresses.
     *
     * The current implementation does not address any of:
     *  - Async DNS split by IP class
     *  - Stateful handling of connectivity results
     *  - The prioritisation of addresses
     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/QueueInitializer.java

            if (message instanceof EndOfStream) {
                endOfStream = (EndOfStream) message;
            } else {
                throw new UnsupportedOperationException(String.format("Received unexpected stateful message: %s", message));
            }
        }
    
        void onQueueAdded(Dispatch<InterHubMessage> queue) {
            if (endOfStream != null) {
                queue.dispatch(endOfStream);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/StatefulListener.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Attached to a listener interface to indicate that its events are stateful.
     *
     * <p>The listener infrastructure will ensure that a listener of this type will either receive all events, or no events.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc

    // merging same input values if they're identical. These optimizations are
    // desirable but not for those TFLite ops which have variable tensors as inputs.
    // Yes, they have identical input values, but those identical values are
    // "stateful", their values can change during invocations.
    //
    // A typical example is unidirectional_sequence_lstm have two variable tensor
    // inputs: activation state & cell state. They may have same initial values
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top