Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Stateless (0.27 sec)

  1. internal/grid/manager.go

    }
    
    /*
    // RegisterStateless will register a stateless handler that serves
    // []byte -> stream of ([]byte, error) requests.
    func (m *Manager) RegisterStateless(id HandlerID, h StatelessHandler) error {
    	if !id.valid() {
    		return ErrUnknownHandler
    	}
    	if m.handlers.hasAny(id) && !id.isTestHandler() {
    		return ErrHandlerAlreadyExists
    	}
    
    	m.handlers.stateless[id] = &h
    	return nil
    }
    */
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

      // either TensorFlow StatelessX or X op depending on the additional attribute.
      if (llvm::isa<mlir::TF::CaseOp, mlir::TF::IfOp, mlir::TF::WhileOp>(inst)) {
        auto stateless = inst->getAttrOfType<mlir::BoolAttr>("is_stateless");
        if (stateless && stateless.getValue())
          *node_def->mutable_op() = "Stateless" + node_def->op();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      if (op->hasTrait<OpTrait::TF::CannotDuplicate>()) return false;
    
      // If the op has no memory side effects, it can be duplicated.
      if (isMemoryEffectFree(op)) return true;
    
      // If the op is marked stateless using the `is_stateless` attribute, that
      // attribute determines if the op can be duplicated.
      if (auto is_stateless = op->getAttrOfType<BoolAttr>("is_stateless"))
        return is_stateless.getValue();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. internal/grid/handlers.go

    	// StatelessHandlerFn must handle incoming stateless request.
    	// A non-nil error value will be returned as RemoteErr(msg) to client.
    	StatelessHandlerFn func(ctx context.Context, payload []byte, resp chan<- []byte) *RemoteErr
    
    	// StatelessHandler is handlers for one to many requests,
    	// where responses may be dropped.
    	// Stateless requests provide no incoming stream and there is no flow control
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    	// Stateless stream:
    	if m.Flags&FlagStateless != 0 {
    		// Reject for now, so we can safely add it later.
    		if true {
    			gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Stateless streams not supported"}))
    			return
    		}
    
    		var handler *StatelessHandler
    		if subID == nil {
    			handler = c.handlers.stateless[m.Handler]
    		} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  6. internal/grid/muxclient.go

    	cancelFn           context.CancelCauseFunc
    	parent             *Connection
    	respWait           chan<- Response
    	respMu             sync.Mutex
    	singleResp         bool
    	closed             bool
    	stateless          bool
    	acked              bool
    	init               bool
    	deadline           time.Duration
    	outBlock           chan struct{}
    	subroute           *subHandlerID
    	respErr            atomic.Pointer[error]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

        }
    
        def "extracted stateless rules are cached"() {
            when:
            def fromFirstExtraction = extractor.extract(MutationRules)
            def fromSecondExtraction = extractor.extract(MutationRules)
    
            then:
            fromFirstExtraction.is(fromSecondExtraction)
        }
    
        def "extracted stateless abstract rules are cached"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
     * instance is created each time {@code get()} is called.
     *
     * @author Kevin Bourrillion
     * @author Ben Yu
     * @since 12.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    use the gob encoding, an efficient, robust, self-describing binary
    protocol. A fact type may implement the GobEncoder/GobDecoder interfaces
    if the default encoding is unsuitable. Facts should be stateless.
    Because serialized facts may appear within build outputs, the gob encoding
    of a fact must be deterministic, to avoid spurious cache misses in
    build systems that use content-addressable caches.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
     * instance is created each time {@code get()} is called.
     *
     * @author Kevin Bourrillion
     * @author Ben Yu
     * @since 12.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top