Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for inside (0.28 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/filesystem/modular_filesystem_test.cc

    // As we need to test multiple URI schemes we need a parameterized test.
    // Furthermore, since each test creates and deletes files, we will use the same
    // fixture to create new directories in `SetUp`. Each directory will reside in
    // `::testing::TempDir()`, will use a RNG component and the test name. This
    // ensures that two consecutive runs are unlikely to clash.
    class ModularFileSystemTest : public ::testing::TestWithParam<std::string> {
     public:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    //   * increased security as plugins will not be able to alter function table
    //     after loading up. Thus, malicious plugins can't alter functionality to
    //     probe for gadgets inside core TensorFlow. We can even protect the area
    //     of memory where the copies reside to not allow any more writes to it
    //     after all copies are created.
    template <typename T>
    static std::unique_ptr<const T> CopyToCore(const T* plugin_ops,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

        TF_OperationDescription* desc =
            TF_NewOperation(host_graph_, func_name_, func_node_name_);
        for (auto input : inputs) {
          TF_AddInput(desc, input);
        }
        // Set device to CPU because some ops inside the function might not be
        // available on GPU.
        TF_SetDevice(desc, "/cpu:0");
        *op = TF_FinishOperation(desc, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        ASSERT_NE(*op, nullptr);
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    // same integer values. See
    // https://github.com/googleapis/google-cloud-cpp/blob/6c09cbfa0160bc046e5509b4dd2ab4b872648b4a/google/cloud/status.h#L32-L52
    static inline void TF_SetStatusFromGCSStatus(
        const google::cloud::Status& gcs_status, TF_Status* status) {
      TF_SetStatus(status, static_cast<TF_Code>(gcs_status.code()),
                   gcs_status.message().c_str());
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top