Searched refs:score (Results 1 - 19 of 19) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/patterns/
H A DContextMatchStepPattern.java92 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 DFunctionPattern.java57 * 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 DUnionPattern.java127 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 DStepPattern.java301 * 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 DNodeTest.java146 * 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 DHtmlReporter.java89 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 DTextReporter.java93 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 DXmlReporter.java86 String score = (b.getTime() != -1) ?
88 p.println(b.getName() + "\t" + score);
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/
H A DUnionChildIterator.java124 XObject score = pnt.execute(xctxt, n);
125 if (score != NodeTest.SCORE_NONE)
H A DMatchPatternIterator.java306 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 DPredicatedNodeTest.java472 XObject score = execute(xctxt, n);
474 // System.out.println("\n::acceptNode - score: "+score.num()+"::");
475 if (score != NodeTest.SCORE_NONE)
H A DWalkerFactory.java905 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 DJ2DAnalyzer.java55 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 DHTMLSeriesReporter.java337 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 + "&nbsp;</div></div>");
459 "mode to be used for finding score \n" +
H A DIIOComparator.java91 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 DXPath.java469 * 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 Dchaitin.cpp74 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 Dlcm.cpp420 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 Dchaitin.hpp59 double score() const; // Compute score from cost and area

Completed in 481 milliseconds