Searched defs:weight (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/
H A DBenchInfo.java32 * weight associated with it (for calculating the overall score).
39 float weight; field in class:BenchInfo
45 BenchInfo(Benchmark benchmark, String name, float weight, String[] args) { argument
48 this.weight = weight;
83 * Return weight associated with benchmark.
86 return weight;
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DGlyphJustificationInfo.java48 * <code>GlyphJustificationInfo</code> are weight, priority, absorb and
51 * Weight is the overall 'weight' of the glyph in the line. Generally it is
52 * proportional to the size of the font. Glyphs with larger weight are
82 * @param weight the weight of this glyph when allocating space. Must be non-negative.
102 public GlyphJustificationInfo(float weight, argument
112 if (weight < 0) {
113 throw new IllegalArgumentException("weight is negative");
136 this.weight = weight;
167 public final float weight; field in class:GlyphJustificationInfo
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DgcUtil.cpp32 // We smooth the samples by not using weight() directly until we've
33 // had enough data to make it meaningful. We'd like the first weight
35 // OLD_THRESHOLD/weight samples.
43 unsigned adaptive_weight = (MAX2(weight(), count_weight));
112 LinearLeastSquareFit::LinearLeastSquareFit(unsigned weight) : argument
114 _intercept(0), _slope(0), _mean_x(weight), _mean_y(weight) {}
H A DgcUtil.hpp41 // initial samples; we don't use the weight until we have
50 unsigned _weight; // The weight used to smooth the averages
51 // A higher weight favors the most
74 // Input weight must be between 0 and 100
75 AdaptiveWeightedAverage(unsigned weight, float avg = 0.0) : argument
76 _average(avg), _sample_count(0), _weight(weight), _last_sample(0.0),
96 unsigned weight() const { return _weight; } function in class:AdaptiveWeightedAverage
105 unsigned int weight) {
106 assert(0 <= weight && weight <
104 exp_avg(float avg, float sample, unsigned int weight) argument
109 exp_avg(size_t avg, size_t sample, unsigned int weight) argument
142 AdaptivePaddedAverage(unsigned weight, unsigned padding) argument
181 AdaptivePaddedNoZeroDevAverage(unsigned weight, unsigned padding) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DServiceLocator.java170 // those with weight 0 to the top of the list.
231 sum += srvRecords[i].weight;
237 // If all records have zero weight, select first available one;
238 // otherwise, randomly select a record according to its weight
258 int weight; field in class:ServiceLocator.SrvRecord
275 weight = Integer.parseInt(tokenizer.nextToken());
285 * equal priority move those with weight 0 to the top of the list.
293 } else if (weight == 0 && that.weight != 0) {
295 } else if (weight !
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DKrbServiceLocator.java180 // those with weight 0 to the top of the list.
242 sum += srvRecords[i].weight;
248 // If all records have zero weight, select first available one;
249 // otherwise, randomly select a record according to its weight
269 int weight; field in class:KrbServiceLocator.SrvRecord
286 weight = Integer.parseInt(tokenizer.nextToken());
296 * equal priority move those with weight 0 to the top of the list.
304 } else if (weight == 0 && that.weight != 0) {
306 } else if (weight !
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DadvancedThresholdPolicy.cpp127 double AdvancedThresholdPolicy::weight(methodOop method) { function in class:AdvancedThresholdPolicy
138 if (weight(x) > weight(y)) {
/openjdk7/jdk/src/share/classes/sun/font/
H A DAttributeValues.java65 private float weight = 1f; field in class:AttributeValues
98 public float getWeight() { return weight; }
99 public void setWeight(float f) { this.weight = f; update(EWEIGHT); }
451 // size, weight, posture are the same
475 && weight == rhs.weight
516 case EWEIGHT: b.append(weight); break;
574 case EWEIGHT: weight = src.weight; break;
603 case EWEIGHT: return weight
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_colors.c520 float lscale, float weight,
541 Weight = weight;
687 (double)lscale, (double)weight, doMac ? "true" : "false");
519 img_makePalette(int cmapsize, int tablesize, int lookupsize, float lscale, float weight, int prevclrs, int doMac, unsigned char *reds, unsigned char *greens, unsigned char *blues, unsigned char *lookup) argument
/openjdk7/hotspot/src/share/vm/opto/
H A Dloopopts.cpp728 int weight = 0; local
730 weight += region->fast_out(i)->outcnt();
733 if (weight * 8 > nodes_left) {
736 tty->print_cr("*** Split-if bails out: %d nodes, region weight %d", C->unique(), weight);
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_IR.cpp668 TRACE_LINEAR_SCAN(3, "----- computing loop-depth and weight");
745 int weight = (cur->loop_depth() & 0x7FFF) << 16; local
747 // general macro for short definition of weight flags
750 #define INC_WEIGHT_IF(condition) if ((condition)) { weight |= (1 << cur_bit); } cur_bit--;
773 // guarantee that weight is > 0
774 weight |= 1;
778 assert(weight > 0, "weight cannot become negative");
780 return weight;
800 // the linear_scan_number is used to cache the weight o
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSS.java57 * <li>font-weight
279 new Attribute("font-weight", "normal", true);
2069 return weight;
2076 fw.weight = 700;
2078 fw.weight = 400;
2082 fw.weight = Integer.parseInt(value);
2118 return (weight > 500) ? Boolean.TRUE : Boolean.FALSE;
2122 return (weight > 500);
2125 int weight; field in class:CSS.FontWeight
2766 // [ <font-style> || <font-variant> || <font-weight> ]
[all...]

Completed in 4479 milliseconds