Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 551 for memcpy (0.04 seconds)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() {
            StringSource source = new StringSource("Hello World!");
            assertEquals("(memory)", source.getLocation());
    
            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("LOCATION", source.getLocation());
        }
    
        @Test
        void testGetContent() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

    import com.google.common.collect.CollectionBenchmarkSampleData.Element;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmarks for memory consumption of map implementations. */
    @NullUnmarked
    public class MapsMemoryBenchmark {
      static final Map<String, MapsImplEnum> mapEnums =
          uniqueIndex(
              Iterables.<MapsImplEnum>concat(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * proportional to the highest valued character that has a replacement. For example a replacement
     * map containing the single character '{@literal \}u1000' will require approximately 16K of memory.
     * As such sharing this data structure between escaper instances is the primary goal of this class.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public final class ArrayBasedEscaperMap {
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. tensorflow/c/eager/immediate_execution_operation.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_OPERATION_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_OPERATION_H_
    
    #include <memory>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_operation.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  5. tensorflow/c/c_api_internal.h

      // ExtendSessionGraphHelper manually.
      std::atomic<bool> extend_before_run;
    };
    
    struct TF_ImportGraphDefOptions {
      tensorflow::ImportGraphDefOptions opts;
    
      // Backing memory for TensorId fields in opts.
      // TODO(skyewm): it'd be better if ImportGraphDefOptions owned this.
      std::vector<std::string> tensor_id_data;
    };
    
    struct TF_ImportGraphDefResults {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. CLAUDE.md

    ### Tech Stack
    
    - **HTTP**: Apache HttpComponents 4.5+ and 5.x (switchable)
    - **Extraction**: Apache Tika, POI, PDFBox
    - **Testing**: JUnit 4, UTFlute, Mockito, Testcontainers
    - **Storage**: In-memory (default), OpenSearch (optional)
    - **Cloud**: AWS SDK v2 (S3), Google Cloud Storage
    
    ### Protocols
    
    HTTP/HTTPS, File, FTP/FTPS, SMB/CIFS (SMB1/SMB2+), Storage (MinIO via `storage://`), S3 (`s3://`), GCS (`gcs://`)
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource.java

     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.building.Source;
    
    /**
     * Provides access to the contents of a POM independently of the backing store (e.g. file system, database, memory).
     * <p>
     * This interface does not support loading of parent POM(s) from the same backing store, integrators are strongly
     * encouraged to implement {@link ModelSource2} instead of implementing this interface directly.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            searchEngineClient = new SearchEngineClient() {
                @Override
                public long deleteByQuery(String index, QueryBuilder query) {
                    throw new OutOfMemoryError("Out of memory");
                }
            };
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
    
            // OutOfMemoryError is an Error, not Exception, so it will not be caught
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  9. 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
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/package-info.java

    /**
     * {@linkplain CacheBuilder Discouraged} (in favor of <a
     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>) caching utilities.
     *
     * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be
     * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link
     * CacheLoader}. Statistics about cache performance are exposed using {@link CacheStats}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 03 19:02:39 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top