Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for write (0.19 sec)

  1. .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 Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Dec 21 23:56:23 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  2. .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 Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 06 17:09:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/c/c_test.c

      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status));
      }
      TF_StringStreamDone(s);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. ci/official/utilities/setup.sh

      # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash.
      export -p | grep TFCI > "$FROM_ENV"
    
      # Source the default ci values
      source ./ci/official/envs/ci_default
    
      # TODO(angerson) write this documentation
      # Sources every env, in order, from the comma-separated list "TFCI"
      # Assumes variables will resolve themselves correctly.
      set +u
      for env_file in ${TFCI//,/ }; do
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  6. ci/official/utilities/extract_resultstore_links.py

        testsuite.attrib = suite_attrib
        indent_xml(testsuites)
    
      tree = ElemTree.ElementTree(testsuites)
      file_path = os.path.join(output_path)
      with open(file_path, 'wb') as f:
        f.write(b'<?xml version="1.0"?>\n')
        tree.write(f)
        if verbose:
          print(f'\nWrote XML with Bazel invocation results to {file_path}')
    
    
    def print_invocation_results(result_store_dict: ResultDictType):
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

            "as failing,"
        )
        p.text += "\n      but do not make the Kokoro invocation fail."
    
    os.makedirs(os.path.dirname(sys.argv[2]), exist_ok=True)
    result.update_statistics()
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        return ::testing::AssertionFailure() << TF_Message(status);
    
      auto writer = gcs_client->WriteObject(bucket, object);
      writer.write(content + offset, length);
      writer.Close();
      if (writer.metadata()) {
        return ::testing::AssertionSuccess();
      } else {
        return ::testing::AssertionFailure()
               << writer.metadata().status().message();
      }
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  10. .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 Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Sep 12 16:40:29 GMT 2023
    - 1.5K bytes
    - Viewed (0)
Back to top