Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fopen (0.12 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    // capturing the return value in an 'auto' local variable. Most users will not
    // need more sophisticated syntax than that.
    //
    // Example:
    //   void func() {
    //     FILE* fp = fopen("data.txt", "r");
    //     if (fp == nullptr) return;
    //     auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); });
    //     // No matter what, fclose(fp) will happen.
    //     DataObject d;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  2. ISSUES.md

    If you open a GitHub Issue, here is our policy:
    
    1.  It must be a bug/performance issue or a feature request or a build issue or
        a documentation issue (for small doc fixes please send a PR instead).
    1.  Make sure the Issue Template is filled out.
    1.  The issue should be related to the repo it is created in.
    
    **Here's why we have this policy:** We want to focus on the work that benefits
    the whole community, e.g., fixing bugs and adding features. Individual support
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 11 22:37:27 GMT 2021
    - 606 bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

                             off_t size) {
      int src_fd = open(src, O_RDONLY);
      if (src_fd < 0) return -1;
    
      // When creating file, use the same permissions as original
      mode_t open_mode = mode & (S_IRWXU | S_IRWXG | S_IRWXO);
    
      // O_WRONLY | O_CREAT | O_TRUNC:
      //   Open file for write and if file does not exist, create the file.
      //   If file exists, truncate its size to 0.
      int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jan 16 05:36:52 GMT 2020
    - 2.1K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc

      std::remove(name_.c_str());
    }
    
    const std::string TempFile::getName() const { return name_; }
    
    bool TempFile::truncate() {
      std::fstream::close();
      std::fstream::open(name_, std::ios::binary | std::ios::out);
      return std::fstream::is_open();
    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)
  5. CODE_OF_CONDUCT.md

    # TensorFlow Code of Conduct
    
    In the interest of fostering an open and welcoming environment, we as
    contributors and maintainers pledge to make participation in our project and our
    community a harassment-free experience for everyone, regardless of age, body
    size, disability, ethnicity, gender identity and expression, level of
    experience, nationality, personal appearance, race, religion, or sexual identity
    and orientation.
    
    ## Our Standards
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  6. .zenodo.json

    {
        "description": "TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications.",
        "license": "Apache-2.0",
        "title": "TensorFlow",
        "upload_type": "software",
        "creators": [
            {
                "name": "TensorFlow Developers"
            }
    Json
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue May 18 19:19:25 GMT 2021
    - 741 bytes
    - Viewed (0)
  7. .github/workflows/stale-issues.yml

              labels-to-remove-when-unstale: 'stat:awaiting response'
              only-labels: "stat:awaiting response"
              stale-issue-message: > 
                This issue is stale because it has been open for 7 days with no activity.
                It will be closed if no further activity occurs. Thank you.
              close-issue-message: >
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Nov 23 20:04:38 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. CITATION.cff

    authors:...
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 06 15:26:23 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  9. ci/official/wheel_test/test_import_api_packages.py

          api_packages_path = pkg_resources.resource_filename(
              "tensorflow", "_api/v2/api_packages.txt"
          )
    
          logging.info("Load api packages file: %s", api_packages_path)
          with open(api_packages_path) as file:
            return set(file.read().splitlines())
    
        super().setUp()
        self.api_packages_v2 = _get_api_packages_v2()
        # Some paths in the api_packages_path file cannot be directly imported.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (1)
Back to top