Home
last modified time | relevance | path

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

12345678910>>...281

/dports/mail/dovecot/dovecot-2.3.17/src/anvil/
H A Dpenalty.c43 struct penalty { struct
54 struct penalty *penalty; in penalty_init() local
56 penalty = i_new(struct penalty, 1); in penalty_init()
59 return penalty; in penalty_init()
64 DLLIST2_REMOVE(&penalty->oldest, &penalty->newest, rec); in penalty_rec_free()
73 struct penalty *penalty = *_penalty; in penalty_deinit() local
78 penalty_rec_free(penalty, penalty->oldest); in penalty_deinit()
161 static void penalty_timeout(struct penalty *penalty) in penalty_timeout() argument
200 DLLIST2_REMOVE(&penalty->oldest, &penalty->newest, rec); in penalty_inc()
224 DLLIST2_APPEND(&penalty->oldest, &penalty->newest, rec); in penalty_inc()
[all …]
H A Dtest-penalty.c10 struct penalty *penalty; in test_penalty_checksum() local
18 penalty = penalty_init(); in test_penalty_checksum()
20 test_assert(penalty_get(penalty, "foo", &t) == 0); in test_penalty_checksum()
23 penalty_inc(penalty, "foo", i, 5+i); in test_penalty_checksum()
26 test_assert(penalty_get(penalty, "foo", &t) == 5+i); in test_penalty_checksum()
30 test_assert(penalty_get(penalty, "foo", &t) == 5+i); in test_penalty_checksum()
34 test_assert(penalty_get(penalty, "foo2", &t) == 0); in test_penalty_checksum()
38 penalty_inc(penalty, "foo", i, 5 + i); in test_penalty_checksum()
39 penalty_inc(penalty, "foo", i, 5 + i); in test_penalty_checksum()
40 penalty_inc(penalty, "foo", 0, 5 + i); in test_penalty_checksum()
[all …]
H A Dpenalty.h6 struct penalty *penalty_init(void);
7 void penalty_deinit(struct penalty **penalty);
9 void penalty_set_expire_secs(struct penalty *penalty, unsigned int expire_secs);
11 unsigned int penalty_get(struct penalty *penalty, const char *ident,
15 void penalty_inc(struct penalty *penalty, const char *ident,
18 bool penalty_has_checksum(struct penalty *penalty, const char *ident,
20 void penalty_dump(struct penalty *penalty, struct ostream *output);
/dports/math/vtk6/VTK-6.2.0/Wrapping/PythonCore/
H A DvtkPythonOverload.cxx59 int penalty(int p) { in penalty() function in vtkPythonOverloadHelper
161 penalty++; in vtkPythonIntPenalty()
166 penalty++; in vtkPythonIntPenalty()
180 penalty++; in vtkPythonIntPenalty()
184 return penalty; in vtkPythonIntPenalty()
194 return penalty; in vtkPythonIntPenalty()
232 penalty++; in CheckArg()
254 penalty++; in CheckArg()
268 penalty = vtkPythonIntPenalty(tmpi, penalty, *format); in CheckArg()
710 return penalty; in CheckArg()
[all …]
/dports/math/vtk9/VTK-9.1.0/Wrapping/PythonCore/
H A DvtkPythonOverload.cxx209 penalty++; in vtkPythonIntPenalty()
214 penalty++; in vtkPythonIntPenalty()
224 penalty++; in vtkPythonIntPenalty()
238 penalty++; in vtkPythonIntPenalty()
242 return penalty; in vtkPythonIntPenalty()
280 penalty++; in vtkPythonStringPenalty()
284 return penalty; in vtkPythonStringPenalty()
404 penalty = vtkPythonIntPenalty(tmpi, penalty, *format); in CheckArg()
529 penalty = vtkPythonStringPenalty(arg, *format, penalty); in CheckArg()
556 penalty = vtkPythonStringPenalty(arg, *format, penalty); in CheckArg()
[all …]
/dports/math/vtk8/VTK-8.2.0/Wrapping/PythonCore/
H A DvtkPythonOverload.cxx208 penalty++; in vtkPythonIntPenalty()
213 penalty++; in vtkPythonIntPenalty()
223 penalty++; in vtkPythonIntPenalty()
237 penalty++; in vtkPythonIntPenalty()
241 return penalty; in vtkPythonIntPenalty()
291 penalty++; in vtkPythonStringPenalty()
295 return penalty; in vtkPythonStringPenalty()
398 penalty = vtkPythonIntPenalty(tmpi, penalty, *format); in CheckArg()
510 penalty = vtkPythonStringPenalty(arg, *format, penalty); in CheckArg()
532 penalty = vtkPythonStringPenalty(arg, *format, penalty); in CheckArg()
[all …]
/dports/mail/dovecot/dovecot-2.3.17/src/auth/
H A Dauth-penalty.c32 struct auth_penalty *penalty; in auth_penalty_init() local
38 penalty->disabled = TRUE; in auth_penalty_init()
43 return penalty; in auth_penalty_init()
51 anvil_client_deinit(&penalty->client); in auth_penalty_deinit()
52 i_free(penalty); in auth_penalty_deinit()
59 for (i = 0; i < penalty; i++) in auth_penalty_to_secs()
67 unsigned int penalty = 0; in auth_penalty_anvil_callback() local
89 while (penalty > 0) { in auth_penalty_anvil_callback()
94 penalty--; in auth_penalty_anvil_callback()
133 request->client = penalty->client; in auth_penalty_lookup()
[all …]
/dports/math/dune-fem/dune-fem-d1c625e6d51167d0cce57de6adcef21f548a8f82/python/dune/fem/scheme/
H A Ddgmodel.py14 penalty = self.penalty
15 if penalty is None:
16 penalty = 1
17 if isinstance(penalty,Expr):
18 if penalty.ufl_shape == ():
19 penalty = as_vector([penalty])
21 penalty = expand_indices(expand_derivatives(expand_compounds(penalty)))
39 generateMethod(code, penalty,
53 def transform(space,penalty): argument
60 model.penalty = penalty
[all …]
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/layoutmgr/
H A DKnuthPenalty.java48 private int penalty; field in KnuthPenalty
61 public KnuthPenalty(int width, int penalty, boolean penaltyFlagged, Position pos, in KnuthPenalty() argument
64 this.penalty = penalty; in KnuthPenalty()
83 public KnuthPenalty(int width, int penalty, boolean penaltyFlagged, int breakClass, in KnuthPenalty() argument
85 this(width, penalty, penaltyFlagged, pos, isAuxiliary); in KnuthPenalty()
121 return penalty; in getPenalty()
128 public void setPenalty(int penalty) { in setPenalty() argument
129 this.penalty = penalty; in setPenalty()
139 return penalty == -KnuthElement.INFINITE; in isForcedBreak()
158 buffer.append(valueOf(this.penalty)); in toString()
[all …]
/dports/java/javahelp/javahelp-3ca862d/jhMaster/JSearch/client/com/sun/java/help/search/
H A DRoleFiller.java75 if (q.goodEnough(penalty)) in makeQueryHit()
78 q.getConceptArrayOfNewHit(penalty, in makeQueryHit()
143 private double penalty(Query query, int nColumns) in penalty() method in RoleFiller
146 double penalty = query.lookupPenalty(_filled); in penalty() local
152 penalty += _fillers[i]._conceptData.getPenalty(); in penalty()
157 penalty += query.getOutOufOrderPenalty(); in penalty()
159 return penalty + length*query.getGapPenalty(); in penalty()
176 double penalty = candidateHit.penalty(query, nColumns); in scoreList() local
183 penalty = candidateHit.penalty(query, nColumns); in scoreList()
188 double penalty2 = next.penalty(query, nColumns); in scoreList()
[all …]
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/System/Language/
H A Dhyphenate.cpp154 array<int> penalty (str_length (s, utf8)-1); in get_hyphens() local
158 while (i < N(penalty)+1) { in get_hyphens()
159 penalty[i-1]= HYPH_INVALID; in get_hyphens()
161 penalty[i-1]= HYPH_STD; in get_hyphens()
168 return penalty; in get_hyphens()
192 array<int> penalty (N(T)-4); in get_hyphens() local
195 if (N(penalty)>0) penalty[0] = penalty[N(penalty)-1] = HYPH_INVALID; in get_hyphens()
196 if (N(penalty)>1) penalty[1] = penalty[N(penalty)-2] = HYPH_INVALID; in get_hyphens()
197 if (N(penalty)>2) penalty[N(penalty)-3] = HYPH_INVALID; in get_hyphens()
199 return penalty; in get_hyphens()
[all …]
/dports/audio/musescore/MuseScore-3.6.1/importexport/midiimport/
H A Dimportmidi_lrhand.cpp54 int penalty = 0; member
130 int penalty = 0; in findPitchWidthPenalty() local
154 return penalty; in findPitchWidthPenalty()
171 int penalty = 0; in findSimilarityPenalty() local
193 penalty -= 12; in findSimilarityPenalty()
195 penalty -= 12; in findSimilarityPenalty()
197 return penalty; in findSimilarityPenalty()
218 int penalty = 0; in findDurationPenalty() local
223 return penalty; in findDurationPenalty()
246 int penalty = 0; in findIntersectionPenalty() local
[all …]
/dports/net/quagga/quagga-1.2.4/bgpd/
H A Dbgp_damp.c49 bgp_reuse_index (int penalty) in bgp_reuse_index() argument
100 return penalty; in bgp_damp_decay()
143 bdi->penalty = bgp_damp_decay (t_diff, bdi->penalty); in bgp_reuse_timer()
218 bdi->penalty = in bgp_damp_withdraw()
223 bdi->penalty = damp->ceiling; in bgp_damp_withdraw()
276 bdi->penalty = bgp_damp_decay (t_now - bdi->t_updated, bdi->penalty); in bgp_damp_update()
336 bdi->penalty = bgp_damp_decay (t_diff, bdi->penalty); in bgp_damp_scan()
587 int penalty; in bgp_damp_info_vty() local
603 penalty = bgp_damp_decay (t_diff, bdi->penalty); in bgp_damp_info_vty()
623 int penalty; in bgp_damp_reuse_time_vty() local
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/
H A Dvp8_partition_aggregator.cc51 int PartitionTreeNode::Cost(size_t penalty) { in Cost() argument
60 return cost + NumPackets() * penalty; in Cost()
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()
136 if (second->Cost(penalty) < first->Cost(penalty)) { in GetOptimalNode()
226 size_t penalty, in CalcNumberOfFragments() argument
251 cost = min_size - fragment_size + n * penalty; in CalcNumberOfFragments()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/
H A Dvp8_partition_aggregator.cc52 int PartitionTreeNode::Cost(size_t penalty) {
61 return cost + NumPackets() * penalty;
123 return right->GetOptimalNode(max_size, penalty);
126 return left->GetOptimalNode(max_size, penalty);
130 if (left->Cost(penalty) <= right->Cost(penalty)) {
137 first = first->GetOptimalNode(max_size, penalty);
138 if (second->Cost(penalty) <= first->Cost(penalty)) {
141 if (second->Cost(penalty) < first->Cost(penalty)) {
228 size_t penalty,
253 cost = min_size - fragment_size + n * penalty;
[all …]
/dports/www/moodle310/moodle/lib/mlbackend/php/phpml/src/Phpml/Classification/Linear/
H A DLogisticRegression.php43 protected $penalty = 'L2'; variable in Phpml\\Classification\\Linear\\LogisticRegression
72 string $penalty = 'L2' argument
90 if ($penalty !== '' && strtoupper($penalty) !== 'L2') {
100 $this->penalty = $penalty;
174 $penalty = 0;
175 if ($this->penalty === 'L2') {
176 $penalty = $this->lambda;
191 return function ($weights, $sample, $y) use ($penalty) {
210 return [$error, $gradient, $penalty];
223 return function ($weights, $sample, $y) use ($penalty) {
[all …]
/dports/www/moodle39/moodle/lib/mlbackend/php/phpml/src/Phpml/Classification/Linear/
H A DLogisticRegression.php43 protected $penalty = 'L2'; variable in Phpml\\Classification\\Linear\\LogisticRegression
72 string $penalty = 'L2' argument
90 if ($penalty !== '' && strtoupper($penalty) !== 'L2') {
100 $this->penalty = $penalty;
174 $penalty = 0;
175 if ($this->penalty === 'L2') {
176 $penalty = $this->lambda;
191 return function ($weights, $sample, $y) use ($penalty) {
210 return [$error, $gradient, $penalty];
223 return function ($weights, $sample, $y) use ($penalty) {
[all …]
/dports/www/moodle311/moodle/lib/mlbackend/php/phpml/src/Phpml/Classification/Linear/
H A DLogisticRegression.php43 protected $penalty = 'L2'; variable in Phpml\\Classification\\Linear\\LogisticRegression
72 string $penalty = 'L2' argument
90 if ($penalty !== '' && strtoupper($penalty) !== 'L2') {
100 $this->penalty = $penalty;
174 $penalty = 0;
175 if ($this->penalty === 'L2') {
176 $penalty = $this->lambda;
191 return function ($weights, $sample, $y) use ($penalty) {
210 return [$error, $gradient, $penalty];
223 return function ($weights, $sample, $y) use ($penalty) {
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/bgpd/
H A Dbgp_damp.c105 return penalty; in bgp_damp_decay()
149 bdi->penalty = bgp_damp_decay(t_diff, bdi->penalty, bdc); in bgp_reuse_timer()
211 bdi->penalty = in bgp_damp_withdraw()
222 last_penalty = bdi->penalty; in bgp_damp_withdraw()
281 bdi->penalty = in bgp_damp_update()
517 / penalty)) in bgp_get_reuse_time()
579 int penalty; in bgp_damp_info_vty() local
596 penalty = bgp_damp_decay(t_diff, bdi->penalty, bdc); in bgp_damp_info_vty()
611 penalty, bdi->flap, in bgp_damp_info_vty()
633 int penalty; in bgp_damp_reuse_time_vty() local
[all …]
/dports/net/frr7/frr-frr-7.5.1/bgpd/
H A Dbgp_damp.c105 return penalty; in bgp_damp_decay()
149 bdi->penalty = bgp_damp_decay(t_diff, bdi->penalty, bdc); in bgp_reuse_timer()
211 bdi->penalty = in bgp_damp_withdraw()
222 last_penalty = bdi->penalty; in bgp_damp_withdraw()
281 bdi->penalty = in bgp_damp_update()
517 / penalty)) in bgp_get_reuse_time()
579 int penalty; in bgp_damp_info_vty() local
596 penalty = bgp_damp_decay(t_diff, bdi->penalty, bdc); in bgp_damp_info_vty()
611 penalty, bdi->flap, in bgp_damp_info_vty()
633 int penalty; in bgp_damp_reuse_time_vty() local
[all …]
/dports/games/julius/julius-1.7.0/src/city/
H A Dsentiment.c88 int penalty; in get_sentiment_penalty_for_tent_dwellers() local
92 penalty = 0; in get_sentiment_penalty_for_tent_dwellers()
94 penalty = -3; in get_sentiment_penalty_for_tent_dwellers()
96 penalty = -4; in get_sentiment_penalty_for_tent_dwellers()
98 penalty = -5; in get_sentiment_penalty_for_tent_dwellers()
100 penalty = -6; in get_sentiment_penalty_for_tent_dwellers()
104 penalty = 0; in get_sentiment_penalty_for_tent_dwellers()
106 penalty = -2; in get_sentiment_penalty_for_tent_dwellers()
108 penalty = -3; in get_sentiment_penalty_for_tent_dwellers()
116 penalty = 0; in get_sentiment_penalty_for_tent_dwellers()
[all …]
/dports/biology/emboss/EMBOSS-6.6.0/emboss/acd/
H A Dneedleall.acd50 information: "Gap opening penalty"
61 relations: "EDAM_data:1397 Gap opening penalty"
66 information: "Gap extension penalty"
80 gap extension penalty to control gap scoring."
81 relations: "EDAM_data:1398 Gap extension penalty"
100 information: "End gap opening penalty"
111 relations: "EDAM_data:1410 Terminal gap opening penalty"
116 information: "End gap extension penalty"
123 penalty for each base or residue in the end gap."
124 relations: "EDAM_data:1411 Terminal gap extension penalty"
[all …]
H A Dneedle.acd49 information: "Gap opening penalty"
60 relations: "EDAM_data:1397 Gap opening penalty"
65 information: "Gap extension penalty"
71 help: "The gap extension, penalty is added to the standard gap
79 gap extension penalty to control gap scoring."
80 relations: "EDAM_data:1398 Gap extension penalty"
98 information: "End gap opening penalty"
109 relations: "EDAM_data:1410 Terminal gap opening penalty"
114 information: "End gap extension penalty"
120 help: "The end gap extension, penalty is added to the end gap
[all …]
/dports/net-im/matterbridge/matterbridge-1.22.3/vendor/github.com/skip2/go-qrcode/
H A Dsymbol.go162 penalty := 0
179 penalty++
200 penalty++
206 return penalty
213 penalty := 0
223 penalty++
237 penalty := 0
252 penalty += penaltyWeight3
256 penalty += penaltyWeight3
276 penalty += penaltyWeight3
[all …]
/dports/security/gopass/gopass-1.13.0/vendor/github.com/skip2/go-qrcode/
H A Dsymbol.go162 penalty := 0
179 penalty++
200 penalty++
206 return penalty
213 penalty := 0
223 penalty++
237 penalty := 0
252 penalty += penaltyWeight3
256 penalty += penaltyWeight3
276 penalty += penaltyWeight3
[all …]

12345678910>>...281