Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 446 for Frame (0.04 sec)

  1. utils/utils.go

    	for i := 0; i < len; i++ {
    		// second return value is "more", not "ok"
    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    			strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
    			return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    		}
    	}
    
    	return ""
    }
    
    func IsValidDBNameChar(c rune) bool {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      /** Byte 0 reserved flag 3. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV3 = 16
    
      /** Byte 0 mask for the frame opcode. */
      internal const val B0_MASK_OPCODE = 15
    
      /** Flag in the opcode which indicates a control frame. */
      internal const val OPCODE_FLAG_CONTROL = 8
    
      /**
       * Byte 1 flag for whether the payload data is masked.
       *
       * If this flag is set, the next four
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue19137.go

    	b [6]byte // not 4-byte aligned
    }
    
    func f(b [6]byte) T {
    	var x [1000]int // a large stack frame
    	_ = x
    	return T{b: b}
    }
    
    // Arg symbol's base address may be not at an aligned offset to
    // SP. Folding arg's address into load/store may cause odd offset.
    func move(a, b [20]byte) [20]byte {
    	var x [1000]int // a large stack frame
    	_ = x
    	return b // b is not 8-byte aligned to SP
    }
    func zero() ([20]byte, [20]byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 22:28:17 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/emitter.go

    	if !ok {
    		e.frameSeq++
    		node.id = e.frameSeq
    		node.children = make(map[uint64]frameNode)
    		parent.children[frame.PC] = node
    		e.c.ConsumeViewerFrame(strconv.Itoa(node.id), format.Frame{Name: fmt.Sprintf("%v:%v", frame.Fn, frame.Line), Parent: parent.id})
    	}
    	return e.buildBranch(node, stk)
    }
    
    type heapStats struct {
    	heapAlloc uint64
    	nextGC    uint64
    }
    
    func viewerTime(t time.Duration) float64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. src/runtime/callers_test.go

    }
    
    func testCallers(t *testing.T, pcs []uintptr, pan bool) {
    	m := make(map[string]int, len(pcs))
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		if frame.Function != "" {
    			m[frame.Function] = frame.Line
    		}
    		if !more {
    			break
    		}
    	}
    
    	var seen []string
    	for k := range m {
    		seen = append(seen, k)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. src/runtime/start_line_test.go

    	}
    
    	frames := runtime.CallersFrames(pcs[:])
    	frame, _ := frames.Next()
    
    	inlined := frame.Func == nil // Func always set to nil for inlined frames
    	if wantInlined != inlined {
    		panic(fmt.Sprintf("caller %s inlined got %v want %v", frame.Function, inlined, wantInlined))
    	}
    
    	return runtime.FrameStartLine(&frame)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_linux_ppc64x.S

     * callee-save, so they must be saved explicitly.
     */
    .globl crosscall_ppc64
    crosscall_ppc64:
    	// Start with standard C stack frame layout and linkage
    	mflr	%r0
    	std	%r0, 16(%r1)	// Save LR in caller's frame
    	mfcr	%r0
    	std	%r0, 8(%r1)	// Save CR in caller's frame
    	stdu	%r1, -FRAME_SIZE(%r1)
    	std	%r2, 24(%r1)
    
    	FOR_EACH_GPR std
    	FOR_EACH_FPR stfd
    	FOR_EACH_VR stvx
    
    	// Set up Go ABI constant registers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:03:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue8048.go

    	// corresponding to this panicked frame and ignore
    	// the frame entirely.
    	var x *int
    	var b bool
    	if b {
    		y := make([]int, 1)
    		runtime.GC()
    		x = &y[0]
    	}
    	println(*x)
    }
    
    func test2() {
    	// Same as test1, but the fault happens in the function with the defer.
    	// The runtime should see the defer and garbage collect the frame
    	// as if the PC were immediately after the defer statement.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    	nextPC uintptr
    
    	// frames is a slice of Frames that have yet to be returned.
    	frames     []Frame
    	frameStore [2]Frame
    }
    
    // Frame is the information returned by [Frames] for each call frame.
    type Frame struct {
    	// PC is the program counter for the location in this frame.
    	// For a frame that calls another frame, this will be the
    	// program counter of a call instruction. Because of inlining,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. src/runtime/cgo/signal_ios_arm64.s

    	// Build a 32-byte stack frame for us for this call.
    	// Saved LR (none available) is at the bottom,
    	// then the PC argument for setsigsegv,
    	// then a copy of the LR for us to restore.
    	MOVD.W $0, -32(RSP)
    	MOVD R1, 8(RSP)
    	MOVD R2, 16(RSP)
    	BL runtime·setsigsegv(SB)
    	MOVD 8(RSP), R1
    	MOVD 16(RSP), R2
    
    	// Build a 16-byte stack frame for the simulated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 06 22:54:58 UTC 2020
    - 1.8K bytes
    - Viewed (0)
Back to top