- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for memcpy (0.04 sec)
-
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 Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 97K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
import java.util.logging.Logger; /** * ContentCache is a class that provides a way to cache content either in memory or in a file. * It implements the Closeable interface to ensure that resources are properly released. * * <p>This class supports two types of content caching: * <ul> * <li>In-memory caching using a byte array</li> * <li>File-based caching using a File object</li> * </ul> *
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* value slightly too high than slightly too low. If the value is not exact, the {@link * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary; * to trim memory usage, build using {@code builder.build().trimmed()}. */ public static Builder builder(int initialCapacity) { checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* value slightly too high than slightly too low. If the value is not exact, the {@link * ImmutableIntArray} that is built will very likely occupy more memory than strictly necessary; * to trim memory usage, build using {@code builder.build().trimmed()}. */ public static Builder builder(int initialCapacity) { checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
cos.close(); assertTrue(file.exists()); } @Test public void testThresholdOne() throws IOException { // With threshold 1, writing 1 byte should stay in memory ContentOutputStream cos = new ContentOutputStream(1, Curl.tmpDir); cos.write(new byte[] { 1 }); assertTrue(cos.isInMemory()); assertFalse(cos.done); cos.close(); }
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
* This class provides methods to store, retrieve, update, and delete access results, * as well as to iterate over them. It uses a {@link MemoryDataHelper} to store the data in memory. * * <p> * The class uses a static {@code idCount} to generate unique IDs for each access result. * The {@code idCountLock} object is used to synchronize access to the {@code idCount} variable,Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.bat
set FESS_MIN_MEM=%FESS_HEAP_SIZE% set FESS_MAX_MEM=%FESS_HEAP_SIZE% ) REM min and max heap sizes should be set to the same value to avoid REM stop-the-world GC pauses during resize, and so that we can lock the REM heap in memory on startup to prevent any of it from being swapped REM out. set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xms%FESS_MIN_MEM% -Xmx%FESS_MAX_MEM% set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:MaxMetaspaceSize=256m -XX:CompressedClassSpaceSize=32m
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 03:48:59 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] data = "Hello, World!".getBytes(); ContentCache cache = new ContentCache(data); // Memory-based cache close should not throw exception cache.close(); // Should still be able to get input stream after close for memory cache try (InputStream stream = cache.getInputStream()) { assertNotNull(stream); } } @Test
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} } /** * Reads the contents of a file into a byte array and returns it. * <p> * <strong>Note:</strong> This method loads the entire file into memory. * For files larger than {@value #MAX_BUF_SIZE} bytes (10MB), an * {@link IORuntimeException} will be thrown to prevent OutOfMemoryError. * For large files, use streaming APIs instead. * </p> *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
README.md
- Fluent API for building HTTP requests (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE) - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts - Automatic in-memory or on-disk caching of request/response bodies - Synchronous and asynchronous (callback) execution - Minimal dependencies (only Apache Commons IO) ## Installation ### Maven
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0)