Home
last modified time | relevance | path

Searched +full:big +full:- +full:tests (Results 1 – 25 of 1074) sorted by relevance

12345678910>>...43

/external/python/cpython2/Lib/test/
Dtest_format.py36 # (mainly for floating point format tests for which an exact match
72 # these are trying to test the limits of the internal magic-number-length
73 # formatting buffer, if that number changes then these tests are less
75 testboth("%#.*g", (109, -1.e+49/3.))
76 testboth("%#.*g", (110, -1.e+49/3.))
77 testboth("%#.*g", (110, -1.e+100/3.))
83 # these tests should no longer cause overflow in Python
85 testboth("%#.*g", (110, -1.e+100/3.))
86 testboth("%#.*G", (110, -1.e+100/3.))
87 testboth("%#.*f", (110, -1.e+100/3.))
[all …]
Dtest_struct.py10 ISBIGENDIAN = sys.byteorder == "big"
42 lineno = inspect.currentframe().f_lineno - 1
99 # (format, argument, big-endian result, little-endian result, asymmetric)
100 tests = [
112 ('b', -7, '\371', '\371', 0),
116 ('h', -700, '\375D', 'D\375', 0),
118 ('H', 0x10000-700, '\375D', 'D\375', 0),
120 ('i', -70000000, '\373\323\342\200', '\200\342\323\373', 0),
122 ('I', 0x100000000L-70000000, '\373\323\342\200', '\200\342\323\373', 0),
124 ('l', -70000000, '\373\323\342\200', '\200\342\323\373', 0),
[all …]
/external/vboot_reference/tests/
Drun_vbutil_kernel_arg_tests.sh1 #!/bin/bash -u
4 # Use of this source code is governed by a BSD-style license that can be
8 # less-than-full-sized components.
11 # Load common constants and variables for tests.
15 DEVKEYS="${ROOT_DIR}/tests/devkeys"
18 [ -d "${TMPDIR}" ] || mkdir -p "${TMPDIR}"
26 # Create some big and little files for the kernel and bootloader
27 BIG="${TMPDIR}/big.bin"
28 dd if=/dev/urandom bs=32768 count=1 of="${BIG}" 2>/dev/null
32 declare -a KERN_VALS
[all …]
/external/skia/tests/
DInfRectTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
12 #include "tests/Test.h"
24 // Tests that isFinite() will reject any rect with +/-inf values
31 SkScalar big = SkIntToScalar(100); in DEF_TEST() local
35 SkRect rect = SkRect::MakeXYWH(small, small, big, big); in DEF_TEST()
38 const SkScalar invalid[] = { nan, inf, -inf }; in DEF_TEST()
40 check_invalid(reporter, small, small, big, invalid[i]); in DEF_TEST()
41 check_invalid(reporter, small, small, invalid[i], big); in DEF_TEST()
42 check_invalid(reporter, small, invalid[i], big, big); in DEF_TEST()
43 check_invalid(reporter, invalid[i], small, big, big); in DEF_TEST()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/TargetParser/
DTriple.h1 //===-- llvm/TargetParser/Triple.h - Target triple helper class--*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
23 /// Triple - Helper class for working with autoconf configuration names. For
28 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM
30 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT
39 /// Clients that need to handle the non-canonical triples that users often
50 armeb, // ARM (big endian): armeb
52 aarch64_be, // AArch64 (big endian): aarch64_be
56 bpfel, // eBPF or extended BPF or 64-bit BPF (little endian)
[all …]
/external/sdv/vsomeip/third_party/boost/endian/test/
Dconversion_test.cpp1 // conversion_test.cpp ---------------------------------------------------------------//
8 //--------------------------------------------------------------------------------------//
51 // values for tests
85 x += static_cast<U>( test_value_bytes[ i ] ) << ( 8 * ( sizeof( x ) - i - 1 ) ); in big_value()
93 T big; in test() local
96 big_value(big); in test()
99 // validate the values used by the tests below 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()
[all …]
Dloop_time_test.cpp1 // loop_time_test.cpp ----------------------------------------------------------------//
8 //--------------------------------------------------------------------------------------//
56 if (a != argc-1) in process_command_line()
69 for (; argc > 2; ++argv, --argc) in process_command_line()
87 cout << "Error - unknown option: " << argv[2] << "\n\n"; in process_command_line()
88 argc = -1; in process_command_line()
98 " -v Verbose messages\n" in process_command_line()
99 " -p# Decimal places for times; default -p" << places << "\n" in process_command_line()
100 " -a Aligned tests only\n" in process_command_line()
101 " -u Unaligned tests only\n" in process_command_line()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTriple.h1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 /// Triple - Helper class for working with autoconf configuration names. For
27 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM
29 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT
38 /// Clients that need to handle the non-canonical triples that users often
49 armeb, // ARM (big endian): armeb
51 aarch64_be, // AArch64 (big endian): aarch64_be
55 bpfel, // eBPF or extended BPF or 64-bit BPF (little endian)
[all …]
/external/llvm/unittests/ADT/
DPackedVectorTest.cpp1 //===- llvm/unittest/ADT/PackedVectorTest.cpp - PackedVector tests --------===//
8 //===----------------------------------------------------------------------===//
10 // BitVectorTest tests fail on PowerPC for unknown reasons, so disable this
73 EXPECT_DEBUG_DEATH(Vec[0] = 4, "value is too big"); in TEST()
74 EXPECT_DEBUG_DEATH(Vec[0] = -1, "value is too big"); in TEST()
75 EXPECT_DEBUG_DEATH(Vec[0] = 0x100, "value is too big"); in TEST()
80 EXPECT_DEBUG_DEATH(Vec[0] = 8, "value is too big"); in TEST()
85 Vec[0] = -2; in TEST()
86 Vec[0] = -1; in TEST()
89 EXPECT_DEBUG_DEATH(Vec[0] = -3, "value is too big"); in TEST()
[all …]
/external/zstd/
DMakefile5 # This source code is licensed under both the BSD-style license (found in the
8 # You may select, at your option, one of the above-listed licenses.
18 TESTDIR = tests
24 # When cross-compiling from linux to windows, you might
28 # Note: mingw-w64 build from linux to windows does not
40 ## default: Build lib-release and zstd-release
42 default: lib-release zstd-release
53 $(Q)$(MAKE) -C $(PRGDIR) all
54 $(Q)$(MAKE) -C $(TESTDIR) all
58 $(MAKE) -C $(PRGDIR) zstd32
[all …]
/external/python/cpython3/Lib/test/
Dtest_format.py38 # (mainly for floating point format tests for which an exact match
117 # these are trying to test the limits of the internal magic-number-length
118 # formatting buffer, if that number changes then these tests are less
120 testcommon("%#.*g", (109, -1.e+49/3.))
121 testcommon("%#.*g", (110, -1.e+49/3.))
122 testcommon("%#.*g", (110, -1.e+100/3.))
127 # these tests should no longer cause overflow in Python
129 testcommon("%#.*g", (110, -1.e+100/3.))
130 testcommon("%#.*G", (110, -1.e+100/3.))
131 testcommon("%#.*f", (110, -1.e+100/3.))
[all …]
Dtest_long.py13 MASK = BASE - 1
25 special.append(p2 - 1)
29 special += [~x for x in special] + [-x for x in special]
35 DBL_MIN_OVERFLOW = 2**DBL_MAX_EXP - 2**(DBL_MAX_EXP - DBL_MANT_DIG - 1)
38 # Pure Python version of correctly-rounded integer-to-float conversion.
41 Correctly-rounded integer-to-float conversion.
44 # Constants, depending only on the floating-point format in use.
47 SHIFT_MAX = sys.float_info.max_exp - PRECISION
49 ROUND_HALF_TO_EVEN_CORRECTION = [0, -1, -2, 1, 0, -1, 2, 1]
55 return -int_to_float(-n)
[all …]
/external/mesa3d/docs/relnotes/
D20.1.3.rst1 Mesa 20.1.3 Release Notes / 2020-07-08
20 ---------------
24 9872b8d46bee822177ffbe4292addff7bdb84cefc1fe776b8e6b2881a8362bf1 mesa-20.1.3.tar.xz
27 ------------
29 - None
32 ---------
34 - vkGetSemaphoreCounterValue doesn't update without vkWaitSemaphores
36 - [v3d] corruption when GS omits some vertices
37 - [RADV] Non-precise occlusion queries return non-zero when all
39 - [DXVK] Project Cars rendering problems
[all …]
/external/rust/crates/winnow/src/combinator/
Dmod.rs7 …e lowest level elements of your grammar, like, "here is a dot", or "here is an big endian integer".
10 //! |---|---|---|---|---|---|
22 //! |---|---|---|---|---|---|
24 //! | [`dispatch`] | \- | \- | \- | \- | `match` for parsers |
30 //! |---|---|---|---|---|---|
41 //! |---|---|---|---|---|---|
49 //! - [`eof`]: Returns its input if it is at the end of input data
50 //! - [`Parser::complete_err`]: Replaces an `Incomplete` returned by the child parser with an `Back…
54 //! - [`cond`]: Conditional combinator. Wraps another parser and calls it if the condition is met
55 //! - [`Parser::flat_map`]: method to map a new parser from the output of the first parser, then ap…
[all …]
/external/e2fsprogs/doc/RelNotes/
Dv1.46.4.txt7 ---------------
11 supports 128 byte inodes). Creating non-Hurd file systems with 128 byte
21 -----
32 system image using mke2fs into a non-existent file would fail.
35 Fix mke2fs to correctly create Posix ACL's on big-endian systems when
44 --------------------------------------------------------------
46 Improve various regression tests to be more portable and to reflect the
49 Fixed a GNU Hurd portability problem which was causing tests to fail.
51 Fixed a test failure in f_baddotdir on big-endian systems. This wasn't
53 behaviour on big-endian systems. (Addresses Debian Bug: #991922)
[all …]
/external/deqp/doc/testspecs/GLES2/
Dstress.long.txt1 -------------------------------------------------------------------------
3 -----------------------------------------------
11 http://www.apache.org/licenses/LICENSE-2.0
18 -------------------------------------------------------------------------
19 Long-running stress tests
21 Tests:
22 + dEQP-GLES2.stress.long.*
25 + Long-running stress testing with various application behaviors
27 - Buffers and textures
28 - Allocation, uploading
[all …]
/external/sdv/vsomeip/third_party/boost/endian/doc/endian/
Doverview.adoc2 Copyright 2011-2016 Beman Dawes
15 <<overview_endianness,endianness>> of integers and user-defined types.
24 ** Program portability. POSIX-based and Windows-based operating systems
25 traditionally supply libraries with non-portable functions to perform endian
58 least-significant byte first, while SPARC CPUs place the most-significant byte
62 Most-significant-byte-first ordering is traditionally called "big endian"
63 ordering and least-significant-byte-first is traditionally called
64 "little-endian" ordering. The names are derived from
67 rival kingdoms opened their soft-boiled eggs at different ends.
73 little-endian systems. But programmers have to deal with endianness when
[all …]
/external/tensorflow/tensorflow/lite/java/ovic/
DREADME.md4 [Low Power Computer Vision workshop at CVPR 2020.](https://lpcv.ai/2020CVPR/ovic-track)
6 ## Pre-requisite
17 Note: for now the tests only provides correctness checks, i.e. classifier
18 predicts the correct category on the test image, but no on-device latency
19 measurements. To test the latency measurement functionality, the tests will
21 on-device run-time. We are releasing an benchmarker Apk that would allow
36 curl -L https://storage.googleapis.com/download.tensorflow.org/data/ovic_2019_04_30.zip -o /tmp/ovi…
42 unzip -j /tmp/ovic.zip -d tensorflow/lite/java/ovic/src/testdata/
45 ### Run tests
51 bazel test //tensorflow/lite/java/ovic:OvicClassifierTest --cxxopt=-Wno-all --test_output=all
[all …]
/external/python/pyserial/test/
Dtest_high_load.py3 # This file is part of pySerial - Cross platform serial port support for Python
4 # (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
6 # SPDX-License-Identifier: BSD-3-Clause
7 """Some tests for the serial module.
8 Part of pyserial (http://pyserial.sf.net) (C)2002-2003 cliechti@gmx.net
13 For all these tests a simple hardware is required.
16 TX <-> RX
17 RTS <-> CTS
18 DTR <-> DSR
20 On a 9 pole DSUB these are the pins (2-3) (4-6) (7-8)
[all …]
/external/zstd/.github/workflows/
Ddev-long-tests.yml1 name: dev-long-tests
2 # Tests longer than 10mn
5 group: long-${{ github.ref }}
6 cancel-in-progress: true
12 permissions: read-all
15 make-all:
16 runs-on: ubuntu-latest
18 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
19 - name: make all
23 make-test:
[all …]
/external/llvm/include/llvm/ADT/
DTriple.h1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
23 /// Triple - Helper class for working with autoconf configuration names. For
28 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM
30 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT
39 /// Clients that need to handle the non-canonical triples that users often
50 armeb, // ARM (big endian): armeb
52 aarch64_be, // AArch64 (big endian): aarch64_be
54 bpfel, // eBPF or extended BPF or 64-bit BPF (little endian)
55 bpfeb, // eBPF or extended BPF or 64-bit BPF (big endian)
[all …]
/external/sdv/vsomeip/third_party/boost/date_time/test/posix_time/
Dtestfiletime_functions.cpp19 #if defined(BOOST_HAS_FTIME) // skip tests if no FILETIME in main()
60 // check that time_from_ftime works for pre-1970-Jan-01 dates, too in main()
61 // zero FILETIME should represent 1601-Jan-01 00:00:00.000 in main()
66 check_equal("big bang ptime year matches 1601", in main()
68 check_equal("big bang ptime month matches Jan", in main()
70 check_equal("big bang ptime day matches 1", in main()
72 check_equal("big bang ptime hour matches 0", in main()
74 check_equal("big bang ptime minute matches 0", in main()
76 check_equal("big bang ptime second matches 0", in main()
78 check_equal("big bang truncated ptime fractional second matches 0", in main()
/external/rust/crates/pdl-compiler/
Dcargo2android_toplevel.bp4 cmd: "$(location :pdlc) --output-format rust $(in) > $(out)",
18 cmd: "$(location :pdlc) --output-format rust_legacy $(in) > $(out)",
32 cmd: "$(location :pdlc) --output-format rust_no_alloc $(in) > $(out)",
57 "tests/generated/rust/**/*.rs",
82 test_suites: ["general-tests"],
90 cmd: "$(location tests/generated_files_compile.sh) $(in) > $(out)",
93 tool_files: ["tests/generated_files_compile.sh"],
106 test_suites: ["general-tests"],
125 cmd: "sed -e 's/little_endian_packets/big_endian_packets/' " +
126 " -e '/Start: little_endian_only/,/End: little_endian_only/d' " +
[all …]
DAndroid.bp64 cmd: "$(location :pdlc) --output-format rust $(in) > $(out)",
78 cmd: "$(location :pdlc) --output-format rust_legacy $(in) > $(out)",
92 cmd: "$(location :pdlc) --output-format rust_no_alloc $(in) > $(out)",
117 "tests/generated/rust/**/*.rs",
142 test_suites: ["general-tests"],
150 cmd: "$(location tests/generated_files_compile.sh) $(in) > $(out)",
153 tool_files: ["tests/generated_files_compile.sh"],
166 test_suites: ["general-tests"],
185 cmd: "sed -e 's/little_endian_packets/big_endian_packets/' " +
186 " -e '/Start: little_endian_only/,/End: little_endian_only/d' " +
[all …]
/external/sdv/vsomeip/third_party/boost/fusion/example/performance/
Dsequence_efficiency.cpp2 Copyright (c) 2001-2011 Joel de Guzman
30 // About the tests:
32 // The tests below compare various fusion sequences to see how abstraction
39 // big = 30 elements
41 // The sequences are initialized with values 0..N-1 from numeric strings
49 // this->sum += boost::fusion::accumulate(seq, 0, poly_add());
55 // The tests are compared against a base using a plain_accumulator
58 // this->sum += x;
90 this->sum += boost::fusion::accumulate(seq, 0, poly_add()); in operator ()()
107 this->sum += x; in operator ()()
[all …]

12345678910>>...43