Home
last modified time | relevance | path

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

12345678910>>...50

/external/rust/crates/libtest-mimic/src/
Dargs.rs9 /// `libtest-mimic` supports a subset of all args/flags supported by the
11 /// the main use cases should work exactly like with the built-in harness.
14 help_template = "USAGE: [OPTIONS] [FILTER]\n\n{all-args}\n\n\n{after-help}",
16 after_help = "By default, all tests are run in parallel. This can be altered with the \n\
17 --test-threads flag when running tests (set it to 1).",
21 /// Run ignored and non-ignored tests.
22 #[arg(long = "include-ignored", help = "Run ignored tests")]
25 /// Run only ignored tests.
26 #[arg(long = "ignored", help = "Run ignored tests")]
29 /// Run tests, but not benchmarks.
[all …]
/external/elfutils/tests/
Drun-readelf-str.sh18 . $srcdir/test-subr.sh
20 # See tests/testfile-dwarf-45.source
21 testfiles testfile-splitdwarf-4 testfile-splitdwarf-5
22 testfiles testfile-hello4.dwo testfile-hello5.dwo
23 testfiles testfile-world4.dwo testfile-world5.dwo
27 …e ${abs_top_builddir}/src/readelf --dwarf-skeleton testfile-splitdwarf-4 --debug-dump=str testfile
29 testfile-hello4.dwo:
35 [ 0] [ 0] "long long int"
37 [ 2] [ 13] "long unsigned int"
38 [ 3] [ 25] "/home/mark/src/elfutils/tests"
[all …]
/external/zstd/
DTESTING.md5 short, medium, and long tests.
7 Short Tests
8 -----------
9 Short tests run on CircleCI for new commits on every branch and pull request.
10 They consist of the following tests:
11 - Compilation on all supported targets (x86, x86_64, ARM, AArch64, PowerPC, and PowerPC64)
12 - Compilation on various versions of gcc, clang, and g++
13 - `tests/playTests.sh` on x86_64, without the tests on long data (CLI tests)
14 - Small tests (`tests/legacy.c`, `tests/longmatch.c`) on x64_64
16 Medium Tests
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DRandomUtilsTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
33 * Tests for {@link RandomUtils}
40 private static final double DELTA = 1e-5;
54 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextBytes(-1)); in testNextBytesNegative()
59 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextInt(-1, 1)); in testNextIntNegative()
64 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextLong(-1, 1)); in testNextLongNegative()
69 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextDouble(-1, 1)); in testNextDoubleNegative()
74 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextFloat(-1, 1)); in testNextFloatNegative()
79 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextInt(2, 1)); in testNextIntLowerGreaterUpper()
84 assertThrows(IllegalArgumentException.class, () -> RandomUtils.nextLong(2, 1)); in testNextLongLowerGreaterUpper()
[all …]
/external/cronet/base/android/java/src/org/chromium/base/
DTimeUtils.java2 // Use of this source code is governed by a BSD-style license that can be
12 * Utilities related to timestamps, including the ability to use fake time for tests via
22 private final long mStart = uptimeMillis();
24 public long getElapsedMillis() { in getElapsedMillis()
25 return uptimeMillis() - mStart; in getElapsedMillis()
35 private final long mStart = elapsedRealtimeMillis();
37 public long getElapsedMillis() { in getElapsedMillis()
38 return elapsedRealtimeMillis() - mStart; in getElapsedMillis()
48 private final long mStart = elapsedRealtimeNanos();
50 public long getElapsedNanos() { in getElapsedNanos()
[all …]
/external/arm-neon-tests/
Dcompute_ref.gccarm-rvct ... /compwork2/lyon/Work/ARM/NEON-Intrinsics/arm-neon-tests-from- ...
/external/cronet/third_party/libc++/src/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.discrete/
Deval.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: GCC-ALWAYS_INLINE-FIXME
28 void tests() { in tests() function
29 typedef long long Frequency; in tests()
37 assert(u.max_size() > static_cast<unsigned long long>(d.max())); in tests()
56 assert(u.max_size() > static_cast<unsigned long long>(d.max())); in tests()
75 assert(u.max_size() > static_cast<unsigned long long>(d.max())); in tests()
84 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); in tests()
[all …]
/external/autotest/server/site_tests/hardware_StorageQual/
Dgenerate_storage_qual_control_files.py3 # Use of this source code is governed by a BSD-style license that can be
10 test. The test consists of 3 sub-tests, each runs continuosuly on one DUT, and
11 runs stress tests to wear out the DUT's SSD. Each sub-test is broken into 4
14 of stress over 1 week depending on the sub-test, and another base test to
17 The week long phases are broken into iterations, so that a single test can
18 fail without failing the entire 2 week suite. Each sub-test is assigned a
19 label, and all control files in that sub-test are given that label as a
20 dependency, so that the tests are forced to run on the correct DUT. Priority
21 is used to force the tests to run in the correct order. Note that iterations
69 'length': 'long',
[all …]
/external/rust/crates/argh/tests/ui/duplicate-name/
Dduplicate-long-name.stderr1 error: The long name of "--foo" was already used here.
2 --> tests/ui/duplicate-name/duplicate-long-name.rs:4:5
5 5 | | #[argh(option, long = "foo")]
10 --> tests/ui/duplicate-name/duplicate-long-name.rs:8:5
13 9 | | #[argh(option, long = "foo")]
17 error: The long name of "--bar" was already used here.
18 --> tests/ui/duplicate-name/duplicate-long-name.rs:12:5
21 13 | | #[argh(option, long = "bar")]
26 --> tests/ui/duplicate-name/duplicate-long-name.rs:16:5
29 17 | | #[argh(option, long = "bar")]
/external/ltp/testcases/kernel/controllers/freezer/
D00_description.txt2 This bash script tests freezer code by starting a long sleep process.
8 This bash script tests freezer code by starting a long sleep process.
15 This bash script tests freezer code by starting a long sleep process.
20 This bash script tests freezer code by starting a long subshell process.
27 This bash script tests freezer code by starting a long sleep process.
31 recognize that its expiration time has long since passed, and exit
35 This bash script tests freezer code by starting a long sleep process.
45 This bash script tests freezer code by starting a long sleep process.
51 This bash script tests freezer code by starting a long sleep process.
57 This bash script tests freezer code by starting a process with vfork(2).
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/test/
DTestCoroutineSchedulerTest.kt2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
14 …/** Tests that `TestCoroutineScheduler` attempts to detect if there are several instances of it. */
23 …/** Tests that, as opposed to [DelayController.advanceTimeBy] or [TestCoroutineScope.advanceTimeBy…
38 /** Tests that [TestCoroutineScheduler.advanceTimeBy] doesn't accept negative delays. */
43 scheduler.advanceTimeBy((-1).milliseconds) in testAdvanceTimeByWithNegativeDelay()
47 …/** Tests that if [TestCoroutineScheduler.advanceTimeBy] encounters an arithmetic overflow, all th…
48 * until the moment [Long.MAX_VALUE] get run. */
59 delay(Long.MAX_VALUE - 1) // delay(Long.MAX_VALUE) does nothing in <lambda>()
60 assertEquals(Long.MAX_VALUE, currentTime) in <lambda>()
65 delay(Long.MAX_VALUE - initialDelay - 1) in <lambda>()
[all …]
/external/libcxx/test/std/utilities/template.bitset/bitset.members/
Dto_ullong.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
10 // test unsigned long long to_ullong() const;
21 …const std::size_t M = sizeof(unsigned long long) * CHAR_BIT < N ? sizeof(unsigned long long) * CHA… in test_to_ullong()
23 …td::size_t X = is_M_zero ? sizeof(unsigned long long) * CHAR_BIT - 1 : sizeof(unsigned long long) … in test_to_ullong()
24 const unsigned long long max = is_M_zero ? 0 : (unsigned long long)(-1) >> X; in test_to_ullong()
25 unsigned long long tests[] = {0, in test_to_ullong() local
26 std::min<unsigned long long>(1, max), in test_to_ullong()
27 std::min<unsigned long long>(2, max), in test_to_ullong()
28 std::min<unsigned long long>(3, max), in test_to_ullong()
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/
DEventCountCircuitBreakerTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
47 private static final long NANO_FACTOR = 1000L * 1000L * 1000L;
50 * Tests that time units are correctly taken into account by constructors.
61 * Tests that the closing interval is the same as the opening interval if it is not
72 * Tests that the closing threshold is the same as the opening threshold if not
84 * Tests that a circuit breaker is closed after its creation.
95 * Tests whether the current time is correctly determined.
101 final long nowNanos = breaker.nanoTime(); in testNow()
102 final long deltaNanos = Math.abs(System.nanoTime() - nowNanos); in testNow()
107 * Tests that the circuit breaker stays closed if the number of received events stays
[all …]
/external/zstd/contrib/seekable_format/tests/
Dseekable_tests.c23 if (buff->pos + n > buff->size) return -1; in readBuffWithTotal()
24 memcpy(buffer, (const char*)buff->ptr + buff->pos, n); in readBuffWithTotal()
25 buff->pos += n; in readBuffWithTotal()
26 buff->totalRead += n; in readBuffWithTotal()
30 static int seekBuffWithTotal(void* opaque, long long offset, int origin) in seekBuffWithTotal()
33 unsigned long long newOffset; in seekBuffWithTotal()
38 newOffset = (unsigned long long)offset; in seekBuffWithTotal()
41 newOffset = (unsigned long long)((long long)buff->pos + offset); in seekBuffWithTotal()
44 newOffset = (unsigned long long)((long long)buff->size + offset); in seekBuffWithTotal()
49 if (newOffset > buff->size) { in seekBuffWithTotal()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DCombinedEventsTestCase.java9 * http://www.apache.org/licenses/LICENSE-2.0
26 package org.apache.harmony.jpda.tests.jdwp.Events;
28 import org.apache.harmony.jpda.tests.framework.jdwp.CommandPacket;
29 import org.apache.harmony.jpda.tests.framework.jdwp.ReplyPacket;
30 import org.apache.harmony.jpda.tests.jdwp.share.JDWPSyncTestCase;
31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPCommands;
32 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
33 import org.apache.harmony.jpda.tests.framework.jdwp.Location;
34 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent;
38 * for JDWP unit tests for Co-located events.
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DEventSampleStreamTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
47 private static final long DURATION_MS = 3000;
48 private static final long TIME_SCALE = 1000;
62 * Tests that {@link EventSampleStream#readData(FormatHolder, DecoderInputBuffer, int)} will
68 new EventStream(SCHEME_ID, VALUE, TIME_SCALE, new long[0], new EventMessage[0]); in readDataReturnFormatForFirstRead()
80 * Tests that a non-dynamic {@link EventSampleStream} will return a buffer with {@link
81 * C#BUFFER_FLAG_END_OF_STREAM} when trying to read sample out-of-bound.
86 new EventStream(SCHEME_ID, VALUE, TIME_SCALE, new long[0], new EventMessage[0]); in readDataOutOfBoundReturnEndOfStreamAfterFormatForNonDynamicEventSampleStream()
88 // first read - read format in readDataOutOfBoundReturnEndOfStreamAfterFormatForNonDynamicEventSampleStream()
97 * Tests that a dynamic {@link EventSampleStream} will return {@link C#RESULT_NOTHING_READ} when
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DEventSampleStreamTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
47 private static final long DURATION_MS = 3000;
48 private static final long TIME_SCALE = 1000;
62 * Tests that {@link EventSampleStream#readData(FormatHolder, DecoderInputBuffer, int)} will
68 new EventStream(SCHEME_ID, VALUE, TIME_SCALE, new long[0], new EventMessage[0]); in readDataReturnFormatForFirstRead()
80 * Tests that a non-dynamic {@link EventSampleStream} will return a buffer with {@link
81 * C#BUFFER_FLAG_END_OF_STREAM} when trying to read sample out-of-bound.
86 new EventStream(SCHEME_ID, VALUE, TIME_SCALE, new long[0], new EventMessage[0]); in readDataOutOfBoundReturnEndOfStreamAfterFormatForNonDynamicEventSampleStream()
88 // first read - read format in readDataOutOfBoundReturnEndOfStreamAfterFormatForNonDynamicEventSampleStream()
97 * Tests that a dynamic {@link EventSampleStream} will return {@link C#RESULT_NOTHING_READ} when
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/test/java/com/google/android/exoplayer2/source/
DCompositeSequenceableLoaderTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
30 * Tests that {@link CompositeSequenceableLoader#getBufferedPositionUs()} returns minimum buffered
31 * position among all sub-loaders.
45 * Tests that {@link CompositeSequenceableLoader#getBufferedPositionUs()} returns minimum buffered
46 * position that is not {@link C#TIME_END_OF_SOURCE} among all sub-loaders.
64 * Tests that {@link CompositeSequenceableLoader#getBufferedPositionUs()} returns {@link
65 * C#TIME_END_OF_SOURCE} when all sub-loaders have buffered till end-of-source.
83 * Tests that {@link CompositeSequenceableLoader#getNextLoadPositionUs()} returns minimum next
84 * load position among all sub-loaders.
98 * Tests that {@link CompositeSequenceableLoader#getNextLoadPositionUs()} returns minimum next
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/source/
DCompositeSequenceableLoaderTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
30 * Tests that {@link CompositeSequenceableLoader#getBufferedPositionUs()} returns minimum buffered
31 * position among all sub-loaders.
45 * Tests that {@link CompositeSequenceableLoader#getBufferedPositionUs()} returns minimum buffered
46 * position that is not {@link C#TIME_END_OF_SOURCE} among all sub-loaders.
64 * Tests that {@link CompositeSequenceableLoader#getBufferedPositionUs()} returns {@link
65 * C#TIME_END_OF_SOURCE} when all sub-loaders have buffered till end-of-source.
83 * Tests that {@link CompositeSequenceableLoader#getNextLoadPositionUs()} returns minimum next
84 * load position among all sub-loaders.
98 * Tests that {@link CompositeSequenceableLoader#getNextLoadPositionUs()} returns minimum next
[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/sandboxed-api/sandboxed_api/tools/generator2/
Dcode_test_util.py7 # https://www.apache.org/licenses/LICENSE-2.0
15 """Contains golden outputs for tests."""
18 CODE_GOLD = """// AUTO-GENERATED by the Sandboxed API generator.
28 namespace Tests {
43 SAPI_RETURN_IF_ERROR(sandbox_->Call("function_a", &ret, &x_, &y_));
56 SAPI_RETURN_IF_ERROR(sandbox_->Call("types_1", &ret, &a0_, &a1_, &a2_, &a3_, &a4_));
60 // int types_2(int, unsigned int, long, unsigned long)
61 absl::StatusOr<int> types_2(int a0, unsigned int a1, long a2, unsigned long a3) {
65 ::sapi::v::Long a2_((a2));
68 SAPI_RETURN_IF_ERROR(sandbox_->Call("types_2", &ret, &a0_, &a1_, &a2_, &a3_));
[all …]
/external/rust/crates/argh/tests/ui/bad-long-names/
Dbad-long-names.stderr1 error: Long names must be ASCII
2 --> tests/ui/bad-long-names/bad-long-names.rs:6:5
7 error: Long names must be lowercase
8 --> tests/ui/bad-long-names/bad-long-names.rs:9:5
13 error: Long names must be lowercase
14 --> tests/ui/bad-long-names/bad-long-names.rs:10:27
16 10 | #[argh(switch, long = "not really")]
/external/strace/
DChangeLog1 2018-10-30 Dmitry V. Levin <ldv@altlinux.org>
10 2018-10-25 Dmitry V. Levin <ldv@altlinux.org>
14 2018-10-25 Elvira Khabirova <lineprinter@altlinux.org>
23 * tests/ioctl_nbd.c: Likewise.
24 * tests/.gitignore: Add ioctl_nbd.
25 * tests/pure_executables.list: Likewise.
26 * tests/gen_tests.in (ioctl_nbd): New entry.
28 Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
30 2018-10-25 Dmitry V. Levin <ldv@altlinux.org>
32 tests: fix build with recent kernel headers.
[all …]
/external/igt-gpu-tools/lib/tests/
Digt_describe.c74 igt_describe("this description should be so long that it wraps itself nicely in the terminal " in fake_main()
75 "this description should be so long that it wraps itself nicely in the terminal " in fake_main()
76 "this description should be so long that it wraps itself nicely in the terminal " in fake_main()
77 "this description should be so long that it wraps itself nicely in the terminal " in fake_main()
78 "this description should be so long that it wraps itself nicely in the terminal " in fake_main()
79 "this description should be so long that it wraps itself nicely in the terminal"); in fake_main()
96 "SUB A ../lib/tests/igt_describe.c:36:\n"
99 "SUB B ../lib/tests/igt_describe.c:45:\n"
104 "SUB C ../lib/tests/igt_describe.c:54:\n"
111 "SUB D ../lib/tests/igt_describe.c:58:\n"
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPProxyTestCase.java9 * http://www.apache.org/licenses/LICENSE-2.0
19 package org.apache.harmony.jpda.tests.jdwp.share;
21 import org.apache.harmony.jpda.tests.framework.jdwp.Location;
22 import org.apache.harmony.jpda.tests.framework.jdwp.ReplyPacket;
23 import org.apache.harmony.jpda.tests.framework.jdwp.Value;
24 import org.apache.harmony.jpda.tests.jdwp.share.debuggee.ProxyDebuggee;
25 import org.apache.harmony.jpda.tests.share.JPDADebuggeeSynchronizer;
35 private final long threadId;
36 private final long frameId;
39 public EventContext(long threadId, long frameId, Location location) { in EventContext()
[all …]

12345678910>>...50