Home
last modified time | relevance | path

Searched refs:total_weight (Results 1 – 25 of 1123) sorted by relevance

12345678910>>...45

/dports/graphics/scantailor/scantailor-advanced-1.0.16/imageproc/
H A DColorMixer.h33 … result_type mix(const Mixer* mixer, accum_type total_weight) { return mixer->nonIntegerMix(total_… in mix()
41 …ic result_type mix(const Mixer* mixer, accum_type total_weight) { return mixer->integerMix(total_w…
77 assert(total_weight > 0);
86 assert(total_weight > 0);
91 assert(total_weight > 0);
127 assert(total_weight > 0);
136 assert(total_weight > 0);
145 assert(total_weight > 0);
192 assert(total_weight > 0);
207 assert(total_weight > 0);
[all …]
/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/
H A Dlinlsq.cpp35 total_weight = 0.0; // no elements in clear()
50 total_weight++; // count elements in add()
59 total_weight += weight; in add()
68 total_weight += other.total_weight; in add()
83 if (total_weight <= 0.0) { // illegal in remove()
86 total_weight--; // count elements in remove()
117 if (total_weight > 0.0) { in c()
118 return (sigy - m * sigx) / total_weight; in c()
133 if (total_weight > 0) { in rms()
167 if (total_weight > 0.0) { in mean_point()
[all …]
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/devel/texlab/texlab-3.3.0/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/devel/sccache/sccache-0.2.15/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/devel/rust-cbindgen/cbindgen-0.20.0/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/www/castor/castor-0.8.16/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/games/genact/genact-0.10.0/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/dns/dog/dog-0.1.0/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/graphics/libopenraw/libopenraw-0.3.0/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/sysutils/zoxide/zoxide-0.6.0/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/textproc/sd/sd-0.7.6/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/textproc/ripgrep-all/ripgrep-all-0.9.6/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/devel/tokei/tokei-12.1.2/cargo-crates/rand-0.7.3/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/rand/src/distributions/weighted/
H A Dmod.rs87 total_weight: X, field
110 if total_weight < zero { in new()
123 if total_weight == zero { in new()
130 total_weight, in new()
155 let mut total_weight = self.total_weight.clone(); in update_weights() localVariable
182 total_weight -= &old_w; in update_weights()
183 total_weight += w; in update_weights()
186 if total_weight == zero { in update_weights()
218 self.total_weight = total_weight; in update_weights()
342 assert_eq!(distr.total_weight, total_weight); in test_update_weights()
[all …]

12345678910>>...45