| /third_party/typescript/tests/baselines/reference/ |
| D | objectLiteralExcessProperties.types | 2 interface Book { 12 var b1: Book = { forword: "oops" }; 13 >b1 : Book 18 var b2: Book | string = { foreward: "nope" }; 19 >b2 : string | Book 24 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }]; 25 >b3 : Book | Book[] 34 var b4: Book & Cover = { foreword: "hi", colour: "blue" }; 35 >b4 : Book & Cover 42 var b5: Book & Cover = { foreward: "hi", color: "blue" }; [all …]
|
| D | objectLiteralExcessProperties.js | 2 interface Book { 10 var b1: Book = { forword: "oops" }; 12 var b2: Book | string = { foreward: "nope" }; 14 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }]; 16 var b4: Book & Cover = { foreword: "hi", colour: "blue" }; 18 var b5: Book & Cover = { foreward: "hi", color: "blue" }; 20 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 }; 22 var b7: Book & number = { foreword: "hi", price: 10.99 }; 26 var b9: Book | Book[] = { forewarned: "still no" }; 38 function test<T extends IFoo>() { [all …]
|
| D | objectLiteralExcessProperties.symbols | 2 interface Book { 3 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0)) 6 >foreword : Symbol(Book.foreword, Decl(objectLiteralExcessProperties.ts, 0, 16)) 16 var b1: Book = { forword: "oops" }; 18 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0)) 21 var b2: Book | string = { foreward: "nope" }; 23 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0)) 26 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }]; 28 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0)) 29 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0)) [all …]
|
| D | objectLiteralExcessProperties.errors.txt | 1 …essProperties.ts(9,18): error TS2322: Type '{ forword: string; }' is not assignable to type 'Book'. 2 …Object literal may only specify known properties, but 'forword' does not exist in type 'Book'. Did… 3 …es.ts(11,27): error TS2322: Type '{ foreward: string; }' is not assignable to type 'string | Book'. 4 …Object literal may only specify known properties, but 'foreward' does not exist in type 'Book'. Di… 5 …sProperties.ts(13,53): error TS2322: Type '{ forwards: string; }' is not assignable to type 'Book'. 6 Object literal may only specify known properties, and 'forwards' does not exist in type 'Book'. 7 …rror TS2322: Type '{ foreword: string; colour: string; }' is not assignable to type 'Book & Cover'. 8 …Object literal may only specify known properties, but 'colour' does not exist in type 'Book & Cove… 9 …error TS2322: Type '{ foreward: string; color: string; }' is not assignable to type 'Book & Cover'. 10 …Object literal may only specify known properties, but 'foreward' does not exist in type 'Book & Co… [all …]
|
| /third_party/typescript/tests/cases/compiler/ |
| D | objectLiteralExcessProperties.ts | 1 interface Book { interface 9 var b1: Book = { forword: "oops" }; 11 var b2: Book | string = { foreward: "nope" }; 13 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }]; 15 var b4: Book & Cover = { foreword: "hi", colour: "blue" }; 17 var b5: Book & Cover = { foreward: "hi", color: "blue" }; 19 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 }; 21 var b7: Book & number = { foreword: "hi", price: 10.99 }; 25 var b9: Book | Book[] = { forewarned: "still no" }; 37 function test<T extends IFoo>() { function [all …]
|
| /third_party/rust/crates/bindgen/.github/workflows/ |
| D | deploy-book.yml | 1 name: Deploy book 6 - main 9 deploy-book: 10 runs-on: ubuntu-latest 12 - uses: actions/checkout@v3 14 persist-credentials: false 16 - name: Install stable 17 uses: actions-rs/toolchain@v1 23 - name: Test book 25 …curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.5/mdbook-v0.4.5-x86_64-unknown-… [all …]
|
| D | bindgen.yml | 6 - main 9 - main 12 rustfmt-clippy: 13 runs-on: ubuntu-latest 16 - uses: actions/checkout@v3 18 - name: Install stable 19 uses: actions-rs/toolchain@v1 22 # TODO: Should ideally be stable, but we use some nightly-only 28 - name: Run rustfmt 29 uses: actions-rs/cargo@v1 [all …]
|
| /third_party/protobuf/src/google/protobuf/util/internal/testdata/ |
| D | books.proto | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 45 // A book 46 message Book { message 75 // Useful for testing JSON snake/camel-case conversions. 78 // Used to test type not found in type info. Messages defined in other files 79 // are not added when adding Book to type info. 82 // Used to test invalid value inside of primitive repeated fields. 88 // A publisher of a book, tests required fields. 93 // An author of a book [all …]
|
| /third_party/protobuf/src/google/protobuf/util/internal/ |
| D | protostream_objectwriter_test.cc | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 72 using proto_util_converter::testing::Book; 92 return std::string(kTypeServiceBaseUrl) + "/" + descriptor->full_name(); in GetTypeUrl() 147 std::unique_ptr<char[]> buffer(output_->GetBuffer(&nbytes)); in CheckOutput() 156 message->ParsePartialFromIstream(&istream); in CheckOutput() 159 EXPECT_EQ(expected.DebugString(), message->DebugString()); in CheckOutput() 163 void CheckOutput(const Message& expected) { CheckOutput(expected, -1); } in CheckOutput() 183 : BaseProtoStreamObjectWriterTest(Book::descriptor()) {} in ProtoStreamObjectWriterTest() 185 void ResetProtoWriter() { ResetTypeInfo(Book::descriptor()); } in ResetProtoWriter() [all …]
|
| /third_party/unity/extras/fixture/ |
| D | readme.md | 3 This Framework is an optional add-on to Unity. By including unity_framework.h in place of unity.h, 5 test groups and gives finer control of your tests over the command line. 7 This framework is primarily supplied for those working through James Grenning's book on Embedded 8 Test Driven Development, or those coming to Unity from CppUTest. We should note that using this 15 follow along with James' book. Using them together is completely optional. You may choose to use 21 By default the test executables produced by Unity Fixtures run all tests once, but the behavior can 22 be configured with command-line flags. Run the test executable with the `--help` flag for more 26 project-specific or company-specific unit test documentation. Define `UNITY_CUSTOM_HELP_MSG` to 29 #define UNITY_CUSTOM_HELP_MSG "If any test fails see https://example.com/troubleshooting"
|
| /third_party/libxml2/test/schemas/ |
| D | vdv-first5_0.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- $Header: /cvs/gnome/gnome-xml/test/schemas/vdv-first0_0.xml,v 1.1 2003/11/22 20:37:51 veillard… 4 <book id="b0836217462" available="true"> 6 <title lang="en">Being a Dog Is a Full-Time Job</title> 9 <born>1922-11-26</born> 10 <dead>2000-02-12</dead> 14 <born>1966-08-22</born> 19 <born>1950-10-04</born> 24 <born>1951-05-30</born> 29 <born>1952-03-03</born> [all …]
|
| D | vdv-first4_1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- $Header: /cvs/gnome/gnome-xml/test/schemas/vdv-first3_0.xml,v 1.1 2003/11/22 20:37:51 veillard… 4 <book id="b0836217462" available="true"> 6 <title lang="en">Being a Dog Is a Full-Time Job</title> 9 <born>1922-11-26</born> 10 <dead>2000-02-12</dead> 14 <born>196T6-08-22</born> 19 <born>1950-10-04</born> 24 <born>1951-05-30</born> 29 <born>1952-03-03</born> [all …]
|
| D | vdv-first4_0.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- $Header: /cvs/gnome/gnome-xml/test/schemas/vdv-first3_0.xml,v 1.1 2003/11/22 20:37:51 veillard… 4 <book id="b0836217462" available="true"> 6 <title lang="en">Being a Dog Is a Full-Time Job</title> 9 <born>1922-11-26</born> 10 <dead>2000-02-12</dead> 14 <born>1966-08-22</born> 19 <born>1950-10-04</born> 24 <born>1951-05-30</born> 29 <born>1952-03-03</born> [all …]
|
| D | vdv-first4_2.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- $Header: /cvs/gnome/gnome-xml/test/schemas/vdv-first3_0.xml,v 1.1 2003/11/22 20:37:51 veillard… 4 <book id="b0836217462" available="true"> 6 <title lang="en">Being a Dog Is a Full-Time Job</title> 9 <born>1922-11-26</born> 10 <dead>2000-02-12</dead> 14 <born>1966-08-22</born> 19 <born>1950-10-04</born> 24 <born>2000-01-20Z</born> 29 <born>1952-03-03</born> [all …]
|
| /third_party/rust/crates/bindgen/ |
| D | README_zh.md | 22 /* automatically generated by rust-bindgen 0.99.9 */ 51 │ ├── LICENSE -> ../LICENSE 56 ├── bindgen-cli 59 │ ├── LICENSE -> ../LICENSE 62 ├── bindgen-integration 68 ├── bindgen-tests 73 ├── book 74 │ ├── book.toml 80 │ ├── assert-no-diff.bat 81 │ ├── no-includes.sh [all …]
|
| /third_party/rust/crates/nom/.github/ |
| D | PULL_REQUEST_TEMPLATE.md | 1 <!-- 15 - related issue number (I need some context to understand a PR with a lot of 17 - a test case reproducing the issue. You can write it in [issues.rs](https://github.com/Geal/nom/bl… 18 - if adding a new combinator, please add code documentation and some unit tests 24 checked by [rustfmt][https://github.com/rust-lang-nursery/rustfmt]. 33 [rebase your PR on main](https://git-scm.com/book/en/v2/Git-Branching-Rebasing). 39 [squash the commits](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History) 41 -->
|
| /third_party/libxml2/doc/devhelp/ |
| D | devhelp2.xsl | 3 xmlns="http://www.devhelp.net/book" 6 extension-element-prefixes="exsl str" 7 exclude-result-prefixes="exsl str"> 8 <!-- The stylesheet for the html pages --> 11 <xsl:output method="xml" encoding="UTF-8" indent="yes"/> 13 <!-- Build keys for all symbols --> 17 <book title="{@name} Reference Manual" link="index.html" author="" name="{@name}"> 18 <xsl:apply-templates select="files"/> 19 <xsl:apply-templates select="symbols"/> 20 </book> [all …]
|
| /third_party/skia/third_party/externals/angle2/samples/stencil_operations/ |
| D | StencilOperations.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 8 // Book: OpenGL(R) ES 2.0 Programming Guide 10 // ISBN-10: 0321502795 11 // ISBN-13: 9780321502797 12 // Publisher: Addison-Wesley Professional 14 // http://www.opengles-book.com 75 -0.75f, 0.25f, 0.50f, // Quad #0 in draw() 76 -0.25f, 0.25f, 0.50f, -0.25f, 0.75f, 0.50f, -0.75f, 0.75f, 0.50f, in draw() 79 -0.75f, -0.75f, 0.50f, // Quad #2 in draw() 80 -0.25f, -0.75f, 0.50f, -0.25f, -0.25f, 0.50f, -0.75f, -0.25f, 0.50f, in draw() [all …]
|
| /third_party/flutter/skia/third_party/externals/angle2/samples/stencil_operations/ |
| D | StencilOperations.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 8 // Book: OpenGL(R) ES 2.0 Programming Guide 10 // ISBN-10: 0321502795 11 // ISBN-13: 9780321502797 12 // Publisher: Addison-Wesley Professional 14 // http://www.opengles-book.com 75 -0.75f, 0.25f, 0.50f, // Quad #0 in draw() 76 -0.25f, 0.25f, 0.50f, -0.25f, 0.75f, 0.50f, -0.75f, 0.75f, 0.50f, in draw() 79 -0.75f, -0.75f, 0.50f, // Quad #2 in draw() 80 -0.25f, -0.75f, 0.50f, -0.25f, -0.25f, 0.50f, -0.75f, -0.25f, 0.50f, in draw() [all …]
|
| /third_party/rust/crates/tracing/.config/ |
| D | nextest.toml | 2 # https://nexte.st/book/configuration.html#profiles) 6 failure-output = "immediate-final" 7 # Do not cancel the test run on the first failure. 8 fail-fast = false
|
| /third_party/node/ |
| D | .gitignore | 2 # To test that, run `git ls-files -i --exclude-standard`. 3 # To check why a specific file is ignored, run `git check-ignore -v <filepath>`. 10 !test/fixtures/**/.* 11 !.clang-format 35 /gon-config.json 65 *-nodegyp* 66 /gyp-*-tool 67 /test/addons/??_*/ 72 /deps/v8-* 76 /deps/icu-tmp [all …]
|
| /third_party/skia/third_party/externals/swiftshader/ |
| D | README.md | 3 …icense](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licens… 6 ------------ 8 SwiftShader is a high-performance CPU-based implementation of the Vulkan graphics API<sup>1</sup><s… 13 -------- 24 cmake --build . --parallel 26 ./vk-unittests 33 …-us/cpp/build/cmake-projects-in-visual-studio?view=vs-2019#ide-integration) in the Solution Explor… 37 ----- 39 The SwiftShader libraries act as drop-in replacements for graphics drivers. 41 …as the executable. On Linux, the `LD_LIBRARY_PATH` environment variable or `-rpath` linker option … [all …]
|
| /third_party/json/test/src/ |
| D | unit-udt.cpp | 3 __| | __| | | | JSON for Modern C++ (test suite) 8 SPDX-License-Identifier: MIT 9 Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. 32 // disable -Wnoexcept due to class Evil 34 DOCTEST_GCC_SUPPRESS_WARNING("-Wnoexcept") 215 // TODO(nlohmann) test exceptions in from_json() 216 c = it->second; in from_json() 259 const udt::contact_book book{{"C++"}, {cpp_programmer, {senior_programmer, addr}}}; variable 261 SECTION("conversion to json via free-functions") 272 json(book) == [all …]
|
| /third_party/node/test/parallel/ |
| D | test-http-generic-streams.js | 7 // Test 1: Simple HTTP test, no keep-alive. 12 res.setHeader('Content-Type', 'text/plain'); 31 // Test 2: Keep-alive for 2 requests. 36 res.setHeader('Content-Type', 'text/plain'); 46 headers: { Connection: 'keep-alive' } 63 // Test 3: Connection: close request/response with chunked 74 res.setHeader('Content-Type', 'text/plain'); 100 // Test 4: Connection: close request/response with Content-Length 101 // The same as Test 3, but with Content-Length headers 105 assert.strictEqual(req.headers['content-length'], testData.length + ''); [all …]
|
| /third_party/cJSON/tests/unity/docs/ |
| D | UnityGettingStartedGuide.md | 1 # Unity - Getting Started 9 Unity is a unit test framework. The goal has been to keep it small and 10 functional. The core Unity test framework is three files: a single C file and a 69 - `src` - This is the code you care about! This folder contains a C file and two 71 - `docs` - You're reading this document, so it's possible you have found your way 74 - `examples` - This contains a few examples of using Unity. 75 - `extras` - These are optional add ons to Unity that are not part of the core 76 project. If you've reached us through James Grenning's book, you're going to 78 - `test` - This is how Unity and its scripts are all tested. If you're just using 82 - `auto` - Here you will find helpful Ruby scripts for simplifying your test [all …]
|