/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/patterns/ |
H A D | ContextMatchStepPattern.java | 92 XObject score = NodeTest.SCORE_NONE; 121 score = execute(xctxt); 123 if (score != NodeTest.SCORE_NONE) 125 //score = executePredicates( xctxt, prevStep, SCORE_OTHER, 128 return score; 130 score = NodeTest.SCORE_NONE; 149 score = execute(xctxt); 151 if (score != NodeTest.SCORE_NONE) 153 //score = executePredicates( xctxt, prevStep, SCORE_OTHER, 156 if (score ! [all...] |
H A D | FunctionPattern.java | 57 * Static calc of match score. 109 XNumber score = SCORE_NONE; 117 score = (n == context) ? SCORE_OTHER : SCORE_NONE; 119 if (score == SCORE_OTHER) 131 return score; 153 XNumber score = SCORE_NONE; 161 score = (n == context) ? SCORE_OTHER : SCORE_NONE; 163 if (score == SCORE_OTHER) 174 return score; 196 XNumber score [all...] |
H A D | UnionPattern.java | 127 XObject score = m_patterns[i].execute(xctxt); 129 if (score != NodeTest.SCORE_NONE) 132 bestScore = score; 133 else if (score.num() > bestScore.num()) 134 bestScore = score;
|
H A D | StepPattern.java | 301 * Static calc of match score. 398 XObject score; 400 score = super.execute(xctxt, currentNode, dtm, expType); 402 if (score == NodeTest.SCORE_NONE) 415 return score; 671 XObject score = NodeTest.SCORE_NONE; 684 score = execute(xctxt); 686 if (score != NodeTest.SCORE_NONE) 695 return score; 881 * Get the match score o [all...] |
H A D | NodeTest.java | 146 * Statically calculated score for this test. One of 157 * The match score if the pattern consists of just a NodeTest. 164 * The match score if the pattern pattern has the form NCName:*. 171 * The match score if the pattern has the form 179 * The match score if the pattern consists of something 187 * The match score if no match is made. 263 * calculating the score that this test will return if a test succeeds. 279 * calculating the score that this test will return if a test succeeds. 303 * Get the static score for this node test. 312 * Set the static score fo 315 setStaticScore(XNumber score) argument [all...] |
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/ |
H A D | HtmlReporter.java | 89 float score = b.getTime() * b.getWeight(); 90 total += score; 92 Util.floatToString(score, PRECISION)); 99 p.println("<tr><td colspan=3><b>Total score</b> <td><b>" +
|
H A D | TextReporter.java | 93 float score = b.getTime() * b.getWeight(); 94 total += score; 96 p.println(fit(Util.floatToString(score, PRECISION), 106 p.println(fit("Total score", INDEX_WIDTH + NAME_WIDTH + TIME_WIDTH +
|
H A D | XmlReporter.java | 86 String score = (b.getTime() != -1) ? 88 p.println(b.getName() + "\t" + score);
|
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/ |
H A D | UnionChildIterator.java | 124 XObject score = pnt.execute(xctxt, n); 125 if (score != NodeTest.SCORE_NONE)
|
H A D | MatchPatternIterator.java | 306 XObject score = m_pattern.execute(xctxt); 311 System.out.println("score: "+score); 312 System.out.println("skip: "+(score == NodeTest.SCORE_NONE)); 315 // System.out.println("\n::acceptNode - score: "+score.num()+"::"); 316 return (score == NodeTest.SCORE_NONE) ? DTMIterator.FILTER_SKIP
|
H A D | PredicatedNodeTest.java | 472 XObject score = execute(xctxt, n); 474 // System.out.println("\n::acceptNode - score: "+score.num()+"::"); 475 if (score != NodeTest.SCORE_NONE)
|
H A D | WalkerFactory.java | 905 XNumber score = pat.getStaticScore(); 914 attrPat.setStaticScore(score); 943 // We need to keep the new nodetest from affecting the score... 944 XNumber score = tail.getStaticScore(); 946 tail.setStaticScore(score); 947 selfPattern.setStaticScore(score);
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/report/ |
H A D | J2DAnalyzer.java | 55 static final int BEST = 1; /* The best score */ 56 static final int WORST = 2; /* The worst score */ 187 double score = rh.getScore(); 188 double maxscore = score; 213 double percent = calcPercent(score, score2); 243 (int) Math.round(maxlen * score / maxscore); 722 double score = numreps; 724 score *= numunits; 732 score *= numruns; 735 score * [all...] |
H A D | HTMLSeriesReporter.java | 337 double score = rh.getScore(); 338 if (score > bestScore) { 339 bestScore = score; 414 double score = holder.getScore(); 418 ? Math.log(score)/Math.log(bestScore) 419 : (score)/(bestScore); 426 "<div align='right' style='height: 15'>" + (int)score + " </div></div>"); 459 "mode to be used for finding score \n" +
|
H A D | IIOComparator.java | 91 double score = rh.getScore(); 123 //System.out.println(format + ": " + method + " = " + score); 134 testResults.put(method, new Double(score));
|
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/ |
H A D | XPath.java | 469 * Get the match score of the given node. 474 * @return score, one of {@link #MATCH_SCORE_NODETEST}, 489 XObject score = m_mainExp.execute(xctxt); 494 System.out.println("score: " + score.num() + " for " 499 return score.num(); 615 * The match score if no match is made. 621 * The match score if the pattern has the form 628 * The match score if the pattern pattern has the form NCName:*. 634 * The match score i [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | chaitin.cpp | 74 tty->print("Cost:%4.2g Area:%4.2g Score:%4.2g ",_cost,_area, score()); 97 //------------------------------score------------------------------------------ 98 // Compute score from cost and area. Low score is best to spill. 103 double LRG::score() const { function in class:LRG 105 // Bigger area lowers score, encourages spilling this live range. 106 // Bigger cost raise score, prevents spilling this live range. 109 double score = raw_score( _cost, _area); local 117 return score + 1e30; // to make progress again. 120 return score 1067 double score = lrgs(lo_score).score(); local [all...] |
H A D | lcm.cpp | 420 uint score = 0; // Bigger is better local 501 uint n_score = n->req(); // Many inputs get high score to break ties 508 ( score < n_score ))))) { 511 score = n_score;
|
H A D | chaitin.hpp | 59 double score() const; // Compute score from cost and area
|