Home
last modified time | relevance | path

Searched refs:penalty (Results 1 – 25 of 109) sorted by relevance

12345

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dvp8_partition_aggregator.cc51 int PartitionTreeNode::Cost(size_t penalty) { in Cost() argument
60 return cost + NumPackets() * penalty; in Cost()
109 size_t penalty) { in GetOptimalNode() argument
118 return right->GetOptimalNode(max_size, penalty); in GetOptimalNode()
121 return left->GetOptimalNode(max_size, penalty); in GetOptimalNode()
125 if (left->Cost(penalty) <= right->Cost(penalty)) { in GetOptimalNode()
132 first = first->GetOptimalNode(max_size, penalty); in GetOptimalNode()
133 if (second->Cost(penalty) <= first->Cost(penalty)) { in GetOptimalNode()
134 second = second->GetOptimalNode(max_size, penalty); in GetOptimalNode()
136 if (second->Cost(penalty) < first->Cost(penalty)) { in GetOptimalNode()
[all …]
Dvp8_partition_aggregator.h41 int Cost(size_t penalty);
52 PartitionTreeNode* GetOptimalNode(size_t max_size, size_t penalty);
108 ConfigVec FindOptimalConfiguration(size_t max_size, size_t penalty);
123 size_t penalty,
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderMaskUtil.cpp39 int32_t penalty = 0; in ApplyMaskPenaltyRule2() local
49 penalty++; in ApplyMaskPenaltyRule2()
53 return 3 * penalty; in ApplyMaskPenaltyRule2()
58 int32_t penalty = 0; in ApplyMaskPenaltyRule3() local
88 penalty += 40; in ApplyMaskPenaltyRule3()
102 penalty += 40; in ApplyMaskPenaltyRule3()
106 return penalty; in ApplyMaskPenaltyRule3()
172 int32_t penalty = 0; in ApplyMaskPenaltyRule1Internal() local
186 penalty += 3; in ApplyMaskPenaltyRule1Internal()
188 penalty += 1; in ApplyMaskPenaltyRule1Internal()
[all …]
DBC_QRCoderEncoder.cpp312 int32_t penalty = CalculateMaskPenalty(matrix); in ChooseMaskPattern() local
313 if (penalty < minPenalty) { in ChooseMaskPattern()
314 minPenalty = penalty; in ChooseMaskPattern()
/external/ipsec-tools/src/racoon/
Dthrottle.c85 te->penalty = time(NULL) + isakmp_cfg_config.auth_throttle;
111 if (te->penalty < now) {
146 remaining = te->penalty - now;
152 te->penalty = now + new;
156 return te->penalty;
Dthrottle.h38 int penalty; member
/external/yapf/yapf/yapflib/
Dformat_decision_state.py499 penalty = 0
501 penalty = self._AddTokenOnNewline(dry_run, must_split)
505 penalty += self._CalculateComprehensionState(newline)
507 return self.MoveStateToNextToken() + penalty
582 penalty = current.split_penalty
586 return penalty
590 penalty += 50
597 penalty += (
606 penalty += 10
608 return penalty + 10
[all …]
Dsplit_penalty.py510 def _SetExpressionPenalty(node, penalty): argument
522 if penalty_annotation < penalty:
523 _SetSplitPenalty(node, penalty)
541 penalty = pytree_utils.GetNodeAnnotation(
543 _SetSplitPenalty(node, penalty + amt)
584 penalty = pytree_utils.GetNodeAnnotation(
586 penalty = penalty - amt if amt < penalty else 0
587 _SetSplitPenalty(node, penalty)
590 def _SetSplitPenalty(node, penalty): argument
592 penalty)
Dreformatter.py334 penalty = item.ordered_penalty.penalty
350 count = _AddNextStateToQueue(penalty, node, False, count, p_queue)
351 count = _AddNextStateToQueue(penalty, node, True, count, p_queue)
361 def _AddNextStateToQueue(penalty, previous_node, newline, count, p_queue): argument
387 penalty += node.state.AddTokenToState(
389 heapq.heappush(p_queue, _QueueItem(_OrderedPenalty(penalty, count), node))
Dpytree_utils.py314 penalty=GetNodeAnnotation(node, Annotation.SPLIT_PENALTY, None))
/external/libopus/silk/
DVQ_WMat_EC.c70 opus_int32 penalty; in silk_VQ_WMat_EC_c() local
77 penalty = silk_LSHIFT32( silk_max( silk_SUB32( gain_tmp_Q7, max_gain_Q7 ), 0 ), 11 ); in silk_VQ_WMat_EC_c()
117 bits_res_Q8 = silk_SMULBB( subfr_len, silk_lin2log( sum1_Q15 + penalty) - (15 << 7) ); in silk_VQ_WMat_EC_c()
122 *res_nrg_Q15 = sum1_Q15 + penalty; in silk_VQ_WMat_EC_c()
/external/tensorflow/tensorflow/contrib/coder/kernels/
Dpmf_to_cdf_op.cc85 penalty = ComputeNextPenalty(); in PenaltyItem()
91 penalty = ComputeNextPenalty(); in Decrease()
95 return lhs.penalty < rhs.penalty; in operator <()
107 double penalty; member
/external/deqp/external/openglcts/
D.clang-format109 # The penalty for breaking a function call after "call(".
112 # The penalty for each line break introduced inside a comment.
115 # The penalty for breaking before the first <<.
118 # The penalty for each line break introduced inside a string literal.
121 # The penalty for each character outside of the column limit.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeExtractor/
Dcost_meta.ll1 ; RUN: opt -S < %s -partial-inliner -partial-inlining-extra-penalty=2000 | FileCheck %s
2 ; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=2000 | FileCheck %s
Dcost.ll1 ; RUN: opt -S < %s -partial-inliner -partial-inlining-extra-penalty=10 | FileCheck %s
2 ; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=10 | FileCheck %s
/external/yapf/
DREADME.rst543 The penalty for splitting right after the opening bracket.
546 The penalty for splitting the line after a unary operator.
549 The penalty for splitting right before an ``if`` expression.
552 The penalty of splitting the line around the ``&``, ``|``, and ``^``
556 The penalty for splitting a list comprehension or generator expression.
559 The penalty for characters over the column limit.
562 The penalty incurred by adding a line split to the unwrapped line. The more
563 line splits added the higher the penalty.
566 The penalty of splitting a list of ``import as`` names. For example:
582 The penalty of splitting the line around the ``and`` and ``or`` operators.
[all …]
DCHANGELOG83 - When calculating the split penalty for a "trailer", process the child nodes
90 - Remove the penalty for a split before the first argument in a function call
161 - Increase the penalty for splitting after the start of a tuple.
162 - Increase penalty for excess characters.
179 - Don't make splitting penalty decisions based on the original formatting. This
348 penalty of the closing bracket was set to the maximum, but it shouldn't be if
380 - Added a knob (SPLIT_PENALTY_BEFORE_IF_EXPR) to adjust the split penalty
400 - When we're setting the split penalty for a continuous list, we don't want to
409 - 'SPLIT_BEFORE_LOGICAL_OPERATOR' wasn't working correctly. The penalty was
450 - Lessen penalty for splitting before a dictionary keyword.
[all …]
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
Dlosses_impl.py391 penalty = losses.compute_weighted_loss(
396 summary.scalar('gradient_penalty_loss', penalty)
398 return penalty
/external/curl/docs/cmdline-opts/
Dftp-method.d20 compliant than 'nocwd' but without the full penalty of 'multicwd'.
/external/linux-kselftest/tools/testing/selftests/tc-testing/
DTODO.txt20 require action at a specific point, no penalty will be paid for
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java190 double penalty = 0; in getBestMatch() local
194 final double weight = matchWeight.value * languageList.getWeight(language) - penalty; in getBestMatch()
199 penalty += 0.07000001; in getBestMatch()
/external/cldr/tools/java/com/ibm/icu/util/
DLocaleMatcher.java180 double penalty = 0; in getBestMatch() local
184 final double weight = matchWeight.value * languageList.getWeight(language) - penalty; in getBestMatch()
189 penalty += 0.07000001; in getBestMatch()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java194 double penalty = 0; in getBestMatch() local
198 final double weight = matchWeight.value * languageList.getWeight(language) - penalty; in getBestMatch()
203 penalty += 0.07000001; in getBestMatch()
/external/libnl/lib/route/qdisc/
Dcbq.c143 nl_ticks2us(cbq->cbq_ovl.penalty), in cbq_dump_details()
/external/swiftshader/third_party/subzero/src/
DREADME.SIMD.rst61 at the cost of a possible performance penalty.

12345