Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. misc/wasm/wasm_exec.js

    							const args = loadSliceOfValues(sp + 32);
    							const result = Reflect.apply(m, v, args);
    							sp = this._inst.exports.getsp() >>> 0; // see comment above
    							storeValue(sp + 56, result);
    							this.mem.setUint8(sp + 64, 1);
    						} catch (err) {
    							sp = this._inst.exports.getsp() >>> 0; // see comment above
    							storeValue(sp + 56, err);
    							this.mem.setUint8(sp + 64, 0);
    						}
    					},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. pkg/kubelet/util/manager/watch_based_manager_test.go

    		}
    		return true, nil
    	}
    	if err := wait.PollImmediate(10*time.Millisecond, time.Second, getFn); err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	// Eventually we should observer secret deletion.
    	fakeWatch.Delete(secret)
    	getFn = func() (bool, error) {
    		_, err := store.Get("ns", "name")
    		if err != nil {
    			if apierrors.IsNotFound(err) {
    				return true, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns.go

    	if err != nil {
    		return nil, err
    	}
    	if filter != nil && !filter.Contains(uid) {
    		return nil, nil
    	}
    
    	netns, err := proc.Open(netnsName)
    	if err != nil {
    		return nil, err
    	}
    	fd, err := GetFd(netns)
    	if err != nil {
    		netns.Close()
    		return nil, err
    	}
    	netnsObserved[inode] = struct{}{}
    	log.Debugf("found pod to netns: %s %d", uid, inode)
    
    	return &PodNetnsEntry{
    		uid:     uid,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

                    @OutputFile File outputFile = new File(temporaryDir, "output.txt")
                    @Input String run = project.findProperty("run") ?: ""
                    @javax.inject.Inject abstract FileSystemOperations getFs()
                    @TaskAction
                    void generate() {
                        logger.warn("Run " + run)
                        fs.copy {
                            from("output.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

            loc, qparams_op.getScale().getType(), scale_op.getOutput());
        auto zp_cast = rewriter.create<CastOp>(loc, qparams_op.getZp().getType(),
                                               zp_op.getOutput());
    
        qparams_op.getScale().replaceAllUsesWith(scale_cast.getOut());
        qparams_op.getZp().replaceAllUsesWith(zp_cast.getOut());
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

                    @OutputFile
                    File output = project.file("build/output.txt")
    
                    @Inject
                    abstract FileSystemOperations getFs()
    
                    @TaskAction void doSomething() {
                        output.text = inputFile.text
                        fs.delete { delete(missing) }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top