Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for arkite (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

        rc = read(src_fd, buffer.get(), chunk);
        if (rc < 0) return -1;
    
        int total_write = 0;
        int total_read = rc;
        while (total_write < total_read && rc > 0) {
          rc = write(dst_fd, buffer.get() + total_write, chunk - total_write);
          if (rc < 0) return -1;
    
          total_write += rc;
          bytes_transferred += rc;
          offset += rc;
        }
      }
    
      return bytes_transferred;
    }
    
    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)
  2. .github/workflows/issue-on-pr-rollback.yml

    on:
      push:
        branches:
          - master
          
    permissions: {}
    
    jobs:
      create-issue-on-pr-rollback:
        runs-on: ubuntu-latest
        permissions:
          contents: read
          issues: write
          pull-requests: read
        if: |
          github.repository == 'tensorflow/tensorflow' &&
          startsWith(github.event.head_commit.message, 'Rollback of PR #')
        steps:
          - name: Checkout repo
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 16:40:29 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      const string input_name =
          signature_def.inputs().at(tensorflow::kRegressInputs).name();
      const string output_name =
          signature_def.outputs().at(tensorflow::kRegressOutputs).name();
    
      // Write {0, 1, 2, 3} as tensorflow::Example inputs.
      Tensor input(tensorflow::DT_STRING, TensorShape({4}));
      for (int64_t i = 0; i < input.NumElements(); ++i) {
        tensorflow::Example example;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. .github/workflows/update-nightly.yml

    permissions: {}
    
    jobs:
      master-to-nightly:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
        - uses: zofrex/mirror-branch@a8809f0b42f9dfe9b2c5c2162a46327c23d15266 # v1.0.3
          name: Set nightly branch to master HEAD
          with:
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 16:45:56 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  5. ci/official/README.md

    # 3. Add modifiers. Some modifiers for local execution are:
    #      Ex. disk_cache -- Use a local cache
    #      Ex. public_cache -- Use TF's public cache (read-only)
    #      Ex. public_cache_push -- Use TF's public cache (read and write, Googlers only)
    #      Ex. rbe        -- Use RBE for faster builds (Googlers only; see below)
    #      Ex. no_docker  -- Disable docker on enabled platforms
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. .github/workflows/scorecards-analysis.yml

        name: Scorecards analysis
        runs-on: ubuntu-latest
        permissions:
          # Needed to upload the results to code-scanning dashboard.
          security-events: write
          id-token: write
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
            with:
              persist-credentials: false
    
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Dec 21 23:56:23 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  7. .github/workflows/osv-scanner-scheduled.yml

    name: OSV-Scanner Scheduled Scan
    
    on:
      schedule:
        - cron: 0 4 * * 1
    
    permissions:
      # Require writing security events to upload SARIF file to security tab
      security-events: write
      # Only need to read contents
      contents: read
    
    jobs:
      scan-scheduled:
        if: github.repository == 'tensorflow/tensorflow'
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Feb 06 17:09:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

      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);
      if (dst_fd < 0) {
        close(src_fd);
        return -1;
      }
    
    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)
  9. .github/workflows/trusted-partners.yml

    permissions:
      contents: read
    
    jobs:
      assign-partner-tags:
        runs-on: ubuntu-latest
        permissions:
          # Needed to attach tags into the PR
          issues: write
          contents: write
          pull-requests: write
        if: |
          github.event.pull_request.draft == false &&
          github.event.sender.type == 'User'
        steps:
          - name: Checkout repo
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 14:49:29 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  10. ci/official/envs/public_cache_push

    # limitations under the License.
    # ==============================================================================
    # Sourcing this enables Bazel remote cache (read and write)
    # Note that "_push" cache configs write to GCS buckets and require
    # authentication. If you are not a Googler, source "public_cache" to enable the
    # public read-only cache.
    # The cache configs are different for MacOS and Linux
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top