Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 236 for heapUp (0.22 sec)

  1. src/runtime/testdata/testprogcgo/cgonoescape.go

    // #cgo noescape annotations for a C function means its arguments won't escape to heap.
    
    // We assume that there won't be 100 new allocated heap objects in other places,
    // i.e. runtime.ReadMemStats or other runtime background works.
    // So, the tests are:
    // 1. at least 100 new allocated heap objects after invoking withoutNoEscape 100 times.
    // 2. less than 100 new allocated heap objects after invoking withoutNoEscape 100 times.
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 16:43:23 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MaximumHeapHelper.java

    import org.gradle.internal.jvm.Jvm;
    
    import java.util.Arrays;
    import java.util.Locale;
    
    /**
     * Helper to compute maximum heap sizes.
     */
    public class MaximumHeapHelper {
    
        /**
         * Get the default maximum heap.
         *
         * Different JVMs on different systems may use a different default for maximum heap when unset.
         * This method implements a best effort approximation, omitting rules for low memory systems (<192MB total RAM).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. test/escape_mutations.go

    }
    
    func F4(b *B) { // ERROR "leaking param content: b"
    	fmt.Println(*b) // ERROR "\.\.\. argument does not escape" "\*b escapes to heap"
    }
    
    func F4a(b *B) { // ERROR "leaking param content: b" "mutates param: b derefs=0"
    	b.x = 2
    	fmt.Println(*b) // ERROR "\.\.\. argument does not escape" "\*b escapes to heap"
    }
    
    func F5(b *B) { // ERROR "leaking param: b"
    	sink = b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 18 11:58:37 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/main/assemblies/files/fess.in.bat

    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djavax.net.ssl.trustStorePassword=changeit
    
    REM Causes the JVM to dump its heap on OutOfMemory.
    REM set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:+HeapDumpOnOutOfMemoryError
    REM The path to the heap dump location, note directory must exists and have enough
    REM space for a full heap dump.
    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:HeapDumpPath=%FESS_HOME%/logs/heapdump.hprof
    
    REM Disables explicit GC
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/internal/abi/escape.go

    import "unsafe"
    
    // NoEscape hides the pointer p from escape analysis, preventing it
    // from escaping to the heap. It compiles down to nothing.
    //
    // WARNING: This is very subtle to use correctly. The caller must
    // ensure that it's truly safe for p to not escape to the heap by
    // maintaining runtime pointer invariants (for example, that globals
    // and the heap may not generally point into a stack).
    //
    //go:nosplit
    //go:nocheckptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 884 bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/process/JavaForkOptions.java

         * @param heapSize The minimum heap size. Use null for the default minimum heap size.
         */
        void setMinHeapSize(@Nullable String heapSize);
    
        /**
         * Returns the maximum heap size for the process, if any.
         *
         * @return The maximum heap size. Returns null if the default maximum heap size should be used.
         */
        @Nullable @Optional @Input
        String getMaxHeapSize();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. src/runtime/gcinfo_test.go

    	for i := 0; i < 10; i++ {
    		verifyGCInfo(t, "heap Ptr", runtime.Escape(new(Ptr)), trimDead(infoPtr))
    		verifyGCInfo(t, "heap PtrSlice", runtime.Escape(&make([]*byte, 10)[0]), trimDead(infoPtr10))
    		verifyGCInfo(t, "heap ScalarPtr", runtime.Escape(new(ScalarPtr)), trimDead(infoScalarPtr))
    		verifyGCInfo(t, "heap ScalarPtrSlice", runtime.Escape(&make([]ScalarPtr, 4)[0]), trimDead(infoScalarPtr4))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. test/fixedbugs/issue37837.dir/a.go

    	switch i := i.(type) {
    	case nil: // ERROR "moved to heap: i"
    		return &i
    	case int: // ERROR "moved to heap: i"
    		return &i
    	case float64: // ERROR "moved to heap: i"
    		return &i
    	case string, []byte: // ERROR "moved to heap: i"
    		return &i
    	default: // ERROR "moved to heap: i"
    		return &i
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 06 20:49:11 UTC 2020
    - 736 bytes
    - Viewed (0)
  9. pkg/scheduler/internal/heap/heap_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // This file was copied from client-go/tools/cache/heap.go and modified
    // for our non thread-safe heap
    
    package heap
    
    import (
    	"testing"
    )
    
    func testHeapObjectKeyFunc(obj interface{}) (string, error) {
    	return obj.(testHeapObject).name, nil
    }
    
    type testHeapObject struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. test/escape_sync_atomic.go

    func StorePointer() {
    	var x int // ERROR "moved to heap: x"
    	atomic.StorePointer(&ptr, unsafe.Pointer(&x))
    }
    
    func SwapPointer() {
    	var x int // ERROR "moved to heap: x"
    	atomic.SwapPointer(&ptr, unsafe.Pointer(&x))
    }
    
    func CompareAndSwapPointer() {
    	// BAD: x doesn't need to be heap allocated
    	var x int // ERROR "moved to heap: x"
    	var y int // ERROR "moved to heap: y"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 19:09:15 UTC 2019
    - 943 bytes
    - Viewed (0)
Back to top