Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for paste (0.17 sec)

  1. tensorflow/c/c_api.cc

        return nullptr;
      } else {
        return ToOperation(iter->second);
      }
    }
    
    TF_Operation* TF_GraphNextOperation(TF_Graph* graph, size_t* pos) {
      if (*pos == 0) {
        // Advance past the first sentinel nodes in every graph (the source & sink).
        *pos += 2;
      } else {
        // Advance to the next node.
        *pos += 1;
      }
    
      mutex_lock l(graph->mu);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      const std::string path;
      const bool is_cache_enable;
      const uint64_t buffer_size;
      ReadFn read_fn;
      absl::Mutex buffer_mutex;
      uint64_t buffer_start ABSL_GUARDED_BY(buffer_mutex);
      bool buffer_end_is_past_eof ABSL_GUARDED_BY(buffer_mutex);
      std::string buffer ABSL_GUARDED_BY(buffer_mutex);
    
      GCSFile(std::string path, bool is_cache_enable, uint64_t buffer_size,
              ReadFn read_fn)
          : path(path),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        if (offset > pos) {
          // The block begins before the slice we're reading.
          begin += offset - pos;
        }
        auto end = data.end();
        if (pos + data.size() > offset + n) {
          // The block extends past the end of the slice we're reading.
          end -= (pos + data.size()) - (offset + n);
        }
        if (begin < end) {
          size_t bytes_to_copy = end - begin;
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // 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.
      Status status = ReadCache(&cache, "", file_size + 4, 4, &out);
      EXPECT_EQ(status.code(), error::OUT_OF_RANGE);
      EXPECT_TRUE(second_block);
    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)
Back to top