Home
last modified time | relevance | path

Searched refs:big (Results 1 – 25 of 1392) sorted by relevance

12345678910>>...56

/third_party/python/Lib/test/
Dtest_format.py141 big = 123456789012345678901234567890
142 testcommon("%d", big, "123456789012345678901234567890")
143 testcommon("%d", -big, "-123456789012345678901234567890")
144 testcommon("%5d", -big, "-123456789012345678901234567890")
145 testcommon("%31d", -big, "-123456789012345678901234567890")
146 testcommon("%32d", -big, " -123456789012345678901234567890")
147 testcommon("%-32d", -big, "-123456789012345678901234567890 ")
148 testcommon("%032d", -big, "-0123456789012345678901234567890")
149 testcommon("%-032d", -big, "-123456789012345678901234567890 ")
150 testcommon("%034d", -big, "-000123456789012345678901234567890")
[all …]
/third_party/boost/libs/endian/test/
Dconversion_test.cpp93 T big; in test() local
96 big_value(big); in test()
101 if( be::order::native == be::order::big ) in test()
103 BOOST_TEST_EQ(native, big); in test()
108 BOOST_TEST_EQ(::std_endian_reverse(native), big); in test()
115 BOOST_TEST_EQ(be::endian_reverse(big), little); in test()
116 BOOST_TEST_EQ(be::endian_reverse(little), big); in test()
119 BOOST_TEST_EQ(be::native_to_big(native), big); in test()
121 BOOST_TEST_EQ(be::big_to_native(big), native); in test()
125 BOOST_TEST_EQ((be::conditional_reverse<be::order::big, be::order::big>(big)), big); in test()
[all …]
Dendian_load_test.cpp22 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::int8_t, 1, boost::endian::order::big>( v )), 0x0… in main()
23 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::uint8_t, 1, boost::endian::order::big>( v )), 0x… in main()
30 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::int16_t, 1, boost::endian::order::big>( v )), 0x… in main()
31 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::uint16_t, 1, boost::endian::order::big>( v )), 0… in main()
38 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::int16_t, 2, boost::endian::order::big>( v )), 0x… in main()
39 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::uint16_t, 2, boost::endian::order::big>( v )), 0… in main()
46 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::int32_t, 1, boost::endian::order::big>( v )), 0x… in main()
47 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::uint32_t, 1, boost::endian::order::big>( v )), 0… in main()
54 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::int32_t, 2, boost::endian::order::big>( v )), 0x… in main()
55 …BOOST_TEST_EQ( (boost::endian::endian_load<boost::uint32_t, 2, boost::endian::order::big>( v )), 0… in main()
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/lib/interval/
Dinterval_test.go30 i := IntRange{big.NewInt(0), big.NewInt(255)}
31 j := IntRange{big.NewInt(0), big.NewInt(3)}
32 four := IntRange{big.NewInt(4), big.NewInt(4)}
34 want := IntRange{big.NewInt(0), big.NewInt(1023)}
47 alternativeBigIntLsh := func(i *big.Int, j *big.Int) *big.Int {
49 k := big.NewInt(2)
55 alternativeBigIntRsh := func(i *big.Int, j *big.Int) *big.Int {
57 k := big.NewInt(2)
63 xs := []*big.Int{
64 big.NewInt(-9),
[all …]
Dinterval.go40 one = big.NewInt(1)
43 func bigIntMul(i *big.Int, j *big.Int) *big.Int { return big.NewInt(0).Mul(i, j) }
44 func bigIntQuo(i *big.Int, j *big.Int) *big.Int { return big.NewInt(0).Quo(i, j) }
46 func bigIntLsh(i *big.Int, j *big.Int) *big.Int {
49 return big.NewInt(0).Lsh(i, uint(u))
54 k := big.NewInt(2)
60 func bigIntRsh(i *big.Int, j *big.Int) *big.Int {
63 return big.NewInt(0).Rsh(i, uint(u))
68 k := big.NewInt(2)
80 i *big.Int
[all …]
/third_party/protobuf/src/google/protobuf/stubs/
Dint128_unittest.cc51 uint128 big(2000, 2); in TEST() local
59 EXPECT_LT(one, big); in TEST()
60 EXPECT_LT(one, big); in TEST()
63 EXPECT_GT(big, one); in TEST()
64 EXPECT_GE(big, two); in TEST()
65 EXPECT_GE(big, big_minus_one); in TEST()
66 EXPECT_GT(big, big_minus_one); in TEST()
67 EXPECT_LT(big_minus_one, big); in TEST()
68 EXPECT_LE(big_minus_one, big); in TEST()
69 EXPECT_NE(big_minus_one, big); in TEST()
[all …]
/third_party/boost/boost/endian/
Dendian.hpp38 typedef endian_arithmetic< order::big, int_least8_t, 8 > big8_t;
39 typedef endian_arithmetic< order::big, int_least16_t, 16 > big16_t;
40 typedef endian_arithmetic< order::big, int_least32_t, 24 > big24_t;
41 typedef endian_arithmetic< order::big, int_least32_t, 32 > big32_t;
42 typedef endian_arithmetic< order::big, int_least64_t, 40 > big40_t;
43 typedef endian_arithmetic< order::big, int_least64_t, 48 > big48_t;
44 typedef endian_arithmetic< order::big, int_least64_t, 56 > big56_t;
45 typedef endian_arithmetic< order::big, int_least64_t, 64 > big64_t;
48 typedef endian_arithmetic< order::big, uint_least8_t, 8 > ubig8_t;
49 typedef endian_arithmetic< order::big, uint_least16_t, 16 > ubig16_t;
[all …]
Darithmetic.hpp76 typedef endian_arithmetic<order::big, int8_t, 8, align::yes> big_int8_at;
77 typedef endian_arithmetic<order::big, int16_t, 16, align::yes> big_int16_at;
78 typedef endian_arithmetic<order::big, int32_t, 32, align::yes> big_int32_at;
79 typedef endian_arithmetic<order::big, int64_t, 64, align::yes> big_int64_at;
82 typedef endian_arithmetic<order::big, uint8_t, 8, align::yes> big_uint8_at;
83 typedef endian_arithmetic<order::big, uint16_t, 16, align::yes> big_uint16_at;
84 typedef endian_arithmetic<order::big, uint32_t, 32, align::yes> big_uint32_at;
85 typedef endian_arithmetic<order::big, uint64_t, 64, align::yes> big_uint64_at;
100 typedef endian_arithmetic<order::big, float, 32, align::yes> big_float32_at;
101 typedef endian_arithmetic<order::big, double, 64, align::yes> big_float64_at;
[all …]
Dbuffers.hpp79 typedef endian_buffer<order::big, int8_t, 8, align::yes> big_int8_buf_at;
80 typedef endian_buffer<order::big, int16_t, 16, align::yes> big_int16_buf_at;
81 typedef endian_buffer<order::big, int32_t, 32, align::yes> big_int32_buf_at;
82 typedef endian_buffer<order::big, int64_t, 64, align::yes> big_int64_buf_at;
85 typedef endian_buffer<order::big, uint8_t, 8, align::yes> big_uint8_buf_at;
86 typedef endian_buffer<order::big, uint16_t, 16, align::yes> big_uint16_buf_at;
87 typedef endian_buffer<order::big, uint32_t, 32, align::yes> big_uint32_buf_at;
88 typedef endian_buffer<order::big, uint64_t, 64, align::yes> big_uint64_buf_at;
103 typedef endian_buffer<order::big, float, 32, align::yes> big_float32_buf_at;
104 typedef endian_buffer<order::big, double, 64, align::yes> big_float64_buf_at;
[all …]
Dconversion.hpp150 return boost::endian::conditional_reverse<order::big, order::native>( x ); in big_to_native()
156 return boost::endian::conditional_reverse<order::native, order::big>( x ); in native_to_big()
212 boost::endian::conditional_reverse_inplace<order::big, order::native>( x ); in big_to_native_inplace()
218 boost::endian::conditional_reverse_inplace<order::native, order::big>( x ); in native_to_big_inplace()
293 return boost::endian::endian_load<boost::int16_t, 2, order::big>( p ); in load_big_s16()
298 return boost::endian::endian_load<boost::uint16_t, 2, order::big>( p ); in load_big_u16()
315 return boost::endian::endian_load<boost::int32_t, 3, order::big>( p ); in load_big_s24()
320 return boost::endian::endian_load<boost::uint32_t, 3, order::big>( p ); in load_big_u24()
337 return boost::endian::endian_load<boost::int32_t, 4, order::big>( p ); in load_big_s32()
342 return boost::endian::endian_load<boost::uint32_t, 4, order::big>( p ); in load_big_u32()
[all …]
/third_party/skia/gm/
Dbigrect.cpp16 static void draw_big_rect(SkCanvas* canvas, SkScalar big, const SkPaint& rectPaint) { in draw_big_rect() argument
35 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect()
38 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect()
41 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect()
44 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect()
47 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect()
50 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect()
105 const SkScalar big = SkFloatToScalar(sizes[j]); variable
106 draw_big_rect(canvas, big, paint);
/third_party/flutter/skia/gm/
Dbigrect.cpp16 static void draw_big_rect(SkCanvas* canvas, SkScalar big, const SkPaint& rectPaint) { in draw_big_rect() argument
35 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect()
38 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect()
41 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect()
44 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect()
47 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect()
50 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect()
105 const SkScalar big = SkFloatToScalar(sizes[j]); variable
106 draw_big_rect(canvas, big, paint);
/third_party/flutter/skia/tests/
DInfRectTest.cpp27 SkScalar big = SkIntToScalar(100); in DEF_TEST() local
31 SkRect rect = SkRect::MakeXYWH(small, small, big, big); in DEF_TEST()
36 check_invalid(reporter, small, small, big, invalid[i]); in DEF_TEST()
37 check_invalid(reporter, small, small, invalid[i], big); in DEF_TEST()
38 check_invalid(reporter, small, invalid[i], big, big); in DEF_TEST()
39 check_invalid(reporter, invalid[i], small, big, big); in DEF_TEST()
/third_party/skia/tests/
DInfRectTest.cpp27 SkScalar big = SkIntToScalar(100); in DEF_TEST() local
31 SkRect rect = SkRect::MakeXYWH(small, small, big, big); in DEF_TEST()
36 check_invalid(reporter, small, small, big, invalid[i]); in DEF_TEST()
37 check_invalid(reporter, small, small, invalid[i], big); in DEF_TEST()
38 check_invalid(reporter, small, invalid[i], big, big); in DEF_TEST()
39 check_invalid(reporter, invalid[i], small, big, big); in DEF_TEST()
/third_party/jerryscript/tests/jerry/
Darithmetics-bignums.js15 var big = 2147483646; variable
17 big++;
18 assert(big == 2147483647);
20 big += 1;
21 assert(big == 2147483648); // overflow on 32bit numbers
23 big++;
24 assert(big == 2147483649); // overflow on 32bit numbers
/third_party/typescript/tests/baselines/reference/
DcontrolFlowAnalysisOnBareThisKeyword.types2 declare function isBig(x: any): x is { big: true };
3 >isBig : (x: any) => x is { big: true; }
5 >big : true
14 >isBig : (x: any) => x is { big: true; }
17 this.big; // Expect property to exist
18 >this.big : true
19 >this : { big: true; }
20 >big : true
DcontrolFlowAnalysisOnBareThisKeyword.symbols2 declare function isBig(x: any): x is { big: true };
6 >big : Symbol(big, Decl(controlFlowAnalysisOnBareThisKeyword.ts, 0, 38))
16 this.big; // Expect property to exist
17 >this.big : Symbol(big, Decl(controlFlowAnalysisOnBareThisKeyword.ts, 0, 38))
19 >big : Symbol(big, Decl(controlFlowAnalysisOnBareThisKeyword.ts, 0, 38))
/third_party/boost/boost/spirit/home/support/detail/endian/
Dendian.hpp302 BOOST_SCOPED_ENUM_START(endianness) { big, little, native }; BOOST_SCOPED_ENUM_END in BOOST_SCOPED_ENUM_START()
316 class endian< endianness::big, T, n_bits, alignment::unaligned >
317 : cover_operators< endian< endianness::big, T, n_bits >, T >
410 class endian< endianness::big, T, n_bits, alignment::aligned >
411 : cover_operators< endian< endianness::big, T, n_bits, alignment::aligned >, T >
467 typedef endian< endianness::big, int_least8_t, 8 > big8_t;
468 typedef endian< endianness::big, int_least16_t, 16 > big16_t;
469 typedef endian< endianness::big, int_least32_t, 24 > big24_t;
470 typedef endian< endianness::big, int_least32_t, 32 > big32_t;
471 typedef endian< endianness::big, int_least64_t, 40 > big40_t;
[all …]
/third_party/boost/libs/fusion/example/performance/
Dtimings.txt12 medium and big sequences are tested where:
16 big = 30 elements
26 big vector time: 2.030000e-006
27 big list time: 8.910000e-006
35 big vector time: 2.469000e-04
36 big list time: 2.453000e-04
44 big vector time: 2.516000e-04
45 big list time: 2.485000e-04
53 big vector time: 1.140000e-006
54 big list time: 1.141000e-006
/third_party/skia/docs/examples/
DSurface_makeImageSnapshot.cpp7 sk_sp<SkSurface> big(SkSurface::MakeRasterN32Premul(64, 64)); in draw() local
8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in draw()
9 big->getCanvas()->clear(SK_ColorRED); in draw()
11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw()
12 lil->draw(big->getCanvas(), 16, 16); in draw()
13 sk_sp<SkImage> later(big->makeImageSnapshot()); in draw()
DSurface_makeImageSnapshot_2.cpp7 sk_sp<SkSurface> big(SkSurface::MakeRasterN32Premul(64, 64)); in draw() local
8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in draw()
9 big->getCanvas()->clear(SK_ColorRED); in draw()
11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw()
12 lil->draw(big->getCanvas(), 16, 16); in draw()
13 sk_sp<SkImage> later(big->makeImageSnapshot({0, 0, 16, 16})); in draw()
/third_party/flutter/skia/docs/examples/
DSurface_makeImageSnapshot_2.cpp7 sk_sp<SkSurface> big(SkSurface::MakeRasterN32Premul(64, 64)); in draw() local
8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in draw()
9 big->getCanvas()->clear(SK_ColorRED); in draw()
11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw()
12 lil->draw(big->getCanvas(), 16, 16, nullptr); in draw()
13 sk_sp<SkImage> later(big->makeImageSnapshot({0, 0, 16, 16})); in draw()
DSurface_makeImageSnapshot.cpp7 sk_sp<SkSurface> big(SkSurface::MakeRasterN32Premul(64, 64)); in draw() local
8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in draw()
9 big->getCanvas()->clear(SK_ColorRED); in draw()
11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw()
12 lil->draw(big->getCanvas(), 16, 16, nullptr); in draw()
13 sk_sp<SkImage> later(big->makeImageSnapshot()); in draw()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h22 enum endianness {big, little, native}; enumerator
39 if (endian != native && sys::IsBigEndianHost != (endian == big)) in byte_swap()
261 <uint16_t, big, unaligned> ubig16_t;
263 <uint32_t, big, unaligned> ubig32_t;
265 <uint64_t, big, unaligned> ubig64_t;
268 <int16_t, big, unaligned> big16_t;
270 <int32_t, big, unaligned> big32_t;
272 <int64_t, big, unaligned> big64_t;
275 <uint16_t, big, aligned> aligned_ubig16_t;
277 <uint32_t, big, aligned> aligned_ubig32_t;
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
Dint128_test.cc111 absl::uint128 big = absl::MakeUint128(2000, 2); in TEST() local
120 EXPECT_LT(one, big); in TEST()
121 EXPECT_LT(one, big); in TEST()
124 EXPECT_GT(big, one); in TEST()
125 EXPECT_GE(big, two); in TEST()
126 EXPECT_GE(big, big_minus_one); in TEST()
127 EXPECT_GT(big, big_minus_one); in TEST()
128 EXPECT_LT(big_minus_one, big); in TEST()
129 EXPECT_LE(big_minus_one, big); in TEST()
130 EXPECT_NE(big_minus_one, big); in TEST()
[all …]

12345678910>>...56