Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rc (0.16 sec)

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

      int bytes_transferred = 0;
      int rc = 1;
      // When `sendfile` returns 0 we stop copying and let callers handle this.
      while (offset < size && rc > 0) {
        size_t chunk = size - offset;
        if (chunk > kPosixCopyFileBufferSize) chunk = kPosixCopyFileBufferSize;
    
        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) {
    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. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_linux.cc

      off_t offset = 0;
      int bytes_transferred = 0;
      int rc = 1;
      // When `sendfile` returns 0 we stop copying and let callers handle this.
      while (offset < size && rc > 0) {
        // Use uint64 for safe compare SSIZE_MAX
        uint64_t chunk = size - offset;
        if (chunk > SSIZE_MAX) chunk = SSIZE_MAX;
    
        rc = sendfile(dst_fd, src_fd, &offset, static_cast<size_t>(chunk));
        if (rc < 0) return -1;
        bytes_transferred += rc;
      }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  3. .bazelrc

    build --define=use_fast_cpp_protos=true
    build --define=allow_oversize_protos=true
    
    build --spawn_strategy=standalone
    build -c opt
    
    # Make Bazel print out all options from rc files.
    build --announce_rc
    
    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    build --define=grpc_no_ares=true
    
    # See https://github.com/bazelbuild/bazel/issues/7362 for information on what
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 52.6K bytes
    - Viewed (2)
  4. configure.py

      python_major_version = get_python_major_version(python_bin_path)
      if python_major_version == '2':
        write_to_bazelrc('build --host_force_python=PY2')
    
      # Convert python path to Windows style before writing into bazel.rc
      if is_windows() or is_cygwin():
        python_lib_path = cygpath(python_lib_path)
    
      # Set-up env variables used by python_configure.bzl
      write_action_env_to_bazelrc('PYTHON_BIN_PATH', python_bin_path)
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top