Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 216 for Frame (0.13 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. src/strings/search.go

    	// badCharSkip[b] is len(pattern).
    	//
    	// Whenever a mismatch is found with byte b in the text, we can safely
    	// shift the matching frame at least badCharSkip[b] until the next time
    	// the matching char could be in alignment.
    	badCharSkip [256]int
    
    	// goodSuffixSkip[i] defines how far we can shift the matching frame given
    	// that the suffix pattern[i+1:] matches, but the byte pattern[i] does
    	// not. There are two cases to consider:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 18:49:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/reflect/asm_ppc64x.s

    // runtime, so that a stack map for it can be constructed, since it contains
    // pointers visible to the GC.
    
    #define LOCAL_RETVALID 32+FIXED_FRAME
    #define LOCAL_REGARGS 40+FIXED_FRAME
    
    // The frame size of the functions below is
    // 32 (args of callReflect) + 8 (bool + padding) + 296 (abi.RegArgs) = 336.
    
    // makeFuncStub is the code half of the function returned by MakeFunc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. src/runtime/cgo/asm_ppc64x.s

    // fn is the PC of a func(a unsafe.Pointer) function.
    // The value of R2 is saved on the new stack frame, and not
    // the caller's frame due to issue #43228.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	// Start with standard C stack frame layout and linkage, allocate
    	// 32 bytes of argument space, save callee-save regs, and set R0 to $0.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top