Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 183 for heapUp (0.15 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/types/size.go

    		if t.IsStruct() { // param offsets depend on ABI
    			f.Offset = offset
    
    			// If type T contains a field F marked as not-in-heap,
    			// then T must also be a not-in-heap type. Otherwise,
    			// you could heap allocate T and then get a pointer F,
    			// which would be a heap pointer to a not-in-heap type.
    			if f.Type.NotInHeap() {
    				t.SetNotInHeap(true)
    			}
    		}
    
    		offset += f.Type.width
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/runtime/mgcwork.go

    	w.wbuf2 = wbuf2
    }
    
    // put enqueues a pointer for the garbage collector to trace.
    // obj must point to the beginning of a heap object or an oblet.
    //
    //go:nowritebarrierrec
    func (w *gcWork) put(obj uintptr) {
    	flushed := false
    	wbuf := w.wbuf1
    	// Record that this may acquire the wbufSpans or heap lock to
    	// allocate a workbuf.
    	lockWithRankMayAcquire(&work.wbufSpans.lock, lockRankWbufSpans)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/runtime/extern.go

    		#%           percentage of time spent in GC since program start
    		#+...+#      wall-clock/CPU times for the phases of the GC
    		#->#-># MB   heap size at GC start, at GC end, and live heap, or /gc/scan/heap:bytes
    		# MB goal    goal heap size, or /gc/heap/goal:bytes
    		# MB stacks  estimated scannable stack size, or /gc/scan/stack:bytes
    		# MB globals scannable global size, or /gc/scan/globals:bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. src/runtime/mfinal.go

    type finalizer struct {
    	fn   *funcval       // function to call (may be a heap pointer)
    	arg  unsafe.Pointer // ptr to object (may be a heap pointer)
    	nret uintptr        // bytes of return values from fn
    	fint *_type         // type of first argument of fn
    	ot   *ptrtype       // type of ptr to object (may be a heap pointer)
    }
    
    var finalizer1 = [...]byte{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/runtime/arena_test.go

    		t.Fatal("finalizer queue was never emptied")
    	}
    	if !finalized.Load() {
    		t.Fatal("heap allocation kept alive through non-pointer reference")
    	}
    
    	// Clean up the arena.
    	a.Free()
    	GC()
    	GC()
    }
    
    func TestUserArenaCloneString(t *testing.T) {
    	a := NewUserArena()
    
    	// A static string (not on heap or arena)
    	var s = "abcdefghij"
    
    	// Create a byte slice in the arena, initialize it with s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy

            }
            other.with {
                jvmArgs = ["-server", "-esa"]
            }
    
            then:
            !options.isCompatibleWith(other)
        }
    
        def "unspecified heap options are only compatible with unspecified heap options"() {
            def other1 = new DefaultJavaForkOptions(resolver, fileCollectionFactory, new DefaultJavaDebugOptions())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/writebarrier.go

    	base *Value
    	mask uint64
    }
    
    // mightBeHeapPointer reports whether v might point to the heap.
    // v must have pointer type.
    func mightBeHeapPointer(v *Value) bool {
    	if IsGlobalAddr(v) {
    		return false
    	}
    	return true
    }
    
    // mightContainHeapPointer reports whether the data currently at addresses
    // [ptr,ptr+size) might contain heap pointers. "currently" means at memory state mem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  10. src/runtime/mcache.go

    //
    // mcaches are allocated from non-GC'd memory, so any heap pointers
    // must be specially handled.
    type mcache struct {
    	_ sys.NotInHeap
    
    	// The following members are accessed on every malloc,
    	// so they are grouped here for better caching.
    	nextSample uintptr // trigger heap sample after allocating this many bytes
    	scanAlloc  uintptr // bytes of scannable heap allocated
    
    	// Allocator cache for tiny objects w/o pointers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top