Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/external/chromium-trace/catapult/systrace/systrace/test_data/
Dprofile-chrome_systrace_perf_chrome_data1weight": 297850, "ts": 196493621870.241, "cpu": 2, "comm": "ksoftirqd/2", "tid": 14106, "sf": 539}…
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java144 long weight = range.start; in nextWeight() local
150 range.start = incWeight(weight, range.length); in nextWeight()
154 return weight; in nextWeight()
179 public static int lengthOfWeight(long weight) { in lengthOfWeight() argument
180 if((weight&0xffffff)==0) { in lengthOfWeight()
182 } else if((weight&0xffff)==0) { in lengthOfWeight()
184 } else if((weight&0xff)==0) { in lengthOfWeight()
191 private static int getWeightTrail(long weight, int length) { in getWeightTrail() argument
192 return (int)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
195 private static long setWeightTrail(long weight, int length, int trail) { in setWeightTrail() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationWeights.java146 long weight = range.start; in nextWeight() local
152 range.start = incWeight(weight, range.length); in nextWeight()
156 return weight; in nextWeight()
181 public static int lengthOfWeight(long weight) { in lengthOfWeight() argument
182 if((weight&0xffffff)==0) { in lengthOfWeight()
184 } else if((weight&0xffff)==0) { in lengthOfWeight()
186 } else if((weight&0xff)==0) { in lengthOfWeight()
193 private static int getWeightTrail(long weight, int length) { in getWeightTrail() argument
194 return (int)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
197 private static long setWeightTrail(long weight, int length, int trail) { in setWeightTrail() argument
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DMeasurement.java50 private double weight;
55 this.weight = 0.0;
62 this.weight = builder.weight;
71 && this.weight == that.weight
79 return Objects.hashCode(value, weight, description);
85 .add("weight", weight)
94 public double weight() {
95 return weight;
104 private Double weight;
112 public Builder weight(double weight) {
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
DPreFillType.java15 private final int weight; field in PreFillType
29 PreFillType(int width, int height, Bitmap.Config config, int weight) { in PreFillType() argument
37 this.weight = weight; in PreFillType()
65 return weight; in getWeight()
74 && weight == other.weight in equals()
85 result = 31 * result + weight; in hashCode()
95 + ", weight=" + weight in toString()
107 private int weight = 1; field in PreFillType.Builder
157 public Builder setWeight(int weight) { in setWeight() argument
158 if (weight <= 0) { in setWeight()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp44 getWeightTrail(uint32_t weight, int32_t length) { in getWeightTrail() argument
45 return (uint32_t)(weight>>(8*(4-length)))&0xff; in getWeightTrail()
49 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { in setWeightTrail() argument
51 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length)); in setWeightTrail()
55 getWeightByte(uint32_t weight, int32_t idx) { in getWeightByte() argument
56 return getWeightTrail(weight, idx); /* same calculation */ in getWeightByte()
60 setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) { in setWeightByte() argument
80 return (uint32_t)((weight&mask)|(byte<<idx)); in setWeightByte()
84 truncateWeight(uint32_t weight, int32_t length) { in truncateWeight() argument
85 return (uint32_t)(weight&(0xffffffff<<(8*(4-length)))); in truncateWeight()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocalePriorityList.java101 public static Builder add(ULocale locale, final double weight) { in add() argument
102 return new Builder().add(locale, weight); in add()
155 double weight = entry.getValue(); in toString() local
160 if (weight != 1.0) { in toString()
161 result.append(";q=").append(weight); in toString()
236 double weight = value; in Builder() local
237 assert 0.0 < weight && weight <= 1.0; in Builder()
238 if (weight != 1.0) { in Builder()
274 Double weight = entry.getValue();
275 List<ULocale> s = weightToLanguages.get(weight);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocalePriorityList.java102 public static Builder add(ULocale locale, final double weight) { in add() argument
103 return new Builder().add(locale, weight); in add()
161 double weight = entry.getValue(); in toString() local
166 if (weight != 1.0) { in toString()
167 result.append(";q=").append(weight); in toString()
245 double weight = value; in Builder() local
246 assert 0.0 < weight && weight <= 1.0; in Builder()
247 if (weight != 1.0) { in Builder()
285 Double weight = entry.getValue();
286 List<ULocale> s = weightToLanguages.get(weight);
[all …]
/external/skia/src/core/
DSkFontMgr.cpp275 if (pattern.weight() == current.weight()) { in matchStyleCSS3()
278 } else if (pattern.weight() < 400) { in matchStyleCSS3()
279 if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
280 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
282 currentScore += 1000 - current.weight(); in matchStyleCSS3()
285 } else if (pattern.weight() <= 500) { in matchStyleCSS3()
286 if (current.weight() >= pattern.weight() && current.weight() <= 500) { in matchStyleCSS3()
287 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
288 } else if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
289 currentScore += 500 + current.weight(); in matchStyleCSS3()
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dframe_pair.cc190 float weight; member
211 if (weighted_deltas[i].weight > 0.0f) { in GetMedian()
212 current_weight += weighted_deltas[i].weight; in GetMedian()
236 const float weight = weights[i]; in GetWeightedMedian() local
237 weighted_deltas[i].weight = weight; in GetWeightedMedian()
238 if (weight > 0.0f) { in GetWeightedMedian()
239 total_weight += weight; in GetWeightedMedian()
253 const float weight = weights[i]; in GetWeightedMedian() local
254 weighted_deltas[i].weight = weight; in GetWeightedMedian()
256 if (weight > 0.0f) { in GetWeightedMedian()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-profdata/
Dweight-sample.test3 1- Merge the foo and bar profiles with unity weight and verify the combined output
4 …rge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext -weighted-input=1,%p/Inpu…
5 …ofdata merge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext %p/Inputs/weight
23 2- Merge the foo and bar profiles with weight 3x and 5x respectively and verify the combined output
24 …rge -sample -text -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=5,%p/Inpu…
42 3- Bad merge: invalid weight
43 …ata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=0,%p/Inpu…
44 …a merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=0.75,%p/Inp…
45 …ta merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=-5,%p/Inpu…
46 …ata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=,%p/Input…
[all …]
/external/llvm/test/tools/llvm-profdata/
Dweight-sample.test3 1- Merge the foo and bar profiles with unity weight and verify the combined output
4 …rge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext -weighted-input=1,%p/Inpu…
5 …ofdata merge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext %p/Inputs/weight
23 2- Merge the foo and bar profiles with weight 3x and 5x respectively and verify the combined output
24 …rge -sample -text -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=5,%p/Inpu…
42 3- Bad merge: invalid weight
43 …ata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=0,%p/Inpu…
44 …a merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=0.75,%p/Inp…
45 …ta merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=-5,%p/Inpu…
46 …ata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-input=,%p/Input…
[all …]
/external/stressapptest/src/
Dpattern.cc288 int weight) { in Initialize() argument
294 weight_ = weight; in Initialize()
346 weightcount += pattern_array[i].weight[0]; in Initialize()
348 pattern_array[i].weight[0]); in Initialize()
349 weightcount += pattern_array[i].weight[1]; in Initialize()
351 pattern_array[i].weight[1]); in Initialize()
352 weightcount += pattern_array[i].weight[2]; in Initialize()
354 pattern_array[i].weight[2]); in Initialize()
355 weightcount += pattern_array[i].weight[3]; in Initialize()
357 pattern_array[i].weight[3]); in Initialize()
[all …]
/external/icu/icu4c/source/common/
Dlocaleprioritylist.cpp38 int32_t weight; // 0..1000 = 0.0..1.0 member
42 int32_t diff = other.weight - weight; // descending: other-this in compare()
79 int32_t weight = (c - '0') * 1000; in parseWeight() local
80 if (++p == limit || *p != '.') { return weight; } in parseWeight()
85 weight += c * multiplier; in parseWeight()
89 if (c >= 5) { ++weight; } in parseWeight()
93 return weight <= WEIGHT_ONE ? weight : -1; // bad if > 1.0 in parseWeight()
139 int32_t weight = WEIGHT_ONE; in LocalePriorityList() local
143 (++p, (weight = parseWeight(p, limit)) < 0)) { in LocalePriorityList()
153 add(locale, weight, errorCode); in LocalePriorityList()
[all …]
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dtree_helper.h59 Eigen::VectorXf* weight, float* gain) { in MultiDimLogitSolveForWeightAndGain() argument
60 *weight = -hessian_and_reg.colPivHouseholderQr().solve(g); in MultiDimLogitSolveForWeightAndGain()
61 *gain = -g.transpose() * (*weight); in MultiDimLogitSolveForWeightAndGain()
67 const float l2, Eigen::VectorXf* weight, in CalculateWeightsAndGains() argument
87 weight->coeffRef(0) = 0.0; in CalculateWeightsAndGains()
95 weight->coeffRef(0) = 0; in CalculateWeightsAndGains()
98 weight->coeffRef(0) = -g_with_l1 / (h[0] + l2); in CalculateWeightsAndGains()
99 *gain = -g_with_l1 * weight->coeffRef(0); in CalculateWeightsAndGains()
107 MultiDimLogitSolveForWeightAndGain(hessian_and_reg, g, weight, gain); in CalculateWeightsAndGains()
124 *weight = -temp * g.array(); in CalculateWeightsAndGains()
[all …]
/external/python/httplib2/doc/html/_static/
Dpygments.css4 .k { color: #007020; font-weight: bold } /* Keyword */
13 .gh { color: #000080; font-weight: bold } /* Generic.Heading */
16 .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
17 .gs { font-weight: bold } /* Generic.Strong */
18 .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
20 .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
21 .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
22 .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
24 .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
30 .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
[all …]
/external/tensorflow/tensorflow/lite/experimental/ruy/profiler/
Dtreeview.cc35 return n1->weight > n2->weight; in SortNode()
46 node->weight++; in AddStack()
71 top_level_children_weight += child->weight; in AddOther()
74 top_level_children_weight != node->weight) { in AddOther()
77 new_child->weight = node->weight - top_level_children_weight; in AddOther()
107 root->label.Set("Thread %x (%d samples)", id, root->weight); in Populate()
122 printf("* %.2f%% %s\n", 100.0f * node.weight / root.weight, in PrintTreeBelow()
156 int weight = 0; in WeightBelowNodeMatchingFunction() local
158 weight += node.weight; in WeightBelowNodeMatchingFunction()
161 weight += WeightBelowNodeMatchingFunction(*child, match); in WeightBelowNodeMatchingFunction()
[all …]
/external/libnl/doc/stylesheets/
Dpygments.css8 .highlight .k { color: #AA22FF; font-weight: bold } /* Keyword */
13 .highlight .cs { color: #008800; font-weight: bold } /* Comment.Special */
17 .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
20 .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
21 .highlight .gs { font-weight: bold } /* Generic.Strong */
22 .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
24 .highlight .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
25 .highlight .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
26 .highlight .kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */
28 .highlight .kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DWeightedMeasurement.java60 private final double weight; field in WeightedMeasurement
79 public WeightedMeasurement(double weight, double measuredValue) { in WeightedMeasurement() argument
80 this.weight = weight; in WeightedMeasurement()
93 public WeightedMeasurement(double weight, double measuredValue, in WeightedMeasurement() argument
95 this.weight = weight; in WeightedMeasurement()
106 return weight; in getWeight()
/external/skqp/src/core/
DSkFontMgr.cpp275 if (pattern.weight() == current.weight()) { in matchStyleCSS3()
277 } else if (pattern.weight() <= 500) { in matchStyleCSS3()
278 if (400 <= pattern.weight() && pattern.weight() < 450) { in matchStyleCSS3()
279 if (450 <= current.weight() && current.weight() <= 500) { in matchStyleCSS3()
285 if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
286 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
288 currentScore += 1000 - current.weight(); in matchStyleCSS3()
290 } else if (pattern.weight() > 500) { in matchStyleCSS3()
291 if (current.weight() > pattern.weight()) { in matchStyleCSS3()
292 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
[all …]
/external/skia/src/gpu/effects/generated/
DGrMixerEffect.h34 return {c0.fR + (c1.fR - c0.fR) * weight, c0.fG + (c1.fG - c0.fG) * weight, in constantOutputForConstantInput()
35 c0.fB + (c1.fB - c0.fB) * weight, c0.fA + (c1.fA - c0.fA) * weight}; in constantOutputForConstantInput()
40 float weight) { in Make() argument
42 new GrMixerEffect(std::move(fp0), std::move(fp1), weight)); in Make()
49 float weight; variable
55 float weight) in GrMixerEffect() argument
57 , weight(weight) { in GrMixerEffect()
/external/python/setuptools/docs/_theme/nature/static/
Dpygments.css2 .k { font-weight: bold } /* Keyword */
3 .o { font-weight: bold } /* Operator */
5 .cp { color: #999999; font-weight: bold } /* Comment.preproc */
14 .gs { font-weight: bold } /* Generic.Strong */
17 .kc { font-weight: bold } /* Keyword.Constant */
18 .kd { font-weight: bold } /* Keyword.Declaration */
19 .kp { font-weight: bold } /* Keyword.Pseudo */
20 .kr { font-weight: bold } /* Keyword.Reserved */
21 .kt { color: #445588; font-weight: bold } /* Keyword.Type */
26 .nc { color: #445588; font-weight: bold } /* Name.Class */
[all …]
/external/autotest/client/profilers/powertop/src/
Dsuggestions.c46 int weight; member
80 void add_suggestion(char *text, int weight, char key, char *keystring, suggestion_func *func) in add_suggestion() argument
92 new->weight = weight; in add_suggestion()
99 total_weight += weight; in add_suggestion()
106 int weight; in pick_suggestion() local
118 weight = total_weight; in pick_suggestion()
120 weight+=50; in pick_suggestion()
121 value = rand() % weight; in pick_suggestion()
124 running += ptr->weight; in pick_suggestion()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_buffer.h37 : value(std::move(v)), weight(std::move(w)) {} in BufferEntry()
38 BufferEntry() : value(), weight(0) {} in BufferEntry()
44 return value == other.value && weight == other.weight;
48 return strm << "{" << entry.value << ", " << entry.weight << "}";
51 WeightType weight; member
70 void PushEntry(ValueType value, WeightType weight) { in PushEntry() argument
76 if (weight <= 0) { in PushEntry()
81 vec_.push_back(BufferEntry(std::move(value), std::move(weight))); in PushEntry()
102 ret[num_entries].weight += ret[i].weight; in GenerateEntryList()
/external/u-boot/lib/bzip2/
Dbzlib_huffman.c78 while (weight[tmp] < weight[heap[zz >> 1]]) { \
93 weight[heap[yy+1]] < weight[heap[yy]]) \
95 if (weight[tmp] < weight[heap[yy]]) break; \
117 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; in BZ2_hbMakeCodeLengths() local
121 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8; in BZ2_hbMakeCodeLengths()
129 weight[0] = 0; in BZ2_hbMakeCodeLengths()
146 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]); in BZ2_hbMakeCodeLengths()
167 j = weight[i] >> 8; in BZ2_hbMakeCodeLengths()
169 weight[i] = j << 8; in BZ2_hbMakeCodeLengths()

12345678910>>...42