Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 566 for heap (0.03 seconds)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          Heap heap;
          if (crossOver == index) {
            heap = this;
          } else {
            index = crossOver;
            heap = otherHeap;
          }
          heap.bubbleUpAlternatingLevels(index, x);
        }
    
        /**
         * Bubbles a value from {@code index} up the levels of this heap, and returns the index the
         * element ended up at.
         */
        @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(3, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        assertTrue("Heap contains two 1's", mmHeap.contains(1));
        assertTrue("Heap contains two 1's", mmHeap.remove(1));
        assertTrue("Heap contains 1", mmHeap.contains(1));
        assertTrue("Heap contains 1", mmHeap.remove(1));
        assertFalse("Heap does not contain 1", mmHeap.contains(1));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  3. RELEASE.md

    *   Fixes a heap OOB read in `tf.ragged.cross`
        ([CVE-2021-41212](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41212))
    *   Fixes a heap OOB in shape inference for `QuantizeV2`
        ([CVE-2021-41211](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41211))
    *   Fixes a heap OOB read in all `tf.raw_ops.QuantizeAndDequantizeV*` ops
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Oct 28 22:27:41 GMT 2025
    - 740.4K bytes
    - Click Count (3)
  4. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. native-image-tests/build.gradle.kts

      testImplementation(libs.kotlin.junit5)
      testImplementation(libs.junit.jupiter.params)
    }
    
    graalvmNative {
      testSupport = true
    
      binaries {
        named("test") {
          buildArgs.add("--strict-image-heap")
    
          // speed up development testing
          buildArgs.add("-Ob")
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 22 20:31:49 GMT 2025
    - 904 bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

     * Reader implementations, this compares the performance of the different options.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class CharStreamsCopyBenchmark {
      enum CopyStrategy {
        OLD {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

                        if (os == Os.WINDOWS) {
                            listOf("jprofiler")
                        } else {
                            listOf("async-profiler", "async-profiler-heap")
                        }.map { FlameGraphGenerationBuildSpec(scenario, os, arch, it) }
                    }
                }
    
        inner class FlameGraphGenerationBuildSpec(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

            allowEmpty = false,
            description =
                "Command line option for the performance test task to enable profiling. " +
                    "For example `async-profiler`, `async-profiler-heap`, `async-profiler-wall`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only.",
        )
    }
    
    object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    @NullMarked
    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. tensorflow/c/c_api_experimental.h

    // The returned string is heap-allocated, and caller should call free() on it.
    TF_CAPI_EXPORT extern const char* TF_GraphDebugString(TF_Graph* graph,
                                                          size_t* len);
    
    // Returns the function content in a human-readable format, with length set in
    // `len`. The format is subject to change in the future.
    // The returned string is heap-allocated, and caller should call free() on it.
    //
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Click Count (0)
Back to Top