/dports/misc/libpostal/libpostal-1.1-alpha/scripts/geodata/text/ |
H A D | normalize.py | 4 from geodata.text import _normalize 10 NORMALIZE_STRING_LATIN_ASCII = _normalize.NORMALIZE_STRING_LATIN_ASCII 11 NORMALIZE_STRING_TRANSLITERATE = _normalize.NORMALIZE_STRING_TRANSLITERATE 12 NORMALIZE_STRING_STRIP_ACCENTS = _normalize.NORMALIZE_STRING_STRIP_ACCENTS 13 NORMALIZE_STRING_DECOMPOSE = _normalize.NORMALIZE_STRING_DECOMPOSE 14 NORMALIZE_STRING_LOWERCASE = _normalize.NORMALIZE_STRING_LOWERCASE 15 NORMALIZE_STRING_TRIM = _normalize.NORMALIZE_STRING_TRIM 19 DEFAULT_STRING_OPTIONS = _normalize.NORMALIZE_DEFAULT_STRING_OPTIONS 23 NORMALIZE_TOKEN_DELETE_HYPHENS = _normalize.NORMALIZE_TOKEN_DELETE_HYPHENS 31 DEFAULT_TOKEN_OPTIONS = _normalize.NORMALIZE_DEFAULT_TOKEN_OPTIONS [all …]
|
/dports/security/py-stem/stem-1.8.0/test/unit/interpreter/ |
H A D | help.py | 3 from stem.interpreter.help import response, _normalize 10 self.assertEqual('', _normalize('')) 11 self.assertEqual('', _normalize(' ')) 13 self.assertEqual('GETINFO', _normalize('GETINFO')) 14 self.assertEqual('GETINFO', _normalize('GetInfo')) 15 self.assertEqual('GETINFO', _normalize('getinfo')) 16 self.assertEqual('GETINFO', _normalize('GETINFO version')) 17 self.assertEqual('GETINFO', _normalize('GETINFO ')) 19 self.assertEqual('INFO', _normalize('/info')) 20 self.assertEqual('INFO', _normalize('/info caerSidi'))
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_06_math/ |
H A D | test_620_knot.py | 10 def _normalize(values, max_value): function 18 assert open_uniform_knot_vector(5, 2, normalize=True) == _normalize(open_uniform_order2, 4.0) 25 assert open_uniform_knot_vector(7, 3, normalize=True) == _normalize(open_uniform_order3, 5.0) 32 assert open_uniform_knot_vector(9, 4, normalize=True) == _normalize(open_uniform_order4, 6.0) 44 assert uniform_knot_vector(5, 2, normalize=True) == _normalize(uniform_order2, 6.0) 51 assert uniform_knot_vector(7, 3, normalize=True) == _normalize(uniform_order3, 9.0) 58 assert uniform_knot_vector(9, 4, normalize=True) == _normalize(uniform_order4, 12.0)
|
/dports/devel/p5-Test-File/Test-File-1.444/lib/Test/ |
H A D | File.pm | 72 sub _normalize { subroutine 118 my $filename = _normalize( shift ); 139 my $filename = _normalize( shift ); 164 my $filename = _normalize( shift ); 198 my $filename = _normalize( shift ); 232 my $filename = _normalize( shift ); 271 my $filename = _normalize( shift ); 312 my $filename = _normalize( shift ); 374 my $filename = _normalize( shift ); 428 my $filename = _normalize( shift ); [all …]
|
/dports/devel/py-robotframework/robotframework-3.1.2/src/robot/utils/ |
H A D | normalizing.py | 68 self._normalize = lambda s: normalize(s, ignore, caseless, spaceless) 78 return self._data[self._normalize(key)] 81 norm_key = self._normalize(key) 86 norm_key = self._normalize(key) 113 copy._normalize = self._normalize 119 return self._normalize(key) in self._data
|
/dports/textproc/py-nltk/nltk-3.4.1/nltk/test/unit/ |
H A D | test_2x_compat.py | 37 NativePythonFraction(0, 1000, _normalize=False) 40 compat_frac = NLTKFraction(0, 1000, _normalize=False) 49 six_twelve = NLTKFraction(6, 12, _normalize=False) 53 one_two = NLTKFraction(1, 2, _normalize=False) 65 assert NLTKFraction(3.142, _normalize=False) == NativePythonFraction(3.142)
|
/dports/lang/perl5.34/perl-5.34.0/dist/I18N-LangTags/lib/I18N/LangTags/ |
H A D | Detect.pm | 19 sub _normalize { subroutine 67 return _normalize @languages; 87 return _normalize $1; 90 return _normalize( $in =~ m/([a-zA-Z][-a-zA-Z]+)/g ); 120 return _normalize(
|
/dports/lang/perl5.30/perl-5.30.3/dist/I18N-LangTags/lib/I18N/LangTags/ |
H A D | Detect.pm | 19 sub _normalize { subroutine 67 return _normalize @languages; 87 return _normalize $1; 90 return _normalize( $in =~ m/([a-zA-Z][-a-zA-Z]+)/g ); 120 return _normalize(
|
/dports/lang/perl5.32/perl-5.32.1/dist/I18N-LangTags/lib/I18N/LangTags/ |
H A D | Detect.pm | 19 sub _normalize { subroutine 67 return _normalize @languages; 87 return _normalize $1; 90 return _normalize( $in =~ m/([a-zA-Z][-a-zA-Z]+)/g ); 120 return _normalize(
|
/dports/misc/p5-I18N-LangTags/I18N-LangTags-0.35/lib/I18N/LangTags/ |
H A D | Detect.pm | 19 sub _normalize { subroutine 67 return _normalize @languages; 87 return _normalize $1; 90 return _normalize( $in =~ m/([a-zA-Z][-a-zA-Z]+)/g ); 120 return _normalize(
|
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/dist/I18N-LangTags/lib/I18N/LangTags/ |
H A D | Detect.pm | 19 sub _normalize { subroutine 67 return _normalize @languages; 87 return _normalize $1; 90 return _normalize( $in =~ m/([a-zA-Z][-a-zA-Z]+)/g ); 120 return _normalize(
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/chat/modules/ |
H A D | NormalizedMap.jsm | 28 this._normalize = aNormalize; 32 _normalize(aKey) { 38 return super.delete(this._normalize(key)); 41 return super.get(this._normalize(key)); 44 return super.has(this._normalize(key)); 47 super.set(this._normalize(key), val);
|
/dports/devel/p5-Test-File/Test-File-1.444/t/ |
H A D | normalize.t | 15 my $normalized = Test::File::_normalize( $file ); 26 my $normalized = Test::File::_normalize( $file ); 38 my $normalized = Test::File::_normalize( $file ); 47 my $normalized = Test::File::_normalize( undef ); 52 my $normalized = Test::File::_normalize( '' ); 59 my $normalized = Test::File::_normalize();
|
/dports/lang/python310/Python-3.10.1/Lib/ |
H A D | fractions.py | 62 def __new__(cls, numerator=0, denominator=None, *, _normalize=True): argument 157 if _normalize: 462 return Fraction(t, s * db, _normalize=False) 463 return Fraction(t // g2, s * (db // g2), _normalize=False) 478 return Fraction(t, s * db, _normalize=False) 479 return Fraction(t // g2, s * (db // g2), _normalize=False) 495 return Fraction(na * nb, db * da, _normalize=False) 515 return Fraction(n, d, _normalize=False) 554 _normalize=False) 558 _normalize=False) [all …]
|
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/lib/POE/Component/IRC/Plugin/ |
H A D | Logger.pm | 83 my $topic = $self->_normalize(${ $_[2] }->[1]); 134 my $msg = $self->_normalize(${ $_[2] }); 175 my $msg = $self->_normalize(${ $_[1] }); 187 my $msg = $self->_normalize(${ $_[1] }); 210 my $msg = $self->_normalize(${ $_[3] }); 219 my $msg = $self->_normalize(${ $_[2] }); 243 $msg = $self->_normalize($msg); 253 my $msg = $self->_normalize(${ $_[2] }); 300 my $msg = $self->_normalize(${ $_[3] }); 323 $msg = $self->_normalize($msg); [all …]
|
/dports/ftp/net2ftp/net2ftp_v1.3/files_to_upload/plugins/phpseclib/Math/ |
H A D | BigInteger.php | 914 return $this->_normalize($result); 1459 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1471 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1481 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1503 return array($this->_normalize($temp), $this->_normalize(new Math_BigInteger())); 1511 return array($this->_normalize(new Math_BigInteger()), $this->_normalize($x)); 1614 return array($this->_normalize($quotient), $this->_normalize($x)); 2514 … return $this->compare($zero) < 0 ? $this->_normalize($n->subtract($x)) : $this->_normalize($x); 3019 return $this->_normalize($temp); 3057 return $this->_normalize($temp); [all …]
|
/dports/math/pear-Math_BigInteger/Math_BigInteger-1.0.3/Math/ |
H A D | BigInteger.php | 877 return $this->_normalize($result); 1422 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1434 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1444 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1466 return array($this->_normalize($temp), $this->_normalize(new Math_BigInteger())); 1474 return array($this->_normalize(new Math_BigInteger()), $this->_normalize($x)); 1578 return array($this->_normalize($quotient), $this->_normalize($x)); 2460 … return $this->compare($zero) < 0 ? $this->_normalize($n->subtract($x)) : $this->_normalize($x); 2954 return $this->_normalize($temp); 2992 return $this->_normalize($temp); [all …]
|
/dports/www/osticket/upload/include/pear/Math/ |
H A D | BigInteger.php | 843 return $this->_normalize($result); 1388 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1400 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1410 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1432 return array($this->_normalize($temp), $this->_normalize(new Math_BigInteger())); 1440 return array($this->_normalize(new Math_BigInteger()), $this->_normalize($x)); 1544 return array($this->_normalize($quotient), $this->_normalize($x)); 2426 … return $this->compare($zero) < 0 ? $this->_normalize($n->subtract($x)) : $this->_normalize($x); 2920 return $this->_normalize($temp); 2958 return $this->_normalize($temp); [all …]
|
/dports/lang/python311/Python-3.11.0a3/Lib/ |
H A D | fractions.py | 62 def __new__(cls, numerator=0, denominator=None, *, _normalize=True): argument 158 if _normalize: 463 return Fraction(t, s * db, _normalize=False) 464 return Fraction(t // g2, s * (db // g2), _normalize=False) 479 return Fraction(t, s * db, _normalize=False) 480 return Fraction(t // g2, s * (db // g2), _normalize=False) 496 return Fraction(na * nb, db * da, _normalize=False) 516 return Fraction(n, d, _normalize=False) 555 _normalize=False) 559 _normalize=False) [all …]
|
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/build_tools/ |
H A D | rename_pep8.py | 11 def _normalize(name): function 67 name_to_new_val[r'\b'+n+r'\b'] = _normalize(n) 71 assert _normalize('RestoreSysSetTraceFunc') == 'restore_sys_set_trace_func' 72 assert _normalize('restoreSysSetTraceFunc') == 'restore_sys_set_trace_func' 73 assert _normalize('Restore') == 'restore'
|
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pydev/build_tools/ |
H A D | rename_pep8.py | 11 def _normalize(name): function 67 name_to_new_val[r'\b'+n+r'\b'] = _normalize(n) 71 assert _normalize('RestoreSysSetTraceFunc') == 'restore_sys_set_trace_func' 72 assert _normalize('restoreSysSetTraceFunc') == 'restore_sys_set_trace_func' 73 assert _normalize('Restore') == 'restore'
|
/dports/devel/py-pydevd/pydevd-1.1.1/build_tools/ |
H A D | rename_pep8.py | 11 def _normalize(name): function 67 name_to_new_val[r'\b'+n+r'\b'] = _normalize(n) 71 assert _normalize('RestoreSysSetTraceFunc') == 'restore_sys_set_trace_func' 72 assert _normalize('restoreSysSetTraceFunc') == 'restore_sys_set_trace_func' 73 assert _normalize('Restore') == 'restore'
|
/dports/deskutils/egroupware/egroupware/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 896 return $this->_normalize($result); 1435 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1447 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1457 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1479 return array($this->_normalize($temp), $this->_normalize(new static())); 1487 return array($this->_normalize(new static()), $this->_normalize($x)); 1592 return array($this->_normalize($quotient), $this->_normalize($x)); 2488 … return $this->compare($zero) < 0 ? $this->_normalize($n->subtract($x)) : $this->_normalize($x); 2988 return $this->_normalize($temp); 3026 return $this->_normalize($temp); [all …]
|
/dports/www/groupoffice/groupoffice-6.4.231-php-71/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 896 return $this->_normalize($result); 1435 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1447 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1457 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1479 return array($this->_normalize($temp), $this->_normalize(new static())); 1487 return array($this->_normalize(new static()), $this->_normalize($x)); 1592 return array($this->_normalize($quotient), $this->_normalize($x)); 2488 … return $this->compare($zero) < 0 ? $this->_normalize($n->subtract($x)) : $this->_normalize($x); 2988 return $this->_normalize($temp); 3026 return $this->_normalize($temp); [all …]
|
/dports/www/dokuwiki/dokuwiki-2020-07-29/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 896 return $this->_normalize($result); 1435 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1447 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1457 return array($this->_normalize($quotient), $this->_normalize($remainder)); 1479 return array($this->_normalize($temp), $this->_normalize(new static())); 1487 return array($this->_normalize(new static()), $this->_normalize($x)); 1592 return array($this->_normalize($quotient), $this->_normalize($x)); 2488 … return $this->compare($zero) < 0 ? $this->_normalize($n->subtract($x)) : $this->_normalize($x); 2988 return $this->_normalize($temp); 3026 return $this->_normalize($temp); [all …]
|