- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for gcs (0.14 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
copy_size); } bool consumed_buffer_to_eof = offset + copy_size >= buffer_end && gcs_file->buffer_end_is_past_eof; if (copy_size < n && !consumed_buffer_to_eof) { gcs_file->buffer_start = offset + copy_size; gcs_file->buffer.resize(gcs_file->buffer_size); auto read_fill_buffer = gcs_file->read_fn(
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h" #include <stdio.h> #include <fstream> #include <string> #include <utility> TempFile::TempFile(const std::string& temp_file_name, std::ios::openmode mode)
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jun 26 14:56:58 GMT 2020 - 1.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
#ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_FILESYSTEM_H_ #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_FILESYSTEM_H_ #include "google/cloud/storage/client.h" #include "tensorflow/c/experimental/filesystem/filesystem_interface.h" #include "tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h" #include "tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h"
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h
limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_ #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_ #include <fstream> #include <string> class TempFile : public std::fstream { public: // We should specify openmode each time we call TempFile.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jun 26 14:56:58 GMT 2020 - 1.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
TEST_F(GCSFilesystemTest, ReadOnlyMemoryRegion) { tf_gcs_filesystem::Init(filesystem_, status_); ASSERT_TF_OK(status_) << "Could not initialize filesystem. " << TF_Message(status_); std::string path = GetURIForPath("a_file"); auto gcs_file = static_cast<tf_gcs_filesystem::GCSFile*>(filesystem_->plugin_filesystem); ASSERT_TRUE(WriteToServer(path, 0, 0, &gcs_file->gcs_client, status_));
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) -
cmd/warm-backend-gcs.go
return nil, gcsToObjectError(err, gcs.Bucket, key) } return r, nil } func (gcs *warmBackendGCS) Remove(ctx context.Context, key string, rv remoteVersionID) error { err := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key)).Delete(ctx) return gcsToObjectError(err, gcs.Bucket, key) } func (gcs *warmBackendGCS) InUse(ctx context.Context) (bool, error) { it := gcs.client.Bucket(gcs.Bucket).Objects(ctx, &storage.Query{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 5.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/BUILD
per_os_targets = 1, visibility = ["//visibility:public"], deps = [":gcs_filesystem_impl"], ) # The real implementation of the filesystem. cc_library( name = "gcs_filesystem_impl", srcs = ["gcs_filesystem.cc"], hdrs = ["gcs_filesystem.h"], copts = select({ "//conditions:default": [], "//tensorflow:windows": get_win_copts(), }), deps = [ ":expiring_lru_cache",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 3.4K bytes - Viewed (0) -
ci/official/envs/versions_upload
# but they do upload logs to resultstore. # IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to # pretend the path is a directory. TFCI_ARTIFACT_FINAL_GCS_ENABLE=1 TFCI_ARTIFACT_FINAL_GCS_SA_PATH="${KOKORO_KEYSTORE_DIR}/73361_tensorflow_release_binary_uploader_service_account" TFCI_ARTIFACT_FINAL_GCS_URI="gs://tensorflow/versions/"
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 19 19:07:48 GMT 2024 - 1.6K bytes - Viewed (0) -
ci/official/envs/no_upload
# Disable ALL uploads of any kind. TFCI_ARTIFACT_FINAL_GCS_ENABLE= TFCI_ARTIFACT_FINAL_GCS_SA_PATH= TFCI_ARTIFACT_FINAL_GCS_URI= TFCI_ARTIFACT_FINAL_PYPI_ARGS= TFCI_ARTIFACT_FINAL_PYPI_ENABLE= TFCI_ARTIFACT_LATEST_GCS_URI= TFCI_ARTIFACT_STAGING_GCS_ENABLE= TFCI_ARTIFACT_STAGING_GCS_URI=
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 19 19:07:48 GMT 2024 - 1012 bytes - Viewed (0) -
ci/official/envs/nightly_upload
# IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to # pretend the path is a directory. # 1. Upload nightlies TFCI_ARTIFACT_FINAL_GCS_ENABLE=1 TFCI_ARTIFACT_FINAL_GCS_SA_PATH="${KOKORO_KEYSTORE_DIR}/73361_tensorflow_release_binary_uploader_service_account" TFCI_ARTIFACT_FINAL_GCS_URI="gs://tensorflow/nightly/"
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 19 19:07:48 GMT 2024 - 1.7K bytes - Viewed (0)