代码搜索:evaluate
找到约 3,619 项符合「evaluate」的源代码
代码结果 3,619
www.eeworm.com/read/212829/15148316
cpp evaluatem.cpp
//计算后缀表达式的值Evaluatem.cpp
#include
#include
#include
#include
typedef float ElemType;
#include "Evaluate.cpp"
void main()
{char p[40];
float y;
p
www.eeworm.com/read/171479/5394949
groovy evalinscript.groovy
import java.io.File
a = 1
evaluate("a = 3")
assert a == 3
println("Done and now set a to ${a}")
println("About to call another script")
evaluate(new File("src/test/groovy/script/HelloWorld.groovy
www.eeworm.com/read/171479/5394958
groovy shelltest.groovy
class ShellTest extends GroovyTestCase {
void testReadAndWriteVariable() {
def shell = new GroovyShell()
shell.foo = 1
def value = shell.evaluate("""
pri
www.eeworm.com/read/171479/5394986
groovy compilererrortest.groovy
class CompilerErrorTest extends GroovyTestCase {
void testBadMethodName() {
shouldFail {
println "About to call shell script"
println "Really am about to call she
www.eeworm.com/read/171479/5395057
groovy unknownvariablebug.groovy
/**
* @version $Revision: 1.4 $
*/
class UnknownVariableBug extends GroovyTestCase {
void testBug() {
shouldFail {
def shell = new GroovyShell()
shell.evaluate "
www.eeworm.com/read/171479/5395072
groovy groovy674_bug.groovy
package groovy.bugs
/**
* Test to ensure all the right exceptions are thrown for all the right/wrong combinations of
* parentheses and no parameters for print and println.
*
* @author Russel W
www.eeworm.com/read/171479/5395087
groovy groovy666_bug.groovy
package groovy.bugs
/**
* @author Russel Winder
* @version $Revision: 1.4 $
*/
class Groovy666_Bug extends GroovyTestCase {
void testRunScript() {
(new GroovyShell ()).evaluate("x = 1")
www.eeworm.com/read/171479/5395095
groovy byteindexbug.groovy
/**
* @author Robert Fuller
* @version $Revision: 1.6 $
*/
class ByteIndexBug extends GroovyTestCase {
void testBug() {
def sb = new StringBuffer("\"\"\"`n")
for (j in 0.
www.eeworm.com/read/171479/5395263
java testgeneratorhelper.java
package org.codehaus.groovy.tck;
/** Helper methods used by generated TCK test cases */
public interface TestGeneratorHelper {
Object evaluate(String theSrcText, String testName) throws Exceptio
www.eeworm.com/read/166408/5474771
cpp yacasmain-win32.cpp
/*
* Example terminal client for the yacas Computer Algebra library.
* It is heavily tailored to Unix (Linux), but you should be able
* to easily make a version that links with libyacas.a and provi