Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 275 for file (0.33 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    
    #include <sys/stat.h>
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

    /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_linux.cc

    /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        const std::string& filename, int64_t file_signature) {
      absl::MutexLock lock(&mu_);
      auto it = file_signature_map_.find(filename);
      if (it != file_signature_map_.end()) {
        if (it->second == file_signature) {
          return true;
        }
        // Remove the file from cache if the signatures don't match.
        RemoveFile_Locked(filename);
        it->second = file_signature;
        return false;
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

                   char* buffer, TF_Status* status);
    
      // Validate the given file signature with the existing file signature in the
      // cache. Returns true if the signature doesn't change or the file doesn't
      // exist before. If the signature changes, update the existing signature with
      // the new one and remove the file from cache.
      bool ValidateAndUpdateFileSignature(const std::string& filename,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // Reading the first 16 bytes should be fine.
      TF_EXPECT_OK(ReadCache(&cache, "", 0, block_size, &out));
      EXPECT_TRUE(first_block);
      EXPECT_EQ(out.size(), block_size);
      // Reading at offset file_size + 4 will read the second block (since the read
      // at file_size + 4 = 28 will be aligned to an offset of 16) but will return
      // OutOfRange because the offset is past the end of the 24-byte file.
    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)
  7. ci/official/utilities/code_check_changed_files.bats

        fi
    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check buildifier formatting on BUILD files" {
        echo "buildifier formatting is recommended. Here are the suggested fixes:"
        echo "============================="
        grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

                "/a_file");
      EXPECT_EQ(GetRelativePath(fs->TranslateName(GetURIForPath("a_dir/a_file"))),
                "/a_dir/a_file");
      EXPECT_EQ(GetRelativePath(fs->TranslateName(GetURIForPath("./a_file"))),
                "/a_file");
      EXPECT_EQ(GetRelativePath(fs->TranslateName(
                    GetURIForPath("a/convoluted/../path/./to/.//.///a/file"))),
                "/a/path/to/a/file");
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  9. ci/official/wheel_test/README.md

    file for testing, such as:
    
    * Ensuring the entire API is importable
    * Testing downstream projects against the wheel
    
    Ensure you have Bazel installed and accessible from your command line.
    
    These tests use hermetic Python. They also require a built TensorFlow wheel file
    and a requirements_lock file. The requirements_lock file is generated by the
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.cc

        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", fname, " does not support NewWritableFile()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      auto file = std::make_unique<TF_WritableFile>();
      std::string translated_name = TranslateName(fname);
      ops_->new_writable_file(filesystem_.get(), translated_name.c_str(),
    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)
Back to top