| /third_party/typescript/tests/baselines/reference/ |
| D | assertionFunctionWildcardImport2.symbols | 1 === tests/cases/compiler/asserts.ts === 2 function isNonNullable<T>(obj: T): asserts obj is NonNullable<T> { 3 >isNonNullable : Symbol(isNonNullable, Decl(asserts.ts, 0, 0)) 4 >T : Symbol(T, Decl(asserts.ts, 0, 23)) 5 >obj : Symbol(obj, Decl(asserts.ts, 0, 26)) 6 >T : Symbol(T, Decl(asserts.ts, 0, 23)) 7 >obj : Symbol(obj, Decl(asserts.ts, 0, 26)) 8 >NonNullable : Symbol(NonNullable, Decl(lib.es5.d.ts, --, --)) 9 >T : Symbol(T, Decl(asserts.ts, 0, 23)) 12 >obj : Symbol(obj, Decl(asserts.ts, 0, 26)) [all …]
|
| D | assertionTypePredicates1.symbols | 12 const assert: (value: unknown) => asserts value = value => {} 18 declare function assertIsString(value: unknown): asserts value is string; 23 declare function assertIsArrayOfStrings(value: unknown): asserts value is string[]; 28 declare function assertDefined<T>(value: T): asserts value is NonNullable<T>; 34 >NonNullable : Symbol(NonNullable, Decl(lib.es5.d.ts, --, --)) 47 >x.length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) 49 >length : Symbol(String.length, Decl(lib.es5.d.ts, --, --)) 52 assert(x instanceof Error); 55 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 58 >x.message : Symbol(Error.message, Decl(lib.es5.d.ts, --, --)) [all …]
|
| D | assertionsAndNonReturningFunctions.symbols | 2 /** @typedef {(check: boolean) => asserts check} AssertFunc */ 9 if (!check) throw new Error(); 11 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 14 /** @type {(x: unknown) => asserts x is string } */ 19 if (!(typeof x === "string")) throw new Error(); 21 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 26 * @returns {asserts check} 32 if (!check) throw new Error(); 34 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 43 throw new Error(); [all …]
|
| D | requireAssertsFromTypescript.symbols | 28 export function art(value: any, message?: string | Error): asserts value; 32 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) 36 declare function art(value: any, message?: string | Error): asserts value; 40 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
| D | privateNamesAssertion(target=esnext).symbols | 5 #p1: (v: any) => asserts v is string = (v) => { 14 throw new Error(); 15 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.erro… 35 #p1(v: any): asserts v is string { 43 throw new Error(); 44 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.erro…
|
| D | privateNamesAssertion(target=es2022).symbols | 5 #p1: (v: any) => asserts v is string = (v) => { 14 throw new Error(); 15 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.erro… 35 #p1(v: any): asserts v is string { 43 throw new Error(); 44 >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.erro…
|
| /third_party/protobuf/js/binary/ |
| D | reader.js | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 33 * wire-format protocol buffers into Javascript data structures. 39 * Major caveat - Users of this library _must_ keep their Javascript proto 40 * parsing code in sync with the original .proto file - presumably you'll be 49 goog.require('goog.asserts'); 58 * https://developers.google.com/protocol-buffers/docs/encoding. 62 * @param {number=} opt_length The optional length of the block to read - 69 * Wire-format decoder. 94 * Set to true if this reader encountered an error due to corrupt data. [all …]
|
| D | decoder.js | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 37 * Major caveat - Javascript is unable to accurately represent integers larger 38 * than 2^53 due to its use of a double-precision floating point format or all 39 * numbers. If you need to guarantee that 64-bit values survive with all bits 41 * an 8-character string. 48 goog.require('goog.asserts'); 56 * https://developers.google.com/protocol-buffers/docs/encoding. 60 * @param {number=} opt_length The optional length of the block to read - 67 * Typed byte-wise view of the source buffer. [all …]
|
| /third_party/typescript/src/compiler/ |
| D | debug.ts | 5 Error, enumerator 17 error?: boolean; property 28 /* eslint-disable prefer-const */ 34 /* eslint-enable prefer-const */ 56 export function error(s: string): void { function 57 logMessage(LogLevel.Error, s); 116 const e = new Error(message ? `Debug Failure. ${message}` : "Debug Failure."); 117 if ((Error as any).captureStackTrace) { 118 (Error as any).captureStackTrace(e, stackCrawlMark || fail); 129 …ng, verboseDebugInfo?: string | (() => string), stackCrawlMark?: AnyFunction): asserts expression { [all …]
|
| /third_party/cJSON/tests/unity/docs/ |
| D | UnityAssertionsReference.md | 7 - An assertion establishes truth (i.e. boolean True) for a single condition. 9 - Unity is mainly a rich collection of assertions and the support to gather up 11 - The structure of Unity allows you to easily separate test assertions from 13 - Unity's assertions: 14 - Come in many, many flavors to handle different C types and assertion cases. 15 - Use context to provide detailed and helpful failure messages. 16 - Document types, expected values, and basic behavior in your source code for 30 At their core, assertions are an establishment of truth - boolean truth. Was this 31 thing equal to that thing? Does that code doohickey have such-and-such property 35 execution and reports an error through some appropriate I/O channel (e.g. [all …]
|
| /third_party/unity/docs/ |
| D | UnityAssertionsReference.md | 7 - An assertion establishes truth (i.e. boolean True) for a single condition. 9 - Unity is mainly a rich collection of assertions and the support to gather up 11 - The structure of Unity allows you to easily separate test assertions from 13 - Unity’s assertions: 14 - Come in many, many flavors to handle different C types and assertion cases. 15 - Use context to provide detailed and helpful failure messages. 16 - Document types, expected values, and basic behavior in your source code for 28 At their core, assertions are an establishment of truth - boolean truth. Was this 29 thing equal to that thing? Does that code doohickey have such-and-such property 33 error through some appropriate I/O channel (e.g. stdout, GUI, output file, [all …]
|
| /third_party/mesa3d/src/imagination/rogue/ |
| D | rogue_util.h | 51 * and logs the provided error message. 54 * \param[in] fmt The error message to print. 55 * \param[in] ... The printf-style varable arguments. 66 * \brief Asserts if "opcode" is invalid. 73 * \brief Asserts if "operand" is invalid. 81 * \brief Asserts if "operand" is not a register. 89 * \brief Asserts if "flag" is invalid. 96 * \brief Asserts if operand index "index" is out of range. 102 assert((index) < (instr)->num_operands) 105 * \brief Asserts if "stage" is invalid. [all …]
|
| /third_party/littlefs/.github/workflows/ |
| D | release.yml | 10 runs-on: ubuntu-18.04 13 # - tests passed? 14 # - we are the most recent commit on master? 19 - uses: actions/checkout@v2 26 fetch-depth: 0 29 - uses: dawidd6/action-download-artifact@v2 30 continue-on-error: true 37 - name: find-version 40 LFS_VERSION="$(grep -o '^#define LFS_VERSION .*$' lfs.h \ 47 ( git describe --tags --abbrev=0 \ [all …]
|
| /third_party/node/lib/internal/ |
| D | validators.js | 1 /* eslint jsdoc/require-jsdoc: "error" */ 55 const octalReg = /^[0-7]+$/; 56 const modeDesc = 'must be a 32-bit unsigned integer or an octal string'; 61 * converted to 32-bit unsigned integers or non-negative signed integers in the 62 * C++ land, but any value higher than 0o777 will result in platform-specific 88 * @returns {asserts value is number} 109 * @returns {asserts value is number} 114 (value, name, min = -2147483648, max = 2147483647) => { 115 // The defaults for min and max correspond to the limits of 32-bit integers. 133 * @returns {asserts value is number} [all …]
|
| /third_party/cJSON/tests/unity/ |
| D | README.md | 4 [](https://t… 5 __Copyright (c) 2007 - 2017 Unity Project by Mike Karlesky, Mark VanderVoord, and Greg Williams__ 8 ------------- 15 -------------- 28 -------------- 30 There are times when a test will contain an infinite loop on error conditions, or there may be reas… 57 -------------------- 81 ------------------------------ 118 Asserts that the actual value is within plus or minus delta of the expected value. This also comes… 124 Asserts that the actual value is greater than the threshold. This also comes in size specific varia… [all …]
|
| /third_party/skia/third_party/externals/dawn/src/common/ |
| D | Assert.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 20 // Dawn asserts to be used instead of the regular C stdlib assert function (if you don't use assert 21 // yet, you should start now!). In debug ASSERT(condition) will trigger an error, otherwise in 27 // These asserts feature: 28 // - Logging of the error with file, line and function information. 29 // - Breaking in the debugger when an assert is triggered and a debugger is attached. 30 // - Use the assert information to help the compiler optimizer in release builds.
|
| /third_party/node/test/parallel/ |
| D | test-vm-module-link.js | 3 // Flags: --experimental-vm-modules 92 throw new Error(); 94 throw new Error(); 96 throw new Error(); 98 throw new Error(); 127 async function asserts() { function 149 await asserts();
|
| /third_party/protobuf/js/ |
| D | message.js | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 42 goog.require('goog.asserts'); 69 * We include `toObjectFn` to allow the JSCompiler to perform dead-code removal 105 * Stores binary-related information for a single extension field. 155 * WARNING - Property serializeBinary never defined on jspb.Message 236 * Wrappers are the constructed instances of message-type fields. They are built 255 * Non-extension fields with a field number at or above the pivot are 274 * for numbers stored as strings (typically "NaN", "Infinity" and "-Infinity") 301 * Otherwise, it will be -1 so that the first array position is not wasted. [all …]
|
| /third_party/rust/crates/static-assertions-rs/src/ |
| D | const_assert.rs | 1 /// Asserts that constant expressions evaluate to `true`. 15 /// generated via meta-programming. 25 /// Inputs are type-checked as booleans: 32 /// Despite this being a macro, we see this produces a type error: 55 const _: [(); 0 - !{ const ASSERT: bool = $x; ASSERT } as usize] = []; 59 /// Asserts that constants are equal in value. 85 /// Asserts that constants are **not** equal in value.
|
| /third_party/googletest/googletest/include/gtest/ |
| D | gtest-death-test.h | 43 #include "gtest/internal/gtest-death-test-internal.h" 46 // meaning that the death test child process will re-execute the test binary 76 // 2. The parent process clone()s a sub-process and runs the death 77 // test in it; the sub-process exits with code 0 at the end of the 80 // 3. The parent process waits for the sub-process to terminate. 82 // 4. The parent process checks the exit code and error message of 83 // the sub-process. 103 // the sub-process wrote to stderr. For compatibility with existing tests, a 108 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 148 // not implemented by us, you will get a run-time failure. In that [all …]
|
| /third_party/mesa3d/src/gtest/include/gtest/ |
| D | gtest-death-test.h | 41 #include "gtest/internal/gtest-death-test-internal.h" 46 // meaning that the death test child process will re-execute the test binary 74 // 2. The parent process clone()s a sub-process and runs the death 75 // test in it; the sub-process exits with code 0 at the end of the 78 // 3. The parent process waits for the sub-process to terminate. 80 // 4. The parent process checks the exit code and error message of 81 // the sub-process. 103 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 143 // not implemented by us, you will get a run-time failure. In that 155 // program from argv[0] and re-executes it in the sub-process. For [all …]
|
| /third_party/node/deps/googletest/include/gtest/ |
| D | gtest-death-test.h | 43 #include "gtest/internal/gtest-death-test-internal.h" 46 // meaning that the death test child process will re-execute the test binary 76 // 2. The parent process clone()s a sub-process and runs the death 77 // test in it; the sub-process exits with code 0 at the end of the 80 // 3. The parent process waits for the sub-process to terminate. 82 // 4. The parent process checks the exit code and error message of 83 // the sub-process. 103 // the sub-process wrote to stderr. For compatibility with existing tests, a 108 // On POSIX-compliant systems (*nix), we use the <regex.h> library, 148 // not implemented by us, you will get a run-time failure. In that [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
| D | InstructionPrecedenceTracking.h | 1 //===-- InstructionPrecedenceTracking.h -------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 //===----------------------------------------------------------------------===// 40 /// Asserts that the cached info for \p BB is up-to-date. This helps to catch 41 /// the usage error of accessing a block without properly invalidating after a 45 /// Asserts whether or not the contents of this tracking is up-to-date. This 46 /// helps to catch the usage error of accessing a block without properly 96 /// perform PRE moving non-speculable instruction to other place.
|
| /third_party/node/deps/undici/src/types/ |
| D | webidl.d.ts | 20 * @description Throw an error when conversion from one type to another has failed 28 * @description Throw an error when an invalid argument is provided 39 * @see https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values 52 * @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint 62 * @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint 69 * @see https://webidl.spec.whatwg.org/#es-DOMString 76 * @see https://webidl.spec.whatwg.org/#es-ByteString 81 * @see https://webidl.spec.whatwg.org/#es-USVString 86 * @see https://webidl.spec.whatwg.org/#es-boolean 91 * @see https://webidl.spec.whatwg.org/#es-any [all …]
|
| /third_party/node/deps/npm/node_modules/@sigstore/bundle/dist/ |
| D | validate.js | 11 http://www.apache.org/licenses/LICENSE-2.0 19 const error_1 = require("./error"); 31 // Asserts that the given bundle conforms to the v0.1 bundle format. 52 // Asserts that the given bundle conforms to the v0.2 bundle format. 62 // Asserts that the given bundle conforms to the newest (0.3) bundle format. 80 // Content-related validation 114 // Verification material-related validation
|