- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for Read (0.2 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
std::vector<char> out; // First read. EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123)); TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); EXPECT_EQ(calls, 1); // Second read. Hit cache. EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123)); TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); EXPECT_EQ(calls, 1); // Third read. File signatures are different.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
.github/workflows/issue-on-pr-rollback.yml
permissions: {} jobs: create-issue-on-pr-rollback: runs-on: ubuntu-latest permissions: contents: read issues: write pull-requests: read if: | github.repository == 'tensorflow/tensorflow' && startsWith(github.event.head_commit.message, 'Rollback of PR #') steps: - name: Checkout repo
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Sep 12 16:40:29 GMT 2023 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
} Status ModularRandomAccessFile::Read(uint64 offset, size_t n, StringPiece* result, char* scratch) const { if (ops_->read == nullptr) return errors::Unimplemented( tensorflow::strings::StrCat("Read() not implemented for ", filename_)); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); int64_t read =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
std::unique_ptr<RandomAccessFile> read_file; status = env_->NewRandomAccessFile(filepath, &read_file); if (!status.ok()) GTEST_SKIP() << "NewRandomAccessFile() not supported: " << status; char scratch[64 /* must be bigger than test_data */] = {0}; StringPiece result; // read at least 1 byte more than test_data status = read_file->Read(0, test_data.size() + 1, &result, scratch);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
.github/workflows/arm-ci.yml
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Wed Feb 07 17:41:21 GMT 2024 - 2.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
ASSERT_TRUE(std::find(device_names.begin(), device_names.end(), remote_device) != device_names.end()); } // Create a variable using `ctx_0`. // Read the variable using `ctx_1`. This read should succeed. // 1. Create a variable on `remote_device`, using `ctx_0`. TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental_test.cc
remote_device) != device_names.end()); } // Create a variable using `ctx_0`. // Replace worker1 using a new worker, and update the contexts. // Read the variable using `ctx_1`. This read should succeed. // // 1. Create a variable on `remote_device`, using `ctx_0`. TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var");
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) -
ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc
# Convenient cache configurations # Use a cache directory mounted to /tf/cache. Very useful! build:sigbuild_local_cache --disk_cache=/tf/cache # Use the public-access TF DevInfra cache (read only) build:sigbuild_remote_cache --remote_cache="https://storage.googleapis.com/tensorflow-devinfra-bazel-cache/manylinux2014" --remote_upload_local_results=false
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Nov 21 12:25:39 GMT 2023 - 5.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
TF_WRITABLE_FILE_OPS_ABI, "writable file")); if (ops->read_only_memory_region_ops != nullptr) TF_RETURN_IF_ERROR(CheckABI(ops->read_only_memory_region_ops_abi, TF_READ_ONLY_MEMORY_REGION_OPS_ABI, "read only memory region")); return OkStatus(); }
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
TF_SetStatus(status, TF_UNKNOWN, "Could not get content-length header"); return -1; } // `TF_OUT_OF_RANGE` isn't considered as an error. So we clear it here. TF_SetStatus(status, TF_OK, ""); TF_VLog(1, "Successful read of %s @ %u of size: %u", path.c_str(), offset, read); stream.read(buffer, read); read = stream.gcount(); if (read < buffer_size) {
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)