Home
last modified time | relevance | path

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

12345678910>>...54

/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/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/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/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/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()
160 double weight = entry.getValue(); in toString() local
165 if (weight != 1.0) { in toString()
166 result.append(";q=").append(weight); in toString()
244 double weight = value; in Builder() local
245 assert 0.0 < weight && weight <= 1.0; in Builder()
246 if (weight != 1.0) { in Builder()
284 Double weight = entry.getValue();
285 List<ULocale> s = weightToLanguages.get(weight);
[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()
154 double weight = entry.getValue(); in toString() local
159 if (weight != 1.0) { in toString()
160 result.append(";q=").append(weight); in toString()
235 double weight = value; in Builder() local
236 assert 0.0 < weight && weight <= 1.0; in Builder()
237 if (weight != 1.0) { in Builder()
273 Double weight = entry.getValue();
274 List<ULocale> s = weightToLanguages.get(weight);
[all …]
/external/skia/src/core/
DSkFontMgr.cpp263 if (pattern.weight() == current.weight()) { in matchStyleCSS3()
266 } else if (pattern.weight() < 400) { in matchStyleCSS3()
267 if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
268 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
270 currentScore += 1000 - current.weight(); in matchStyleCSS3()
273 } else if (pattern.weight() <= 500) { in matchStyleCSS3()
274 if (current.weight() >= pattern.weight() && current.weight() <= 500) { in matchStyleCSS3()
275 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
276 } else if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
277 currentScore += 500 + current.weight(); in matchStyleCSS3()
[all …]
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dframe_pair.cc191 float weight; member
212 if (weighted_deltas[i].weight > 0.0f) { in GetMedian()
213 current_weight += weighted_deltas[i].weight; in GetMedian()
237 const float weight = weights[i]; in GetWeightedMedian() local
238 weighted_deltas[i].weight = weight; in GetWeightedMedian()
239 if (weight > 0.0f) { in GetWeightedMedian()
240 total_weight += weight; in GetWeightedMedian()
254 const float weight = weights[i]; in GetWeightedMedian() local
255 weighted_deltas[i].weight = weight; in GetWeightedMedian()
257 if (weight > 0.0f) { in GetWeightedMedian()
[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/llvm-project/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/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/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/ruy/ruy/profiler/
Dtreeview.cc36 return n1->weight > n2->weight; in SortNode()
47 node->weight++; in AddStack()
73 top_level_children_weight += child->weight; in AddOther()
76 top_level_children_weight != node->weight) { in AddOther()
79 new_child->weight = node->weight - top_level_children_weight; in AddOther()
110 root->label.Set("Thread %x (%d samples)", id, root->weight); in Populate()
125 printf("* %.2f%% %s\n", 100.0f * node.weight / root.weight, in PrintTreeBelow()
159 int weight = 0; in WeightBelowNodeMatchingFunction() local
161 weight += node.weight; in WeightBelowNodeMatchingFunction()
164 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/tensorflow/tensorflow/lite/kernels/
Dfully_connected_test.cc1250 TensorData weight = {}; in TEST_P() local
1251 weight.type = TensorType_FLOAT32; in TEST_P()
1252 weight.shape = {3, 10}; in TEST_P()
1253 weight.traversal_order = {0, 1}; in TEST_P()
1254 weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_P()
1257 /*input=*/{TensorType_FLOAT32, {2, 10}}, weight, weight_data); in TEST_P()
1275 TensorData weight = {}; in TEST_P() local
1276 weight.type = TensorType_FLOAT32; in TEST_P()
1277 weight.shape = {1, 2}; in TEST_P()
1278 weight.traversal_order = {0, 1}; in TEST_P()
[all …]
/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/llvm-project/lld/ELF/
DCallGraphSort.cpp57 uint64_t weight; member
66 return double(weight) / double(size); in getDensity()
72 uint64_t weight = 0; member
119 uint64_t weight = c.second; in CallGraphSort() local
133 clusters[to].weight += weight; in CallGraphSort()
140 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { in CallGraphSort()
142 toC.bestPred.weight = weight; in CallGraphSort()
146 c.initialWeight = c.weight; in CallGraphSort()
151 double newDensity = double(a.weight + b.weight) / double(a.size + b.size); in isNewDensityBad()
174 into.weight += from.weight; in mergeClusters()
[all …]
/external/llvm-project/lld/COFF/
DCallGraphSort.cpp29 uint64_t weight; member
38 return double(weight) / double(size); in getDensity()
44 uint64_t weight = 0; member
90 uint64_t weight = c.second; in CallGraphSort() local
104 clusters[to].weight += weight; in CallGraphSort()
111 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { in CallGraphSort()
113 toC.bestPred.weight = weight; in CallGraphSort()
117 c.initialWeight = c.weight; in CallGraphSort()
122 double newDensity = double(a.weight + b.weight) / double(a.size + b.size); in isNewDensityBad()
145 into.weight += from.weight; in mergeClusters()
[all …]
/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()

12345678910>>...54