- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 551 for memcpy (0.12 seconds)
-
tensorflow/c/c_test_util.cc
int64_t num_values = 1; for (int i = 0; i < num_dims; ++i) { num_values *= dims[i]; } TF_Tensor* t = TF_AllocateTensor(TF_INT8, dims, num_dims, sizeof(char) * num_values); memcpy(TF_TensorData(t), values, sizeof(char) * num_values); return t; } TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims, const int32_t* values) { int64_t num_values = 1;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 17.8K bytes - Click Count (1) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_DeleteExecutor(old_executor); TFE_DeleteContext(ctx); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); float product[4] = {0}; EXPECT_EQ(sizeof(product), TF_TensorByteSize(t)); memcpy(&product[0], TF_TensorData(t), TF_TensorByteSize(t)); TF_DeleteTensor(t); EXPECT_EQ(7, product[0]); EXPECT_EQ(10, product[1]); EXPECT_EQ(15, product[2]); EXPECT_EQ(22, product[3]);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0) -
tensorflow/c/c_api.cc
status->status = s->session->PRunSetup(input_names, output_names, target_oper_names, &new_handle); if (status->status.ok()) { char* buf = new char[new_handle.size() + 1]; memcpy(buf, new_handle.c_str(), new_handle.size() + 1); *handle = buf; } } void TF_PRun(TF_DeprecatedSession* s, const char* handle, // Input tensors
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_cluster_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); std::unique_ptr<float[]> actual_values(new float[expected_values.size()]); EXPECT_EQ(sizeof(float) * expected_values.size(), TF_TensorByteSize(t)); memcpy(actual_values.get(), TF_TensorData(t), TF_TensorByteSize(t)); TF_DeleteTensor(t); for (int i = 0; i < expected_values.size(); i++) { EXPECT_EQ(expected_values[i], actual_values[i])
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 19.2K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
} TF_Tensor* FloatTensor2x2(const float* values) { const int64_t dims[2] = {2, 2}; TF_Tensor* t = TF_AllocateTensor(TF_FLOAT, dims, 2, sizeof(float) * 4); memcpy(TF_TensorData(t), values, sizeof(float) * 4); return t; } TF_Operation* FloatConst2x2(TF_Graph* graph, TF_Status* s, const float* values, const char* name) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
cmd/metrics-v3-system-memory.go
var ( memTotalMD = NewGaugeMD(memTotal, "Total memory on the node") memUsedMD = NewGaugeMD(memUsed, "Used memory on the node") memUsedPercMD = NewGaugeMD(memUsedPerc, "Used memory percentage on the node") memFreeMD = NewGaugeMD(memFree, "Free memory on the node") memBuffersMD = NewGaugeMD(memBuffers, "Buffers memory on the node") memCacheMD = NewGaugeMD(memCache, "Cache memory on the node")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 17 05:10:25 GMT 2024 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
import java.util.EnumSet; /** * Abstract base class for RDMA memory regions. * * Represents a registered memory region that can be used for * RDMA operations. The memory region contains a buffer, access * permissions, and keys for local and remote access. */ public abstract class RdmaMemoryRegion implements AutoCloseable { /** Memory buffer for RDMA operations */ protected final ByteBuffer buffer;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
public long used; /** Committed non-heap memory in bytes */ public long committed; /** Maximum non-heap memory in bytes */ public long max; /** The percentage of non-heap memory usage. */ public short percent; } /** * Data transfer object representing JVM buffer pool statistics. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 19.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaAccess.java
*/ package jcifs.internal.smb2.rdma; /** * RDMA memory access permissions for registered memory regions. * These flags control what operations can be performed on a memory region. */ public enum RdmaAccess { /** * Local read access to the memory region */ LOCAL_READ, /** * Local write access to the memory region */ LOCAL_WRITE, /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
import jcifs.internal.smb2.rdma.RdmaMemoryRegion; /** * DiSNI memory region implementation. * * This class would integrate with DiSNI to provide registered * memory regions for high-performance RDMA operations. * * Note: This is a skeleton implementation. A real implementation would * require proper DiSNI integration with actual memory registration. */ public class DisniMemoryRegion extends RdmaMemoryRegion {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 5.3K bytes - Click Count (0)