/third_party/python/Lib/test/decimaltestdata/ |
D | dqCompare.decTest | 35 dqcom001 compare -2 -2 -> 0 36 dqcom002 compare -2 -1 -> -1 37 dqcom003 compare -2 0 -> -1 38 dqcom004 compare -2 1 -> -1 39 dqcom005 compare -2 2 -> -1 40 dqcom006 compare -1 -2 -> 1 41 dqcom007 compare -1 -1 -> 0 42 dqcom008 compare -1 0 -> -1 43 dqcom009 compare -1 1 -> -1 44 dqcom010 compare -1 2 -> -1 [all …]
|
D | ddCompare.decTest | 35 ddcom001 compare -2 -2 -> 0 36 ddcom002 compare -2 -1 -> -1 37 ddcom003 compare -2 0 -> -1 38 ddcom004 compare -2 1 -> -1 39 ddcom005 compare -2 2 -> -1 40 ddcom006 compare -1 -2 -> 1 41 ddcom007 compare -1 -1 -> 0 42 ddcom008 compare -1 0 -> -1 43 ddcom009 compare -1 1 -> -1 44 ddcom010 compare -1 2 -> -1 [all …]
|
D | compare.decTest | 2 -- compare.decTest -- decimal comparison that allows quiet NaNs -- 34 comx001 compare -2 -2 -> 0 35 comx002 compare -2 -1 -> -1 36 comx003 compare -2 0 -> -1 37 comx004 compare -2 1 -> -1 38 comx005 compare -2 2 -> -1 39 comx006 compare -1 -2 -> 1 40 comx007 compare -1 -1 -> 0 41 comx008 compare -1 0 -> -1 42 comx009 compare -1 1 -> -1 [all …]
|
D | randoms.decTest | 31 xcom001 compare 905.67402 -202896611.E-780472620 -> 1 39 xcom002 compare 3915134.7 -597164907. -> 1 47 xcom003 compare 309759261 62663.487 -> 1 55 xcom004 compare 3.93591888E-236595626 7242375.00 -> -1 63 xcom005 compare 323902.714 -608669.607E-657060568 -> 1 71 xcom006 compare 5.11970092 -8807.22036 -> 1 79 xcom007 compare -7.99874516 4561.83758 -> -1 87 xcom008 compare 297802878 -927206.324 -> 1 95 xcom009 compare -766.651824 31300.3619 -> -1 103 xcom010 compare -56746.8689E+934981942 471002521. -> -1 [all …]
|
D | randomBound32.decTest | 33 comx3001 compare 4953734675913.065314738743322579 0218.932010396534371704930714860E+797 -> -1 41 comx3002 compare 9641.684323386955881595490347910E-844 -78864532047.12287484430980636798E+934 -> 1 49 comx3003 compare -1.028048571628326871054964307774E+529 49200008645699.35577937582714739 -> -1 57 comx3004 compare 479084.8561808930525417735205519 084157571054.2691784660983989931 -> -1 65 comx3005 compare -0363750788.573782205664349562931 -3172.080934464133691909905980096 -> -1 73 comx3006 compare 1381026551423669919010191878449 -82.66614775445371254999357800739 -> 1 81 comx3007 compare 4627.026960423072127953556635585 -4410583132901.830017479741231131 -> 1 89 comx3008 compare 75353574493.84484153484918212042 -8684111695095849922263044191221 -> 1 97 comx3009 compare 6907058.216435355874729592373011 2.857005446917670515662398741545 -> 1 105 comx3010 compare -38949530427253.24030680468677190 712168021.1265384466442576619064E-992 -> -1 [all …]
|
/third_party/node/test/parallel/ |
D | test-buffer-compare-offset.js | 9 assert.strictEqual(a.compare(b), -1); 12 assert.strictEqual(a.compare(b, 0), -1); 13 assert.throws(() => a.compare(b, '0'), { code: 'ERR_INVALID_ARG_TYPE' }); 14 assert.strictEqual(a.compare(b, undefined), -1); 17 assert.strictEqual(a.compare(b, 0, undefined, 0), -1); 20 assert.strictEqual(a.compare(b, 0, 0, 0), 1); 22 () => a.compare(b, 0, '0', '0'), 27 assert.strictEqual(a.compare(b, 6, 10), 1); 30 assert.strictEqual(a.compare(b, 6, 10, 0, 0), -1); 33 assert.strictEqual(a.compare(b, 0, 0, 0, 0), 0); [all …]
|
D | test-buffer-compare.js | 11 assert.strictEqual(b.compare(c), -1); 12 assert.strictEqual(c.compare(d), 1); 13 assert.strictEqual(d.compare(b), 1); 14 assert.strictEqual(d.compare(e), 0); 15 assert.strictEqual(b.compare(d), -1); 16 assert.strictEqual(b.compare(b), 0); 18 assert.strictEqual(Buffer.compare(b, c), -1); 19 assert.strictEqual(Buffer.compare(c, d), 1); 20 assert.strictEqual(Buffer.compare(d, b), 1); 21 assert.strictEqual(Buffer.compare(b, d), -1); [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/ |
D | SDL_qsort.c | 33 SDL_qsort(void *base, size_t nmemb, size_t size, int (*compare) (const void *, const void *)) in SDL_qsort() 35 qsort(base, nmemb, size, compare); in SDL_qsort() 278 if (last-first>PIVOT_THRESHOLD*sz) mid=pivot_big(first,mid,last,sz,compare);\ 280 if (compare(first,mid)<0) { \ 281 if (compare(mid,last)>0) { \ 283 if (compare(first,mid)>0) swapper(first,mid);\ 287 if (compare(mid,last)>0) swapper(first,last)\ 290 if (compare(mid,last)>0) swapper(mid,last);\ 303 while (compare(first,pivot)<0) first+=sz; \ 304 while (compare(pivot,last)<0) last-=sz; \ [all …]
|
/third_party/boost/boost/geometry/policies/ |
D | compare.hpp | 53 typedef typename strategy::compare::services::default_strategy in operator ()() 55 strategy::compare::less, in operator ()() 73 typedef typename strategy::compare::services::default_strategy in operator ()() 75 strategy::compare::less, in operator ()() 94 typedef typename strategy::compare::services::default_strategy in operator ()() 96 strategy::compare::less, in operator ()() 113 typedef typename strategy::compare::services::default_strategy in operator ()() 115 strategy::compare::less, in operator ()() 145 typedef typename strategy::compare::services::default_strategy in operator ()() 147 strategy::compare::greater, in operator ()() [all …]
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_pair_truncate.py | 24 def compare(in1, in2, length, out1, out2): function 45 compare(in1=[1, 2, 3], in2=[4, 5], length=4, out1=[1, 2], out2=[4, 5]) 46 compare(in1=[1, 2], in2=[4, 5], length=4, out1=[1, 2], out2=[4, 5]) 47 compare(in1=[1], in2=[4], length=4, out1=[1], out2=[4]) 48 compare(in1=[1, 2, 3, 4], in2=[5], length=4, out1=[1, 2, 3], out2=[5]) 49 compare(in1=[1, 2, 3, 4], in2=[5, 6, 7, 8], length=4, out1=[1, 2], out2=[5, 6]) 53 compare(in1=[1, 2, 3], in2=[4, 5], length=3, out1=[1, 2], out2=[4]) 54 compare(in1=[1, 2], in2=[4, 5], length=3, out1=[1, 2], out2=[4]) 55 compare(in1=[1], in2=[4], length=5, out1=[1], out2=[4]) 56 compare(in1=[1, 2, 3, 4], in2=[5], length=3, out1=[1, 2], out2=[5]) [all …]
|
/third_party/boost/boost/atomic/detail/ |
D | interlocked.hpp | 27 …ERLOCKED_COMPARE_EXCHANGE(dest, exchange, compare) _InterlockedCompareExchange((long*)(dest), exch… argument 41 …ERLOCKED_COMPARE_EXCHANGE(dest, exchange, compare) InterlockedCompareExchange((long*)(dest), excha… argument 49 …OINTER(dest, exchange, compare) ((void*)BOOST_ATOMIC_INTERLOCKED_COMPARE_EXCHANGE((long*)(dest), (… argument 70 …ERLOCKED_COMPARE_EXCHANGE(dest, exchange, compare) _InterlockedCompareExchange((long*)(dest), exch… argument 76 …OINTER(dest, exchange, compare) ((void*)BOOST_ATOMIC_INTERLOCKED_COMPARE_EXCHANGE((long*)(dest), (… argument 96 …_COMPARE_EXCHANGE(dest, exchange, compare) _InterlockedCompareExchange((long*)(dest), (long)(excha… argument 121 …E_EXCHANGE64(dest, exchange, compare) _InterlockedCompareExchange64((__int64*)(dest), (__int64)(ex… argument 128 …ge, compare) _InterlockedCompareExchange128((__int64*)(dest), ((const __int64*)(&exchange))[1], ((… argument 146 …COMPARE_EXCHANGE8(dest, exchange, compare) _InterlockedCompareExchange8((char*)(dest), (char)(exch… argument 162 …PARE_EXCHANGE16(dest, exchange, compare) _InterlockedCompareExchange16((short*)(dest), (short)(exc… argument [all …]
|
/third_party/boost/libs/spirit/test/qi/ |
D | pass_container1.cpp | 29 inline bool compare(std::vector<char> const& v, std::string const& s) in compare() function 42 compare(v, "abcdefgh")); in main() 55 compare(v1, "abcdefgh")); in main() 58 compare(v1, "aceg")); in main() 86 compare(v1, "abcdefgh")); in main() 89 compare(v1, "adg")); in main() 92 compare(v1, "bcefh")); in main() 107 v2[0].first == 'a' && compare(v2[0].second, "bc") && in main() 108 v2[1].first == 'd' && compare(v2[1].second, "ef") && in main() 109 v2[2].first == 'g' && compare(v2[2].second, "h")); in main() [all …]
|
/third_party/boost/boost/detail/ |
D | interlocked.hpp | 66 # define BOOST_INTERLOCKED_COMPARE_EXCHANGE(dest, exchange, compare) \ argument 67 …ERLOCKED_LONG32*)(dest), (BOOST_INTERLOCKED_LONG32)(exchange), (BOOST_INTERLOCKED_LONG32)(compare)) 72 # define BOOST_INTERLOCKED_COMPARE_EXCHANGE_POINTER(dest, exchange, compare) \ argument 73 InterlockedCompareExchangePointer((void**)(dest), (void*)(exchange), (void*)(compare)) 85 # define BOOST_INTERLOCKED_COMPARE_EXCHANGE(dest, exchange, compare) \ argument 86 …ERLOCKED_LONG32*)(dest), (BOOST_INTERLOCKED_LONG32)(exchange), (BOOST_INTERLOCKED_LONG32)(compare)) 97 # define BOOST_INTERLOCKED_COMPARE_EXCHANGE_POINTER(dest, exchange, compare) \ argument 98 _InterlockedCompareExchangePointer((void**)(dest), (void*)(exchange), (void*)(compare)) 104 # define BOOST_INTERLOCKED_COMPARE_EXCHANGE_POINTER(dest, exchange, compare) \ argument 105 …RLOCKED_LONG32*)(dest), (BOOST_INTERLOCKED_LONG32)(exchange), (BOOST_INTERLOCKED_LONG32)(compare))) [all …]
|
/third_party/typescript_eslint/packages/shared-fixtures/ |
D | CHANGELOG.md | 6 # [4.8.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.7.0...v4.8.0) (2020-11-… 14 # [4.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.1...v4.7.0) (2020-11-… 25 ## [4.6.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.0...v4.6.1) (2020-11… 33 # [4.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.5.0...v4.6.0) (2020-10-… 41 # [4.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.1...v4.5.0) (2020-10-… 49 ## [4.4.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.0...v4.4.1) (2020-10… 57 # [4.4.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.3.0...v4.4.0) (2020-10-… 65 # [4.3.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.2.0...v4.3.0) (2020-09-… 73 # [4.2.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.1...v4.2.0) (2020-09-… 81 ## [4.1.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.0...v4.1.1) (2020-09… [all …]
|
/third_party/typescript_eslint/packages/eslint-plugin-tslint/ |
D | CHANGELOG.md | 6 # [4.8.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.7.0...v4.8.0) (2020-11-… 14 # [4.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.1...v4.7.0) (2020-11-… 22 ## [4.6.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.0...v4.6.1) (2020-11… 30 # [4.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.5.0...v4.6.0) (2020-10-… 38 # [4.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.1...v4.5.0) (2020-10-… 49 ## [4.4.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.0...v4.4.1) (2020-10… 57 # [4.4.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.3.0...v4.4.0) (2020-10-… 65 # [4.3.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.2.0...v4.3.0) (2020-09-… 73 # [4.2.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.1...v4.2.0) (2020-09-… 81 ## [4.1.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.0...v4.1.1) (2020-09… [all …]
|
/third_party/typescript_eslint/packages/eslint-plugin-internal/ |
D | CHANGELOG.md | 6 # [4.8.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.7.0...v4.8.0) (2020-11-… 14 # [4.7.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.1...v4.7.0) (2020-11-… 22 ## [4.6.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.0...v4.6.1) (2020-11… 30 # [4.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.5.0...v4.6.0) (2020-10-… 38 # [4.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.1...v4.5.0) (2020-10-… 49 ## [4.4.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.0...v4.4.1) (2020-10… 57 # [4.4.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.3.0...v4.4.0) (2020-10-… 65 # [4.3.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.2.0...v4.3.0) (2020-09-… 73 # [4.2.0](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.1...v4.2.0) (2020-09-… 81 ## [4.1.1](https://github.com/typescript-eslint/typescript-eslint/compare/v4.1.0...v4.1.1) (2020-09… [all …]
|
/third_party/boost/boost/regex/v4/ |
D | sub_match.hpp | 87 int compare(const sub_match& s)const in compare() function 91 return str().compare(s.str()); in compare() 93 int compare(const std::basic_string<value_type>& s)const in compare() function 95 return str().compare(s); in compare() 97 int compare(const value_type* p)const in compare() function 99 return str().compare(p); in compare() 103 { return compare(that) == 0; } in operator ==() 105 { return compare(that) != 0; } in operator !=() 107 { return compare(that) < 0; } in operator <() 109 { return compare(that) > 0; } in operator >() [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/data/ |
D | collationtest.txt | 24 # "* compare" tests the order (= or <) of the following strings. 28 # Test sections ("* compare") are terminated by 41 * compare 121 * compare 132 * compare 139 * compare 145 * compare 153 * compare 158 * compare 164 * compare [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/ |
D | collationtest.txt | 24 # "* compare" tests the order (= or <) of the following strings. 28 # Test sections ("* compare") are terminated by 41 * compare 121 * compare 132 * compare 139 * compare 145 * compare 153 * compare 158 * compare 164 * compare [all …]
|
/third_party/icu/icu4c/source/test/testdata/ |
D | collationtest.txt | 24 # "* compare" tests the order (= or <) of the following strings. 28 # Test sections ("* compare") are terminated by 41 * compare 121 * compare 132 * compare 139 * compare 145 * compare 153 * compare 158 * compare 164 * compare [all …]
|
/third_party/boost/boost/numeric/ublas/tensor/ |
D | operators_comparison.hpp | 28 bool compare(tensor<T,F,A> const& lhs, tensor<T,F,A> const& rhs, BinaryPred pred) in compare() function 49 bool compare(tensor<T,F,A> const& rhs, UnaryPred pred) in compare() function 59 bool compare(tensor_expression<T,L> const& lhs, tensor_expression<T,R> const& rhs, BinaryPred pred) in compare() function 65 return compare(static_cast<T const&>( lhs ), static_cast<T const&>( rhs ), pred); in compare() 67 return compare(static_cast<T const&>( lhs ), T( rhs ), pred); in compare() 69 return compare(T( lhs ), static_cast<T const&>( rhs ), pred); in compare() 71 return compare(T( lhs ), T( rhs ), pred); in compare() 76 bool compare(tensor_expression<T,D> const& expr, UnaryPred pred) in compare() function 79 return compare(static_cast<T const&>( expr ), pred); in compare() 81 return compare(T( expr ), pred); in compare() [all …]
|
/third_party/boost/libs/locale/test/ |
D | test_winapi_collate.cpp | 73 void compare(std::string left,std::string right,int level,int expected) in compare() function 95 compare("a","A",primary,eq); in test_collate() 96 compare("a","A",secondary,eq); in test_collate() 97 compare("A","a",tertiary,gt); in test_collate() 98 compare("a","A",tertiary,le); in test_collate() 99 compare("a","A",quaternary,le); in test_collate() 100 compare("A","a",quaternary,gt); in test_collate() 101 compare("a","A",identical,le); in test_collate() 102 compare("A","a",identical,gt); in test_collate() 103 compare("a","ä",primary,eq); // a , ä in test_collate() [all …]
|
/third_party/node/benchmark/buffers/ |
D | buffer-compare-instance-method.js | 20 b0.compare(b1, 0); 23 b0.compare(b1, 0); 28 b0.compare(b1, 0, b1Len); 31 b0.compare(b1, 0, b1Len); 36 b0.compare(b1, 0, b1Len, 0); 39 b0.compare(b1, 0, b1Len, 0); 44 b0.compare(b1, 0, b1Len, 0, b0Len); 47 b0.compare(b1, 0, b1Len, 0, b0Len); 52 b0.compare(b1); 55 b0.compare(b1);
|
/third_party/boost/libs/numeric/ublas/test/ |
D | test_fixed_containers.cpp | 60 pass &= compare( v1, v ); in test_vector() 65 pass &= compare( v1, v ); in test_vector() 73 pass &= compare( v, v2 ); in test_vector() 77 pass &= compare( v2, 2*v ); in test_vector() 81 pass &= compare( v1, (3-2*6)*v ); in test_vector() 87 pass &= compare( v3, v1 ); in test_vector() 92 pass &= compare( v4, v1 ); in test_vector() 97 pass &= compare( v5, v1 ); in test_vector() 107 pass &= compare( M, L ); in test_vector() 115 pass &= compare( v7, prod(L, v6) ); in test_vector() [all …]
|
/third_party/grpc/test/cpp/util/ |
D | cli_credentials.cc | 74 auth.compare(0, ACCESS_TOKEN_PREFIX_LEN, ACCESS_TOKEN_PREFIX) == 0; in IsAccessToken() 116 if (FLAGS_channel_creds_type.compare("insecure") == 0) { in GetChannelCredentials() 118 } else if (FLAGS_channel_creds_type.compare("ssl") == 0) { in GetChannelCredentials() 140 } else if (FLAGS_channel_creds_type.compare("gdc") == 0) { in GetChannelCredentials() 142 } else if (FLAGS_channel_creds_type.compare("alts") == 0) { in GetChannelCredentials() 145 } else if (FLAGS_channel_creds_type.compare("local") == 0) { in GetChannelCredentials() 146 if (FLAGS_local_connect_type.compare("local_tcp") == 0) { in GetChannelCredentials() 148 } else if (FLAGS_local_connect_type.compare("uds") == 0) { in GetChannelCredentials() 168 if (FLAGS_call_creds.compare("none") == 0) { in GetCallCredentials() 191 } else if (FLAGS_enable_ssl && FLAGS_channel_creds_type.compare("ssl") != 0) { in GetCredentials() [all …]
|