- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 244 for pbcopy (0.24 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc
#include <unistd.h> #include <memory> #include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h" namespace tf_posix_filesystem { // Transfers up to `size` bytes from `dst_fd` to `src_fd`. // // This method uses a temporary buffer to hold contents. int CopyFileContents(int dst_fd, int src_fd, off_t size) { // Use a copy buffer of 128KB but don't store it on the stack.
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) -
tensorflow/c/eager/c_api_test.cc
// Ensure that the contents are the same! TF_Tensor* tcopy = TFE_TensorHandleResolve(hcopy, status.get()); TFE_DeleteTensorHandle(hcopy); if (TF_GetCode(status.get()) != TF_OK) { ADD_FAILURE() << tag; continue; } EXPECT_EQ(TF_TensorByteSize(t), TF_TensorByteSize(tcopy)) << tag; EXPECT_EQ( 0, memcmp(TF_TensorData(t), TF_TensorData(tcopy), TF_TensorByteSize(t))) << tag;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
end -= (pos + data.size()) - (offset + n); } if (begin < end) { size_t bytes_to_copy = end - begin; memcpy(&buffer[total_bytes_transferred], &*begin, bytes_to_copy); total_bytes_transferred += bytes_to_copy; } if (data.size() < block_size_) { // The block was a partial block and thus signals EOF at its upper bound. break; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
size_t bytes_to_copy = 0; if (offset == 0) { // The first block (16 bytes) of the file. memset(buffer, 'x', n); bytes_to_copy = n; first_block = true; } else if (offset == block_size) { // The second block (8 bytes) of the file. bytes_to_copy = file_size - block_size; memset(buffer, 'x', bytes_to_copy); second_block = true; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_TensorHandle* copy = TFE_TensorHandleCopyToDevice(m, ctx, name, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); void* data = TFE_TensorHandleDevicePointer(copy, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); size_t size = TFE_TensorHandleDeviceMemorySize(copy, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
ci/official/code_check_full.sh
#!/bin/bash # Copyright 2023 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS,
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Feb 06 17:29:44 GMT 2024 - 840 bytes - Viewed (0) -
ci/official/envs/disk_cache
# Copyright 2023 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS,
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 1023 bytes - Viewed (0) -
ci/official/envs/linux_x86_cuda
# Copyright 2023 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS,
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 19 00:24:30 GMT 2024 - 1K bytes - Viewed (0) -
.github/workflows/issue-on-pr-rollback.yml
# Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS,
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) -
tensorflow/c/eager/c_api_remote_test_util.h
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 1.4K bytes - Viewed (0)