Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for views (0.19 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

                                                absl::string_view result,
                                                size_t read) {
      // Result isn't a null-terminated string so we have to wrap it inside a
      // `string_view`
      if (length == read && content_view.substr(offset, length) ==
                                absl::string_view(result).substr(0, read))
        return ::testing::AssertionSuccess();
      else
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

                                              TF_Status* status) {
      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      absl::Status cc_status = cc_agent->InsertKeyValue(
          std::string_view(key, key_size), std::string_view(value, value_size));
      status->status = cc_status;
    }
    
    TF_Buffer* ProcessGetKeyValueResult(absl::StatusOr<std::string> value,
                                        TF_Status* status) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api_experimental_test.cc

    #include "tensorflow/core/protobuf/cluster.pb.h"
    #include "tensorflow/core/protobuf/config.pb.h"
    
    using tensorflow::string;
    
    namespace tensorflow {
    namespace {
    
    static bool HasSubstr(absl::string_view base, absl::string_view substr) {
      bool ok = absl::StrContains(base, substr);
      EXPECT_TRUE(ok) << base << ", expected substring " << substr;
      return ok;
    }
    
    TEST(CAPI, MonitoringCounter0) {
      TF_Status* status = TF_NewStatus();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_test.cc

      EXPECT_EQ(absl::string_view(test_string),
                absl::string_view(TF_TString_GetDataPointer(t_out_tstr),
                                  TF_TString_GetSize(t_out_tstr)));
      EXPECT_EQ(absl::string_view(TF_TString_GetDataPointer(t_in_tstr),
                                  TF_TString_GetSize(t_in_tstr)),
                absl::string_view(TF_TString_GetDataPointer(t_out_tstr),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top