- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 258 for memcpy (0.09 seconds)
-
tensorflow/c/c_api_experimental.cc
*len = debug_str.size(); char* ret = static_cast<char*>(malloc(*len + 1)); memcpy(ret, debug_str.c_str(), *len + 1); return ret; } char* TF_FunctionDebugString(TF_Function* func, size_t* len) { const auto& debug_str = DebugString(func->record->fdef()); *len = debug_str.size(); char* ret = static_cast<char*>(malloc(*len + 1)); memcpy(ret, debug_str.c_str(), *len + 1); return ret; }
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
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 Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 17.8K bytes - Click Count (1) -
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 Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K 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 Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Nov 17 00:00:38 GMT 2025 - 97K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 17 05:10:25 GMT 2024 - 2.2K bytes - Click Count (0) -
docs/metrics/prometheus/list.md
| `minio_node_mem_buffers_avg` | Buffers memory on the node (avg). | | `minio_node_mem_buffers_max` | Buffers memory on the node (max). | | `minio_node_mem_cache` | Cache memory on the node. | | `minio_node_mem_cache_avg` | Cache memory on the node (avg). | | `minio_node_mem_cache_max` | Cache memory on the node (max). |
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 43.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* backing store (e.g. file system, database, memory). * <p> * This is mainly used to parse files into objects such as Maven projects, * models, settings, or toolchains. The source implementation handles * all the details of accessing the underlying content while providing * a uniform API to consumers. * <p> * Sources can represent: * <ul> * <li>Local filesystem files</li> * <li>In-memory content</li> * <li>Database entries</li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 09:46:53 GMT 2025 - 4K bytes - Click Count (0) -
cmd/bucket-replication-stats.go
case <-r.qTimer.C: r.qCache.update() } } } // Delete deletes in-memory replication statistics for a bucket. func (r *ReplicationStats) Delete(bucket string) { if r == nil { return } r.Lock() defer r.Unlock() delete(r.Cache, bucket) } // UpdateReplicaStat updates in-memory replica statistics with new values. func (r *ReplicationStats) UpdateReplicaStat(bucket string, n int64) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 13.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
import org.apache.maven.api.model.Model; import org.apache.maven.model.v4.MavenStaxReader; /** * A utility class that analyzes Maven POM files to identify memory usage patterns and potential memory optimizations. * This analyzer focuses on identifying duplicate strings and their memory impact across different paths in the POM structure. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0) -
cmd/handler-api.go
rootAccess bool syncEvents bool objectMaxVersions int64 } const ( cgroupV1MemLimitFile = "/sys/fs/cgroup/memory/memory.limit_in_bytes" cgroupV2MemLimitFile = "/sys/fs/cgroup/memory.max" ) func cgroupMemLimit() (limit uint64) { buf, err := os.ReadFile(cgroupV2MemLimitFile) if err != nil { buf, err = os.ReadFile(cgroupV1MemLimitFile) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.4K bytes - Click Count (0)