Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 468 for heapUp (0.12 sec)

  1. test/escape5.go

    	p := leaktoret(&x)
    	_ = p
    }
    
    func f3() {
    	var x int // ERROR "moved to heap: x"
    	p := leaktoret(&x)
    	gp = p
    }
    
    func f4() {
    	var x int // ERROR "moved to heap: x"
    	p, q := leaktoret2(&x)
    	gp = p
    	gp = q
    }
    
    func f5() {
    	var x int
    	leaktoret22(leaktoret2(&x))
    }
    
    func f6() {
    	var x int // ERROR "moved to heap: x"
    	px1, px2 := leaktoret22(leaktoret2(&x))
    	gp = px1
    	_ = px2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. test/escape_runtime_atomic.go

    }
    
    var ptr unsafe.Pointer
    
    func Storep() {
    	var x int // ERROR "moved to heap: x"
    	atomic.StorepNoWB(unsafe.Pointer(&ptr), unsafe.Pointer(&x))
    }
    
    func Casp1() {
    	// BAD: should always be "does not escape"
    	x := new(int) // ERROR "escapes to heap|does not escape"
    	var y int     // ERROR "moved to heap: y"
    	atomic.Casp1(&ptr, unsafe.Pointer(x), unsafe.Pointer(&y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 874 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/asan_useAfterReturn.go

    // license that can be found in the LICENSE file.
    
    package main
    
    // The -fsanitize=address option of C compier can detect stack-use-after-return bugs.
    // In the following program, the local variable 'local' was moved to heap by the Go
    // compiler because foo() is returning the reference to 'local', and return stack of
    // foo() will be invalid. Thus for main() to use the reference to 'local', the 'local'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 773 bytes
    - Viewed (0)
  4. src/runtime/metrics.go

    	// over the lifetime of the program.
    	totalAllocated uint64
    
    	// totalFreed is the total bytes of heap objects freed
    	// over the lifetime of the program.
    	totalFreed uint64
    
    	// totalAllocs is the number of heap objects allocated over
    	// the lifetime of the program.
    	totalAllocs uint64
    
    	// totalFrees is the number of heap objects freed over
    	// the lifetime of the program.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/AbstractCodeQualityTask.java

        /**
         * The minimum heap size for the worker process.  When unspecified, no minimum heap size is set.
         *
         * Supports units like the command-line option {@code -Xms} such as {@code "1g"}.
         *
         * @return The minimum heap size.
         */
        @Optional
        @Input
        public abstract Property<String> getMinHeapSize();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 18:07:00 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

    The project memory settings are likely not configured or are configured to an insufficient value.
    The daemon will restart for the next build, which may increase subsequent build times.
    These settings can be adjusted by setting 'org.gradle.jvmargs' in 'gradle.properties'.
    The currently configured max heap space is '512 MiB' and the configured max metaspace is 'unknown'.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. test/defererrcheck.go

    }
    
    func f2() {
    	for {
    		defer func() { // ERROR "heap-allocated defer"
    			fmt.Println("defer1")
    		}()
    		if glob > 2 {
    			break
    		}
    	}
    	defer func() { // ERROR "stack-allocated defer"
    		fmt.Println("defer2")
    	}()
    }
    
    func f3() {
    	defer func() { // ERROR "stack-allocated defer"
    		fmt.Println("defer2")
    	}()
    	for {
    		defer func() { // ERROR "heap-allocated defer"
    			fmt.Println("defer1")
    		}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 26 16:54:17 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  8. pkg/ctrlz/topics/assets/templates/mem.html

            <td>Cumulative count of heap objects allocated.</td>
        </tr>
    
        <tr>
            <td>Frees</td>
            <td id="Frees">{{.Frees}} objects</td>
            <td>Cumulative count of heap objects freed.</td>
        </tr>
    
        <tr>
            <td>Live</td>
            <td id="Live">0 objects</td>
            <td>Count of live heap objects.</td>
        </tr>
    
        <tr>
            <td>HeapAlloc</td>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue35073b.go

    package main
    
    import (
    	"reflect"
    	"unsafe"
    )
    
    func main() {
    	n := 10                      // ERROR "moved to heap: n"
    	m := make(map[string]string) // ERROR "moved to heap: m" "make\(map\[string\]string\) escapes to heap"
    
    	_ = unsafe.Pointer(reflect.ValueOf(&n).Elem().UnsafeAddr()) // ERROR "inlining call"
    	_ = unsafe.Pointer(reflect.ValueOf(&m).Elem().Pointer())    // ERROR "inlining call"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:12:49 UTC 2023
    - 706 bytes
    - Viewed (0)
  10. src/runtime/pprof/protomem.go

    	}
    	b.build()
    	return nil
    }
    
    // scaleHeapSample adjusts the data from a heap Sample to
    // account for its probability of appearing in the collected
    // data. heap profiles are a sampling of the memory allocations
    // requests in a program. We estimate the unsampled value by dividing
    // each collected sample by its probability of appearing in the
    // profile. heap profiles rely on a poisson process to determine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top