Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 288 for memcpy (0.1 sec)

  1. 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;
    }
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  2. ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch

    -		  ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8	      \
    -		     ? __strcpy_small (dest, __strcpy_args (src),	      \
    -				       strlen (src) + 1)		      \
    -		     : (char *) memcpy (dest, src, strlen (src) + 1))	      \
    -		  : strcpy (dest, src)))
    -# endif
    -
    +#if defined _FORCE_INLINES
     # if _STRING_ARCH_unaligned
    -#  ifndef _FORCE_INLINES
    -#   define __strcpy_args(src) \
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  3. 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
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  4. 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) {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. 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")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 17 05:10:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. 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.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. 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,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. 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 {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

     * This class encapsulates RDMA channel metadata including remote memory keys,
     * addresses, and lengths for direct memory access operations.
     */
    public class RdmaChannelInfo {
    
        private final Smb2RdmaTransform transform;
    
        /**
         * Create new RDMA channel info
         *
         * @param remoteKey remote memory key for RDMA access (token)
         * @param address remote memory address (offset)
         * @param length length of the memory region
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top