/dports/www/py-gunicorn/gunicorn-19.9.0/gunicorn/ |
H A D | config.py | 344 val = int(val, 0) 347 val = int(val) 375 val = [val] 385 val = validate_string(val) 395 val = val() 455 val = validate_callable(-1)(val) 470 val = validate_string(val) 483 val = validate_string(val) 642 default = 1 variable in WorkerThreads 685 default = 0 variable in MaxRequests [all …]
|
/dports/www/py-bokeh/bokeh-2.3.3/bokeh/core/property/ |
H A D | dataspec.py | 206 if isinstance(val, str): 210 return dict(val) 585 def isconst(cls, val): argument 598 ((len(val) == 7 and val[0] == "#") or val in enums.NamedColor) 601 if val is None: 605 if self.isconst(val): 614 return val.to_css() 619 return val 624 return dict(val) 686 def value(val, transform=None): argument [all …]
|
/dports/devel/flyspray/flyspray-0.9.9.7_4/includes/ |
H A D | class.gpc.php | 24 public static function val($key, $default = null) function in Req 32 return Filters::num(Req::val($key, $default)); 37 return Filters::enum(Req::val($key, $default), $options); 43 return Filters::noXSS(Req::val($key)); 48 return Filters::isAlnum(Req::val($key)); 65 public static function val($key, $default = null) function in Post 73 return Filters::num(Post::val($key, $default)); 98 public static function val($key, $default = null) function in Get 106 return Filters::num(Get::val($key, $default)); 117 return Filters::enum(Get::val($key, $default), $options); [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/getset-0.1.0/tests/ |
H A D | getters.rs | 42 fn default() -> Plain { in default() method 103 let val = Plain::default(); in test_plain() localVariable 109 let val = Generic::<usize>::default(); in test_generic() localVariable 115 let val = Where::<usize>::default(); in test_where() localVariable 121 let val = Plain::default(); in test_prefixed_plain() localVariable 129 let val = Plain::default(); in test_plain() localVariable 135 let val = Generic::<usize>::default(); in test_generic() localVariable 136 assert_eq!(usize::default(), *val.public_accessible()); in test_generic() 141 let val = Where::<usize>::default(); in test_where() localVariable 142 assert_eq!(usize::default(), *val.public_accessible()); in test_where() [all …]
|
H A D | copy_getters.rs | 42 fn default() -> Plain { in default() method 103 let val = Plain::default(); in test_plain() localVariable 109 let val = Generic::<usize>::default(); in test_generic() localVariable 115 let val = Where::<usize>::default(); in test_where() localVariable 121 let val = Plain::default(); in test_prefixed_plain() localVariable 129 let val = Plain::default(); in test_plain() localVariable 135 let val = Generic::<usize>::default(); in test_generic() localVariable 136 assert_eq!(usize::default(), val.public_accessible()); in test_generic() 141 let val = Where::<usize>::default(); in test_where() localVariable 142 assert_eq!(usize::default(), val.public_accessible()); in test_where() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/vendor/getset/tests/ |
H A D | copy_getters.rs | 42 fn default() -> Plain { in default() method 103 let val = Plain::default(); in test_plain() localVariable 109 let val = Generic::<usize>::default(); in test_generic() localVariable 115 let val = Where::<usize>::default(); in test_where() localVariable 121 let val = Plain::default(); in test_prefixed_plain() localVariable 129 let val = Plain::default(); in test_plain() localVariable 135 let val = Generic::<usize>::default(); in test_generic() localVariable 136 assert_eq!(usize::default(), val.public_accessible()); in test_generic() 141 let val = Where::<usize>::default(); in test_where() localVariable 142 assert_eq!(usize::default(), val.public_accessible()); in test_where() [all …]
|
H A D | getters.rs | 42 fn default() -> Plain { in default() method 103 let val = Plain::default(); in test_plain() localVariable 109 let val = Generic::<usize>::default(); in test_generic() localVariable 115 let val = Where::<usize>::default(); in test_where() localVariable 121 let val = Plain::default(); in test_prefixed_plain() localVariable 129 let val = Plain::default(); in test_plain() localVariable 135 let val = Generic::<usize>::default(); in test_generic() localVariable 136 assert_eq!(usize::default(), *val.public_accessible()); in test_generic() 141 let val = Where::<usize>::default(); in test_where() localVariable 142 assert_eq!(usize::default(), *val.public_accessible()); in test_where() [all …]
|
/dports/mail/getmail6/getmail6-6.18.5/getmailcore/ |
H A D | baseclasses.py | 101 self.default = default 116 if not isinstance(val,self.dtype) and val != self.default: 139 ConfItem.__init__(self, name, object, default=default, 144 ConfItem.__init__(self, name, str, default=default, required=required) 152 ConfItem.__init__(self, name, int, default=default, required=required) 156 ConfString.__init__(self, name, default=default, required=required) 176 ConfString.__init__(self, name, default=default, required=required) 210 ConfString.__init__(self, name, default=default, required=required) 242 ConfString.__init__(self, name, default=default, required=required) 257 ConfString.__init__(self, name, default=default, required=required) [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/approx-0.3.2/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/approx-0.3.2/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/approx-0.3.2/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/approx-0.3.2/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/approx/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/approx-0.3.0/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/graphics/pastel/pastel-0.8.1/cargo-crates/approx-0.3.2/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/benchmarks/hyperfine/hyperfine-1.12.0/cargo-crates/approx-0.5.0/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/approx-0.3.2/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/approx-0.3.2/src/ |
H A D | macros.rs | 19 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 22 $crate::AbsDiff::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 30 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 33 $crate::AbsDiff::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 41 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 44 $crate::Relative::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 52 $crate::Relative::default()$(.$opt($val))*.ne(&$lhs, &$rhs) 63 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 66 $crate::Ulps::default()$(.$opt($val))*.eq(&$lhs, &$rhs) 74 $crate::Ulps::default()$(.$opt($val))*.ne(&$lhs, &$rhs) [all …]
|
/dports/math/gnumeric/gnumeric-1.12.50/tools/ |
H A D | handle-conf-options | 83 substr($val,0,1) eq substr($val,-1,1) && 85 $val = substr ($val, 1, length ($val) - 2); 86 return $val; 96 $val = substr ($val, 1, length ($val) - 2); 125 $val = &unquote_gschema_string ($val); 129 $val = &unquote_gschema_string_list ($val); 495 $default = uc $default; 714 $default = "" unless defined $default; 717 while ($default ne '') { 725 $default = substr ($default, 1); [all …]
|
/dports/www/firefox/firefox-99.0/third_party/python/attrs/attr/ |
H A D | converters.py | 21 def optional_converter(val): argument 22 if val is None: 24 return converter(val) 56 default = Factory(factory) 58 if isinstance(default, Factory): 59 if default.takes_self: 65 if val is not None: 66 return val 68 return default.factory() 74 return val [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/attrs/attr/ |
H A D | converters.py | 21 def optional_converter(val): argument 22 if val is None: 24 return converter(val) 56 default = Factory(factory) 58 if isinstance(default, Factory): 59 if default.takes_self: 65 if val is not None: 66 return val 68 return default.factory() 74 return val [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/python/attrs/attr/ |
H A D | converters.py | 21 def optional_converter(val): argument 22 if val is None: 24 return converter(val) 56 default = Factory(factory) 58 if isinstance(default, Factory): 59 if default.takes_self: 65 if val is not None: 66 return val 68 return default.factory() 74 return val [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/attrs/src/attr/ |
H A D | converters.py | 21 def optional_converter(val): argument 22 if val is None: 24 return converter(val) 56 default = Factory(factory) 58 if isinstance(default, Factory): 59 if default.takes_self: 65 if val is not None: 66 return val 68 return default.factory() 74 return val [all …]
|
/dports/finance/electrum/Electrum-4.1.5/packages/attr/ |
H A D | converters.py | 28 def optional_converter(val): argument 29 if val is None: 31 return converter(val) 63 default = Factory(factory) 65 if isinstance(default, Factory): 66 if default.takes_self: 72 if val is not None: 73 return val 75 return default.factory() 81 return val [all …]
|
/dports/devel/py-poetry-core/poetry-core-1.0.7/poetry/core/_vendor/attr/ |
H A D | converters.py | 28 def optional_converter(val): argument 29 if val is None: 31 return converter(val) 63 default = Factory(factory) 65 if isinstance(default, Factory): 66 if default.takes_self: 72 if val is not None: 73 return val 75 return default.factory() 81 return val [all …]
|