Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 468 for heapUp (0.16 sec)

  1. test/escape_selfassign.go

    	p.pi = &p.i
    	sink = *p
    }
    
    // BAD: "leaking param: p" is too conservative
    func g(p *S) { // ERROR "leaking param: p"
    	p.pi = &p.i
    }
    
    func h() {
    	var s S // ERROR "moved to heap: s"
    	g(&s)
    	sink = s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 16:36:56 UTC 2019
    - 538 bytes
    - Viewed (0)
  2. src/runtime/unsafe.go

    		panicunsafestringlen()
    	}
    	unsafestring(ptr, len)
    }
    
    func unsafestringcheckptr(ptr unsafe.Pointer, len64 int64) {
    	unsafestring64(ptr, len64)
    
    	// Check that underlying array doesn't straddle multiple heap objects.
    	// unsafestring64 has already checked for overflow.
    	if checkptrStraddles(ptr, uintptr(len64)) {
    		throw("checkptr: unsafe.String result straddles multiple allocations")
    	}
    }
    
    func panicunsafestringlen() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/runtime/lfstack.go

    //
    // This stack is intrusive. Nodes must embed lfnode as the first field.
    //
    // The stack does not keep GC-visible pointers to nodes, so the caller
    // must ensure the nodes are allocated outside the Go heap.
    type lfstack uint64
    
    func (head *lfstack) push(node *lfnode) {
    	node.pushcnt++
    	new := lfstackPack(node, node.pushcnt)
    	if node1 := lfstackUnpack(new); node1 != node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/runtime/HACKING.md

    In general, types that are allocated using any of these should be
    marked as not in heap by embedding `runtime/internal/sys.NotInHeap`.
    
    Objects that are allocated in unmanaged memory **must not** contain
    heap pointers unless the following rules are also obeyed:
    
    1. Any pointers from unmanaged memory to the heap must be garbage
       collection roots. More specifically, any pointer must either be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/initorder.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types2
    
    import (
    	"container/heap"
    	"fmt"
    	. "internal/types/errors"
    	"sort"
    )
    
    // initOrder computes the Info.InitOrder for package variables.
    func (check *Checker) initOrder() {
    	// An InitOrder may already have been computed if a package is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/go/types/initorder.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"container/heap"
    	"fmt"
    	. "internal/types/errors"
    	"sort"
    )
    
    // initOrder computes the Info.InitOrder for package variables.
    func (check *Checker) initOrder() {
    	// An InitOrder may already have been computed if a package is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/lib/queries.libsonnet

                )
              |||
            ),
            self.query(
              'Heap (In Use) ({{pod}})',
              |||
                sum by (pod) (
                  go_memstats_heap_inuse_bytes{%(appLabels)s}
                )
              |||
            ),
            self.query(
              'Heap (Allocated) ({{pod}})',
              |||
                sum by (pod) (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/runtime/heap_test.go

    func heapObjectsCanMove() bool
    
    func TestHeapObjectsCanMove(t *testing.T) {
    	if heapObjectsCanMove() {
    		// If this happens (or this test stops building),
    		// it will break go4.org/unsafe/assume-no-moving-gc.
    		t.Fatalf("heap objects can move!")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 18:35:49 UTC 2023
    - 529 bytes
    - Viewed (0)
  10. test/fixedbugs/issue13587.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test write barrier for implicit assignments to result parameters
    // that have escaped to the heap.
    
    package issue13587
    
    import "errors"
    
    func escape(p *error)
    
    func F() (err error) {
    	escape(&err)
    	return errors.New("error") // ERROR "write barrier"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 442 bytes
    - Viewed (0)
Back to top