Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 212 for aframe (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/runtime-seh_windows_test.go

    	tests := []struct {
    		name     string
    		pc       uintptr
    		hasframe bool
    	}{
    		{"no frame func", abi.FuncPCABIInternal(sehf2), false},
    		{"no func", sehf1pc - 1, false},
    		{"func at entry", sehf1pc, true},
    		{"func in prologue", sehf1pc + 1, true},
    		{"anonymous func with frame", abi.FuncPCABIInternal(fnwithframe), true},
    		{"anonymous func without frame", abi.FuncPCABIInternal(fnwithoutframe), false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:52:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. src/runtime/textflag.h

    #define TLSBSS	256
    // Do not insert instructions to allocate a stack frame for this function.
    // Only valid on functions that declare a frame size of 0.
    #define NOFRAME 512
    // Function can call reflect.Type.Method or reflect.Type.MethodByName.
    #define REFLECTMETHOD 1024
    // Function is the outermost frame of the call stack. Call stack unwinders
    // should stop at this function.
    #define TOPFRAME 2048
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 17:28:41 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/pkiutil/testing/testing.go

    	lock.Lock()
    	defer lock.Unlock()
    
    	var pcs [50]uintptr
    	nCallers := runtime.Callers(2, pcs[:])
    	frames := runtime.CallersFrames(pcs[:nCallers])
    	thisTest := ""
    	for {
    		frame, more := frames.Next()
    		if strings.HasSuffix(frame.File, "_test.go") && testFunction.MatchString(frame.Function) {
    			thisTest = frame.Function
    			break
    		}
    		if !more {
    			break
    		}
    	}
    
    	if len(thisTest) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/reflect/makefunc.go

    // the function returned from MakeFunc. It expects a *callReflectFunc
    // as its context register, and its job is to invoke callReflect(ctxt, frame)
    // where ctxt is the context register and frame is a pointer to the first
    // word in the passed-in argument frame.
    func makeFuncStub()
    
    // The first 3 words of this type must be kept in sync with
    // makeFuncImpl and runtime.reflectMethodValue.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/runtime/debug/stack_test.go

    		}
    		n++
    	}
    	n++
    
    	frame("runtime/debug/stack.go", "runtime/debug.Stack")
    	frame("runtime/debug/stack_test.go", "runtime/debug_test.(*T).ptrmethod")
    	frame("runtime/debug/stack_test.go", "runtime/debug_test.T.method")
    	frame("runtime/debug/stack_test.go", "runtime/debug_test.TestStack")
    	frame("testing/testing.go", "")
    }
    
    func TestSetCrashOutput(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

          direction,
          streamId,
          length,
          formattedType,
          formattedFlags,
        )
      }
    
      /**
       * Returns a human-readable representation of a `WINDOW_UPDATE` frame. This frame includes the
       * window size increment instead of flags.
       */
      fun frameLogWindowUpdate(
        inbound: Boolean,
        streamId: Int,
        length: Int,
        windowSizeIncrement: Long,
      ): String {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top