Home
last modified time | relevance | path

Searched refs:assertions (Results 1 – 25 of 268) sorted by relevance

1234567891011

/third_party/rust/crates/static-assertions-rs/
DCHANGELOG.md42 - **[breaking]** Trait assertions to use `Type: Trait` syntax
43 - **[breaking]** Field assertions to use `Type: field1, field2` syntax
81 #10](https://github.com/nvzqz/static-assertions-rs/issues/10))
158 [#1]: https://github.com/nvzqz/static-assertions-rs/issues/1
159 [#5]: https://github.com/nvzqz/static-assertions-rs/pull/5
167 [Unreleased]: https://github.com/nvzqz/static-assertions-rs/compare/v1.1.0...HEAD
168 [1.1.0]: https://github.com/nvzqz/static-assertions-rs/compare/v1.0.0...v1.1.0
169 [1.0.0]: https://github.com/nvzqz/static-assertions-rs/compare/v0.3.4...v1.0.0
170 [0.3.4]: https://github.com/nvzqz/static-assertions-rs/compare/v0.3.3...v0.3.4
171 [0.3.3]: https://github.com/nvzqz/static-assertions-rs/compare/v0.3.2...v0.3.3
[all …]
DCargo.toml7 homepage = "https://github.com/nvzqz/static-assertions-rs"
8 repository = "https://github.com/nvzqz/static-assertions-rs"
12 description = "Compile-time assertions to ensure that invariants are met."
16 travis-ci = { repository = "nvzqz/static-assertions-rs" }
17 is-it-maintained-open-issues = { repository = "nvzqz/static-assertions-rs" }
18 is-it-maintained-issue-resolution = { repository = "nvzqz/static-assertions-rs" }
DREADME.md1 …aw.githubusercontent.com/nvzqz/static-assertions-rs/assets/Banner.png)](https://github.com/nvzqz/s…
8 <a href="https://travis-ci.org/nvzqz/static-assertions-rs">
9 … <img src="https://travis-ci.org/nvzqz/static-assertions-rs.svg?branch=master" alt="Build Status">
21 Compile-time assertions for Rust, brought to you by
129 and then assertions can be conditionally run behind `#[cfg(test)]`:
136 However, the assertions will only be checked when running `cargo test`. This
148 [issue #1](https://github.com/nvzqz/static-assertions-rs/issues/1)
153 See [`CHANGELOG.md`](https://github.com/nvzqz/static-assertions-rs/blob/master/CHANGELOG.md)
160 - [MIT License](https://github.com/nvzqz/static-assertions-rs/blob/master/LICENSE-MIT)
162 - [Apache License (Version 2.0)](https://github.com/nvzqz/static-assertions-rs/blob/master/LICENSE-…
[all …]
DREADME.OpenSource3 "Name": "static-assertions-rs",
8 "Upstream URL": "https://github.com/nvzqz/static-assertions-rs",
9 "Description": "A Rust library that provides support for compile-time assertions."
/third_party/typescript/tests/baselines/reference/
DdefiniteAssignmentAssertions.errors.txt2 …0,6): error TS1263: Declarations with initializers cannot also have definite assignment assertions.
3 …1,6): error TS1263: Declarations with initializers cannot also have definite assignment assertions.
6 …sertions.ts(23,6): error TS1264: Declarations with definite assignment assertions must also have t…
9 …ertions.ts(69,10): error TS1264: Declarations with definite assignment assertions must also have t…
10 …,10): error TS1263: Declarations with initializers cannot also have definite assignment assertions.
11 …,10): error TS1263: Declarations with initializers cannot also have definite assignment assertions.
41 !!! error TS1263: Declarations with initializers cannot also have definite assignment assertions.
44 !!! error TS1263: Declarations with initializers cannot also have definite assignment assertions.
52 !!! error TS1264: Declarations with definite assignment assertions must also have type annotations.
104 !!! error TS1264: Declarations with definite assignment assertions must also have type annotations.
[all …]
DconstantEnumAssert.errors.txt1 tests/cases/compiler/constantEnumAssert.ts(45,20): error TS1355: A 'const' assertions can only be a…
2 tests/cases/compiler/constantEnumAssert.ts(49,20): error TS1355: A 'const' assertions can only be a…
52 !!! error TS1355: A 'const' assertions can only be applied to references to enum members, or string…
58 !!! error TS1355: A 'const' assertions can only be applied to references to enum members, or string…
DconstAssertions.errors.txt2 …ions/typeAssertions/constAssertions.ts(61,10): error TS1355: A 'const' assertions can only be appl…
3 …ions/typeAssertions/constAssertions.ts(62,10): error TS1355: A 'const' assertions can only be appl…
4 …ions/typeAssertions/constAssertions.ts(63,10): error TS1355: A 'const' assertions can only be appl…
72 !!! error TS1355: A 'const' assertions can only be applied to references to enum members, or string…
75 !!! error TS1355: A 'const' assertions can only be applied to references to enum members, or string…
78 !!! error TS1355: A 'const' assertions can only be applied to references to enum members, or string…
DjsFileCompilationNonNullAssertion.errors.txt1 /src/a.js(1,1): error TS8013: Non-null assertions can only be used in TypeScript files.
7 !!! error TS8013: Non-null assertions can only be used in TypeScript files.
DdefiniteAssignmentWithErrorStillStripped.errors.txt1 …lStripped.ts(2,6): error TS1264: Declarations with definite assignment assertions must also have t…
8 !!! error TS1264: Declarations with definite assignment assertions must also have type annotations.
/third_party/musl/src/regex/
Dregexec.c64 #define CHECK_ASSERTIONS(assertions) \ argument
65 (((assertions & ASSERT_AT_BOL) \
68 || ((assertions & ASSERT_AT_EOL) \
71 || ((assertions & ASSERT_AT_BOW) \
73 || ((assertions & ASSERT_AT_EOW) \
75 || ((assertions & ASSERT_AT_WB) \
78 || ((assertions & ASSERT_AT_WB_NEG) \
83 (((trans_i->assertions & ASSERT_CHAR_CLASS) \
86 || ((trans_i->assertions & ASSERT_CHAR_CLASS) \
90 || ((trans_i->assertions & ASSERT_CHAR_CLASS_NEG) \
[all …]
Dregcomp.c52 int assertions; member
2060 int *tags, int assertions) in tre_set_union() argument
2079 new_set[s1].assertions = set1[s1].assertions | assertions; in tre_set_union()
2107 new_set[s1 + s2].assertions = set2[s2].assertions; in tre_set_union()
2135 int *assertions, int *num_tags_seen) in tre_match_empty() argument
2182 if (assertions != NULL) in tre_match_empty()
2183 *assertions |= lit->code_max; in tre_match_empty()
2377 int num_tags, *tags, assertions; in tre_compute_nfl() local
2397 assertions = 0; in tre_compute_nfl()
2401 &assertions, NULL); in tre_compute_nfl()
[all …]
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
Dregexec.c64 #define CHECK_ASSERTIONS(assertions) \ argument
65 (((assertions & ASSERT_AT_BOL) \
68 || ((assertions & ASSERT_AT_EOL) \
71 || ((assertions & ASSERT_AT_BOW) \
73 || ((assertions & ASSERT_AT_EOW) \
75 || ((assertions & ASSERT_AT_WB) \
78 || ((assertions & ASSERT_AT_WB_NEG) \
83 (((trans_i->assertions & ASSERT_CHAR_CLASS) \
86 || ((trans_i->assertions & ASSERT_CHAR_CLASS) \
90 || ((trans_i->assertions & ASSERT_CHAR_CLASS_NEG) \
[all …]
Dregcomp.c52 int assertions; member
2061 int *tags, int assertions) in tre_set_union() argument
2080 new_set[s1].assertions = set1[s1].assertions | assertions; in tre_set_union()
2108 new_set[s1 + s2].assertions = set2[s2].assertions; in tre_set_union()
2136 int *assertions, int *num_tags_seen) in tre_match_empty() argument
2183 if (assertions != NULL) in tre_match_empty()
2184 *assertions |= lit->code_max; in tre_match_empty()
2378 int num_tags, *tags, assertions; in tre_compute_nfl() local
2398 assertions = 0; in tre_compute_nfl()
2402 &assertions, NULL); in tre_compute_nfl()
[all …]
/third_party/musl/porting/liteos_m/kernel/src/regex/
Dregexec.c64 #define CHECK_ASSERTIONS(assertions) \ argument
65 (((assertions & ASSERT_AT_BOL) \
68 || ((assertions & ASSERT_AT_EOL) \
71 || ((assertions & ASSERT_AT_BOW) \
73 || ((assertions & ASSERT_AT_EOW) \
75 || ((assertions & ASSERT_AT_WB) \
78 || ((assertions & ASSERT_AT_WB_NEG) \
83 (((trans_i->assertions & ASSERT_CHAR_CLASS) \
86 || ((trans_i->assertions & ASSERT_CHAR_CLASS) \
90 || ((trans_i->assertions & ASSERT_CHAR_CLASS_NEG) \
[all …]
Dregcomp.c52 int assertions; member
2060 int *tags, int assertions) in tre_set_union() argument
2079 new_set[s1].assertions = set1[s1].assertions | assertions; in tre_set_union()
2107 new_set[s1 + s2].assertions = set2[s2].assertions; in tre_set_union()
2135 int *assertions, int *num_tags_seen) in tre_match_empty() argument
2182 if (assertions != NULL) in tre_match_empty()
2183 *assertions |= lit->code_max; in tre_match_empty()
2377 int num_tags, *tags, assertions; in tre_compute_nfl() local
2397 assertions = 0; in tre_compute_nfl()
2401 &assertions, NULL); in tre_compute_nfl()
[all …]
/third_party/musl/porting/uniproton/kernel/src/regex/
Dregexec.c64 #define CHECK_ASSERTIONS(assertions) \ argument
65 (((assertions & ASSERT_AT_BOL) \
68 || ((assertions & ASSERT_AT_EOL) \
71 || ((assertions & ASSERT_AT_BOW) \
73 || ((assertions & ASSERT_AT_EOW) \
75 || ((assertions & ASSERT_AT_WB) \
78 || ((assertions & ASSERT_AT_WB_NEG) \
83 (((trans_i->assertions & ASSERT_CHAR_CLASS) \
86 || ((trans_i->assertions & ASSERT_CHAR_CLASS) \
90 || ((trans_i->assertions & ASSERT_CHAR_CLASS_NEG) \
[all …]
/third_party/unity/docs/
DUnityAssertionsReference.md9 - Unity is mainly a rich collection of assertions and the support to gather up
10 and easily execute those assertions.
11 - The structure of Unity allows you to easily separate test assertions from
13 - Unity's assertions:
22 One way to think of Unity is simply as a rich collection of assertions you can
24 Unity provides a framework to easily organize and execute those assertions in
30 At their core, assertions are an establishment of truth - boolean truth. Was this
55 That's what Unity's collection of assertions do - capture context to give you
56 helpful, meaningful assertion failure messages. In fact, the assertions
81 marked as an optional parameter because some assertions only need a single
[all …]
/third_party/cJSON/tests/unity/docs/
DUnityAssertionsReference.md9 - Unity is mainly a rich collection of assertions and the support to gather up
10 and easily execute those assertions.
11 - The structure of Unity allows you to easily separate test assertions from
13 - Unity's assertions:
22 One way to think of Unity is simply as a rich collection of assertions you can
24 Unity provides a framework to easily organize and execute those assertions in
30 At their core, assertions are an establishment of truth - boolean truth. Was this
55 That's what Unity's collection of assertions do - capture context to give you
56 helpful, meaningful assertion failure messages. In fact, the assertions
79 marked as an optional parameter because some assertions only need a single
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
Dcoverage.txt1 This document explains why certain assertions were not tested.
5 6 through 12 - Did not test RTS assertions.
10 The assertions:
/third_party/node/test/parallel/
Dtest-dns-channel-cancel-promise.js43 const assertions = []; variable
49 assertions.push(
61 await Promise.all(assertions);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
Dcoverage.txt7 4 IMPLICITLY tested by assertions 6 and 7.
8 5 IMPLICITLY tested by assertions 6 and 7.
/third_party/googletest/docs/reference/
Dassertions.md25 The assertions in this section generate a success or failure directly instead of
46 considered successful only if none of its assertions fail during its execution.
105 Matchers enable assertions of this form to read like English and generate
125 The following assertions test Boolean conditions.
143 The following assertions compare two values. The value arguments must be
156 These assertions work with both narrow and wide string objects (`string` and
159 See also the [Floating-Point Comparison](#floating-point) assertions to compare
222 The following assertions compare two **C strings**. To compare two `string`
225 These assertions also accept wide C strings (`wchar_t*`). If a comparison of two
263 The following assertions compare two floating-point values.
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_inst.h57 #define FC(name, hi4, lo4, hi12, lo12, assertions) \ argument
62 assert(assertions); \
72 assert(assertions); \
142 hi7, lo7, hi8, lo8, hi12ex, lo12ex, hi12, lo12, assertions) \ argument
147 assert(assertions); \
162 assert(assertions); \
183 #define FDC(name, hi4, lo4, hi12ex, lo12ex, hi12, lo12, assertions) \ argument
185 hi4, lo4, hi4, lo4, hi12ex, lo12ex, hi12, lo12, assertions)
592 #define FJ(name, high, low, assertions) \ argument
596 assert(assertions); \
[all …]
/third_party/ltp/testcases/open_posix_testsuite/Documentation/
DHOWTO_ConformanceTest57 behavior), an assertions.xml file is used to describe the tests, and tests
70 assertions.xml
72 This file contains a list of assertions to be tested, an ID for each
74 assertions. For more information on creating and using these files,
/third_party/flutter/skia/third_party/externals/wuffs/std/deflate/
Ddecode_huffman_fast.wuffs61 // args.src.available() assertions are made in terms of bytes, not bits.
63 // In theory, we could write assertions that mixed bytes and bits, such as:
88 // These assertions are redundant, but are listed explicitly for
127 // Once again, redundant but explicit assertions.
156 // Once again, redundant but explicit assertions.
185 // Once again, redundant but explicit assertions.
212 // Once again, redundant but explicit assertions.
237 // Once again, redundant but explicit assertions.
280 // Once again, redundant but explicit assertions.
352 // Once again, redundant but explicit assertions.

1234567891011