Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 527 for frame_0 (0.22 sec)

  1. src/runtime/stack.go

    func adjustframe(frame *stkframe, adjinfo *adjustinfo) {
    	if frame.continpc == 0 {
    		// Frame is dead.
    		return
    	}
    	f := frame.fn
    	if stackDebug >= 2 {
    		print("    adjusting ", funcname(f), " frame=[", hex(frame.sp), ",", hex(frame.fp), "] pc=", hex(frame.pc), " continpc=", hex(frame.continpc), "\n")
    	}
    
    	// Adjust saved frame pointer if there is one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    			}
    
    			// TODO(mdempsky): If we populate u.frame.fn.deferreturn for
    			// every frame containing a defer (not just open-coded defers),
    			// then we can simply loop until we find the next frame where
    			// it's non-zero.
    
    			if u.frame.sp == limit {
    				break // found a frame with linked defers
    			}
    
    			if p.initOpenCodedDefers(u.frame.fn, unsafe.Pointer(u.frame.varp)) {
    				break // found a frame with open-coded defers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue20529.go

    // license that can be found in the LICENSE file.
    
    // Issue 20529: Large stack frames caused compiler panics.
    // Only tested on amd64 because the test only makes sense
    // on a 64 bit system, and it is platform-agnostic,
    // so testing one suffices.
    
    package p
    
    import "runtime"
    
    func f() { // GC_ERROR "stack frame too large"
    	x := [][]int{1e9: []int{}}
    	runtime.KeepAlive(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 519 bytes
    - Viewed (0)
  4. src/reflect/asm_amd64.s

    // for more details.
    // No arg size here; runtime pulls arg map out of the func value.
    // This frame contains two locals. See the comment above LOCAL_RETVALID.
    TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$312
    	NO_LOCAL_POINTERS
    	// NO_LOCAL_POINTERS is a lie. The stack map for the two locals in this
    	// frame is specially handled in the runtime. See the comment above LOCAL_RETVALID.
    	LEAQ	LOCAL_REGARGS(SP), R12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 01 22:33:29 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  5. src/reflect/asm_ppc64x.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ppc64 || ppc64le
    
    #include "textflag.h"
    #include "funcdata.h"
    #include "asm_ppc64x.h"
    
    // The frames of each of the two functions below contain two locals, at offsets
    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  6. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/StackTraceRelevance.java

    /**
     * Relevance of a given stack frame or part of the stack trace to the user.
     * <p>
     * The relevance is a heuristic that aims at improving the user experience when the failures are displayed.
     */
    public enum StackTraceRelevance {
        /**
         * Anything that cannot be classified as internal is considered user code.
         */
        USER_CODE,
    
        /**
         * Frames originating from JDK, Groovy or Gradle runtime calls.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_cluster_util.cc

      // Map from frame name strings to node IDs in the cycle detection graph.
      std::unordered_map<string, int> frame_nodes;
    
      // Get the cycle graph node ID for frame 'frame_name', or add one if none
      // exists.
      auto GetOrAddFrameNodeId = [&frame_nodes, cycles](const string& frame_name) {
        int& frame_id = frame_nodes.emplace(frame_name, -1).first->second;
        if (frame_id < 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. src/runtime/symtab_test.go

    			t.Errorf("PC %v code got %#x want 0xcc", pc, code)
    		}
    	}
    
    	// Finally ensure that Frames.Next doesn't crash when processing this
    	// PC.
    	frames := runtime.CallersFrames([]uintptr{pc})
    	frame, _ := frames.Next()
    	if frame.Func != f {
    		t.Errorf("frames.Next() got %+v want %+v", frame.Func, f)
    	}
    }
    
    func BenchmarkFunc(b *testing.B) {
    	pc, _, _, ok := runtime.Caller(0)
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  9. src/internal/profile/prune.go

    				loc.Line = loc.Line[i+1:]
    			}
    		}
    	}
    
    	// Prune locs from each Sample
    	for _, sample := range p.Sample {
    		// Scan from the root to the leaves to find the prune location.
    		// Do not prune frames before the first user frame, to avoid
    		// pruning everything.
    		foundUser := false
    		for i := len(sample.Location) - 1; i >= 0; i-- {
    			id := sample.Location[i].ID
    			if !prune[id] && !pruneBeneath[id] {
    				foundUser = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  10. src/image/gif/reader_test.go

    // See golang.org/issue/22237
    func TestDecodeMemoryConsumption(t *testing.T) {
    	const frames = 3000
    	img := image.NewPaletted(image.Rectangle{Max: image.Point{1, 1}}, palette.WebSafe)
    	hugeGIF := &GIF{
    		Image:    make([]*image.Paletted, frames),
    		Delay:    make([]int, frames),
    		Disposal: make([]byte, frames),
    	}
    	for i := 0; i < frames; i++ {
    		hugeGIF.Image[i] = img
    		hugeGIF.Delay[i] = 60
    	}
    	buf := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top