Searched refs:weight (Results 1 - 25 of 26) sorted by relevance

12

/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;
H A DHarness.java55 * <weight> <name> <class> [<args>]
57 * <weight> is a floating point value which is multiplied times the
109 float weight = parseBenchWeight(tokens);
115 return new BenchInfo(bench, name, weight, args);
121 float weight;
126 weight = Float.parseFloat(tokens.sval);
128 throw new ConfigFormatException("illegal weight value \"" +
132 return weight;
135 throw new ConfigFormatException("missing weight value on line "
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
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...]
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) {}
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_colors.h27 float lscale, float weight,
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/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...]
H A DTextJustifier.java70 System.out.println("w: " + gji.weight + ", gp: " +
108 float weight = 0;
119 weight += gi.weight;
123 absorbweight += gi.weight;
128 absorbweight += gi.weight;
134 weight += gi.weight;
138 absorbweight += gi.weight;
143 absorbweight += gi.weight;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A Ddefault.css31 font-weight: normal;
39 font-weight: bold;
44 font-weight: bold;
49 font-weight: bold;
54 font-weight: bold;
59 font-weight: bold;
64 font-weight: bold;
190 b {font-weight: bold}
199 strong {font-weight: bold}
209 var {font-weight
[all...]
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...]
/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/jdk/src/share/classes/java/awt/
H A DGridBagLayout.java171 * Unless you specify a weight for at least one component
174 * This is because when the weight is zero (the default),
454 * If <code>columnWeights[i]</code> &gt; weight for column i, then
455 * column i is assigned the weight in <code>columnWeights[i]</code>.
469 * If <code>rowWeights[i]</code> &gt; weight for row i, then
470 * row i is assigned the weight in <code>rowWeights[i]</code>.
1005 double weight_diff, weight;
1367 * Figure out if we should use this slave\'s weight. If the weight
1368 * is less than the total weight spanne
[all...]
/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/hotspot/src/share/vm/runtime/
H A DadvancedThresholdPolicy.hpp186 // Compute the weight of the method for the compilation scheduling
187 inline double weight(methodOop method);
H A DadvancedThresholdPolicy.cpp127 double AdvancedThresholdPolicy::weight(methodOop method) { function in class:AdvancedThresholdPolicy
138 if (weight(x) > weight(y)) {
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/
H A Dstylesheet.css101 font-weight:bold;
265 font-weight:bold;
276 font-weight:bold;
366 font-weight:bold;
417 font-weight:bold;
473 font-weight:bold;
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DHistogram.java75 int weight = 0;
79 weight += matrix[i][0] * rowLength;
81 this.totalWeight = weight;
314 int weight = getRowWeight(i);
315 cumWeight += weight;
356 +" weight("+ltotalWeight+")"
618 int weight = 0;
626 weight += count * vlengthi;
630 assert(totalWeight == weight);
637 assert(weight2 == weight);
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/
H A DResourceRecord.java427 int weight = getUShort(pos);
432 return (priority + " " + weight + " " + port + " " + target);
/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/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/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicSplitPaneUI.java854 * be a heavy weight.
1950 double weight = splitPane.getResizeWeight();
1951 int lExtra = (int)(weight * (double)space);
H A DBasicTabbedPaneUI.java2751 double weight = 1.25;
2772 prevLastLen = (int)(maxTabWidth*weight);
2775 prevLastLen = (int)(maxTabHeight*weight*2);
2809 weight += .25;
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneCopyFromBasicUI.java2580 double weight = 1.25;
2601 prevLastLen = (int)(maxTabWidth * weight);
2604 prevLastLen = (int)(maxTabHeight * weight * 2);
2638 weight += .25;
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_image_proto.h990 const mlib_d64 *weight);
998 const mlib_d64 *weight);

Completed in 148 milliseconds

12