Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for takeError (0.28 sec)

  1. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

      CHECK(status.ok()) << "Failed to setup request context: " << status.message();
    
      auto req_ctx = std::move(builder).build();
      if (auto err = req_ctx.takeError())
        LOG(FATAL) << "Failed to build a request context";
    
      exec_ctx_ = std::make_unique<tfrt::ExecutionContext>(std::move(*req_ctx));
    }
    
    void RuntimeFallbackExecutor::Prepare(llvm::StringRef mlir_input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/database/sql/fakedb_test.go

    	useRawBytes atomic.Bool
    
    	mu       sync.Mutex
    	tables   map[string]*table
    	badConn  bool
    	allowAny bool
    }
    
    type fakeError struct {
    	Message string
    	Wrapped error
    }
    
    func (err fakeError) Error() string {
    	return err.Message
    }
    
    func (err fakeError) Unwrap() error {
    	return err.Wrapped
    }
    
    type table struct {
    	mu      sync.Mutex
    	colname []string
    	coltype []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top