- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.resetStackFrameMap()
方法的一些代码示例,展示了XPathContextMajor.resetStackFrameMap()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XPathContextMajor.resetStackFrameMap()
方法的具体详情如下:
包路径:net.sf.saxon.expr.XPathContextMajor
类名称:XPathContextMajor
方法名:resetStackFrameMap
[英]Reset the stack frame variable map, while reusing the StackFrame object itself. This is done on a tail call to a different function
[中]重置stack frame变量映射,同时重用StackFrame对象本身。这是在对不同函数的尾部调用上完成的
代码示例来源:origin: net.sourceforge.saxon/saxon
/**
* Make a tail call on a different function. This reuses the context object and the stack frame array
* where possible, but it does consume some Java stack space. It's still worth it, because we don't use
* as much stack as we would if we didn't return down to the TailCallLoop level.
* @param fn the function to be called
* @param cm the dynamic context
* @return the result of calling the other function
* @throws XPathException if the called function fails
*/
private ValueRepresentation tailCallDifferentFunction(UserFunction fn, XPathContextMajor cm) throws XPathException {
cm.resetStackFrameMap(fn.getStackFrameMap(), fn.getNumberOfArguments());
try {
return ExpressionTool.evaluate(fn.getBody(), fn.getEvaluationMode(), cm, 1);
} catch (XPathException err) {
err.maybeSetLocation(this);
err.maybeSetContext(cm);
throw err;
}
}
代码示例来源:origin: org.opengis.cite.saxon/saxon9
/**
* Make a tail call on a different function. This reuses the context object and the stack frame array
* where possible, but it does consume some Java stack space. It's still worth it, because we don't use
* as much stack as we would if we didn't return down to the TailCallLoop level.
* @param fn the function to be called
* @param cm the dynamic context
* @return the result of calling the other function
* @throws XPathException if the called function fails
*/
private ValueRepresentation tailCallDifferentFunction(UserFunction fn, XPathContextMajor cm) throws XPathException {
cm.resetStackFrameMap(fn.getStackFrameMap(), fn.getNumberOfArguments());
try {
return ExpressionTool.evaluate(fn.getBody(), fn.getEvaluationMode(), cm, 1);
} catch (XPathException err) {
err.maybeSetLocation(this);
err.maybeSetContext(cm);
throw err;
}
}
代码示例来源:origin: net.sf.saxon/Saxon-HE
/**
* Make a tail call on a different function. This reuses the context object and the stack frame array
* where possible, but it does consume some Java stack space. It's still worth it, because we don't use
* as much stack as we would if we didn't return down to the TailCallLoop level.
*
* @param userFunction the function to be called
* @param cm the dynamic context
* @return the result of calling the other function
* @throws XPathException if the called function fails
*/
/*@Nullable*/
private Sequence<?> tailCallDifferentFunction(UserFunction userFunction, XPathContextMajor cm) throws XPathException {
cm.resetStackFrameMap(userFunction.getStackFrameMap(), userFunction.getArity());
try {
return userFunction.getEvaluator().evaluate(userFunction.getBody(), cm);
} catch (XPathException err) {
err.maybeSetLocation(getLocation());
err.maybeSetContext(cm);
throw err;
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon
/**
* Make a tail call on a different function. This reuses the context object and the stack frame array
* where possible, but it does consume some Java stack space. It's still worth it, because we don't use
* as much stack as we would if we didn't return down to the TailCallLoop level.
*
* @param userFunction the function to be called
* @param cm the dynamic context
* @return the result of calling the other function
* @throws XPathException if the called function fails
*/
/*@Nullable*/
private Sequence<?> tailCallDifferentFunction(UserFunction userFunction, XPathContextMajor cm) throws XPathException {
cm.resetStackFrameMap(userFunction.getStackFrameMap(), userFunction.getArity());
try {
return userFunction.getEvaluator().evaluate(userFunction.getBody(), cm);
} catch (XPathException err) {
err.maybeSetLocation(getLocation());
err.maybeSetContext(cm);
throw err;
}
}
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.getCurrentMode()方法的一些代码示例,展示了XPathContextMajor.getCurr
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setURIResolver()方法的一些代码示例,展示了XPathContextMajor.setURIR
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setCurrentOutputUri()方法的一些代码示例,展示了XPathContextMajor.se
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setOriginatingConstructType()方法的一些代码示例,展示了XPathContext
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.trackFocus()方法的一些代码示例,展示了XPathContextMajor.trackFocus(
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.waitForChildThreads()方法的一些代码示例,展示了XPathContextMajor.wa
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setCurrentException()方法的一些代码示例,展示了XPathContextMajor.se
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setCurrentMergeGroupIterator()方法的一些代码示例,展示了XPathContex
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setCurrentComponent()方法的一些代码示例,展示了XPathContextMajor.se
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.getOrigin()方法的一些代码示例,展示了XPathContextMajor.getOrigin()的
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.changeOutputDestination()方法的一些代码示例,展示了XPathContextMajo
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.resetAllVariableValues()方法的一些代码示例,展示了XPathContextMajor
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.getURIResolver()方法的一些代码示例,展示了XPathContextMajor.getURIR
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setErrorListener()方法的一些代码示例,展示了XPathContextMajor.setEr
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setLocalVariable()方法的一些代码示例,展示了XPathContextMajor.setLo
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.getStackFrame()方法的一些代码示例,展示了XPathContextMajor.getStack
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.openStackFrame()方法的一些代码示例,展示了XPathContextMajor.openSta
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setStackFrame()方法的一些代码示例,展示了XPathContextMajor.setStack
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.()方法的一些代码示例,展示了XPathContextMajor.()的具体用法。这些代码示例主要来源于Gi
本文整理了Java中net.sf.saxon.expr.XPathContextMajor.setCurrentMode()方法的一些代码示例,展示了XPathContextMajor.setCurr
我是一名优秀的程序员,十分优秀!