Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getfp (0.04 sec)

  1. src/runtime/os_wasm.go

    type gsignalStack struct{}
    
    const preemptMSupported = false
    
    func preemptM(mp *m) {
    	// No threads, so nothing to do.
    }
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    // TODO: Make this a compiler intrinsic
    func getfp() uintptr { return 0 }
    
    func setProcessCPUProfiler(hz int32) {}
    func setThreadCPUProfiler(hz int32)  {}
    func sigdisable(uint32)              {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/runtime/tracestack.go

    		} else if gp != nil {
    			nstk += gcallers(gp, skip, pcBuf[1:])
    		}
    	} else {
    		// Fast path: Unwind using frame pointers.
    		pcBuf[0] = uintptr(skip)
    		if getg() == gp {
    			nstk += fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf[1:])
    		} else if gp != nil {
    			// Three cases:
    			//
    			// (1) We're called on the g0 stack through mcall(fn) or systemstack(fn). To
    			// behave like gcallers above, we start unwinding from sched.bp, which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    // getcallerfp returns the frame pointer of the caller of the caller
    // of this function.
    //
    //go:nosplit
    //go:noinline
    func getcallerfp() uintptr {
    	fp := getfp() // This frame's FP.
    	if fp != 0 {
    		fp = *(*uintptr)(unsafe.Pointer(fp)) // The caller's FP.
    		fp = *(*uintptr)(unsafe.Pointer(fp)) // The caller's caller's FP.
    	}
    	return fp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    // FPCallers works like Callers and uses frame pointer unwinding to populate
    // pcBuf with the return addresses of the physical frames on the stack.
    func FPCallers(pcBuf []uintptr) int {
    	return fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf)
    }
    
    const FramePointerEnabled = framepointer_enabled
    
    var (
    	IsPinned      = isPinned
    	GetPinCounter = pinnerGetPinCounter
    )
    
    func SetPinnerLeakPanic(f func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    				// frame, whereas the saved frame pointer will give us the
    				// caller's return address first (so, not including
    				// saveblockevent)
    				mp.profStack[0] -= 1
    			}
    			nstk += fpTracebackPCs(unsafe.Pointer(getfp()), mp.profStack[1:])
    		} else {
    			mp.profStack[1] = gp.m.curg.sched.pc
    			nstk += 1 + fpTracebackPCs(unsafe.Pointer(gp.m.curg.sched.bp), mp.profStack[2:])
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. src/runtime/asm_arm64.s

    	JMP	runtime·goPanicSlice3CU<ABIInternal>(SB)
    TEXT runtime·panicSliceConvert<ABIInternal>(SB),NOSPLIT,$0-16
    	MOVD	R2, R0
    	MOVD	R3, R1
    	JMP	runtime·goPanicSliceConvert<ABIInternal>(SB)
    
    TEXT ·getfp<ABIInternal>(SB),NOSPLIT|NOFRAME,$0
    	MOVD R29, R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  7. src/runtime/asm_amd64.s

    TEXT runtime·retpolineR13(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(13)
    TEXT runtime·retpolineR14(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(14)
    TEXT runtime·retpolineR15(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(15)
    
    TEXT ·getfp<ABIInternal>(SB),NOSPLIT|NOFRAME,$0
    	MOVQ BP, AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    // failure.
    template <typename OpT>
    LogicalResult GetOp(Region* region, OpT* result) {
      *result = {};
      for (auto op : region->getOps<OpT>()) {
        if (*result) return op.emitError("should be unique within a function");
        *result = op;
      }
      return success();
    }
    
    LogicalResult RunOnRegion(Region* region) {
      RecvTPUEmbeddingActivationsOp recv_op;
      if (failed(GetOp(region, &recv_op))) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. pkg/kube/krt/bench_test.go

    		}
    	}))
    	c.handler = func(e krt.Event[Workload]) {
    		events <- fmt.Sprintf(e.Latest().Name, e.Event)
    	}
    	go c.queue.Run(stop)
    }
    
    var nextIP = net.ParseIP("10.0.0.10")
    
    func GetIP() string {
    	i := nextIP.To4()
    	ret := i.String()
    	v := uint(i[0])<<24 + uint(i[1])<<16 + uint(i[2])<<8 + uint(i[3])
    	v++
    	v3 := byte(v & 0xFF)
    	v2 := byte((v >> 8) & 0xFF)
    	v1 := byte((v >> 16) & 0xFF)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskEncodingIntegrationSpec.groovy

            given:
            def nonAsciiFileName = "القيادة والسيطرة - الإدارة.lnk"
    
            buildFile """
                interface Services {
                    @Inject FileSystemOperations getFs()
                }
                task copyFiles {
                    def fs = objects.newInstance(Services).fs
                    doLast {
                        fs.copy {
                            from 'res'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top