Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for bytesTransferred (0.17 sec)

  1. cmd/batch-handlers_gen.go

    			z.DeleteMarkersFailed, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "DeleteMarkersFailed")
    				return
    			}
    		case "bt":
    			z.BytesTransferred, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "BytesTransferred")
    				return
    			}
    		case "bf":
    			z.BytesFailed, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "BytesFailed")
    				return
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	DeleteMarkers       int64 `json:"deleteMarkers" msg:"dm"`
    	ObjectsFailed       int64 `json:"objectsFailed" msg:"obf"`
    	DeleteMarkersFailed int64 `json:"deleteMarkersFailed" msg:"dmf"`
    	BytesTransferred    int64 `json:"bytesTransferred" msg:"bt"`
    	BytesFailed         int64 `json:"bytesFailed" msg:"bf"`
    }
    
    const (
    	batchReplName         = "batch-replicate.bin"
    	batchReplFormat       = 1
    	batchReplVersionV1    = 1
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_linux.cc

        rc = sendfile(dst_fd, src_fd, &offset, static_cast<size_t>(chunk));
        if (rc < 0) return -1;
        bytes_transferred += rc;
      }
    
      return bytes_transferred;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 22 21:23:55 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

          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;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 22 21:23:55 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

                     std::vector<char>* out) {
      out->clear();
      out->resize(n, 0);
      TF_Status status;
      auto bytes_transferred =
          cache->Read(filename, offset, n, out->data(), &status);
      if (bytes_transferred >= 0) {
        EXPECT_LE(bytes_transferred, n);
        out->resize(bytes_transferred, n);
      }
      return status.status;
    }
    
    TEST(RamFileBlockCacheTest, IsCacheEnabled) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

            block->data.resize(block_size_, 0);
            int64_t bytes_transferred;
            bytes_transferred = block_fetcher_(key.first, key.second, block_size_,
                                               block->data.data(), status);
            block->mu.Lock();  // Reacquire the lock immediately afterwards
            if (TF_GetCode(status) == TF_OK) {
              block->data.resize(bytes_transferred, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 16 01:39:09 UTC 2020
    - 11.1K bytes
    - Viewed (0)
Back to top