Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 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. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

        // complexity = # ReduceDataset ops x # of functions in module.
        func::FuncOp reduce_func =
            function->getParentOfType<ModuleOp>().lookupSymbol<FuncOp>(
                reduce_dataset.getF());
    
        // The reduce function arguments consist of three part in this order:
        // 1. Reduction state inputs.
        // 2. Dataset inputs.
        // 3. Captures inputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

        }
        for (auto call_op : main_func.getOps<TF::StatefulPartitionedCallOp>()) {
          func_ops.push_back(
              dyn_cast_or_null<func::FuncOp>(symbol_table.lookup(call_op.getF())));
        }
    
        DuplicateSmallConstantOps(module_op, main_func);
        ReplaceStablehloOpsInMainFunctionWithXlaCallModuleOps(module_op, main_func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

          mlir::SymbolTable::lookupNearestSymbolFrom(caller, sym));
      OpBuilder builder(func.getBody());
    
      StringAttr new_group = builder.getStringAttr(
          absl::StrCat(old_group.getValue().str(), caller.getF().str()));
    
      builder.insert(metadata_op.clone());
      for (Operation& op : func.getOps()) {
        if (!IsTPUOp(&op)) continue;
        op.setAttr(TF::kReplicationInfoAttr, new_group);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top