Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for heap$ (0.19 sec)

  1. src/bytes/buffer.go

    	//	return append(b, make([]byte, n)...)
    	// This avoids unnecessary zero-ing of the first len(b) bytes of the
    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    	if c < 2*cap(b) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

        final Queue<PeekingIterator<T>> queue;
    
        public MergingIterator(
            Iterable<? extends Iterator<? extends T>> iterators, Comparator<? super T> itemComparator) {
          // A comparator that's used by the heap, allowing the heap
          // to be sorted based on the top of each iterator.
          Comparator<PeekingIterator<T>> heapComparator =
              (PeekingIterator<T> o1, PeekingIterator<T> o2) ->
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          // set the flow control window to 16MiB.  This avoids thrashing window updates every 64KiB, yet
          // small enough to avoid blowing up the heap.
          if (builder.client) {
            set(Settings.INITIAL_WINDOW_SIZE, OKHTTP_CLIENT_WINDOW_SIZE)
          }
        }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

    }
    
    TEST_F(CApiAttributesTest, StringTensor) {
      // Create the string-Tensor "attribute" value.
      const char test_string[] =
          "borkborkborkborkborkborkborkbork";  // >24bytes to force heap alloc
      TF_TString tstr[1];
      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg compress/zlib, var ErrHeader error
    pkg container/heap, func Init(Interface)
    pkg container/heap, func Pop(Interface) interface{}
    pkg container/heap, func Push(Interface, interface{})
    pkg container/heap, func Remove(Interface, int) interface{}
    pkg container/heap, type Interface interface { Len, Less, Pop, Push, Swap }
    pkg container/heap, type Interface interface, Len() int
    pkg container/heap, type Interface interface, Less(int, int) bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    was walking hand in hand with Dinah, and saying to her very
    earnestly, `Now, Dinah, tell me the truth:  did you ever eat a
    bat?' when suddenly, thump! thump! down she came upon a heap of
    sticks and dry leaves, and the fall was over.
    
      Alice was not a bit hurt, and she jumped up on to her feet in a
    moment:  she looked up, but it was all dark overhead; before her
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  8. api/go1.2.txt

    pkg bufio, method (*Writer) Reset(io.Writer)
    pkg compress/flate, method (*Writer) Reset(io.Writer)
    pkg compress/gzip, method (*Writer) Reset(io.Writer)
    pkg compress/zlib, method (*Writer) Reset(io.Writer)
    pkg container/heap, func Fix(Interface, int)
    pkg container/list, method (*List) MoveAfter(*Element, *Element)
    pkg container/list, method (*List) MoveBefore(*Element, *Element)
    pkg crypto, type PublicKey interface {}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top