Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tolower (0.16 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      absl::MutexLock lock(&mu_);
      RemoveFile_Locked(filename);
    }
    
    void RamFileBlockCache::RemoveFile_Locked(const std::string& filename) {
      Key begin = std::make_pair(filename, 0);
      auto it = block_map_.lower_bound(begin);
      while (it != block_map_.end() && it->first.first == filename) {
        auto next = std::next(it);
        RemoveBlock(it);
        it = next;
      }
    }
    
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

                              char* buffer, TF_Status* status) -> int64_t {
        calls++;
        char c = (filename == "a") ? 'a' : (filename == "b") ? 'b' : 'x';
        if (offset > 0) {
          // The first block is lower case and all subsequent blocks are upper case.
          c = toupper(c);
        }
        memset(buffer, c, n);
        TF_SetStatus(status, TF_OK, "");
        return n;
      };
    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